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 /* for raw pointers */
989 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
990 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
991 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
992 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
993 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
994 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
995 #define swig_owntype int
997 /* for raw packed data */
998 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
999 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1001 /* for class or struct pointers */
1002 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1003 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1005 /* for C or C++ function pointers */
1006 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1007 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1009 /* for C++ member pointers, ie, member methods */
1010 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1011 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1016 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1017 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1018 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1020 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1021 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1022 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1023 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1024 #define SWIG_fail goto fail
1027 /* Runtime API implementation */
1029 /* Error manipulation */
1032 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1033 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1034 PyErr_SetObject(errtype
, obj
);
1036 SWIG_PYTHON_THREAD_END_BLOCK
;
1040 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1041 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1042 PyErr_SetString(errtype
, (char *) msg
);
1043 SWIG_PYTHON_THREAD_END_BLOCK
;
1046 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1048 /* Set a constant value */
1051 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1052 PyDict_SetItemString(d
, (char*) name
, obj
);
1056 /* Append a value to the result obj */
1058 SWIGINTERN PyObject
*
1059 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1060 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1063 } else if (result
== Py_None
) {
1067 if (!PyList_Check(result
)) {
1068 PyObject
*o2
= result
;
1069 result
= PyList_New(1);
1070 PyList_SetItem(result
, 0, o2
);
1072 PyList_Append(result
,obj
);
1081 } else if (result
== Py_None
) {
1085 if (!PyTuple_Check(result
)) {
1087 result
= PyTuple_New(1);
1088 PyTuple_SET_ITEM(result
, 0, o2
);
1090 o3
= PyTuple_New(1);
1091 PyTuple_SET_ITEM(o3
, 0, obj
);
1093 result
= PySequence_Concat(o2
, o3
);
1101 /* Unpack the argument tuple */
1104 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1110 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1111 name
, (min
== max
? "" : "at least "), min
);
1115 if (!PyTuple_Check(args
)) {
1116 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1119 register int l
= PyTuple_GET_SIZE(args
);
1121 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1122 name
, (min
== max
? "" : "at least "), min
, l
);
1124 } else if (l
> max
) {
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at most "), max
, l
);
1130 for (i
= 0; i
< l
; ++i
) {
1131 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1133 for (; l
< max
; ++l
) {
1141 /* A functor is a function object with one single object argument */
1142 #if PY_VERSION_HEX >= 0x02020000
1143 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1145 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1149 Helper for static pointer initialization for both C and C++ code, for example
1150 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1153 #define SWIG_STATIC_POINTER(var) var
1155 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1158 /* -----------------------------------------------------------------------------
1159 * Pointer declarations
1160 * ----------------------------------------------------------------------------- */
1162 /* Flags for new pointer objects */
1163 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1164 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1166 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1175 /* How to access Py_None */
1176 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1177 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1178 # ifndef SWIG_PYTHON_BUILD_NONE
1179 # define SWIG_PYTHON_BUILD_NONE
1184 #ifdef SWIG_PYTHON_BUILD_NONE
1187 # define Py_None SWIG_Py_None()
1189 SWIGRUNTIMEINLINE PyObject
*
1192 PyObject
*none
= Py_BuildValue("");
1196 SWIGRUNTIME PyObject
*
1199 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1204 /* The python void return value */
1206 SWIGRUNTIMEINLINE PyObject
*
1209 PyObject
*none
= Py_None
;
1214 /* PySwigClientData */
1225 SWIGRUNTIMEINLINE
int
1226 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1228 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1229 return data
? data
->implicitconv
: 0;
1232 SWIGRUNTIMEINLINE PyObject
*
1233 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1234 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1235 PyObject
*klass
= data
? data
->klass
: 0;
1236 return (klass
? klass
: PyExc_RuntimeError
);
1240 SWIGRUNTIME PySwigClientData
*
1241 PySwigClientData_New(PyObject
* obj
)
1246 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1247 /* the klass element */
1249 Py_INCREF(data
->klass
);
1250 /* the newraw method and newargs arguments used to create a new raw instance */
1251 if (PyClass_Check(obj
)) {
1253 data
->newargs
= obj
;
1256 #if (PY_VERSION_HEX < 0x02020000)
1259 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1262 Py_INCREF(data
->newraw
);
1263 data
->newargs
= PyTuple_New(1);
1264 PyTuple_SetItem(data
->newargs
, 0, obj
);
1266 data
->newargs
= obj
;
1268 Py_INCREF(data
->newargs
);
1270 /* the destroy method, aka as the C++ delete method */
1271 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1272 if (PyErr_Occurred()) {
1276 if (data
->destroy
) {
1278 Py_INCREF(data
->destroy
);
1279 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1281 data
->delargs
= !(flags
& (METH_O
));
1288 data
->implicitconv
= 0;
1294 PySwigClientData_Del(PySwigClientData
* data
)
1296 Py_XDECREF(data
->newraw
);
1297 Py_XDECREF(data
->newargs
);
1298 Py_XDECREF(data
->destroy
);
1301 /* =============== PySwigObject =====================*/
1311 SWIGRUNTIME PyObject
*
1312 PySwigObject_long(PySwigObject
*v
)
1314 return PyLong_FromVoidPtr(v
->ptr
);
1317 SWIGRUNTIME PyObject
*
1318 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1320 PyObject
*res
= NULL
;
1321 PyObject
*args
= PyTuple_New(1);
1323 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1324 PyObject
*ofmt
= PyString_FromString(fmt
);
1326 res
= PyString_Format(ofmt
,args
);
1335 SWIGRUNTIME PyObject
*
1336 PySwigObject_oct(PySwigObject
*v
)
1338 return PySwigObject_format("%o",v
);
1341 SWIGRUNTIME PyObject
*
1342 PySwigObject_hex(PySwigObject
*v
)
1344 return PySwigObject_format("%x",v
);
1347 SWIGRUNTIME PyObject
*
1349 PySwigObject_repr(PySwigObject
*v
)
1351 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1354 const char *name
= SWIG_TypePrettyName(v
->ty
);
1355 PyObject
*hex
= PySwigObject_hex(v
);
1356 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1360 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1362 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1364 PyString_ConcatAndDel(&repr
,nrep
);
1370 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1373 PyObject
*repr
= PySwigObject_repr(v
);
1375 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1378 fputs(PyString_AsString(repr
), fp
);
1386 SWIGRUNTIME PyObject
*
1387 PySwigObject_str(PySwigObject
*v
)
1389 char result
[SWIG_BUFFER_SIZE
];
1390 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1391 PyString_FromString(result
) : 0;
1395 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1399 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1402 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1404 SWIGRUNTIME PyTypeObject
*
1405 PySwigObject_type(void) {
1406 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1410 SWIGRUNTIMEINLINE
int
1411 PySwigObject_Check(PyObject
*op
) {
1412 return ((op
)->ob_type
== PySwigObject_type())
1413 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1416 SWIGRUNTIME PyObject
*
1417 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1420 PySwigObject_dealloc(PyObject
*v
)
1422 PySwigObject
*sobj
= (PySwigObject
*) v
;
1423 PyObject
*next
= sobj
->next
;
1425 swig_type_info
*ty
= sobj
->ty
;
1426 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1427 PyObject
*destroy
= data
? data
->destroy
: 0;
1429 /* destroy is always a VARARGS method */
1431 if (data
->delargs
) {
1432 /* we need to create a temporal object to carry the destroy operation */
1433 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1434 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1437 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1438 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1439 res
= ((*meth
)(mself
, v
));
1443 const char *name
= SWIG_TypePrettyName(ty
);
1444 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1445 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1453 SWIGRUNTIME PyObject
*
1454 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1456 PySwigObject
*sobj
= (PySwigObject
*) v
;
1459 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1462 if (!PySwigObject_Check(next
)) {
1467 return SWIG_Py_Void();
1470 SWIGRUNTIME PyObject
*
1472 PySwigObject_next(PyObject
* v
)
1474 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1477 PySwigObject
*sobj
= (PySwigObject
*) v
;
1479 Py_INCREF(sobj
->next
);
1482 return SWIG_Py_Void();
1486 SWIGINTERN PyObject
*
1488 PySwigObject_disown(PyObject
*v
)
1490 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1493 PySwigObject
*sobj
= (PySwigObject
*)v
;
1495 return SWIG_Py_Void();
1498 SWIGINTERN PyObject
*
1500 PySwigObject_acquire(PyObject
*v
)
1502 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1505 PySwigObject
*sobj
= (PySwigObject
*)v
;
1506 sobj
->own
= SWIG_POINTER_OWN
;
1507 return SWIG_Py_Void();
1510 SWIGINTERN PyObject
*
1511 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1514 #if (PY_VERSION_HEX < 0x02020000)
1515 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1517 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1524 PySwigObject
*sobj
= (PySwigObject
*)v
;
1525 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1528 if (PyObject_IsTrue(val
)) {
1529 PySwigObject_acquire(v
);
1531 PySwigObject_disown(v
);
1534 if (PyObject_IsTrue(val
)) {
1535 PySwigObject_acquire(v
,args
);
1537 PySwigObject_disown(v
,args
);
1547 swigobject_methods
[] = {
1548 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1549 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1550 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1551 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1552 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1553 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1558 swigobject_methods
[] = {
1559 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1560 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1561 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1562 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1563 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1564 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1569 #if PY_VERSION_HEX < 0x02020000
1570 SWIGINTERN PyObject
*
1571 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1573 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1577 SWIGRUNTIME PyTypeObject
*
1578 _PySwigObject_type(void) {
1579 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1581 static PyNumberMethods PySwigObject_as_number
= {
1582 (binaryfunc
)0, /*nb_add*/
1583 (binaryfunc
)0, /*nb_subtract*/
1584 (binaryfunc
)0, /*nb_multiply*/
1585 (binaryfunc
)0, /*nb_divide*/
1586 (binaryfunc
)0, /*nb_remainder*/
1587 (binaryfunc
)0, /*nb_divmod*/
1588 (ternaryfunc
)0,/*nb_power*/
1589 (unaryfunc
)0, /*nb_negative*/
1590 (unaryfunc
)0, /*nb_positive*/
1591 (unaryfunc
)0, /*nb_absolute*/
1592 (inquiry
)0, /*nb_nonzero*/
1599 (coercion
)0, /*nb_coerce*/
1600 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1601 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1602 (unaryfunc
)0, /*nb_float*/
1603 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1604 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1605 #if PY_VERSION_HEX >= 0x02020000
1606 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1607 #elif PY_VERSION_HEX >= 0x02000000
1608 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1612 static PyTypeObject pyswigobject_type
;
1613 static int type_init
= 0;
1615 const PyTypeObject tmp
1617 PyObject_HEAD_INIT(NULL
)
1619 (char *)"PySwigObject", /* tp_name */
1620 sizeof(PySwigObject
), /* tp_basicsize */
1621 0, /* tp_itemsize */
1622 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1623 (printfunc
)PySwigObject_print
, /* tp_print */
1624 #if PY_VERSION_HEX < 0x02020000
1625 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1627 (getattrfunc
)0, /* tp_getattr */
1629 (setattrfunc
)0, /* tp_setattr */
1630 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1631 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1632 &PySwigObject_as_number
, /* tp_as_number */
1633 0, /* tp_as_sequence */
1634 0, /* tp_as_mapping */
1635 (hashfunc
)0, /* tp_hash */
1636 (ternaryfunc
)0, /* tp_call */
1637 (reprfunc
)PySwigObject_str
, /* tp_str */
1638 PyObject_GenericGetAttr
, /* tp_getattro */
1639 0, /* tp_setattro */
1640 0, /* tp_as_buffer */
1641 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1642 swigobject_doc
, /* tp_doc */
1643 0, /* tp_traverse */
1645 0, /* tp_richcompare */
1646 0, /* tp_weaklistoffset */
1647 #if PY_VERSION_HEX >= 0x02020000
1649 0, /* tp_iternext */
1650 swigobject_methods
, /* tp_methods */
1655 0, /* tp_descr_get */
1656 0, /* tp_descr_set */
1657 0, /* tp_dictoffset */
1666 0, /* tp_subclasses */
1667 0, /* tp_weaklist */
1669 #if PY_VERSION_HEX >= 0x02030000
1673 0,0,0,0 /* tp_alloc -> tp_next */
1676 pyswigobject_type
= tmp
;
1677 pyswigobject_type
.ob_type
= &PyType_Type
;
1680 return &pyswigobject_type
;
1683 SWIGRUNTIME PyObject
*
1684 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1686 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1693 return (PyObject
*)sobj
;
1696 /* -----------------------------------------------------------------------------
1697 * Implements a simple Swig Packed type, and use it instead of string
1698 * ----------------------------------------------------------------------------- */
1708 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1710 char result
[SWIG_BUFFER_SIZE
];
1711 fputs("<Swig Packed ", fp
);
1712 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1716 fputs(v
->ty
->name
,fp
);
1721 SWIGRUNTIME PyObject
*
1722 PySwigPacked_repr(PySwigPacked
*v
)
1724 char result
[SWIG_BUFFER_SIZE
];
1725 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1726 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1728 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1732 SWIGRUNTIME PyObject
*
1733 PySwigPacked_str(PySwigPacked
*v
)
1735 char result
[SWIG_BUFFER_SIZE
];
1736 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1737 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1739 return PyString_FromString(v
->ty
->name
);
1744 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1748 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1749 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1752 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1754 SWIGRUNTIME PyTypeObject
*
1755 PySwigPacked_type(void) {
1756 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1760 SWIGRUNTIMEINLINE
int
1761 PySwigPacked_Check(PyObject
*op
) {
1762 return ((op
)->ob_type
== _PySwigPacked_type())
1763 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1767 PySwigPacked_dealloc(PyObject
*v
)
1769 if (PySwigPacked_Check(v
)) {
1770 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1776 SWIGRUNTIME PyTypeObject
*
1777 _PySwigPacked_type(void) {
1778 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1779 static PyTypeObject pyswigpacked_type
;
1780 static int type_init
= 0;
1782 const PyTypeObject tmp
1784 PyObject_HEAD_INIT(NULL
)
1786 (char *)"PySwigPacked", /* tp_name */
1787 sizeof(PySwigPacked
), /* tp_basicsize */
1788 0, /* tp_itemsize */
1789 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1790 (printfunc
)PySwigPacked_print
, /* tp_print */
1791 (getattrfunc
)0, /* tp_getattr */
1792 (setattrfunc
)0, /* tp_setattr */
1793 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1794 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1795 0, /* tp_as_number */
1796 0, /* tp_as_sequence */
1797 0, /* tp_as_mapping */
1798 (hashfunc
)0, /* tp_hash */
1799 (ternaryfunc
)0, /* tp_call */
1800 (reprfunc
)PySwigPacked_str
, /* tp_str */
1801 PyObject_GenericGetAttr
, /* tp_getattro */
1802 0, /* tp_setattro */
1803 0, /* tp_as_buffer */
1804 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1805 swigpacked_doc
, /* tp_doc */
1806 0, /* tp_traverse */
1808 0, /* tp_richcompare */
1809 0, /* tp_weaklistoffset */
1810 #if PY_VERSION_HEX >= 0x02020000
1812 0, /* tp_iternext */
1818 0, /* tp_descr_get */
1819 0, /* tp_descr_set */
1820 0, /* tp_dictoffset */
1829 0, /* tp_subclasses */
1830 0, /* tp_weaklist */
1832 #if PY_VERSION_HEX >= 0x02030000
1836 0,0,0,0 /* tp_alloc -> tp_next */
1839 pyswigpacked_type
= tmp
;
1840 pyswigpacked_type
.ob_type
= &PyType_Type
;
1843 return &pyswigpacked_type
;
1846 SWIGRUNTIME PyObject
*
1847 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1849 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1851 void *pack
= malloc(size
);
1853 memcpy(pack
, ptr
, size
);
1858 PyObject_DEL((PyObject
*) sobj
);
1862 return (PyObject
*) sobj
;
1865 SWIGRUNTIME swig_type_info
*
1866 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1868 if (PySwigPacked_Check(obj
)) {
1869 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1870 if (sobj
->size
!= size
) return 0;
1871 memcpy(ptr
, sobj
->pack
, size
);
1878 /* -----------------------------------------------------------------------------
1879 * pointers/data manipulation
1880 * ----------------------------------------------------------------------------- */
1882 SWIGRUNTIMEINLINE PyObject
*
1885 return PyString_FromString("this");
1888 SWIGRUNTIME PyObject
*
1891 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1895 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1897 SWIGRUNTIME PySwigObject
*
1898 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1900 if (PySwigObject_Check(pyobj
)) {
1901 return (PySwigObject
*) pyobj
;
1904 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1905 if (PyInstance_Check(pyobj
)) {
1906 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1908 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1909 if (dictptr
!= NULL
) {
1910 PyObject
*dict
= *dictptr
;
1911 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1913 #ifdef PyWeakref_CheckProxy
1914 if (PyWeakref_CheckProxy(pyobj
)) {
1915 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1916 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1919 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1923 if (PyErr_Occurred()) PyErr_Clear();
1929 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1933 if (PyErr_Occurred()) PyErr_Clear();
1937 if (obj
&& !PySwigObject_Check(obj
)) {
1938 /* a PyObject is called 'this', try to get the 'real this'
1939 PySwigObject from it */
1940 return SWIG_Python_GetSwigThis(obj
);
1942 return (PySwigObject
*)obj
;
1946 /* Acquire a pointer value */
1949 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1951 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1953 int oldown
= sobj
->own
;
1961 /* Convert a pointer value */
1964 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1965 if (!obj
) return SWIG_ERROR
;
1966 if (obj
== Py_None
) {
1970 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1972 void *vptr
= sobj
->ptr
;
1974 swig_type_info
*to
= sobj
->ty
;
1976 /* no type cast needed */
1977 if (ptr
) *ptr
= vptr
;
1980 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1982 sobj
= (PySwigObject
*)sobj
->next
;
1984 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1989 if (ptr
) *ptr
= vptr
;
1994 if (own
) *own
= sobj
->own
;
1995 if (flags
& SWIG_POINTER_DISOWN
) {
2000 int res
= SWIG_ERROR
;
2001 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2002 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2003 if (data
&& !data
->implicitconv
) {
2004 PyObject
*klass
= data
->klass
;
2007 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2008 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2009 data
->implicitconv
= 0;
2010 if (PyErr_Occurred()) {
2015 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2018 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2019 if (SWIG_IsOK(res
)) {
2022 /* transfer the ownership to 'ptr' */
2024 res
= SWIG_AddCast(res
);
2025 res
= SWIG_AddNewMask(res
);
2027 res
= SWIG_AddCast(res
);
2041 /* Convert a function ptr value */
2044 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2045 if (!PyCFunction_Check(obj
)) {
2046 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2050 /* here we get the method pointer for callbacks */
2051 char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2052 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2054 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2055 if (!desc
) return SWIG_ERROR
;
2058 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2059 if (!tc
) return SWIG_ERROR
;
2060 *ptr
= SWIG_TypeCast(tc
,vptr
);
2068 /* Convert a packed value value */
2071 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2072 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2073 if (!to
) return SWIG_ERROR
;
2076 /* check type cast? */
2077 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2078 if (!tc
) return SWIG_ERROR
;
2084 /* -----------------------------------------------------------------------------
2085 * Create a new pointer object
2086 * ----------------------------------------------------------------------------- */
2089 Create a new instance object, whitout calling __init__, and set the
2093 SWIGRUNTIME PyObject
*
2094 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2096 #if (PY_VERSION_HEX >= 0x02020000)
2098 PyObject
*newraw
= data
->newraw
;
2100 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2102 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2103 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2104 if (dictptr
!= NULL
) {
2105 PyObject
*dict
= *dictptr
;
2107 dict
= PyDict_New();
2109 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2113 PyObject
*key
= SWIG_This();
2114 PyObject_SetAttr(inst
, key
, swig_this
);
2118 PyObject
*dict
= PyDict_New();
2119 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2120 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2125 #if (PY_VERSION_HEX >= 0x02010000)
2127 PyObject
*dict
= PyDict_New();
2128 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2129 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2131 return (PyObject
*) inst
;
2133 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2137 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2138 Py_INCREF(inst
->in_class
);
2139 inst
->in_dict
= PyDict_New();
2140 if (inst
->in_dict
== NULL
) {
2144 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2145 inst
->in_weakreflist
= NULL
;
2147 #ifdef Py_TPFLAGS_GC
2148 PyObject_GC_Init(inst
);
2150 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2151 return (PyObject
*) inst
;
2157 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2160 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2161 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2162 if (dictptr
!= NULL
) {
2165 dict
= PyDict_New();
2168 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2172 dict
= PyObject_GetAttrString(inst
, "__dict__");
2173 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2178 SWIGINTERN PyObject
*
2179 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2181 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2184 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2186 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2188 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2190 return SWIG_Py_Void();
2194 /* Create a new pointer object */
2196 SWIGRUNTIME PyObject
*
2197 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2199 return SWIG_Py_Void();
2201 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2202 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2203 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2204 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2205 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2215 /* Create a new packed object */
2217 SWIGRUNTIMEINLINE PyObject
*
2218 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2219 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2222 /* -----------------------------------------------------------------------------*
2224 * -----------------------------------------------------------------------------*/
2226 #ifdef SWIG_LINK_RUNTIME
2227 void *SWIG_ReturnGlobalTypeList(void *);
2230 SWIGRUNTIME swig_module_info
*
2231 SWIG_Python_GetModule(void) {
2232 static void *type_pointer
= (void *)0;
2233 /* first check if module already created */
2234 if (!type_pointer
) {
2235 #ifdef SWIG_LINK_RUNTIME
2236 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2238 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2239 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2240 if (PyErr_Occurred()) {
2242 type_pointer
= (void *)0;
2246 return (swig_module_info
*) type_pointer
;
2249 #if PY_MAJOR_VERSION < 2
2250 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2251 is copied out of Python/modsupport.c in python version 2.3.4 */
2253 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2256 if (!PyModule_Check(m
)) {
2257 PyErr_SetString(PyExc_TypeError
,
2258 "PyModule_AddObject() needs module as first arg");
2262 PyErr_SetString(PyExc_TypeError
,
2263 "PyModule_AddObject() needs non-NULL value");
2267 dict
= PyModule_GetDict(m
);
2269 /* Internal error -- modules must have a dict! */
2270 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2271 PyModule_GetName(m
));
2274 if (PyDict_SetItemString(dict
, name
, o
))
2282 SWIG_Python_DestroyModule(void *vptr
)
2284 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2285 swig_type_info
**types
= swig_module
->types
;
2287 for (i
=0; i
< swig_module
->size
; ++i
) {
2288 swig_type_info
*ty
= types
[i
];
2290 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2291 if (data
) PySwigClientData_Del(data
);
2294 Py_DECREF(SWIG_This());
2298 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2299 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2301 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2302 swig_empty_runtime_method_table
);
2303 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2304 if (pointer
&& module) {
2305 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2307 Py_XDECREF(pointer
);
2311 /* The python cached type query */
2312 SWIGRUNTIME PyObject
*
2313 SWIG_Python_TypeCache() {
2314 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2318 SWIGRUNTIME swig_type_info
*
2319 SWIG_Python_TypeQuery(const char *type
)
2321 PyObject
*cache
= SWIG_Python_TypeCache();
2322 PyObject
*key
= PyString_FromString(type
);
2323 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2324 swig_type_info
*descriptor
;
2326 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2328 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2329 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2331 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2332 PyDict_SetItem(cache
, key
, obj
);
2341 For backward compatibility only
2343 #define SWIG_POINTER_EXCEPTION 0
2344 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2345 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2348 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2350 if (PyErr_Occurred()) {
2352 PyObject
*value
= 0;
2353 PyObject
*traceback
= 0;
2354 PyErr_Fetch(&type
, &value
, &traceback
);
2356 PyObject
*old_str
= PyObject_Str(value
);
2360 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2362 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2373 SWIG_Python_ArgFail(int argnum
)
2375 if (PyErr_Occurred()) {
2376 /* add information about failing argument */
2378 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2379 return SWIG_Python_AddErrMesg(mesg
, 1);
2385 SWIGRUNTIMEINLINE
const char *
2386 PySwigObject_GetDesc(PyObject
*self
)
2388 PySwigObject
*v
= (PySwigObject
*)self
;
2389 swig_type_info
*ty
= v
? v
->ty
: 0;
2390 return ty
? ty
->str
: (char*)"";
2394 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2397 #if defined(SWIG_COBJECT_TYPES)
2398 if (obj
&& PySwigObject_Check(obj
)) {
2399 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2401 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2408 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2410 PyObject
*str
= PyObject_Str(obj
);
2411 const char *cstr
= str
? PyString_AsString(str
) : 0;
2413 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2416 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2423 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2425 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2430 /* Convert a pointer value, signal an exception on a type mismatch */
2432 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2434 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2436 if (flags
& SWIG_POINTER_EXCEPTION
) {
2437 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2438 SWIG_Python_ArgFail(argnum
);
2454 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2456 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2460 /* -------- TYPES TABLE (BEGIN) -------- */
2462 #define SWIGTYPE_p_bool swig_types[0]
2463 #define SWIGTYPE_p_char swig_types[1]
2464 #define SWIGTYPE_p_form_ops_t swig_types[2]
2465 #define SWIGTYPE_p_int swig_types[3]
2466 #define SWIGTYPE_p_unsigned_char swig_types[4]
2467 #define SWIGTYPE_p_unsigned_int swig_types[5]
2468 #define SWIGTYPE_p_unsigned_long swig_types[6]
2469 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2470 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2471 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2472 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2473 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2474 #define SWIGTYPE_p_wxBitmap swig_types[12]
2475 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2476 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2477 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2478 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2479 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2480 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2481 #define SWIGTYPE_p_wxColour swig_types[19]
2482 #define SWIGTYPE_p_wxColourData swig_types[20]
2483 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2484 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2485 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2486 #define SWIGTYPE_p_wxControl swig_types[24]
2487 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2488 #define SWIGTYPE_p_wxDC swig_types[26]
2489 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2490 #define SWIGTYPE_p_wxDialog swig_types[28]
2491 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2492 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2493 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2494 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2495 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2496 #define SWIGTYPE_p_wxEvent swig_types[34]
2497 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2498 #define SWIGTYPE_p_wxFSFile swig_types[36]
2499 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2500 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2501 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2502 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2503 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2504 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2505 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2506 #define SWIGTYPE_p_wxFont swig_types[44]
2507 #define SWIGTYPE_p_wxFontData swig_types[45]
2508 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2509 #define SWIGTYPE_p_wxFrame swig_types[47]
2510 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2511 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2512 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2513 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2514 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2515 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2516 #define SWIGTYPE_p_wxIcon swig_types[54]
2517 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2518 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2519 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2520 #define SWIGTYPE_p_wxImage swig_types[58]
2521 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2522 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2523 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2524 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2525 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2526 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2527 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2528 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2529 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2530 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2531 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenu swig_types[70]
2533 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2534 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2535 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2536 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2537 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2538 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2539 #define SWIGTYPE_p_wxMouseEvent swig_types[77]
2540 #define SWIGTYPE_p_wxMoveEvent swig_types[78]
2541 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[79]
2542 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[80]
2543 #define SWIGTYPE_p_wxNcPaintEvent swig_types[81]
2544 #define SWIGTYPE_p_wxNotifyEvent swig_types[82]
2545 #define SWIGTYPE_p_wxObject swig_types[83]
2546 #define SWIGTYPE_p_wxPCXHandler swig_types[84]
2547 #define SWIGTYPE_p_wxPNGHandler swig_types[85]
2548 #define SWIGTYPE_p_wxPNMHandler swig_types[86]
2549 #define SWIGTYPE_p_wxPageSetupDialog swig_types[87]
2550 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[88]
2551 #define SWIGTYPE_p_wxPaintEvent swig_types[89]
2552 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[90]
2553 #define SWIGTYPE_p_wxPanel swig_types[91]
2554 #define SWIGTYPE_p_wxPaperSize swig_types[92]
2555 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[93]
2556 #define SWIGTYPE_p_wxPoint swig_types[94]
2557 #define SWIGTYPE_p_wxPopupWindow swig_types[95]
2558 #define SWIGTYPE_p_wxPreviewCanvas swig_types[96]
2559 #define SWIGTYPE_p_wxPreviewControlBar swig_types[97]
2560 #define SWIGTYPE_p_wxPreviewFrame swig_types[98]
2561 #define SWIGTYPE_p_wxPrintData swig_types[99]
2562 #define SWIGTYPE_p_wxPrintDialog swig_types[100]
2563 #define SWIGTYPE_p_wxPrintDialogData swig_types[101]
2564 #define SWIGTYPE_p_wxPrintPreview swig_types[102]
2565 #define SWIGTYPE_p_wxPrinter swig_types[103]
2566 #define SWIGTYPE_p_wxProgressDialog swig_types[104]
2567 #define SWIGTYPE_p_wxPyApp swig_types[105]
2568 #define SWIGTYPE_p_wxPyCommandEvent swig_types[106]
2569 #define SWIGTYPE_p_wxPyEvent swig_types[107]
2570 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[108]
2571 #define SWIGTYPE_p_wxPyImageHandler swig_types[109]
2572 #define SWIGTYPE_p_wxPyPanel swig_types[110]
2573 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[111]
2574 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[112]
2575 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[113]
2576 #define SWIGTYPE_p_wxPyPrintPreview swig_types[114]
2577 #define SWIGTYPE_p_wxPyPrintout swig_types[115]
2578 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[116]
2579 #define SWIGTYPE_p_wxPySizer swig_types[117]
2580 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[118]
2581 #define SWIGTYPE_p_wxPyVListBox swig_types[119]
2582 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[120]
2583 #define SWIGTYPE_p_wxPyValidator swig_types[121]
2584 #define SWIGTYPE_p_wxPyWindow swig_types[122]
2585 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[123]
2586 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[124]
2587 #define SWIGTYPE_p_wxRect swig_types[125]
2588 #define SWIGTYPE_p_wxRegion swig_types[126]
2589 #define SWIGTYPE_p_wxSashEvent swig_types[127]
2590 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[128]
2591 #define SWIGTYPE_p_wxSashWindow swig_types[129]
2592 #define SWIGTYPE_p_wxScrollEvent swig_types[130]
2593 #define SWIGTYPE_p_wxScrollWinEvent swig_types[131]
2594 #define SWIGTYPE_p_wxScrolledWindow swig_types[132]
2595 #define SWIGTYPE_p_wxSetCursorEvent swig_types[133]
2596 #define SWIGTYPE_p_wxShowEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[135]
2598 #define SWIGTYPE_p_wxSize swig_types[136]
2599 #define SWIGTYPE_p_wxSizeEvent swig_types[137]
2600 #define SWIGTYPE_p_wxSizer swig_types[138]
2601 #define SWIGTYPE_p_wxSizerItem swig_types[139]
2602 #define SWIGTYPE_p_wxSplashScreen swig_types[140]
2603 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[141]
2604 #define SWIGTYPE_p_wxSplitterEvent swig_types[142]
2605 #define SWIGTYPE_p_wxSplitterWindow swig_types[143]
2606 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[144]
2607 #define SWIGTYPE_p_wxStatusBar swig_types[145]
2608 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[146]
2609 #define SWIGTYPE_p_wxString swig_types[147]
2610 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTIFFHandler swig_types[149]
2612 #define SWIGTYPE_p_wxTaskBarIcon swig_types[150]
2613 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[151]
2614 #define SWIGTYPE_p_wxTextEntryDialog swig_types[152]
2615 #define SWIGTYPE_p_wxTipWindow swig_types[153]
2616 #define SWIGTYPE_p_wxToolBar swig_types[154]
2617 #define SWIGTYPE_p_wxTopLevelWindow swig_types[155]
2618 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[156]
2619 #define SWIGTYPE_p_wxValidator swig_types[157]
2620 #define SWIGTYPE_p_wxVisualAttributes swig_types[158]
2621 #define SWIGTYPE_p_wxWindow swig_types[159]
2622 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[160]
2623 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[161]
2624 #define SWIGTYPE_p_wxXPMHandler swig_types[162]
2625 static swig_type_info
*swig_types
[164];
2626 static swig_module_info swig_module
= {swig_types
, 163, 0, 0, 0, 0};
2627 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2628 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2630 /* -------- TYPES TABLE (END) -------- */
2632 #if (PY_VERSION_HEX <= 0x02000000)
2633 # if !defined(SWIG_PYTHON_CLASSIC)
2634 # error "This python version requires to use swig with the '-classic' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodern' option"
2640 #if (PY_VERSION_HEX <= 0x02020000)
2641 # error "This python version requires to use swig with the '-nomodernargs' option"
2644 # error "This python version requires to use swig with the '-nofastunpack' option"
2647 /*-----------------------------------------------
2648 @(target):= _windows_.so
2649 ------------------------------------------------*/
2650 #define SWIG_init init_windows_
2652 #define SWIG_name "_windows_"
2654 #define SWIGVERSION 0x010329
2657 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2658 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2661 #include <stdexcept>
2665 class PyObject_ptr
{
2670 PyObject_ptr() :_obj(0)
2674 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2679 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2681 if (initial_ref
) Py_XINCREF(_obj
);
2684 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2686 Py_XINCREF(item
._obj
);
2697 operator PyObject
*() const
2702 PyObject
*operator->() const
2711 struct PyObject_var
: PyObject_ptr
{
2712 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2714 PyObject_var
& operator = (PyObject
* obj
)
2724 #include "wx/wxPython/wxPython.h"
2725 #include "wx/wxPython/pyclasses.h"
2728 static const wxString
wxPyEmptyString(wxEmptyString
);
2729 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2735 # define LLONG_MIN LONG_LONG_MIN
2738 # define LLONG_MAX LONG_LONG_MAX
2741 # define ULLONG_MAX ULONG_LONG_MAX
2746 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2748 if (PyNumber_Check(obj
)) {
2749 if (val
) *val
= PyInt_AsLong(obj
);
2752 return SWIG_TypeError
;
2757 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2760 int res
= SWIG_AsVal_long (obj
, &v
);
2761 if (SWIG_IsOK(res
)) {
2762 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2763 return SWIG_OverflowError
;
2765 if (val
) *val
= static_cast< int >(v
);
2773 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2775 if (obj
== Py_True
) {
2776 if (val
) *val
= true;
2778 } else if (obj
== Py_False
) {
2779 if (val
) *val
= false;
2783 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2784 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2790 #define SWIG_From_long PyInt_FromLong
2793 SWIGINTERNINLINE PyObject
*
2794 SWIG_From_int (int value
)
2796 return SWIG_From_long (value
);
2801 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2803 if (PyNumber_Check(obj
)) {
2804 if (val
) *val
= PyFloat_AsDouble(obj
);
2807 return SWIG_TypeError
;
2811 #define SWIG_From_double PyFloat_FromDouble
2813 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2814 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2815 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2816 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2817 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2818 int style
= self
->GetExtraStyle();
2820 style
|= wxFRAME_EX_METAL
;
2822 style
&= ~wxFRAME_EX_METAL
;
2823 self
->SetExtraStyle(style
);
2827 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2829 self
->GetFieldRect(i
, r
);
2832 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2833 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2834 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2836 #include <wx/popupwin.h>
2839 class wxPopupWindow
: public wxWindow
{
2841 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2842 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2845 class wxPyPopupTransientWindow
: public wxPopupWindow
2848 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2853 #include <wx/tipwin.h>
2855 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2856 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2859 #include <wx/tipwin.h>
2862 #include <wx/vscroll.h>
2865 class wxPyVScrolledWindow
: public wxVScrolledWindow
2867 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2869 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2871 wxPyVScrolledWindow(wxWindow
*parent
,
2872 wxWindowID id
= wxID_ANY
,
2873 const wxPoint
& pos
= wxDefaultPosition
,
2874 const wxSize
& size
= wxDefaultSize
,
2876 const wxString
& name
= wxPyPanelNameStr
)
2877 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2880 // Overridable virtuals
2882 // this function must be overridden in the derived class and it should
2883 // return the height of the given line in pixels
2884 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2887 // this function doesn't have to be overridden but it may be useful to do
2888 // it if calculating the lines heights is a relatively expensive operation
2889 // as it gives the user code a possibility to calculate several of them at
2892 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2893 // shouldn't rely on the latter being called for all lines in the interval
2894 // specified here. It is also possible that OnGetLineHeight() will be
2895 // called for the lines outside of this interval, so this is really just a
2896 // hint, not a promise.
2898 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2900 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2903 // when the number of lines changes, we try to estimate the total height
2904 // of all lines which is a rather expensive operation in terms of lines
2905 // access, so if the user code may estimate the average height
2906 // better/faster than we do, it should override this function to implement
2909 // this function should return the best guess for the total height it may
2911 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2914 // Also expose some other interesting protected methods
2917 // find the index of the line we need to show at the top of the window such
2918 // that the last (fully or partially) visible line is the given one
2919 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2920 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2922 // get the total height of the lines between lineMin (inclusive) and
2923 // lineMax (exclusive)
2924 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2925 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 // update the thumb size shown by the scrollbar
2928 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2930 // remove the scrollbar completely because we don't need it
2931 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2936 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2938 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2939 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2940 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2944 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2947 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2948 return SWIG_TypeError
;
2951 *val
= (unsigned long)v
;
2956 SWIGINTERNINLINE
int
2957 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2960 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2961 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2966 SWIGINTERNINLINE PyObject
*
2967 SWIG_From_unsigned_SS_long (unsigned long value
)
2969 return (value
> LONG_MAX
) ?
2970 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2974 SWIGINTERNINLINE PyObject
*
2975 SWIG_From_size_t (size_t value
)
2977 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2981 #include <wx/vlbox.h>
2983 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2985 class wxPyVListBox
: public wxVListBox
2987 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2989 wxPyVListBox() : wxVListBox() {}
2991 wxPyVListBox(wxWindow
*parent
,
2992 wxWindowID id
= wxID_ANY
,
2993 const wxPoint
& pos
= wxDefaultPosition
,
2994 const wxSize
& size
= wxDefaultSize
,
2996 const wxString
& name
= wxPyVListBoxNameStr
)
2997 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3000 // Overridable virtuals
3002 // the derived class must implement this function to actually draw the item
3003 // with the given index on the provided DC
3004 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3005 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3008 // the derived class must implement this method to return the height of the
3010 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3011 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3014 // this method may be used to draw separators between the lines; note that
3015 // the rectangle may be modified, typically to deflate it a bit before
3016 // passing to OnDrawItem()
3018 // the base class version doesn't do anything
3019 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3020 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3023 // this method is used to draw the items background and, maybe, a border
3026 // the base class version implements a reasonable default behaviour which
3027 // consists in drawing the selected item with the standard background
3028 // colour and drawing a border around the item if it is either selected or
3030 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3031 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3037 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3039 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3040 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3041 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3042 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3045 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3046 unsigned long cookie
= 0;
3047 int selected
= self
->GetFirstSelected(cookie
);
3048 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3049 PyObject
* tup
= PyTuple_New(2);
3050 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3051 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3052 wxPyEndBlockThreads(blocked
);
3055 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3056 int selected
= self
->GetNextSelected(cookie
);
3057 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3058 PyObject
* tup
= PyTuple_New(2);
3059 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3060 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3061 wxPyEndBlockThreads(blocked
);
3065 #include <wx/htmllbox.h>
3068 class wxPyHtmlListBox
: public wxHtmlListBox
3070 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3072 wxPyHtmlListBox() : wxHtmlListBox() {}
3074 wxPyHtmlListBox(wxWindow
*parent
,
3075 wxWindowID id
= wxID_ANY
,
3076 const wxPoint
& pos
= wxDefaultPosition
,
3077 const wxSize
& size
= wxDefaultSize
,
3079 const wxString
& name
= wxPyVListBoxNameStr
)
3080 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3083 // Overridable virtuals
3085 // this method must be implemented in the derived class and should return
3086 // the body (i.e. without <html>) of the HTML for the given item
3087 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3089 // this function may be overridden to decorate HTML returned by OnGetItem()
3090 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3092 // These are from wxVListBox
3093 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3094 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3097 // // this method allows to customize the selection appearance: it may be used
3098 // // to specify the colour of the text which normally has the given colour
3099 // // colFg when it is inside the selection
3101 // // by default, the original colour is not used at all and all text has the
3102 // // same (default for this system) colour inside selection
3103 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3105 // // this is the same as GetSelectedTextColour() but allows to customize the
3106 // // background colour -- this is even more rarely used as you can change it
3107 // // globally using SetSelectionBackground()
3108 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3111 // This method may be overriden to handle clicking on a link in
3112 // the listbox. By default, clicking links is ignored.
3113 virtual void OnLinkClicked(size_t n
,
3114 const wxHtmlLinkInfo
& link
);
3120 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3122 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3123 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3124 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3125 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3128 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3129 const wxHtmlLinkInfo
& link
) {
3131 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3132 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3133 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3134 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3137 wxPyEndBlockThreads(blocked
);
3139 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3146 #ifndef wxHAS_TASK_BAR_ICON
3147 // implement dummy classes for platforms that don't have it
3149 class wxTaskBarIcon
: public wxEvtHandler
3152 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3156 class wxTaskBarIconEvent
: public wxEvent
3159 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3160 { wxPyRaiseNotImplemented(); }
3161 virtual wxEvent
* Clone() const { return NULL
; }
3162 bool IsOk() const { return false; }
3163 bool IsIconInstalled() const { return false; }
3164 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3165 bool RemoveIcon() { return false; }
3166 bool PopupMenu(wxMenu
*menu
) { return false; }
3170 wxEVT_TASKBAR_MOVE
= 0,
3171 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3172 wxEVT_TASKBAR_LEFT_UP
= 0,
3173 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3174 wxEVT_TASKBAR_RIGHT_UP
= 0,
3175 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3176 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3181 // Otherwise make a class that can virtualize CreatePopupMenu
3182 class wxPyTaskBarIcon
: public wxTaskBarIcon
3184 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3186 wxPyTaskBarIcon() : wxTaskBarIcon()
3189 wxMenu
* CreatePopupMenu() {
3190 wxMenu
*rval
= NULL
;
3192 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3193 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3196 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3198 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3203 wxPyEndBlockThreads(blocked
);
3205 rval
= wxTaskBarIcon::CreatePopupMenu();
3212 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3216 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3220 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3221 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3222 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3223 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3224 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3225 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3226 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3228 self
->GetFilenames(arr
);
3229 return wxArrayString2PyList_helper(arr
);
3231 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3233 self
->GetPaths(arr
);
3234 return wxArrayString2PyList_helper(arr
);
3236 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3237 return wxArrayInt2PyList_helper(self
->GetSelections());
3239 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
){
3240 return new wxSingleChoiceDialog(parent
, message
, caption
,
3241 choices
, choices_array
, NULL
, style
, pos
);
3243 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3245 SWIGINTERNINLINE PyObject
*
3246 SWIG_From_bool (bool value
)
3248 return PyBool_FromLong(value
? 1 : 0);
3254 // C++ version of Python aware wxWindow
3255 class wxPyWindow
: public wxWindow
3257 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3259 wxPyWindow() : wxWindow() {}
3260 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3261 const wxPoint
& pos
= wxDefaultPosition
,
3262 const wxSize
& size
= wxDefaultSize
,
3264 const wxString
& name
= wxPyPanelNameStr
)
3265 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3267 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3269 bool DoEraseBackground(wxDC
* dc
) {
3271 return wxWindow::DoEraseBackground(dc
->GetHDC());
3273 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3279 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3280 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3281 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3282 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3284 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3285 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3286 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3288 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3289 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3291 DEC_PYCALLBACK__(InitDialog
);
3292 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3293 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3294 DEC_PYCALLBACK_BOOL_(Validate
);
3296 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3297 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3298 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3300 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3301 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3303 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3304 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3306 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3308 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3313 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3315 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3316 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3317 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3318 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3320 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3321 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3322 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3324 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3325 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3327 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3328 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3329 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3330 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3332 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3333 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3334 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3336 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3337 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3339 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3340 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3342 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3344 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3346 // C++ version of Python aware wxPanel
3347 class wxPyPanel
: public wxPanel
3349 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3351 wxPyPanel() : wxPanel() {}
3352 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3353 const wxPoint
& pos
= wxDefaultPosition
,
3354 const wxSize
& size
= wxDefaultSize
,
3356 const wxString
& name
= wxPyPanelNameStr
)
3357 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3359 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3360 bool DoEraseBackground(wxDC
* dc
) {
3362 return wxWindow::DoEraseBackground(dc
->GetHDC());
3364 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3371 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3372 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3373 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3374 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3376 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3377 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3378 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3380 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3381 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3383 DEC_PYCALLBACK__(InitDialog
);
3384 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3385 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3386 DEC_PYCALLBACK_BOOL_(Validate
);
3388 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3389 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3390 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3392 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3393 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3395 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3396 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3398 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3400 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3405 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3407 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3408 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3409 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3410 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3412 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3413 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3414 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3416 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3417 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3419 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3420 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3421 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3422 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3424 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3425 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3426 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3428 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3429 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3431 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3432 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3434 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3436 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3438 // C++ version of Python aware wxScrolledWindow
3439 class wxPyScrolledWindow
: public wxScrolledWindow
3441 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3443 wxPyScrolledWindow() : wxScrolledWindow() {}
3444 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3445 const wxPoint
& pos
= wxDefaultPosition
,
3446 const wxSize
& size
= wxDefaultSize
,
3448 const wxString
& name
= wxPyPanelNameStr
)
3449 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3451 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3452 bool DoEraseBackground(wxDC
* dc
) {
3454 return wxWindow::DoEraseBackground(dc
->GetHDC());
3456 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3462 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3463 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3464 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3465 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3467 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3468 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3469 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3471 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3472 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3474 DEC_PYCALLBACK__(InitDialog
);
3475 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3476 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3477 DEC_PYCALLBACK_BOOL_(Validate
);
3479 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3480 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3481 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3483 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3484 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3486 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3487 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3489 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3491 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3496 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3498 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3499 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3500 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3501 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3503 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3504 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3505 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3507 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3508 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3510 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3511 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3512 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3513 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3515 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3516 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3517 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3519 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3520 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3522 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3523 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3525 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3527 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3530 #include "wx/wxPython/printfw.h"
3533 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3534 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3535 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3537 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3538 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3539 self
->GetPrivDataLen());
3540 wxPyEndBlockThreads(blocked
);
3543 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3544 if (! PyString_Check(data
)) {
3545 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3546 "Expected string object"));
3550 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3551 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3552 wxPyEndBlockThreads(blocked
);
3556 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3558 // Since this one would be tough and ugly to do with the Macros...
3559 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3560 bool hadErr
= false;
3563 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3564 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3565 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3566 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3569 val
= PyTuple_GetItem(result
, 0);
3570 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3573 val
= PyTuple_GetItem(result
, 1);
3574 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3577 val
= PyTuple_GetItem(result
, 2);
3578 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3581 val
= PyTuple_GetItem(result
, 3);
3582 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3589 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3594 wxPyEndBlockThreads(blocked
);
3596 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3601 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3602 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3603 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3604 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3605 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3606 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3607 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3613 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3614 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3617 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3618 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3621 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3622 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3623 PyObject* win = wxPyMake_wxObject(a,false); \
3624 PyObject* dc = wxPyMake_wxObject(&b,false); \
3625 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3629 wxPyEndBlockThreads(blocked); \
3631 rval = PCLASS::CBNAME(a, b); \
3638 class wxPyPrintPreview
: public wxPrintPreview
3640 DECLARE_CLASS(wxPyPrintPreview
)
3642 wxPyPrintPreview(wxPyPrintout
* printout
,
3643 wxPyPrintout
* printoutForPrinting
,
3644 wxPrintDialogData
* data
=NULL
)
3645 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3647 wxPyPrintPreview(wxPyPrintout
* printout
,
3648 wxPyPrintout
* printoutForPrinting
,
3650 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3653 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3654 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3655 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3656 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3657 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3658 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3659 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3664 // Stupid renamed classes... Fix this in 2.5...
3665 #if defined(__WXMSW__)
3666 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3667 #elif defined(__WXMAC__)
3668 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3670 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3673 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3674 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3675 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3676 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3677 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3678 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3679 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3682 class wxPyPreviewFrame
: public wxPreviewFrame
3684 DECLARE_CLASS(wxPyPreviewFrame
)
3686 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3687 const wxString
& title
,
3688 const wxPoint
& pos
= wxDefaultPosition
,
3689 const wxSize
& size
= wxDefaultSize
,
3690 long style
= wxDEFAULT_FRAME_STYLE
,
3691 const wxString
& name
= wxPyFrameNameStr
)
3692 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3695 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3696 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3698 DEC_PYCALLBACK_VOID_(Initialize
);
3699 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3700 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3705 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3707 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3708 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3709 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3712 class wxPyPreviewControlBar
: public wxPreviewControlBar
3714 DECLARE_CLASS(wxPyPreviewControlBar
)
3716 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3719 const wxPoint
& pos
= wxDefaultPosition
,
3720 const wxSize
& size
= wxDefaultSize
,
3722 const wxString
& name
= wxPyPanelNameStr
)
3723 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3726 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3728 DEC_PYCALLBACK_VOID_(CreateButtons
);
3729 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3734 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3735 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3736 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3741 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3742 PyObject
*resultobj
= 0;
3743 wxWindow
*arg1
= (wxWindow
*) 0 ;
3744 int arg2
= (int) (int)-1 ;
3745 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3746 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3747 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3748 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3749 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3750 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3751 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3752 wxPanel
*result
= 0 ;
3761 bool temp6
= false ;
3762 PyObject
* obj0
= 0 ;
3763 PyObject
* obj1
= 0 ;
3764 PyObject
* obj2
= 0 ;
3765 PyObject
* obj3
= 0 ;
3766 PyObject
* obj4
= 0 ;
3767 PyObject
* obj5
= 0 ;
3768 char * kwnames
[] = {
3769 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3774 if (!SWIG_IsOK(res1
)) {
3775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3777 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3779 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3780 if (!SWIG_IsOK(ecode2
)) {
3781 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3783 arg2
= static_cast< int >(val2
);
3788 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3794 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3798 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3799 if (!SWIG_IsOK(ecode5
)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3802 arg5
= static_cast< long >(val5
);
3806 arg6
= wxString_in_helper(obj5
);
3807 if (arg6
== NULL
) SWIG_fail
;
3812 if (!wxPyCheckForApp()) SWIG_fail
;
3813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3814 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3815 wxPyEndAllowThreads(__tstate
);
3816 if (PyErr_Occurred()) SWIG_fail
;
3818 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3833 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3834 PyObject
*resultobj
= 0;
3835 wxPanel
*result
= 0 ;
3837 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3839 if (!wxPyCheckForApp()) SWIG_fail
;
3840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3841 result
= (wxPanel
*)new wxPanel();
3842 wxPyEndAllowThreads(__tstate
);
3843 if (PyErr_Occurred()) SWIG_fail
;
3845 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3852 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3853 PyObject
*resultobj
= 0;
3854 wxPanel
*arg1
= (wxPanel
*) 0 ;
3855 wxWindow
*arg2
= (wxWindow
*) 0 ;
3856 int arg3
= (int) (int)-1 ;
3857 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3858 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3859 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3860 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3861 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3862 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3863 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3875 bool temp7
= false ;
3876 PyObject
* obj0
= 0 ;
3877 PyObject
* obj1
= 0 ;
3878 PyObject
* obj2
= 0 ;
3879 PyObject
* obj3
= 0 ;
3880 PyObject
* obj4
= 0 ;
3881 PyObject
* obj5
= 0 ;
3882 PyObject
* obj6
= 0 ;
3883 char * kwnames
[] = {
3884 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3889 if (!SWIG_IsOK(res1
)) {
3890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3892 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3893 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3894 if (!SWIG_IsOK(res2
)) {
3895 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3897 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3899 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3900 if (!SWIG_IsOK(ecode3
)) {
3901 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3903 arg3
= static_cast< int >(val3
);
3908 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3914 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3918 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3919 if (!SWIG_IsOK(ecode6
)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3922 arg6
= static_cast< long >(val6
);
3926 arg7
= wxString_in_helper(obj6
);
3927 if (arg7
== NULL
) SWIG_fail
;
3932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3933 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3934 wxPyEndAllowThreads(__tstate
);
3935 if (PyErr_Occurred()) SWIG_fail
;
3938 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3954 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3955 PyObject
*resultobj
= 0;
3956 wxPanel
*arg1
= (wxPanel
*) 0 ;
3959 PyObject
*swig_obj
[1] ;
3961 if (!args
) SWIG_fail
;
3963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3964 if (!SWIG_IsOK(res1
)) {
3965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3967 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3970 (arg1
)->SetFocusIgnoringChildren();
3971 wxPyEndAllowThreads(__tstate
);
3972 if (PyErr_Occurred()) SWIG_fail
;
3974 resultobj
= SWIG_Py_Void();
3981 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3982 PyObject
*resultobj
= 0;
3983 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3984 SwigValueWrapper
<wxVisualAttributes
> result
;
3987 PyObject
* obj0
= 0 ;
3988 char * kwnames
[] = {
3989 (char *) "variant", NULL
3992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3994 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3995 if (!SWIG_IsOK(ecode1
)) {
3996 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3998 arg1
= static_cast< wxWindowVariant
>(val1
);
4001 if (!wxPyCheckForApp()) SWIG_fail
;
4002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4003 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4004 wxPyEndAllowThreads(__tstate
);
4005 if (PyErr_Occurred()) SWIG_fail
;
4007 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4014 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4016 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4017 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4018 return SWIG_Py_Void();
4021 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4022 return SWIG_Python_InitShadowInstance(args
);
4025 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4026 PyObject
*resultobj
= 0;
4027 wxWindow
*arg1
= (wxWindow
*) 0 ;
4028 int arg2
= (int) (int)-1 ;
4029 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4030 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4031 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4032 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4033 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4034 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4035 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4036 wxScrolledWindow
*result
= 0 ;
4045 bool temp6
= false ;
4046 PyObject
* obj0
= 0 ;
4047 PyObject
* obj1
= 0 ;
4048 PyObject
* obj2
= 0 ;
4049 PyObject
* obj3
= 0 ;
4050 PyObject
* obj4
= 0 ;
4051 PyObject
* obj5
= 0 ;
4052 char * kwnames
[] = {
4053 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4058 if (!SWIG_IsOK(res1
)) {
4059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4061 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4064 if (!SWIG_IsOK(ecode2
)) {
4065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4067 arg2
= static_cast< int >(val2
);
4072 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4078 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4082 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4083 if (!SWIG_IsOK(ecode5
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4086 arg5
= static_cast< long >(val5
);
4090 arg6
= wxString_in_helper(obj5
);
4091 if (arg6
== NULL
) SWIG_fail
;
4096 if (!wxPyCheckForApp()) SWIG_fail
;
4097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4098 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4099 wxPyEndAllowThreads(__tstate
);
4100 if (PyErr_Occurred()) SWIG_fail
;
4102 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4117 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4118 PyObject
*resultobj
= 0;
4119 wxScrolledWindow
*result
= 0 ;
4121 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4123 if (!wxPyCheckForApp()) SWIG_fail
;
4124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4125 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4126 wxPyEndAllowThreads(__tstate
);
4127 if (PyErr_Occurred()) SWIG_fail
;
4129 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4136 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4137 PyObject
*resultobj
= 0;
4138 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4139 wxWindow
*arg2
= (wxWindow
*) 0 ;
4140 int arg3
= (int) (int)-1 ;
4141 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4142 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4143 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4144 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4145 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4146 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4147 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4159 bool temp7
= false ;
4160 PyObject
* obj0
= 0 ;
4161 PyObject
* obj1
= 0 ;
4162 PyObject
* obj2
= 0 ;
4163 PyObject
* obj3
= 0 ;
4164 PyObject
* obj4
= 0 ;
4165 PyObject
* obj5
= 0 ;
4166 PyObject
* obj6
= 0 ;
4167 char * kwnames
[] = {
4168 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4171 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4172 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4173 if (!SWIG_IsOK(res1
)) {
4174 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4176 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4177 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4178 if (!SWIG_IsOK(res2
)) {
4179 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4181 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4183 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4184 if (!SWIG_IsOK(ecode3
)) {
4185 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4187 arg3
= static_cast< int >(val3
);
4192 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4198 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4202 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4203 if (!SWIG_IsOK(ecode6
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4206 arg6
= static_cast< long >(val6
);
4210 arg7
= wxString_in_helper(obj6
);
4211 if (arg7
== NULL
) SWIG_fail
;
4216 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4217 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4218 wxPyEndAllowThreads(__tstate
);
4219 if (PyErr_Occurred()) SWIG_fail
;
4222 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4238 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4239 PyObject
*resultobj
= 0;
4240 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4245 int arg6
= (int) 0 ;
4246 int arg7
= (int) 0 ;
4247 bool arg8
= (bool) false ;
4264 PyObject
* obj0
= 0 ;
4265 PyObject
* obj1
= 0 ;
4266 PyObject
* obj2
= 0 ;
4267 PyObject
* obj3
= 0 ;
4268 PyObject
* obj4
= 0 ;
4269 PyObject
* obj5
= 0 ;
4270 PyObject
* obj6
= 0 ;
4271 PyObject
* obj7
= 0 ;
4272 char * kwnames
[] = {
4273 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4276 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4277 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4278 if (!SWIG_IsOK(res1
)) {
4279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4281 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4283 if (!SWIG_IsOK(ecode2
)) {
4284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4286 arg2
= static_cast< int >(val2
);
4287 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4288 if (!SWIG_IsOK(ecode3
)) {
4289 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4291 arg3
= static_cast< int >(val3
);
4292 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4293 if (!SWIG_IsOK(ecode4
)) {
4294 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4296 arg4
= static_cast< int >(val4
);
4297 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4298 if (!SWIG_IsOK(ecode5
)) {
4299 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4301 arg5
= static_cast< int >(val5
);
4303 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4304 if (!SWIG_IsOK(ecode6
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4307 arg6
= static_cast< int >(val6
);
4310 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4311 if (!SWIG_IsOK(ecode7
)) {
4312 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4314 arg7
= static_cast< int >(val7
);
4317 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4318 if (!SWIG_IsOK(ecode8
)) {
4319 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4321 arg8
= static_cast< bool >(val8
);
4324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4325 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4326 wxPyEndAllowThreads(__tstate
);
4327 if (PyErr_Occurred()) SWIG_fail
;
4329 resultobj
= SWIG_Py_Void();
4336 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4337 PyObject
*resultobj
= 0;
4338 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4347 PyObject
* obj0
= 0 ;
4348 PyObject
* obj1
= 0 ;
4349 PyObject
* obj2
= 0 ;
4350 char * kwnames
[] = {
4351 (char *) "self",(char *) "x",(char *) "y", NULL
4354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4356 if (!SWIG_IsOK(res1
)) {
4357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4359 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4361 if (!SWIG_IsOK(ecode2
)) {
4362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4364 arg2
= static_cast< int >(val2
);
4365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4366 if (!SWIG_IsOK(ecode3
)) {
4367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4369 arg3
= static_cast< int >(val3
);
4371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4372 (arg1
)->Scroll(arg2
,arg3
);
4373 wxPyEndAllowThreads(__tstate
);
4374 if (PyErr_Occurred()) SWIG_fail
;
4376 resultobj
= SWIG_Py_Void();
4383 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4384 PyObject
*resultobj
= 0;
4385 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4392 PyObject
* obj0
= 0 ;
4393 PyObject
* obj1
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "orient", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4400 if (!SWIG_IsOK(res1
)) {
4401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4403 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4404 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4405 if (!SWIG_IsOK(ecode2
)) {
4406 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4408 arg2
= static_cast< int >(val2
);
4410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4411 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4412 wxPyEndAllowThreads(__tstate
);
4413 if (PyErr_Occurred()) SWIG_fail
;
4415 resultobj
= SWIG_From_int(static_cast< int >(result
));
4422 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4423 PyObject
*resultobj
= 0;
4424 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4433 PyObject
* obj0
= 0 ;
4434 PyObject
* obj1
= 0 ;
4435 PyObject
* obj2
= 0 ;
4436 char * kwnames
[] = {
4437 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4442 if (!SWIG_IsOK(res1
)) {
4443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4445 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4447 if (!SWIG_IsOK(ecode2
)) {
4448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4450 arg2
= static_cast< int >(val2
);
4451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4452 if (!SWIG_IsOK(ecode3
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4455 arg3
= static_cast< int >(val3
);
4457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4458 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4459 wxPyEndAllowThreads(__tstate
);
4460 if (PyErr_Occurred()) SWIG_fail
;
4462 resultobj
= SWIG_Py_Void();
4469 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4470 PyObject
*resultobj
= 0;
4471 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4480 PyObject
* obj0
= 0 ;
4481 PyObject
* obj1
= 0 ;
4482 PyObject
* obj2
= 0 ;
4483 char * kwnames
[] = {
4484 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4487 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4488 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4489 if (!SWIG_IsOK(res1
)) {
4490 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4492 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4493 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4494 if (!SWIG_IsOK(ecode2
)) {
4495 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4497 arg2
= static_cast< int >(val2
);
4498 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4499 if (!SWIG_IsOK(ecode3
)) {
4500 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4502 arg3
= static_cast< int >(val3
);
4504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4505 (arg1
)->SetScrollRate(arg2
,arg3
);
4506 wxPyEndAllowThreads(__tstate
);
4507 if (PyErr_Occurred()) SWIG_fail
;
4509 resultobj
= SWIG_Py_Void();
4516 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4517 PyObject
*resultobj
= 0;
4518 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4519 int *arg2
= (int *) 0 ;
4520 int *arg3
= (int *) 0 ;
4524 int res2
= SWIG_TMPOBJ
;
4526 int res3
= SWIG_TMPOBJ
;
4527 PyObject
*swig_obj
[1] ;
4531 if (!args
) SWIG_fail
;
4533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4534 if (!SWIG_IsOK(res1
)) {
4535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4537 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4540 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4541 wxPyEndAllowThreads(__tstate
);
4542 if (PyErr_Occurred()) SWIG_fail
;
4544 resultobj
= SWIG_Py_Void();
4545 if (SWIG_IsTmpObj(res2
)) {
4546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4548 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4551 if (SWIG_IsTmpObj(res3
)) {
4552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4563 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4564 PyObject
*resultobj
= 0;
4565 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4574 PyObject
* obj0
= 0 ;
4575 PyObject
* obj1
= 0 ;
4576 PyObject
* obj2
= 0 ;
4577 char * kwnames
[] = {
4578 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4583 if (!SWIG_IsOK(res1
)) {
4584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4586 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4588 if (!SWIG_IsOK(ecode2
)) {
4589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4591 arg2
= static_cast< bool >(val2
);
4592 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4593 if (!SWIG_IsOK(ecode3
)) {
4594 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4596 arg3
= static_cast< bool >(val3
);
4598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4599 (arg1
)->EnableScrolling(arg2
,arg3
);
4600 wxPyEndAllowThreads(__tstate
);
4601 if (PyErr_Occurred()) SWIG_fail
;
4603 resultobj
= SWIG_Py_Void();
4610 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4611 PyObject
*resultobj
= 0;
4612 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4613 int *arg2
= (int *) 0 ;
4614 int *arg3
= (int *) 0 ;
4618 int res2
= SWIG_TMPOBJ
;
4620 int res3
= SWIG_TMPOBJ
;
4621 PyObject
*swig_obj
[1] ;
4625 if (!args
) SWIG_fail
;
4627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4628 if (!SWIG_IsOK(res1
)) {
4629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4631 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4634 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4635 wxPyEndAllowThreads(__tstate
);
4636 if (PyErr_Occurred()) SWIG_fail
;
4638 resultobj
= SWIG_Py_Void();
4639 if (SWIG_IsTmpObj(res2
)) {
4640 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4642 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4643 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4645 if (SWIG_IsTmpObj(res3
)) {
4646 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4648 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4649 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4657 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4658 PyObject
*resultobj
= 0;
4659 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4668 PyObject
* obj0
= 0 ;
4669 PyObject
* obj1
= 0 ;
4670 PyObject
* obj2
= 0 ;
4671 char * kwnames
[] = {
4672 (char *) "self",(char *) "xs",(char *) "ys", NULL
4675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4677 if (!SWIG_IsOK(res1
)) {
4678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4680 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4681 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4682 if (!SWIG_IsOK(ecode2
)) {
4683 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4685 arg2
= static_cast< double >(val2
);
4686 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4687 if (!SWIG_IsOK(ecode3
)) {
4688 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4690 arg3
= static_cast< double >(val3
);
4692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4693 (arg1
)->SetScale(arg2
,arg3
);
4694 wxPyEndAllowThreads(__tstate
);
4695 if (PyErr_Occurred()) SWIG_fail
;
4697 resultobj
= SWIG_Py_Void();
4704 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4705 PyObject
*resultobj
= 0;
4706 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4710 PyObject
*swig_obj
[1] ;
4712 if (!args
) SWIG_fail
;
4714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4715 if (!SWIG_IsOK(res1
)) {
4716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4718 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4721 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4722 wxPyEndAllowThreads(__tstate
);
4723 if (PyErr_Occurred()) SWIG_fail
;
4725 resultobj
= SWIG_From_double(static_cast< double >(result
));
4732 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4733 PyObject
*resultobj
= 0;
4734 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4738 PyObject
*swig_obj
[1] ;
4740 if (!args
) SWIG_fail
;
4742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4743 if (!SWIG_IsOK(res1
)) {
4744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4746 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4749 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4750 wxPyEndAllowThreads(__tstate
);
4751 if (PyErr_Occurred()) SWIG_fail
;
4753 resultobj
= SWIG_From_double(static_cast< double >(result
));
4760 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4761 PyObject
*resultobj
= 0;
4762 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4769 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4770 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4771 if (!SWIG_IsOK(res1
)) {
4772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4774 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4777 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4781 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4782 wxPyEndAllowThreads(__tstate
);
4783 if (PyErr_Occurred()) SWIG_fail
;
4785 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4792 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4793 PyObject
*resultobj
= 0;
4794 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4797 int *arg4
= (int *) 0 ;
4798 int *arg5
= (int *) 0 ;
4806 int res4
= SWIG_TMPOBJ
;
4808 int res5
= SWIG_TMPOBJ
;
4812 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4814 if (!SWIG_IsOK(res1
)) {
4815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4817 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4818 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4819 if (!SWIG_IsOK(ecode2
)) {
4820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4822 arg2
= static_cast< int >(val2
);
4823 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4824 if (!SWIG_IsOK(ecode3
)) {
4825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4827 arg3
= static_cast< int >(val3
);
4829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4830 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4831 wxPyEndAllowThreads(__tstate
);
4832 if (PyErr_Occurred()) SWIG_fail
;
4834 resultobj
= SWIG_Py_Void();
4835 if (SWIG_IsTmpObj(res4
)) {
4836 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4838 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4839 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4841 if (SWIG_IsTmpObj(res5
)) {
4842 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4844 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4845 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4853 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4857 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4860 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4863 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4867 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4872 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4873 PyObject
*resultobj
= 0;
4874 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4881 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4883 if (!SWIG_IsOK(res1
)) {
4884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4886 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4889 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4893 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4894 wxPyEndAllowThreads(__tstate
);
4895 if (PyErr_Occurred()) SWIG_fail
;
4897 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4904 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4905 PyObject
*resultobj
= 0;
4906 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4909 int *arg4
= (int *) 0 ;
4910 int *arg5
= (int *) 0 ;
4918 int res4
= SWIG_TMPOBJ
;
4920 int res5
= SWIG_TMPOBJ
;
4924 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4926 if (!SWIG_IsOK(res1
)) {
4927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4929 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4930 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4931 if (!SWIG_IsOK(ecode2
)) {
4932 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4934 arg2
= static_cast< int >(val2
);
4935 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4936 if (!SWIG_IsOK(ecode3
)) {
4937 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4939 arg3
= static_cast< int >(val3
);
4941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4942 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4943 wxPyEndAllowThreads(__tstate
);
4944 if (PyErr_Occurred()) SWIG_fail
;
4946 resultobj
= SWIG_Py_Void();
4947 if (SWIG_IsTmpObj(res4
)) {
4948 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4950 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4951 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4953 if (SWIG_IsTmpObj(res5
)) {
4954 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4956 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4957 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4965 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4969 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4972 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4975 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4979 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4984 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4985 PyObject
*resultobj
= 0;
4986 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4989 PyObject
*swig_obj
[1] ;
4991 if (!args
) SWIG_fail
;
4993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4994 if (!SWIG_IsOK(res1
)) {
4995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4997 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 (arg1
)->AdjustScrollbars();
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= SWIG_Py_Void();
5011 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
= 0;
5013 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 wxScrollWinEvent
*arg2
= 0 ;
5020 PyObject
* obj0
= 0 ;
5021 PyObject
* obj1
= 0 ;
5022 char * kwnames
[] = {
5023 (char *) "self",(char *) "event", NULL
5026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5028 if (!SWIG_IsOK(res1
)) {
5029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5031 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5032 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5033 if (!SWIG_IsOK(res2
)) {
5034 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5037 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5039 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5042 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5043 wxPyEndAllowThreads(__tstate
);
5044 if (PyErr_Occurred()) SWIG_fail
;
5046 resultobj
= SWIG_From_int(static_cast< int >(result
));
5053 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5054 PyObject
*resultobj
= 0;
5055 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5056 wxWindow
*arg2
= (wxWindow
*) 0 ;
5061 PyObject
* obj0
= 0 ;
5062 PyObject
* obj1
= 0 ;
5063 char * kwnames
[] = {
5064 (char *) "self",(char *) "target", NULL
5067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5069 if (!SWIG_IsOK(res1
)) {
5070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5072 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5073 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5074 if (!SWIG_IsOK(res2
)) {
5075 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5077 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5080 (arg1
)->SetTargetWindow(arg2
);
5081 wxPyEndAllowThreads(__tstate
);
5082 if (PyErr_Occurred()) SWIG_fail
;
5084 resultobj
= SWIG_Py_Void();
5091 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5092 PyObject
*resultobj
= 0;
5093 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5094 wxWindow
*result
= 0 ;
5097 PyObject
*swig_obj
[1] ;
5099 if (!args
) SWIG_fail
;
5101 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5102 if (!SWIG_IsOK(res1
)) {
5103 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5105 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5108 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5109 wxPyEndAllowThreads(__tstate
);
5110 if (PyErr_Occurred()) SWIG_fail
;
5113 resultobj
= wxPyMake_wxObject(result
, 0);
5121 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5122 PyObject
*resultobj
= 0;
5123 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5128 PyObject
* obj0
= 0 ;
5129 PyObject
* obj1
= 0 ;
5130 char * kwnames
[] = {
5131 (char *) "self",(char *) "rect", NULL
5134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5136 if (!SWIG_IsOK(res1
)) {
5137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5139 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5142 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5146 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5147 wxPyEndAllowThreads(__tstate
);
5148 if (PyErr_Occurred()) SWIG_fail
;
5150 resultobj
= SWIG_Py_Void();
5157 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5158 PyObject
*resultobj
= 0;
5159 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5163 PyObject
*swig_obj
[1] ;
5165 if (!args
) SWIG_fail
;
5167 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5168 if (!SWIG_IsOK(res1
)) {
5169 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5171 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5174 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5175 wxPyEndAllowThreads(__tstate
);
5176 if (PyErr_Occurred()) SWIG_fail
;
5178 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5185 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5186 PyObject
*resultobj
= 0;
5187 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5193 PyObject
* obj0
= 0 ;
5194 PyObject
* obj1
= 0 ;
5195 char * kwnames
[] = {
5196 (char *) "self",(char *) "dc", NULL
5199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5201 if (!SWIG_IsOK(res1
)) {
5202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5204 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5205 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5206 if (!SWIG_IsOK(res2
)) {
5207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5210 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5212 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5215 (arg1
)->DoPrepareDC(*arg2
);
5216 wxPyEndAllowThreads(__tstate
);
5217 if (PyErr_Occurred()) SWIG_fail
;
5219 resultobj
= SWIG_Py_Void();
5226 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5227 PyObject
*resultobj
= 0;
5228 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5229 SwigValueWrapper
<wxVisualAttributes
> result
;
5232 PyObject
* obj0
= 0 ;
5233 char * kwnames
[] = {
5234 (char *) "variant", NULL
5237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5239 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5240 if (!SWIG_IsOK(ecode1
)) {
5241 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5243 arg1
= static_cast< wxWindowVariant
>(val1
);
5246 if (!wxPyCheckForApp()) SWIG_fail
;
5247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5248 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5249 wxPyEndAllowThreads(__tstate
);
5250 if (PyErr_Occurred()) SWIG_fail
;
5252 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5259 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5262 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5263 return SWIG_Py_Void();
5266 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5267 return SWIG_Python_InitShadowInstance(args
);
5270 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5271 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5276 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5277 PyObject
*pyobj
= 0;
5281 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5283 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5290 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5291 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5296 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5297 PyObject
*pyobj
= 0;
5301 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5303 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5310 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5311 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5316 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5317 PyObject
*pyobj
= 0;
5321 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5323 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5330 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5331 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5336 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5337 PyObject
*pyobj
= 0;
5341 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5343 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5350 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5351 PyObject
*resultobj
= 0;
5352 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5353 bool arg2
= (bool) true ;
5358 PyObject
* obj0
= 0 ;
5359 PyObject
* obj1
= 0 ;
5360 char * kwnames
[] = {
5361 (char *) "self",(char *) "maximize", NULL
5364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5366 if (!SWIG_IsOK(res1
)) {
5367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5369 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5371 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5372 if (!SWIG_IsOK(ecode2
)) {
5373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5375 arg2
= static_cast< bool >(val2
);
5378 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5379 (arg1
)->Maximize(arg2
);
5380 wxPyEndAllowThreads(__tstate
);
5381 if (PyErr_Occurred()) SWIG_fail
;
5383 resultobj
= SWIG_Py_Void();
5390 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5391 PyObject
*resultobj
= 0;
5392 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5395 PyObject
*swig_obj
[1] ;
5397 if (!args
) SWIG_fail
;
5399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5400 if (!SWIG_IsOK(res1
)) {
5401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5403 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5407 wxPyEndAllowThreads(__tstate
);
5408 if (PyErr_Occurred()) SWIG_fail
;
5410 resultobj
= SWIG_Py_Void();
5417 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5418 PyObject
*resultobj
= 0;
5419 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5420 bool arg2
= (bool) true ;
5425 PyObject
* obj0
= 0 ;
5426 PyObject
* obj1
= 0 ;
5427 char * kwnames
[] = {
5428 (char *) "self",(char *) "iconize", NULL
5431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5433 if (!SWIG_IsOK(res1
)) {
5434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5436 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5438 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5439 if (!SWIG_IsOK(ecode2
)) {
5440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5442 arg2
= static_cast< bool >(val2
);
5445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5446 (arg1
)->Iconize(arg2
);
5447 wxPyEndAllowThreads(__tstate
);
5448 if (PyErr_Occurred()) SWIG_fail
;
5450 resultobj
= SWIG_Py_Void();
5457 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5458 PyObject
*resultobj
= 0;
5459 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5463 PyObject
*swig_obj
[1] ;
5465 if (!args
) SWIG_fail
;
5467 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5468 if (!SWIG_IsOK(res1
)) {
5469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5471 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5474 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5475 wxPyEndAllowThreads(__tstate
);
5476 if (PyErr_Occurred()) SWIG_fail
;
5479 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5487 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5488 PyObject
*resultobj
= 0;
5489 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5493 PyObject
*swig_obj
[1] ;
5495 if (!args
) SWIG_fail
;
5497 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5498 if (!SWIG_IsOK(res1
)) {
5499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5501 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5504 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5505 wxPyEndAllowThreads(__tstate
);
5506 if (PyErr_Occurred()) SWIG_fail
;
5509 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5517 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5518 PyObject
*resultobj
= 0;
5519 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5523 PyObject
*swig_obj
[1] ;
5525 if (!args
) SWIG_fail
;
5527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5528 if (!SWIG_IsOK(res1
)) {
5529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5531 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5534 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5535 wxPyEndAllowThreads(__tstate
);
5536 if (PyErr_Occurred()) SWIG_fail
;
5539 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5547 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5548 PyObject
*resultobj
= 0;
5549 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5553 PyObject
*swig_obj
[1] ;
5555 if (!args
) SWIG_fail
;
5557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5558 if (!SWIG_IsOK(res1
)) {
5559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5561 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5564 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5565 wxPyEndAllowThreads(__tstate
);
5566 if (PyErr_Occurred()) SWIG_fail
;
5568 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5575 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5576 PyObject
*resultobj
= 0;
5577 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5583 PyObject
* obj0
= 0 ;
5584 PyObject
* obj1
= 0 ;
5585 char * kwnames
[] = {
5586 (char *) "self",(char *) "icon", NULL
5589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5591 if (!SWIG_IsOK(res1
)) {
5592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5594 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5595 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5596 if (!SWIG_IsOK(res2
)) {
5597 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5600 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5602 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5604 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5605 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5606 wxPyEndAllowThreads(__tstate
);
5607 if (PyErr_Occurred()) SWIG_fail
;
5609 resultobj
= SWIG_Py_Void();
5616 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5617 PyObject
*resultobj
= 0;
5618 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5619 wxIconBundle
*arg2
= 0 ;
5624 PyObject
* obj0
= 0 ;
5625 PyObject
* obj1
= 0 ;
5626 char * kwnames
[] = {
5627 (char *) "self",(char *) "icons", NULL
5630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5632 if (!SWIG_IsOK(res1
)) {
5633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5635 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5636 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5637 if (!SWIG_IsOK(res2
)) {
5638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5641 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5643 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5646 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5647 wxPyEndAllowThreads(__tstate
);
5648 if (PyErr_Occurred()) SWIG_fail
;
5650 resultobj
= SWIG_Py_Void();
5657 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5658 PyObject
*resultobj
= 0;
5659 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5661 long arg3
= (long) wxFULLSCREEN_ALL
;
5669 PyObject
* obj0
= 0 ;
5670 PyObject
* obj1
= 0 ;
5671 PyObject
* obj2
= 0 ;
5672 char * kwnames
[] = {
5673 (char *) "self",(char *) "show",(char *) "style", NULL
5676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5678 if (!SWIG_IsOK(res1
)) {
5679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5681 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5682 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5683 if (!SWIG_IsOK(ecode2
)) {
5684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5686 arg2
= static_cast< bool >(val2
);
5688 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5689 if (!SWIG_IsOK(ecode3
)) {
5690 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5692 arg3
= static_cast< long >(val3
);
5695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5696 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5697 wxPyEndAllowThreads(__tstate
);
5698 if (PyErr_Occurred()) SWIG_fail
;
5701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5709 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5710 PyObject
*resultobj
= 0;
5711 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5715 PyObject
*swig_obj
[1] ;
5717 if (!args
) SWIG_fail
;
5719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5720 if (!SWIG_IsOK(res1
)) {
5721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5723 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5726 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5727 wxPyEndAllowThreads(__tstate
);
5728 if (PyErr_Occurred()) SWIG_fail
;
5731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5739 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5740 PyObject
*resultobj
= 0;
5741 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5742 wxString
*arg2
= 0 ;
5745 bool temp2
= false ;
5746 PyObject
* obj0
= 0 ;
5747 PyObject
* obj1
= 0 ;
5748 char * kwnames
[] = {
5749 (char *) "self",(char *) "title", NULL
5752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5754 if (!SWIG_IsOK(res1
)) {
5755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5757 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5759 arg2
= wxString_in_helper(obj1
);
5760 if (arg2
== NULL
) SWIG_fail
;
5764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5765 (arg1
)->SetTitle((wxString
const &)*arg2
);
5766 wxPyEndAllowThreads(__tstate
);
5767 if (PyErr_Occurred()) SWIG_fail
;
5769 resultobj
= SWIG_Py_Void();
5784 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5785 PyObject
*resultobj
= 0;
5786 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5790 PyObject
*swig_obj
[1] ;
5792 if (!args
) SWIG_fail
;
5794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5795 if (!SWIG_IsOK(res1
)) {
5796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5798 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5801 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5802 wxPyEndAllowThreads(__tstate
);
5803 if (PyErr_Occurred()) SWIG_fail
;
5807 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5809 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5818 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5819 PyObject
*resultobj
= 0;
5820 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5821 wxRegion
*arg2
= 0 ;
5827 PyObject
* obj0
= 0 ;
5828 PyObject
* obj1
= 0 ;
5829 char * kwnames
[] = {
5830 (char *) "self",(char *) "region", NULL
5833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5835 if (!SWIG_IsOK(res1
)) {
5836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5838 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5839 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5840 if (!SWIG_IsOK(res2
)) {
5841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5844 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5846 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5849 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5850 wxPyEndAllowThreads(__tstate
);
5851 if (PyErr_Occurred()) SWIG_fail
;
5854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5862 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5863 PyObject
*resultobj
= 0;
5864 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5865 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5870 PyObject
* obj0
= 0 ;
5871 PyObject
* obj1
= 0 ;
5872 char * kwnames
[] = {
5873 (char *) "self",(char *) "flags", NULL
5876 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5877 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5878 if (!SWIG_IsOK(res1
)) {
5879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5881 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5883 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5884 if (!SWIG_IsOK(ecode2
)) {
5885 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5887 arg2
= static_cast< int >(val2
);
5890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5891 (arg1
)->RequestUserAttention(arg2
);
5892 wxPyEndAllowThreads(__tstate
);
5893 if (PyErr_Occurred()) SWIG_fail
;
5895 resultobj
= SWIG_Py_Void();
5902 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5903 PyObject
*resultobj
= 0;
5904 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5908 PyObject
*swig_obj
[1] ;
5910 if (!args
) SWIG_fail
;
5912 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5913 if (!SWIG_IsOK(res1
)) {
5914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5916 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5919 result
= (bool)(arg1
)->IsActive();
5920 wxPyEndAllowThreads(__tstate
);
5921 if (PyErr_Occurred()) SWIG_fail
;
5924 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5932 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5933 PyObject
*resultobj
= 0;
5934 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5940 PyObject
* obj0
= 0 ;
5941 PyObject
* obj1
= 0 ;
5942 char * kwnames
[] = {
5943 (char *) "self",(char *) "on", NULL
5946 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5948 if (!SWIG_IsOK(res1
)) {
5949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5951 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5952 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5953 if (!SWIG_IsOK(ecode2
)) {
5954 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5956 arg2
= static_cast< bool >(val2
);
5958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5959 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5960 wxPyEndAllowThreads(__tstate
);
5961 if (PyErr_Occurred()) SWIG_fail
;
5963 resultobj
= SWIG_Py_Void();
5970 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5971 PyObject
*resultobj
= 0;
5972 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5976 PyObject
*swig_obj
[1] ;
5978 if (!args
) SWIG_fail
;
5980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5981 if (!SWIG_IsOK(res1
)) {
5982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5984 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5987 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5988 wxPyEndAllowThreads(__tstate
);
5989 if (PyErr_Occurred()) SWIG_fail
;
5992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6000 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6001 PyObject
*resultobj
= 0;
6002 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6003 int arg2
= (int) wxBOTH
;
6008 PyObject
* obj0
= 0 ;
6009 PyObject
* obj1
= 0 ;
6010 char * kwnames
[] = {
6011 (char *) "self",(char *) "dir", NULL
6014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6016 if (!SWIG_IsOK(res1
)) {
6017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6019 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6022 if (!SWIG_IsOK(ecode2
)) {
6023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6025 arg2
= static_cast< int >(val2
);
6028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6029 (arg1
)->CenterOnScreen(arg2
);
6030 wxPyEndAllowThreads(__tstate
);
6031 if (PyErr_Occurred()) SWIG_fail
;
6033 resultobj
= SWIG_Py_Void();
6040 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6042 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6043 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6044 return SWIG_Py_Void();
6047 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6048 PyObject
*resultobj
= 0;
6049 wxWindow
*arg1
= (wxWindow
*) 0 ;
6050 int arg2
= (int) (int)-1 ;
6051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6057 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6058 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6060 wxFrame
*result
= 0 ;
6065 bool temp3
= false ;
6070 bool temp7
= false ;
6071 PyObject
* obj0
= 0 ;
6072 PyObject
* obj1
= 0 ;
6073 PyObject
* obj2
= 0 ;
6074 PyObject
* obj3
= 0 ;
6075 PyObject
* obj4
= 0 ;
6076 PyObject
* obj5
= 0 ;
6077 PyObject
* obj6
= 0 ;
6078 char * kwnames
[] = {
6079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6084 if (!SWIG_IsOK(res1
)) {
6085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6090 if (!SWIG_IsOK(ecode2
)) {
6091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6093 arg2
= static_cast< int >(val2
);
6097 arg3
= wxString_in_helper(obj2
);
6098 if (arg3
== NULL
) SWIG_fail
;
6105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6115 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6116 if (!SWIG_IsOK(ecode6
)) {
6117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6119 arg6
= static_cast< long >(val6
);
6123 arg7
= wxString_in_helper(obj6
);
6124 if (arg7
== NULL
) SWIG_fail
;
6129 if (!wxPyCheckForApp()) SWIG_fail
;
6130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6131 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6132 wxPyEndAllowThreads(__tstate
);
6133 if (PyErr_Occurred()) SWIG_fail
;
6135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6158 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6159 PyObject
*resultobj
= 0;
6160 wxFrame
*result
= 0 ;
6162 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6164 if (!wxPyCheckForApp()) SWIG_fail
;
6165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6166 result
= (wxFrame
*)new wxFrame();
6167 wxPyEndAllowThreads(__tstate
);
6168 if (PyErr_Occurred()) SWIG_fail
;
6170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6177 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6178 PyObject
*resultobj
= 0;
6179 wxFrame
*arg1
= (wxFrame
*) 0 ;
6180 wxWindow
*arg2
= (wxWindow
*) 0 ;
6181 int arg3
= (int) (int)-1 ;
6182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6188 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6189 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6198 bool temp4
= false ;
6203 bool temp8
= false ;
6204 PyObject
* obj0
= 0 ;
6205 PyObject
* obj1
= 0 ;
6206 PyObject
* obj2
= 0 ;
6207 PyObject
* obj3
= 0 ;
6208 PyObject
* obj4
= 0 ;
6209 PyObject
* obj5
= 0 ;
6210 PyObject
* obj6
= 0 ;
6211 PyObject
* obj7
= 0 ;
6212 char * kwnames
[] = {
6213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6218 if (!SWIG_IsOK(res1
)) {
6219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6221 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6223 if (!SWIG_IsOK(res2
)) {
6224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6229 if (!SWIG_IsOK(ecode3
)) {
6230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6232 arg3
= static_cast< int >(val3
);
6236 arg4
= wxString_in_helper(obj3
);
6237 if (arg4
== NULL
) SWIG_fail
;
6244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6254 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6255 if (!SWIG_IsOK(ecode7
)) {
6256 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6258 arg7
= static_cast< long >(val7
);
6262 arg8
= wxString_in_helper(obj7
);
6263 if (arg8
== NULL
) SWIG_fail
;
6268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6270 wxPyEndAllowThreads(__tstate
);
6271 if (PyErr_Occurred()) SWIG_fail
;
6274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6298 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6299 PyObject
*resultobj
= 0;
6300 wxFrame
*arg1
= (wxFrame
*) 0 ;
6303 PyObject
*swig_obj
[1] ;
6305 if (!args
) SWIG_fail
;
6307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6308 if (!SWIG_IsOK(res1
)) {
6309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6311 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6314 (arg1
)->SendSizeEvent();
6315 wxPyEndAllowThreads(__tstate
);
6316 if (PyErr_Occurred()) SWIG_fail
;
6318 resultobj
= SWIG_Py_Void();
6325 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6326 PyObject
*resultobj
= 0;
6327 wxFrame
*arg1
= (wxFrame
*) 0 ;
6328 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6333 PyObject
* obj0
= 0 ;
6334 PyObject
* obj1
= 0 ;
6335 char * kwnames
[] = {
6336 (char *) "self",(char *) "menubar", NULL
6339 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6340 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6341 if (!SWIG_IsOK(res1
)) {
6342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6344 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6345 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6346 if (!SWIG_IsOK(res2
)) {
6347 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6349 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6351 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6352 (arg1
)->SetMenuBar(arg2
);
6353 wxPyEndAllowThreads(__tstate
);
6354 if (PyErr_Occurred()) SWIG_fail
;
6356 resultobj
= SWIG_Py_Void();
6363 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6364 PyObject
*resultobj
= 0;
6365 wxFrame
*arg1
= (wxFrame
*) 0 ;
6366 wxMenuBar
*result
= 0 ;
6369 PyObject
*swig_obj
[1] ;
6371 if (!args
) SWIG_fail
;
6373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6374 if (!SWIG_IsOK(res1
)) {
6375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6377 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6380 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6381 wxPyEndAllowThreads(__tstate
);
6382 if (PyErr_Occurred()) SWIG_fail
;
6385 resultobj
= wxPyMake_wxObject(result
, 0);
6393 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6394 PyObject
*resultobj
= 0;
6395 wxFrame
*arg1
= (wxFrame
*) 0 ;
6402 PyObject
* obj0
= 0 ;
6403 PyObject
* obj1
= 0 ;
6404 char * kwnames
[] = {
6405 (char *) "self",(char *) "winid", NULL
6408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6410 if (!SWIG_IsOK(res1
)) {
6411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6413 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6414 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6415 if (!SWIG_IsOK(ecode2
)) {
6416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6418 arg2
= static_cast< int >(val2
);
6420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6421 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6422 wxPyEndAllowThreads(__tstate
);
6423 if (PyErr_Occurred()) SWIG_fail
;
6426 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6434 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6435 PyObject
*resultobj
= 0;
6436 wxFrame
*arg1
= (wxFrame
*) 0 ;
6437 int arg2
= (int) 1 ;
6438 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6439 int arg4
= (int) 0 ;
6440 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6441 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6442 wxStatusBar
*result
= 0 ;
6451 bool temp5
= false ;
6452 PyObject
* obj0
= 0 ;
6453 PyObject
* obj1
= 0 ;
6454 PyObject
* obj2
= 0 ;
6455 PyObject
* obj3
= 0 ;
6456 PyObject
* obj4
= 0 ;
6457 char * kwnames
[] = {
6458 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6463 if (!SWIG_IsOK(res1
)) {
6464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6466 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6468 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6469 if (!SWIG_IsOK(ecode2
)) {
6470 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6472 arg2
= static_cast< int >(val2
);
6475 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6476 if (!SWIG_IsOK(ecode3
)) {
6477 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6479 arg3
= static_cast< long >(val3
);
6482 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6483 if (!SWIG_IsOK(ecode4
)) {
6484 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6486 arg4
= static_cast< int >(val4
);
6490 arg5
= wxString_in_helper(obj4
);
6491 if (arg5
== NULL
) SWIG_fail
;
6496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6497 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6498 wxPyEndAllowThreads(__tstate
);
6499 if (PyErr_Occurred()) SWIG_fail
;
6502 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6518 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6521 wxStatusBar
*result
= 0 ;
6524 PyObject
*swig_obj
[1] ;
6526 if (!args
) SWIG_fail
;
6528 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6529 if (!SWIG_IsOK(res1
)) {
6530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6532 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6535 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6536 wxPyEndAllowThreads(__tstate
);
6537 if (PyErr_Occurred()) SWIG_fail
;
6540 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6548 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6549 PyObject
*resultobj
= 0;
6550 wxFrame
*arg1
= (wxFrame
*) 0 ;
6551 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6556 PyObject
* obj0
= 0 ;
6557 PyObject
* obj1
= 0 ;
6558 char * kwnames
[] = {
6559 (char *) "self",(char *) "statBar", NULL
6562 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6563 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6564 if (!SWIG_IsOK(res1
)) {
6565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6567 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6568 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6569 if (!SWIG_IsOK(res2
)) {
6570 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6572 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6575 (arg1
)->SetStatusBar(arg2
);
6576 wxPyEndAllowThreads(__tstate
);
6577 if (PyErr_Occurred()) SWIG_fail
;
6579 resultobj
= SWIG_Py_Void();
6586 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6589 wxString
*arg2
= 0 ;
6590 int arg3
= (int) 0 ;
6593 bool temp2
= false ;
6596 PyObject
* obj0
= 0 ;
6597 PyObject
* obj1
= 0 ;
6598 PyObject
* obj2
= 0 ;
6599 char * kwnames
[] = {
6600 (char *) "self",(char *) "text",(char *) "number", NULL
6603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6605 if (!SWIG_IsOK(res1
)) {
6606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6608 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6610 arg2
= wxString_in_helper(obj1
);
6611 if (arg2
== NULL
) SWIG_fail
;
6615 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6616 if (!SWIG_IsOK(ecode3
)) {
6617 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6619 arg3
= static_cast< int >(val3
);
6622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6623 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6624 wxPyEndAllowThreads(__tstate
);
6625 if (PyErr_Occurred()) SWIG_fail
;
6627 resultobj
= SWIG_Py_Void();
6642 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6643 PyObject
*resultobj
= 0;
6644 wxFrame
*arg1
= (wxFrame
*) 0 ;
6646 int *arg3
= (int *) 0 ;
6649 PyObject
* obj0
= 0 ;
6650 PyObject
* obj1
= 0 ;
6651 char * kwnames
[] = {
6652 (char *) "self",(char *) "widths", NULL
6655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6657 if (!SWIG_IsOK(res1
)) {
6658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6660 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6662 arg2
= PyList_Size(obj1
);
6663 arg3
= int_LIST_helper(obj1
);
6664 if (arg3
== NULL
) SWIG_fail
;
6667 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6668 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6669 wxPyEndAllowThreads(__tstate
);
6670 if (PyErr_Occurred()) SWIG_fail
;
6672 resultobj
= SWIG_Py_Void();
6674 if (arg3
) delete [] arg3
;
6679 if (arg3
) delete [] arg3
;
6685 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6686 PyObject
*resultobj
= 0;
6687 wxFrame
*arg1
= (wxFrame
*) 0 ;
6688 wxString
*arg2
= 0 ;
6689 int arg3
= (int) 0 ;
6692 bool temp2
= false ;
6695 PyObject
* obj0
= 0 ;
6696 PyObject
* obj1
= 0 ;
6697 PyObject
* obj2
= 0 ;
6698 char * kwnames
[] = {
6699 (char *) "self",(char *) "text",(char *) "number", NULL
6702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6704 if (!SWIG_IsOK(res1
)) {
6705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6707 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6709 arg2
= wxString_in_helper(obj1
);
6710 if (arg2
== NULL
) SWIG_fail
;
6714 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6715 if (!SWIG_IsOK(ecode3
)) {
6716 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6718 arg3
= static_cast< int >(val3
);
6721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6722 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6723 wxPyEndAllowThreads(__tstate
);
6724 if (PyErr_Occurred()) SWIG_fail
;
6726 resultobj
= SWIG_Py_Void();
6741 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxFrame
*arg1
= (wxFrame
*) 0 ;
6744 int arg2
= (int) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "number", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6760 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6762 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6763 if (!SWIG_IsOK(ecode2
)) {
6764 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6766 arg2
= static_cast< int >(val2
);
6769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6770 (arg1
)->PopStatusText(arg2
);
6771 wxPyEndAllowThreads(__tstate
);
6772 if (PyErr_Occurred()) SWIG_fail
;
6774 resultobj
= SWIG_Py_Void();
6781 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6782 PyObject
*resultobj
= 0;
6783 wxFrame
*arg1
= (wxFrame
*) 0 ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 char * kwnames
[] = {
6792 (char *) "self",(char *) "n", NULL
6795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6797 if (!SWIG_IsOK(res1
)) {
6798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6800 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6801 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6802 if (!SWIG_IsOK(ecode2
)) {
6803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6805 arg2
= static_cast< int >(val2
);
6807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6808 (arg1
)->SetStatusBarPane(arg2
);
6809 wxPyEndAllowThreads(__tstate
);
6810 if (PyErr_Occurred()) SWIG_fail
;
6812 resultobj
= SWIG_Py_Void();
6819 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6820 PyObject
*resultobj
= 0;
6821 wxFrame
*arg1
= (wxFrame
*) 0 ;
6825 PyObject
*swig_obj
[1] ;
6827 if (!args
) SWIG_fail
;
6829 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6830 if (!SWIG_IsOK(res1
)) {
6831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6833 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6835 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6836 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6837 wxPyEndAllowThreads(__tstate
);
6838 if (PyErr_Occurred()) SWIG_fail
;
6840 resultobj
= SWIG_From_int(static_cast< int >(result
));
6847 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6848 PyObject
*resultobj
= 0;
6849 wxFrame
*arg1
= (wxFrame
*) 0 ;
6850 long arg2
= (long) -1 ;
6851 int arg3
= (int) -1 ;
6852 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6853 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6854 wxToolBar
*result
= 0 ;
6861 bool temp4
= false ;
6862 PyObject
* obj0
= 0 ;
6863 PyObject
* obj1
= 0 ;
6864 PyObject
* obj2
= 0 ;
6865 PyObject
* obj3
= 0 ;
6866 char * kwnames
[] = {
6867 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6872 if (!SWIG_IsOK(res1
)) {
6873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6875 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6877 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6878 if (!SWIG_IsOK(ecode2
)) {
6879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6881 arg2
= static_cast< long >(val2
);
6884 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6885 if (!SWIG_IsOK(ecode3
)) {
6886 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6888 arg3
= static_cast< int >(val3
);
6892 arg4
= wxString_in_helper(obj3
);
6893 if (arg4
== NULL
) SWIG_fail
;
6898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6899 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6900 wxPyEndAllowThreads(__tstate
);
6901 if (PyErr_Occurred()) SWIG_fail
;
6904 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6920 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6921 PyObject
*resultobj
= 0;
6922 wxFrame
*arg1
= (wxFrame
*) 0 ;
6923 wxToolBar
*result
= 0 ;
6926 PyObject
*swig_obj
[1] ;
6928 if (!args
) SWIG_fail
;
6930 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6931 if (!SWIG_IsOK(res1
)) {
6932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6934 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6937 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6938 wxPyEndAllowThreads(__tstate
);
6939 if (PyErr_Occurred()) SWIG_fail
;
6942 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6950 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6951 PyObject
*resultobj
= 0;
6952 wxFrame
*arg1
= (wxFrame
*) 0 ;
6953 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6958 PyObject
* obj0
= 0 ;
6959 PyObject
* obj1
= 0 ;
6960 char * kwnames
[] = {
6961 (char *) "self",(char *) "toolbar", NULL
6964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6966 if (!SWIG_IsOK(res1
)) {
6967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6969 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6970 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6971 if (!SWIG_IsOK(res2
)) {
6972 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6974 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6977 (arg1
)->SetToolBar(arg2
);
6978 wxPyEndAllowThreads(__tstate
);
6979 if (PyErr_Occurred()) SWIG_fail
;
6981 resultobj
= SWIG_Py_Void();
6988 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6989 PyObject
*resultobj
= 0;
6990 wxFrame
*arg1
= (wxFrame
*) 0 ;
6991 wxString
*arg2
= 0 ;
6995 bool temp2
= false ;
6998 PyObject
* obj0
= 0 ;
6999 PyObject
* obj1
= 0 ;
7000 PyObject
* obj2
= 0 ;
7001 char * kwnames
[] = {
7002 (char *) "self",(char *) "text",(char *) "show", NULL
7005 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7006 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7007 if (!SWIG_IsOK(res1
)) {
7008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7010 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7012 arg2
= wxString_in_helper(obj1
);
7013 if (arg2
== NULL
) SWIG_fail
;
7016 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7017 if (!SWIG_IsOK(ecode3
)) {
7018 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7020 arg3
= static_cast< bool >(val3
);
7022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7023 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7024 wxPyEndAllowThreads(__tstate
);
7025 if (PyErr_Occurred()) SWIG_fail
;
7027 resultobj
= SWIG_Py_Void();
7042 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7043 PyObject
*resultobj
= 0;
7044 wxFrame
*arg1
= (wxFrame
*) 0 ;
7045 wxMenu
*arg2
= (wxMenu
*) NULL
;
7050 PyObject
* obj0
= 0 ;
7051 PyObject
* obj1
= 0 ;
7052 char * kwnames
[] = {
7053 (char *) "self",(char *) "menu", NULL
7056 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7057 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7058 if (!SWIG_IsOK(res1
)) {
7059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7061 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7063 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7064 if (!SWIG_IsOK(res2
)) {
7065 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7067 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7071 (arg1
)->DoMenuUpdates(arg2
);
7072 wxPyEndAllowThreads(__tstate
);
7073 if (PyErr_Occurred()) SWIG_fail
;
7075 resultobj
= SWIG_Py_Void();
7082 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7083 PyObject
*resultobj
= 0;
7084 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7085 SwigValueWrapper
<wxVisualAttributes
> result
;
7088 PyObject
* obj0
= 0 ;
7089 char * kwnames
[] = {
7090 (char *) "variant", NULL
7093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7095 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7096 if (!SWIG_IsOK(ecode1
)) {
7097 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7099 arg1
= static_cast< wxWindowVariant
>(val1
);
7102 if (!wxPyCheckForApp()) SWIG_fail
;
7103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7104 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7105 wxPyEndAllowThreads(__tstate
);
7106 if (PyErr_Occurred()) SWIG_fail
;
7108 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7115 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7117 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7118 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7119 return SWIG_Py_Void();
7122 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7123 return SWIG_Python_InitShadowInstance(args
);
7126 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7127 PyObject
*resultobj
= 0;
7128 wxWindow
*arg1
= (wxWindow
*) 0 ;
7129 int arg2
= (int) (int)-1 ;
7130 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7131 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7136 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7137 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7138 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7139 wxDialog
*result
= 0 ;
7144 bool temp3
= false ;
7149 bool temp7
= false ;
7150 PyObject
* obj0
= 0 ;
7151 PyObject
* obj1
= 0 ;
7152 PyObject
* obj2
= 0 ;
7153 PyObject
* obj3
= 0 ;
7154 PyObject
* obj4
= 0 ;
7155 PyObject
* obj5
= 0 ;
7156 PyObject
* obj6
= 0 ;
7157 char * kwnames
[] = {
7158 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7163 if (!SWIG_IsOK(res1
)) {
7164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7166 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7169 if (!SWIG_IsOK(ecode2
)) {
7170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7172 arg2
= static_cast< int >(val2
);
7176 arg3
= wxString_in_helper(obj2
);
7177 if (arg3
== NULL
) SWIG_fail
;
7184 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7190 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7194 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7195 if (!SWIG_IsOK(ecode6
)) {
7196 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7198 arg6
= static_cast< long >(val6
);
7202 arg7
= wxString_in_helper(obj6
);
7203 if (arg7
== NULL
) SWIG_fail
;
7208 if (!wxPyCheckForApp()) SWIG_fail
;
7209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7210 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7211 wxPyEndAllowThreads(__tstate
);
7212 if (PyErr_Occurred()) SWIG_fail
;
7214 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7237 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7238 PyObject
*resultobj
= 0;
7239 wxDialog
*result
= 0 ;
7241 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7243 if (!wxPyCheckForApp()) SWIG_fail
;
7244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7245 result
= (wxDialog
*)new wxDialog();
7246 wxPyEndAllowThreads(__tstate
);
7247 if (PyErr_Occurred()) SWIG_fail
;
7249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7256 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7257 PyObject
*resultobj
= 0;
7258 wxDialog
*arg1
= (wxDialog
*) 0 ;
7259 wxWindow
*arg2
= (wxWindow
*) 0 ;
7260 int arg3
= (int) (int)-1 ;
7261 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7262 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7263 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7264 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7265 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7266 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7267 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7268 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7269 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7277 bool temp4
= false ;
7282 bool temp8
= false ;
7283 PyObject
* obj0
= 0 ;
7284 PyObject
* obj1
= 0 ;
7285 PyObject
* obj2
= 0 ;
7286 PyObject
* obj3
= 0 ;
7287 PyObject
* obj4
= 0 ;
7288 PyObject
* obj5
= 0 ;
7289 PyObject
* obj6
= 0 ;
7290 PyObject
* obj7
= 0 ;
7291 char * kwnames
[] = {
7292 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7297 if (!SWIG_IsOK(res1
)) {
7298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7300 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7301 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7302 if (!SWIG_IsOK(res2
)) {
7303 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7305 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7307 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7308 if (!SWIG_IsOK(ecode3
)) {
7309 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7311 arg3
= static_cast< int >(val3
);
7315 arg4
= wxString_in_helper(obj3
);
7316 if (arg4
== NULL
) SWIG_fail
;
7323 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7329 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7333 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7334 if (!SWIG_IsOK(ecode7
)) {
7335 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7337 arg7
= static_cast< long >(val7
);
7341 arg8
= wxString_in_helper(obj7
);
7342 if (arg8
== NULL
) SWIG_fail
;
7347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7348 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7349 wxPyEndAllowThreads(__tstate
);
7350 if (PyErr_Occurred()) SWIG_fail
;
7353 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7377 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7378 PyObject
*resultobj
= 0;
7379 wxDialog
*arg1
= (wxDialog
*) 0 ;
7385 PyObject
* obj0
= 0 ;
7386 PyObject
* obj1
= 0 ;
7387 char * kwnames
[] = {
7388 (char *) "self",(char *) "returnCode", NULL
7391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7393 if (!SWIG_IsOK(res1
)) {
7394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7396 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7398 if (!SWIG_IsOK(ecode2
)) {
7399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7401 arg2
= static_cast< int >(val2
);
7403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7404 (arg1
)->SetReturnCode(arg2
);
7405 wxPyEndAllowThreads(__tstate
);
7406 if (PyErr_Occurred()) SWIG_fail
;
7408 resultobj
= SWIG_Py_Void();
7415 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7416 PyObject
*resultobj
= 0;
7417 wxDialog
*arg1
= (wxDialog
*) 0 ;
7421 PyObject
*swig_obj
[1] ;
7423 if (!args
) SWIG_fail
;
7425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7426 if (!SWIG_IsOK(res1
)) {
7427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7429 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7432 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7433 wxPyEndAllowThreads(__tstate
);
7434 if (PyErr_Occurred()) SWIG_fail
;
7436 resultobj
= SWIG_From_int(static_cast< int >(result
));
7443 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7444 PyObject
*resultobj
= 0;
7445 wxDialog
*arg1
= (wxDialog
*) 0 ;
7451 PyObject
* obj0
= 0 ;
7452 PyObject
* obj1
= 0 ;
7453 char * kwnames
[] = {
7454 (char *) "self",(char *) "affirmativeId", NULL
7457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7459 if (!SWIG_IsOK(res1
)) {
7460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7462 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7463 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7464 if (!SWIG_IsOK(ecode2
)) {
7465 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7467 arg2
= static_cast< int >(val2
);
7469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7470 (arg1
)->SetAffirmativeId(arg2
);
7471 wxPyEndAllowThreads(__tstate
);
7472 if (PyErr_Occurred()) SWIG_fail
;
7474 resultobj
= SWIG_Py_Void();
7481 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7482 PyObject
*resultobj
= 0;
7483 wxDialog
*arg1
= (wxDialog
*) 0 ;
7487 PyObject
*swig_obj
[1] ;
7489 if (!args
) SWIG_fail
;
7491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7492 if (!SWIG_IsOK(res1
)) {
7493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7495 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7498 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7499 wxPyEndAllowThreads(__tstate
);
7500 if (PyErr_Occurred()) SWIG_fail
;
7502 resultobj
= SWIG_From_int(static_cast< int >(result
));
7509 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7510 PyObject
*resultobj
= 0;
7511 wxDialog
*arg1
= (wxDialog
*) 0 ;
7517 PyObject
* obj0
= 0 ;
7518 PyObject
* obj1
= 0 ;
7519 char * kwnames
[] = {
7520 (char *) "self",(char *) "escapeId", NULL
7523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7525 if (!SWIG_IsOK(res1
)) {
7526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7528 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7529 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7530 if (!SWIG_IsOK(ecode2
)) {
7531 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7533 arg2
= static_cast< int >(val2
);
7535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7536 (arg1
)->SetEscapeId(arg2
);
7537 wxPyEndAllowThreads(__tstate
);
7538 if (PyErr_Occurred()) SWIG_fail
;
7540 resultobj
= SWIG_Py_Void();
7547 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7548 PyObject
*resultobj
= 0;
7549 wxDialog
*arg1
= (wxDialog
*) 0 ;
7553 PyObject
*swig_obj
[1] ;
7555 if (!args
) SWIG_fail
;
7557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7558 if (!SWIG_IsOK(res1
)) {
7559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7561 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7564 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7565 wxPyEndAllowThreads(__tstate
);
7566 if (PyErr_Occurred()) SWIG_fail
;
7568 resultobj
= SWIG_From_int(static_cast< int >(result
));
7575 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7576 PyObject
*resultobj
= 0;
7577 wxDialog
*arg1
= (wxDialog
*) 0 ;
7578 wxString
*arg2
= 0 ;
7579 wxSizer
*result
= 0 ;
7582 bool temp2
= false ;
7583 PyObject
* obj0
= 0 ;
7584 PyObject
* obj1
= 0 ;
7585 char * kwnames
[] = {
7586 (char *) "self",(char *) "message", NULL
7589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7590 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7591 if (!SWIG_IsOK(res1
)) {
7592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7594 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 arg2
= wxString_in_helper(obj1
);
7597 if (arg2
== NULL
) SWIG_fail
;
7601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7602 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7603 wxPyEndAllowThreads(__tstate
);
7604 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7623 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7624 PyObject
*resultobj
= 0;
7625 wxDialog
*arg1
= (wxDialog
*) 0 ;
7627 bool arg3
= (bool) false ;
7628 int arg4
= (int) 0 ;
7629 wxSizer
*result
= 0 ;
7638 PyObject
* obj0
= 0 ;
7639 PyObject
* obj1
= 0 ;
7640 PyObject
* obj2
= 0 ;
7641 PyObject
* obj3
= 0 ;
7642 char * kwnames
[] = {
7643 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7646 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7647 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7648 if (!SWIG_IsOK(res1
)) {
7649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7651 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7652 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7653 if (!SWIG_IsOK(ecode2
)) {
7654 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7656 arg2
= static_cast< long >(val2
);
7658 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7659 if (!SWIG_IsOK(ecode3
)) {
7660 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7662 arg3
= static_cast< bool >(val3
);
7665 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7666 if (!SWIG_IsOK(ecode4
)) {
7667 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7669 arg4
= static_cast< int >(val4
);
7672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7673 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7674 wxPyEndAllowThreads(__tstate
);
7675 if (PyErr_Occurred()) SWIG_fail
;
7678 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7686 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7687 PyObject
*resultobj
= 0;
7688 wxDialog
*arg1
= (wxDialog
*) 0 ;
7690 wxStdDialogButtonSizer
*result
= 0 ;
7695 PyObject
* obj0
= 0 ;
7696 PyObject
* obj1
= 0 ;
7697 char * kwnames
[] = {
7698 (char *) "self",(char *) "flags", NULL
7701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7703 if (!SWIG_IsOK(res1
)) {
7704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7706 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7707 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7708 if (!SWIG_IsOK(ecode2
)) {
7709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7711 arg2
= static_cast< long >(val2
);
7713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7714 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7715 wxPyEndAllowThreads(__tstate
);
7716 if (PyErr_Occurred()) SWIG_fail
;
7718 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7725 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7726 PyObject
*resultobj
= 0;
7727 wxDialog
*arg1
= (wxDialog
*) 0 ;
7731 PyObject
*swig_obj
[1] ;
7733 if (!args
) SWIG_fail
;
7735 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7736 if (!SWIG_IsOK(res1
)) {
7737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7739 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7742 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7743 wxPyEndAllowThreads(__tstate
);
7744 if (PyErr_Occurred()) SWIG_fail
;
7747 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7755 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7756 PyObject
*resultobj
= 0;
7757 wxDialog
*arg1
= (wxDialog
*) 0 ;
7761 PyObject
*swig_obj
[1] ;
7763 if (!args
) SWIG_fail
;
7765 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7766 if (!SWIG_IsOK(res1
)) {
7767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7769 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7772 result
= (int)(arg1
)->ShowModal();
7773 wxPyEndAllowThreads(__tstate
);
7774 if (PyErr_Occurred()) SWIG_fail
;
7776 resultobj
= SWIG_From_int(static_cast< int >(result
));
7783 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7784 PyObject
*resultobj
= 0;
7785 wxDialog
*arg1
= (wxDialog
*) 0 ;
7791 PyObject
* obj0
= 0 ;
7792 PyObject
* obj1
= 0 ;
7793 char * kwnames
[] = {
7794 (char *) "self",(char *) "retCode", NULL
7797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7799 if (!SWIG_IsOK(res1
)) {
7800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7802 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7803 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7804 if (!SWIG_IsOK(ecode2
)) {
7805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7807 arg2
= static_cast< int >(val2
);
7809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7810 (arg1
)->EndModal(arg2
);
7811 wxPyEndAllowThreads(__tstate
);
7812 if (PyErr_Occurred()) SWIG_fail
;
7814 resultobj
= SWIG_Py_Void();
7821 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7822 PyObject
*resultobj
= 0;
7823 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7824 SwigValueWrapper
<wxVisualAttributes
> result
;
7827 PyObject
* obj0
= 0 ;
7828 char * kwnames
[] = {
7829 (char *) "variant", NULL
7832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7834 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7835 if (!SWIG_IsOK(ecode1
)) {
7836 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7838 arg1
= static_cast< wxWindowVariant
>(val1
);
7841 if (!wxPyCheckForApp()) SWIG_fail
;
7842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7843 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7844 wxPyEndAllowThreads(__tstate
);
7845 if (PyErr_Occurred()) SWIG_fail
;
7847 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7854 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7856 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7857 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7858 return SWIG_Py_Void();
7861 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7862 return SWIG_Python_InitShadowInstance(args
);
7865 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7866 PyObject
*resultobj
= 0;
7867 wxWindow
*arg1
= (wxWindow
*) 0 ;
7868 int arg2
= (int) (int)-1 ;
7869 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7870 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7871 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7872 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7873 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7874 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7875 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7876 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7877 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7878 wxMiniFrame
*result
= 0 ;
7883 bool temp3
= false ;
7888 bool temp7
= false ;
7889 PyObject
* obj0
= 0 ;
7890 PyObject
* obj1
= 0 ;
7891 PyObject
* obj2
= 0 ;
7892 PyObject
* obj3
= 0 ;
7893 PyObject
* obj4
= 0 ;
7894 PyObject
* obj5
= 0 ;
7895 PyObject
* obj6
= 0 ;
7896 char * kwnames
[] = {
7897 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7902 if (!SWIG_IsOK(res1
)) {
7903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7905 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7907 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7908 if (!SWIG_IsOK(ecode2
)) {
7909 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7911 arg2
= static_cast< int >(val2
);
7915 arg3
= wxString_in_helper(obj2
);
7916 if (arg3
== NULL
) SWIG_fail
;
7923 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7929 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7933 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7934 if (!SWIG_IsOK(ecode6
)) {
7935 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7937 arg6
= static_cast< long >(val6
);
7941 arg7
= wxString_in_helper(obj6
);
7942 if (arg7
== NULL
) SWIG_fail
;
7947 if (!wxPyCheckForApp()) SWIG_fail
;
7948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7949 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7950 wxPyEndAllowThreads(__tstate
);
7951 if (PyErr_Occurred()) SWIG_fail
;
7953 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7976 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7977 PyObject
*resultobj
= 0;
7978 wxMiniFrame
*result
= 0 ;
7980 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7982 if (!wxPyCheckForApp()) SWIG_fail
;
7983 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7984 result
= (wxMiniFrame
*)new wxMiniFrame();
7985 wxPyEndAllowThreads(__tstate
);
7986 if (PyErr_Occurred()) SWIG_fail
;
7988 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7995 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7996 PyObject
*resultobj
= 0;
7997 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7998 wxWindow
*arg2
= (wxWindow
*) 0 ;
7999 int arg3
= (int) (int)-1 ;
8000 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8001 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8002 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8003 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8004 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8005 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8006 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8007 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8008 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8016 bool temp4
= false ;
8021 bool temp8
= false ;
8022 PyObject
* obj0
= 0 ;
8023 PyObject
* obj1
= 0 ;
8024 PyObject
* obj2
= 0 ;
8025 PyObject
* obj3
= 0 ;
8026 PyObject
* obj4
= 0 ;
8027 PyObject
* obj5
= 0 ;
8028 PyObject
* obj6
= 0 ;
8029 PyObject
* obj7
= 0 ;
8030 char * kwnames
[] = {
8031 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8034 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8035 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8036 if (!SWIG_IsOK(res1
)) {
8037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8039 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8040 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8041 if (!SWIG_IsOK(res2
)) {
8042 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8044 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8046 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8047 if (!SWIG_IsOK(ecode3
)) {
8048 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8050 arg3
= static_cast< int >(val3
);
8054 arg4
= wxString_in_helper(obj3
);
8055 if (arg4
== NULL
) SWIG_fail
;
8062 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8068 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8072 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8073 if (!SWIG_IsOK(ecode7
)) {
8074 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8076 arg7
= static_cast< long >(val7
);
8080 arg8
= wxString_in_helper(obj7
);
8081 if (arg8
== NULL
) SWIG_fail
;
8086 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8087 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8088 wxPyEndAllowThreads(__tstate
);
8089 if (PyErr_Occurred()) SWIG_fail
;
8092 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8116 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8118 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8119 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8120 return SWIG_Py_Void();
8123 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8124 return SWIG_Python_InitShadowInstance(args
);
8127 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8128 PyObject
*resultobj
= 0;
8129 wxBitmap
*arg1
= 0 ;
8130 wxWindow
*arg2
= (wxWindow
*) 0 ;
8132 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8133 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8134 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8135 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8136 long arg6
= (long) wxNO_BORDER
;
8137 wxSplashScreenWindow
*result
= 0 ;
8148 PyObject
* obj0
= 0 ;
8149 PyObject
* obj1
= 0 ;
8150 PyObject
* obj2
= 0 ;
8151 PyObject
* obj3
= 0 ;
8152 PyObject
* obj4
= 0 ;
8153 PyObject
* obj5
= 0 ;
8154 char * kwnames
[] = {
8155 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8159 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8160 if (!SWIG_IsOK(res1
)) {
8161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8164 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8166 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8167 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8168 if (!SWIG_IsOK(res2
)) {
8169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8171 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8173 if (!SWIG_IsOK(ecode3
)) {
8174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8176 arg3
= static_cast< int >(val3
);
8180 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8186 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8190 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8191 if (!SWIG_IsOK(ecode6
)) {
8192 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8194 arg6
= static_cast< long >(val6
);
8197 if (!wxPyCheckForApp()) SWIG_fail
;
8198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8199 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8210 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8211 PyObject
*resultobj
= 0;
8212 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8213 wxBitmap
*arg2
= 0 ;
8218 PyObject
* obj0
= 0 ;
8219 PyObject
* obj1
= 0 ;
8220 char * kwnames
[] = {
8221 (char *) "self",(char *) "bitmap", NULL
8224 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8225 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8226 if (!SWIG_IsOK(res1
)) {
8227 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8229 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8230 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8231 if (!SWIG_IsOK(res2
)) {
8232 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8235 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8237 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8240 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8241 wxPyEndAllowThreads(__tstate
);
8242 if (PyErr_Occurred()) SWIG_fail
;
8244 resultobj
= SWIG_Py_Void();
8251 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8252 PyObject
*resultobj
= 0;
8253 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8254 wxBitmap
*result
= 0 ;
8257 PyObject
*swig_obj
[1] ;
8259 if (!args
) SWIG_fail
;
8261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8262 if (!SWIG_IsOK(res1
)) {
8263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8265 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8267 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8269 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8270 result
= (wxBitmap
*) &_result_ref
;
8272 wxPyEndAllowThreads(__tstate
);
8273 if (PyErr_Occurred()) SWIG_fail
;
8276 wxBitmap
* resultptr
= new wxBitmap(*result
);
8277 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8285 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8288 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8289 return SWIG_Py_Void();
8292 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8293 return SWIG_Python_InitShadowInstance(args
);
8296 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8297 PyObject
*resultobj
= 0;
8298 wxBitmap
*arg1
= 0 ;
8301 wxWindow
*arg4
= (wxWindow
*) 0 ;
8302 int arg5
= (int) -1 ;
8303 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8304 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8305 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8306 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8307 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8308 wxSplashScreen
*result
= 0 ;
8323 PyObject
* obj0
= 0 ;
8324 PyObject
* obj1
= 0 ;
8325 PyObject
* obj2
= 0 ;
8326 PyObject
* obj3
= 0 ;
8327 PyObject
* obj4
= 0 ;
8328 PyObject
* obj5
= 0 ;
8329 PyObject
* obj6
= 0 ;
8330 PyObject
* obj7
= 0 ;
8331 char * kwnames
[] = {
8332 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8335 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8336 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8337 if (!SWIG_IsOK(res1
)) {
8338 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8341 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8343 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8344 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8345 if (!SWIG_IsOK(ecode2
)) {
8346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8348 arg2
= static_cast< long >(val2
);
8349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8350 if (!SWIG_IsOK(ecode3
)) {
8351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8353 arg3
= static_cast< int >(val3
);
8354 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8355 if (!SWIG_IsOK(res4
)) {
8356 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8358 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8360 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8361 if (!SWIG_IsOK(ecode5
)) {
8362 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8364 arg5
= static_cast< int >(val5
);
8369 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8375 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8379 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8380 if (!SWIG_IsOK(ecode8
)) {
8381 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8383 arg8
= static_cast< long >(val8
);
8386 if (!wxPyCheckForApp()) SWIG_fail
;
8387 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8388 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8389 wxPyEndAllowThreads(__tstate
);
8390 if (PyErr_Occurred()) SWIG_fail
;
8392 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8399 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8400 PyObject
*resultobj
= 0;
8401 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8405 PyObject
*swig_obj
[1] ;
8407 if (!args
) SWIG_fail
;
8409 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8410 if (!SWIG_IsOK(res1
)) {
8411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8413 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8416 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8417 wxPyEndAllowThreads(__tstate
);
8418 if (PyErr_Occurred()) SWIG_fail
;
8420 resultobj
= SWIG_From_long(static_cast< long >(result
));
8427 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8428 PyObject
*resultobj
= 0;
8429 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8430 wxSplashScreenWindow
*result
= 0 ;
8433 PyObject
*swig_obj
[1] ;
8435 if (!args
) SWIG_fail
;
8437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8438 if (!SWIG_IsOK(res1
)) {
8439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8441 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8444 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8445 wxPyEndAllowThreads(__tstate
);
8446 if (PyErr_Occurred()) SWIG_fail
;
8448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8455 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8456 PyObject
*resultobj
= 0;
8457 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8461 PyObject
*swig_obj
[1] ;
8463 if (!args
) SWIG_fail
;
8465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8466 if (!SWIG_IsOK(res1
)) {
8467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8469 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8472 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8473 wxPyEndAllowThreads(__tstate
);
8474 if (PyErr_Occurred()) SWIG_fail
;
8476 resultobj
= SWIG_From_int(static_cast< int >(result
));
8483 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8486 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8487 return SWIG_Py_Void();
8490 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8491 return SWIG_Python_InitShadowInstance(args
);
8494 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8495 PyObject
*resultobj
= 0;
8496 wxWindow
*arg1
= (wxWindow
*) 0 ;
8497 int arg2
= (int) -1 ;
8498 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8499 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8500 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8501 wxStatusBar
*result
= 0 ;
8508 bool temp4
= false ;
8509 PyObject
* obj0
= 0 ;
8510 PyObject
* obj1
= 0 ;
8511 PyObject
* obj2
= 0 ;
8512 PyObject
* obj3
= 0 ;
8513 char * kwnames
[] = {
8514 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8519 if (!SWIG_IsOK(res1
)) {
8520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8522 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8524 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8525 if (!SWIG_IsOK(ecode2
)) {
8526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8528 arg2
= static_cast< int >(val2
);
8531 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8532 if (!SWIG_IsOK(ecode3
)) {
8533 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8535 arg3
= static_cast< long >(val3
);
8539 arg4
= wxString_in_helper(obj3
);
8540 if (arg4
== NULL
) SWIG_fail
;
8545 if (!wxPyCheckForApp()) SWIG_fail
;
8546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8547 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8548 wxPyEndAllowThreads(__tstate
);
8549 if (PyErr_Occurred()) SWIG_fail
;
8551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8566 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8567 PyObject
*resultobj
= 0;
8568 wxStatusBar
*result
= 0 ;
8570 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8572 if (!wxPyCheckForApp()) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (wxStatusBar
*)new wxStatusBar();
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8585 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8586 PyObject
*resultobj
= 0;
8587 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8588 wxWindow
*arg2
= (wxWindow
*) 0 ;
8589 int arg3
= (int) -1 ;
8590 long arg4
= (long) wxST_SIZEGRIP
;
8591 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8592 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8602 bool temp5
= false ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 PyObject
* obj2
= 0 ;
8606 PyObject
* obj3
= 0 ;
8607 PyObject
* obj4
= 0 ;
8608 char * kwnames
[] = {
8609 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8614 if (!SWIG_IsOK(res1
)) {
8615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8617 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8618 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8619 if (!SWIG_IsOK(res2
)) {
8620 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8622 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8624 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8625 if (!SWIG_IsOK(ecode3
)) {
8626 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8628 arg3
= static_cast< int >(val3
);
8631 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8632 if (!SWIG_IsOK(ecode4
)) {
8633 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8635 arg4
= static_cast< long >(val4
);
8639 arg5
= wxString_in_helper(obj4
);
8640 if (arg5
== NULL
) SWIG_fail
;
8645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8646 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8647 wxPyEndAllowThreads(__tstate
);
8648 if (PyErr_Occurred()) SWIG_fail
;
8651 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8667 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8668 PyObject
*resultobj
= 0;
8669 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8670 int arg2
= (int) 1 ;
8675 PyObject
* obj0
= 0 ;
8676 PyObject
* obj1
= 0 ;
8677 char * kwnames
[] = {
8678 (char *) "self",(char *) "number", NULL
8681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8683 if (!SWIG_IsOK(res1
)) {
8684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8686 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8689 if (!SWIG_IsOK(ecode2
)) {
8690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8692 arg2
= static_cast< int >(val2
);
8695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8696 (arg1
)->SetFieldsCount(arg2
);
8697 wxPyEndAllowThreads(__tstate
);
8698 if (PyErr_Occurred()) SWIG_fail
;
8700 resultobj
= SWIG_Py_Void();
8707 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8708 PyObject
*resultobj
= 0;
8709 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8713 PyObject
*swig_obj
[1] ;
8715 if (!args
) SWIG_fail
;
8717 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8718 if (!SWIG_IsOK(res1
)) {
8719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8721 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8724 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8725 wxPyEndAllowThreads(__tstate
);
8726 if (PyErr_Occurred()) SWIG_fail
;
8728 resultobj
= SWIG_From_int(static_cast< int >(result
));
8735 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8736 PyObject
*resultobj
= 0;
8737 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8738 wxString
*arg2
= 0 ;
8739 int arg3
= (int) 0 ;
8742 bool temp2
= false ;
8745 PyObject
* obj0
= 0 ;
8746 PyObject
* obj1
= 0 ;
8747 PyObject
* obj2
= 0 ;
8748 char * kwnames
[] = {
8749 (char *) "self",(char *) "text",(char *) "number", NULL
8752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8754 if (!SWIG_IsOK(res1
)) {
8755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8757 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8759 arg2
= wxString_in_helper(obj1
);
8760 if (arg2
== NULL
) SWIG_fail
;
8764 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8765 if (!SWIG_IsOK(ecode3
)) {
8766 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8768 arg3
= static_cast< int >(val3
);
8771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8772 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8773 wxPyEndAllowThreads(__tstate
);
8774 if (PyErr_Occurred()) SWIG_fail
;
8776 resultobj
= SWIG_Py_Void();
8791 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8792 PyObject
*resultobj
= 0;
8793 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8794 int arg2
= (int) 0 ;
8800 PyObject
* obj0
= 0 ;
8801 PyObject
* obj1
= 0 ;
8802 char * kwnames
[] = {
8803 (char *) "self",(char *) "number", NULL
8806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8808 if (!SWIG_IsOK(res1
)) {
8809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8811 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8813 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8814 if (!SWIG_IsOK(ecode2
)) {
8815 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8817 arg2
= static_cast< int >(val2
);
8820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8821 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8822 wxPyEndAllowThreads(__tstate
);
8823 if (PyErr_Occurred()) SWIG_fail
;
8827 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8829 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8838 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8839 PyObject
*resultobj
= 0;
8840 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8841 wxString
*arg2
= 0 ;
8842 int arg3
= (int) 0 ;
8845 bool temp2
= false ;
8848 PyObject
* obj0
= 0 ;
8849 PyObject
* obj1
= 0 ;
8850 PyObject
* obj2
= 0 ;
8851 char * kwnames
[] = {
8852 (char *) "self",(char *) "text",(char *) "number", NULL
8855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8857 if (!SWIG_IsOK(res1
)) {
8858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8860 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8862 arg2
= wxString_in_helper(obj1
);
8863 if (arg2
== NULL
) SWIG_fail
;
8867 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8868 if (!SWIG_IsOK(ecode3
)) {
8869 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8871 arg3
= static_cast< int >(val3
);
8874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8875 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8876 wxPyEndAllowThreads(__tstate
);
8877 if (PyErr_Occurred()) SWIG_fail
;
8879 resultobj
= SWIG_Py_Void();
8894 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8895 PyObject
*resultobj
= 0;
8896 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8897 int arg2
= (int) 0 ;
8902 PyObject
* obj0
= 0 ;
8903 PyObject
* obj1
= 0 ;
8904 char * kwnames
[] = {
8905 (char *) "self",(char *) "number", NULL
8908 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8909 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8910 if (!SWIG_IsOK(res1
)) {
8911 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8913 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8915 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8916 if (!SWIG_IsOK(ecode2
)) {
8917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8919 arg2
= static_cast< int >(val2
);
8922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8923 (arg1
)->PopStatusText(arg2
);
8924 wxPyEndAllowThreads(__tstate
);
8925 if (PyErr_Occurred()) SWIG_fail
;
8927 resultobj
= SWIG_Py_Void();
8934 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8935 PyObject
*resultobj
= 0;
8936 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8938 int *arg3
= (int *) 0 ;
8941 PyObject
* obj0
= 0 ;
8942 PyObject
* obj1
= 0 ;
8943 char * kwnames
[] = {
8944 (char *) "self",(char *) "widths", NULL
8947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8949 if (!SWIG_IsOK(res1
)) {
8950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8952 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8954 arg2
= PyList_Size(obj1
);
8955 arg3
= int_LIST_helper(obj1
);
8956 if (arg3
== NULL
) SWIG_fail
;
8959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8960 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8961 wxPyEndAllowThreads(__tstate
);
8962 if (PyErr_Occurred()) SWIG_fail
;
8964 resultobj
= SWIG_Py_Void();
8966 if (arg3
) delete [] arg3
;
8971 if (arg3
) delete [] arg3
;
8977 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8978 PyObject
*resultobj
= 0;
8979 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8981 int *arg3
= (int *) 0 ;
8984 PyObject
* obj0
= 0 ;
8985 PyObject
* obj1
= 0 ;
8986 char * kwnames
[] = {
8987 (char *) "self",(char *) "styles", NULL
8990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8992 if (!SWIG_IsOK(res1
)) {
8993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8995 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8997 arg2
= PyList_Size(obj1
);
8998 arg3
= int_LIST_helper(obj1
);
8999 if (arg3
== NULL
) SWIG_fail
;
9002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9003 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9004 wxPyEndAllowThreads(__tstate
);
9005 if (PyErr_Occurred()) SWIG_fail
;
9007 resultobj
= SWIG_Py_Void();
9009 if (arg3
) delete [] arg3
;
9014 if (arg3
) delete [] arg3
;
9020 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9021 PyObject
*resultobj
= 0;
9022 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9029 PyObject
* obj0
= 0 ;
9030 PyObject
* obj1
= 0 ;
9031 char * kwnames
[] = {
9032 (char *) "self",(char *) "i", NULL
9035 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9036 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9037 if (!SWIG_IsOK(res1
)) {
9038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9040 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9041 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9042 if (!SWIG_IsOK(ecode2
)) {
9043 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9045 arg2
= static_cast< int >(val2
);
9047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9048 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9049 wxPyEndAllowThreads(__tstate
);
9050 if (PyErr_Occurred()) SWIG_fail
;
9052 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9059 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9060 PyObject
*resultobj
= 0;
9061 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9067 PyObject
* obj0
= 0 ;
9068 PyObject
* obj1
= 0 ;
9069 char * kwnames
[] = {
9070 (char *) "self",(char *) "height", NULL
9073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9078 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9080 if (!SWIG_IsOK(ecode2
)) {
9081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9083 arg2
= static_cast< int >(val2
);
9085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9086 (arg1
)->SetMinHeight(arg2
);
9087 wxPyEndAllowThreads(__tstate
);
9088 if (PyErr_Occurred()) SWIG_fail
;
9090 resultobj
= SWIG_Py_Void();
9097 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9098 PyObject
*resultobj
= 0;
9099 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9103 PyObject
*swig_obj
[1] ;
9105 if (!args
) SWIG_fail
;
9107 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9108 if (!SWIG_IsOK(res1
)) {
9109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9111 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9114 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9115 wxPyEndAllowThreads(__tstate
);
9116 if (PyErr_Occurred()) SWIG_fail
;
9118 resultobj
= SWIG_From_int(static_cast< int >(result
));
9125 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9126 PyObject
*resultobj
= 0;
9127 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9131 PyObject
*swig_obj
[1] ;
9133 if (!args
) SWIG_fail
;
9135 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9136 if (!SWIG_IsOK(res1
)) {
9137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9139 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9142 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9143 wxPyEndAllowThreads(__tstate
);
9144 if (PyErr_Occurred()) SWIG_fail
;
9146 resultobj
= SWIG_From_int(static_cast< int >(result
));
9153 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9154 PyObject
*resultobj
= 0;
9155 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9156 SwigValueWrapper
<wxVisualAttributes
> result
;
9159 PyObject
* obj0
= 0 ;
9160 char * kwnames
[] = {
9161 (char *) "variant", NULL
9164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9166 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9167 if (!SWIG_IsOK(ecode1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9170 arg1
= static_cast< wxWindowVariant
>(val1
);
9173 if (!wxPyCheckForApp()) SWIG_fail
;
9174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9175 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9176 wxPyEndAllowThreads(__tstate
);
9177 if (PyErr_Occurred()) SWIG_fail
;
9179 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9186 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9188 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9189 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9190 return SWIG_Py_Void();
9193 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9194 return SWIG_Python_InitShadowInstance(args
);
9197 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9198 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9203 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9204 PyObject
*pyobj
= 0;
9208 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9210 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9217 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9218 PyObject
*resultobj
= 0;
9219 wxWindow
*arg1
= (wxWindow
*) 0 ;
9220 int arg2
= (int) -1 ;
9221 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9222 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9223 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9224 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9225 long arg5
= (long) wxSP_3D
;
9226 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9227 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9228 wxSplitterWindow
*result
= 0 ;
9237 bool temp6
= false ;
9238 PyObject
* obj0
= 0 ;
9239 PyObject
* obj1
= 0 ;
9240 PyObject
* obj2
= 0 ;
9241 PyObject
* obj3
= 0 ;
9242 PyObject
* obj4
= 0 ;
9243 PyObject
* obj5
= 0 ;
9244 char * kwnames
[] = {
9245 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9249 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9250 if (!SWIG_IsOK(res1
)) {
9251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9253 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9255 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9256 if (!SWIG_IsOK(ecode2
)) {
9257 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9259 arg2
= static_cast< int >(val2
);
9264 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9270 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9274 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9275 if (!SWIG_IsOK(ecode5
)) {
9276 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9278 arg5
= static_cast< long >(val5
);
9282 arg6
= wxString_in_helper(obj5
);
9283 if (arg6
== NULL
) SWIG_fail
;
9288 if (!wxPyCheckForApp()) SWIG_fail
;
9289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9290 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9291 wxPyEndAllowThreads(__tstate
);
9292 if (PyErr_Occurred()) SWIG_fail
;
9294 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9309 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9310 PyObject
*resultobj
= 0;
9311 wxSplitterWindow
*result
= 0 ;
9313 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9315 if (!wxPyCheckForApp()) SWIG_fail
;
9316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9317 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9318 wxPyEndAllowThreads(__tstate
);
9319 if (PyErr_Occurred()) SWIG_fail
;
9321 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9328 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9329 PyObject
*resultobj
= 0;
9330 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9331 wxWindow
*arg2
= (wxWindow
*) 0 ;
9332 int arg3
= (int) -1 ;
9333 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9334 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9335 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9336 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9337 long arg6
= (long) wxSP_3D
;
9338 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9339 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9351 bool temp7
= false ;
9352 PyObject
* obj0
= 0 ;
9353 PyObject
* obj1
= 0 ;
9354 PyObject
* obj2
= 0 ;
9355 PyObject
* obj3
= 0 ;
9356 PyObject
* obj4
= 0 ;
9357 PyObject
* obj5
= 0 ;
9358 PyObject
* obj6
= 0 ;
9359 char * kwnames
[] = {
9360 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9363 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9364 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9365 if (!SWIG_IsOK(res1
)) {
9366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9368 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9370 if (!SWIG_IsOK(res2
)) {
9371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9373 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9375 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9376 if (!SWIG_IsOK(ecode3
)) {
9377 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9379 arg3
= static_cast< int >(val3
);
9384 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9390 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9394 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9395 if (!SWIG_IsOK(ecode6
)) {
9396 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9398 arg6
= static_cast< long >(val6
);
9402 arg7
= wxString_in_helper(obj6
);
9403 if (arg7
== NULL
) SWIG_fail
;
9408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9409 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9410 wxPyEndAllowThreads(__tstate
);
9411 if (PyErr_Occurred()) SWIG_fail
;
9414 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9430 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9431 PyObject
*resultobj
= 0;
9432 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9433 wxWindow
*result
= 0 ;
9436 PyObject
*swig_obj
[1] ;
9438 if (!args
) SWIG_fail
;
9440 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9441 if (!SWIG_IsOK(res1
)) {
9442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9444 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9447 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9448 wxPyEndAllowThreads(__tstate
);
9449 if (PyErr_Occurred()) SWIG_fail
;
9452 resultobj
= wxPyMake_wxObject(result
, 0);
9460 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9461 PyObject
*resultobj
= 0;
9462 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9463 wxWindow
*result
= 0 ;
9466 PyObject
*swig_obj
[1] ;
9468 if (!args
) SWIG_fail
;
9470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9471 if (!SWIG_IsOK(res1
)) {
9472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9474 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9477 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9478 wxPyEndAllowThreads(__tstate
);
9479 if (PyErr_Occurred()) SWIG_fail
;
9482 resultobj
= wxPyMake_wxObject(result
, 0);
9490 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9491 PyObject
*resultobj
= 0;
9492 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9498 PyObject
* obj0
= 0 ;
9499 PyObject
* obj1
= 0 ;
9500 char * kwnames
[] = {
9501 (char *) "self",(char *) "mode", NULL
9504 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9505 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9506 if (!SWIG_IsOK(res1
)) {
9507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9509 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9510 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9511 if (!SWIG_IsOK(ecode2
)) {
9512 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9514 arg2
= static_cast< int >(val2
);
9516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9517 (arg1
)->SetSplitMode(arg2
);
9518 wxPyEndAllowThreads(__tstate
);
9519 if (PyErr_Occurred()) SWIG_fail
;
9521 resultobj
= SWIG_Py_Void();
9528 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9529 PyObject
*resultobj
= 0;
9530 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9534 PyObject
*swig_obj
[1] ;
9536 if (!args
) SWIG_fail
;
9538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9539 if (!SWIG_IsOK(res1
)) {
9540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9542 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9545 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9546 wxPyEndAllowThreads(__tstate
);
9547 if (PyErr_Occurred()) SWIG_fail
;
9549 resultobj
= SWIG_From_int(static_cast< int >(result
));
9556 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9557 PyObject
*resultobj
= 0;
9558 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9559 wxWindow
*arg2
= (wxWindow
*) 0 ;
9564 PyObject
* obj0
= 0 ;
9565 PyObject
* obj1
= 0 ;
9566 char * kwnames
[] = {
9567 (char *) "self",(char *) "window", NULL
9570 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9571 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9572 if (!SWIG_IsOK(res1
)) {
9573 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9575 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9576 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9577 if (!SWIG_IsOK(res2
)) {
9578 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9580 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9583 (arg1
)->Initialize(arg2
);
9584 wxPyEndAllowThreads(__tstate
);
9585 if (PyErr_Occurred()) SWIG_fail
;
9587 resultobj
= SWIG_Py_Void();
9594 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9595 PyObject
*resultobj
= 0;
9596 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9597 wxWindow
*arg2
= (wxWindow
*) 0 ;
9598 wxWindow
*arg3
= (wxWindow
*) 0 ;
9599 int arg4
= (int) 0 ;
9609 PyObject
* obj0
= 0 ;
9610 PyObject
* obj1
= 0 ;
9611 PyObject
* obj2
= 0 ;
9612 PyObject
* obj3
= 0 ;
9613 char * kwnames
[] = {
9614 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9617 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9618 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9619 if (!SWIG_IsOK(res1
)) {
9620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9622 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9623 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9624 if (!SWIG_IsOK(res2
)) {
9625 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9627 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9628 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9629 if (!SWIG_IsOK(res3
)) {
9630 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9632 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9634 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9635 if (!SWIG_IsOK(ecode4
)) {
9636 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9638 arg4
= static_cast< int >(val4
);
9641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9642 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9643 wxPyEndAllowThreads(__tstate
);
9644 if (PyErr_Occurred()) SWIG_fail
;
9647 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9655 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9656 PyObject
*resultobj
= 0;
9657 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9658 wxWindow
*arg2
= (wxWindow
*) 0 ;
9659 wxWindow
*arg3
= (wxWindow
*) 0 ;
9660 int arg4
= (int) 0 ;
9670 PyObject
* obj0
= 0 ;
9671 PyObject
* obj1
= 0 ;
9672 PyObject
* obj2
= 0 ;
9673 PyObject
* obj3
= 0 ;
9674 char * kwnames
[] = {
9675 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9678 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9679 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9680 if (!SWIG_IsOK(res1
)) {
9681 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9683 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9685 if (!SWIG_IsOK(res2
)) {
9686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9688 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9689 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9690 if (!SWIG_IsOK(res3
)) {
9691 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9693 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9695 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9696 if (!SWIG_IsOK(ecode4
)) {
9697 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9699 arg4
= static_cast< int >(val4
);
9702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9703 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9704 wxPyEndAllowThreads(__tstate
);
9705 if (PyErr_Occurred()) SWIG_fail
;
9708 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9716 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9717 PyObject
*resultobj
= 0;
9718 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9719 wxWindow
*arg2
= (wxWindow
*) NULL
;
9725 PyObject
* obj0
= 0 ;
9726 PyObject
* obj1
= 0 ;
9727 char * kwnames
[] = {
9728 (char *) "self",(char *) "toRemove", NULL
9731 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9732 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9733 if (!SWIG_IsOK(res1
)) {
9734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9736 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9738 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9739 if (!SWIG_IsOK(res2
)) {
9740 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9742 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9745 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9746 result
= (bool)(arg1
)->Unsplit(arg2
);
9747 wxPyEndAllowThreads(__tstate
);
9748 if (PyErr_Occurred()) SWIG_fail
;
9751 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9759 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9760 PyObject
*resultobj
= 0;
9761 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9762 wxWindow
*arg2
= (wxWindow
*) 0 ;
9763 wxWindow
*arg3
= (wxWindow
*) 0 ;
9771 PyObject
* obj0
= 0 ;
9772 PyObject
* obj1
= 0 ;
9773 PyObject
* obj2
= 0 ;
9774 char * kwnames
[] = {
9775 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9778 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9779 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9780 if (!SWIG_IsOK(res1
)) {
9781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9783 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9784 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9785 if (!SWIG_IsOK(res2
)) {
9786 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9788 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9789 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res3
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9793 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9796 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9797 wxPyEndAllowThreads(__tstate
);
9798 if (PyErr_Occurred()) SWIG_fail
;
9801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9809 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9810 PyObject
*resultobj
= 0;
9811 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9814 PyObject
*swig_obj
[1] ;
9816 if (!args
) SWIG_fail
;
9818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9819 if (!SWIG_IsOK(res1
)) {
9820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9822 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9825 (arg1
)->UpdateSize();
9826 wxPyEndAllowThreads(__tstate
);
9827 if (PyErr_Occurred()) SWIG_fail
;
9829 resultobj
= SWIG_Py_Void();
9836 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9837 PyObject
*resultobj
= 0;
9838 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9842 PyObject
*swig_obj
[1] ;
9844 if (!args
) SWIG_fail
;
9846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9847 if (!SWIG_IsOK(res1
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9850 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9853 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9854 wxPyEndAllowThreads(__tstate
);
9855 if (PyErr_Occurred()) SWIG_fail
;
9858 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9866 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9867 PyObject
*resultobj
= 0;
9868 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9874 PyObject
* obj0
= 0 ;
9875 PyObject
* obj1
= 0 ;
9876 char * kwnames
[] = {
9877 (char *) "self",(char *) "width", NULL
9880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9882 if (!SWIG_IsOK(res1
)) {
9883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9885 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9887 if (!SWIG_IsOK(ecode2
)) {
9888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9890 arg2
= static_cast< int >(val2
);
9892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9893 (arg1
)->SetSashSize(arg2
);
9894 wxPyEndAllowThreads(__tstate
);
9895 if (PyErr_Occurred()) SWIG_fail
;
9897 resultobj
= SWIG_Py_Void();
9904 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9905 PyObject
*resultobj
= 0;
9906 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9912 PyObject
* obj0
= 0 ;
9913 PyObject
* obj1
= 0 ;
9914 char * kwnames
[] = {
9915 (char *) "self",(char *) "width", NULL
9918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9920 if (!SWIG_IsOK(res1
)) {
9921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9923 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9925 if (!SWIG_IsOK(ecode2
)) {
9926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9928 arg2
= static_cast< int >(val2
);
9930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9931 (arg1
)->SetBorderSize(arg2
);
9932 wxPyEndAllowThreads(__tstate
);
9933 if (PyErr_Occurred()) SWIG_fail
;
9935 resultobj
= SWIG_Py_Void();
9942 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9943 PyObject
*resultobj
= 0;
9944 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9948 PyObject
*swig_obj
[1] ;
9950 if (!args
) SWIG_fail
;
9952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9953 if (!SWIG_IsOK(res1
)) {
9954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9956 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9959 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9960 wxPyEndAllowThreads(__tstate
);
9961 if (PyErr_Occurred()) SWIG_fail
;
9963 resultobj
= SWIG_From_int(static_cast< int >(result
));
9970 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9971 PyObject
*resultobj
= 0;
9972 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9976 PyObject
*swig_obj
[1] ;
9978 if (!args
) SWIG_fail
;
9980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9981 if (!SWIG_IsOK(res1
)) {
9982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9984 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9987 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9988 wxPyEndAllowThreads(__tstate
);
9989 if (PyErr_Occurred()) SWIG_fail
;
9991 resultobj
= SWIG_From_int(static_cast< int >(result
));
9998 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9999 PyObject
*resultobj
= 0;
10000 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10002 bool arg3
= (bool) true ;
10009 PyObject
* obj0
= 0 ;
10010 PyObject
* obj1
= 0 ;
10011 PyObject
* obj2
= 0 ;
10012 char * kwnames
[] = {
10013 (char *) "self",(char *) "position",(char *) "redraw", NULL
10016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10018 if (!SWIG_IsOK(res1
)) {
10019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10021 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10023 if (!SWIG_IsOK(ecode2
)) {
10024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10026 arg2
= static_cast< int >(val2
);
10028 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10029 if (!SWIG_IsOK(ecode3
)) {
10030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10032 arg3
= static_cast< bool >(val3
);
10035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10036 (arg1
)->SetSashPosition(arg2
,arg3
);
10037 wxPyEndAllowThreads(__tstate
);
10038 if (PyErr_Occurred()) SWIG_fail
;
10040 resultobj
= SWIG_Py_Void();
10047 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10048 PyObject
*resultobj
= 0;
10049 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10053 PyObject
*swig_obj
[1] ;
10055 if (!args
) SWIG_fail
;
10056 swig_obj
[0] = args
;
10057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10058 if (!SWIG_IsOK(res1
)) {
10059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10061 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10064 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10065 wxPyEndAllowThreads(__tstate
);
10066 if (PyErr_Occurred()) SWIG_fail
;
10068 resultobj
= SWIG_From_int(static_cast< int >(result
));
10075 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10076 PyObject
*resultobj
= 0;
10077 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10083 PyObject
* obj0
= 0 ;
10084 PyObject
* obj1
= 0 ;
10085 char * kwnames
[] = {
10086 (char *) "self",(char *) "gravity", NULL
10089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10091 if (!SWIG_IsOK(res1
)) {
10092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10094 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10095 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10096 if (!SWIG_IsOK(ecode2
)) {
10097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10099 arg2
= static_cast< double >(val2
);
10101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10102 (arg1
)->SetSashGravity(arg2
);
10103 wxPyEndAllowThreads(__tstate
);
10104 if (PyErr_Occurred()) SWIG_fail
;
10106 resultobj
= SWIG_Py_Void();
10113 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10114 PyObject
*resultobj
= 0;
10115 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10119 PyObject
*swig_obj
[1] ;
10121 if (!args
) SWIG_fail
;
10122 swig_obj
[0] = args
;
10123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10124 if (!SWIG_IsOK(res1
)) {
10125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10127 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10130 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10131 wxPyEndAllowThreads(__tstate
);
10132 if (PyErr_Occurred()) SWIG_fail
;
10134 resultobj
= SWIG_From_double(static_cast< double >(result
));
10141 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10142 PyObject
*resultobj
= 0;
10143 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10149 PyObject
* obj0
= 0 ;
10150 PyObject
* obj1
= 0 ;
10151 char * kwnames
[] = {
10152 (char *) "self",(char *) "min", NULL
10155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10157 if (!SWIG_IsOK(res1
)) {
10158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10160 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10162 if (!SWIG_IsOK(ecode2
)) {
10163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10165 arg2
= static_cast< int >(val2
);
10167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10168 (arg1
)->SetMinimumPaneSize(arg2
);
10169 wxPyEndAllowThreads(__tstate
);
10170 if (PyErr_Occurred()) SWIG_fail
;
10172 resultobj
= SWIG_Py_Void();
10179 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10180 PyObject
*resultobj
= 0;
10181 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10185 PyObject
*swig_obj
[1] ;
10187 if (!args
) SWIG_fail
;
10188 swig_obj
[0] = args
;
10189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10190 if (!SWIG_IsOK(res1
)) {
10191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10193 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10196 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10197 wxPyEndAllowThreads(__tstate
);
10198 if (PyErr_Occurred()) SWIG_fail
;
10200 resultobj
= SWIG_From_int(static_cast< int >(result
));
10207 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10208 PyObject
*resultobj
= 0;
10209 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10212 int arg4
= (int) 5 ;
10222 PyObject
* obj0
= 0 ;
10223 PyObject
* obj1
= 0 ;
10224 PyObject
* obj2
= 0 ;
10225 PyObject
* obj3
= 0 ;
10226 char * kwnames
[] = {
10227 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10230 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10231 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10232 if (!SWIG_IsOK(res1
)) {
10233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10235 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10236 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10237 if (!SWIG_IsOK(ecode2
)) {
10238 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10240 arg2
= static_cast< int >(val2
);
10241 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10242 if (!SWIG_IsOK(ecode3
)) {
10243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10245 arg3
= static_cast< int >(val3
);
10247 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10248 if (!SWIG_IsOK(ecode4
)) {
10249 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10251 arg4
= static_cast< int >(val4
);
10254 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10255 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10256 wxPyEndAllowThreads(__tstate
);
10257 if (PyErr_Occurred()) SWIG_fail
;
10260 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10273 PyObject
*swig_obj
[1] ;
10275 if (!args
) SWIG_fail
;
10276 swig_obj
[0] = args
;
10277 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10278 if (!SWIG_IsOK(res1
)) {
10279 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10281 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10284 (arg1
)->SizeWindows();
10285 wxPyEndAllowThreads(__tstate
);
10286 if (PyErr_Occurred()) SWIG_fail
;
10288 resultobj
= SWIG_Py_Void();
10295 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10296 PyObject
*resultobj
= 0;
10297 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10303 PyObject
* obj0
= 0 ;
10304 PyObject
* obj1
= 0 ;
10305 char * kwnames
[] = {
10306 (char *) "self",(char *) "needUpdating", NULL
10309 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10310 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10311 if (!SWIG_IsOK(res1
)) {
10312 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10314 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10315 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10316 if (!SWIG_IsOK(ecode2
)) {
10317 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10319 arg2
= static_cast< bool >(val2
);
10321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10322 (arg1
)->SetNeedUpdating(arg2
);
10323 wxPyEndAllowThreads(__tstate
);
10324 if (PyErr_Occurred()) SWIG_fail
;
10326 resultobj
= SWIG_Py_Void();
10333 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10334 PyObject
*resultobj
= 0;
10335 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10339 PyObject
*swig_obj
[1] ;
10341 if (!args
) SWIG_fail
;
10342 swig_obj
[0] = args
;
10343 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10344 if (!SWIG_IsOK(res1
)) {
10345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10347 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10349 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10350 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10351 wxPyEndAllowThreads(__tstate
);
10352 if (PyErr_Occurred()) SWIG_fail
;
10355 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10363 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10364 PyObject
*resultobj
= 0;
10365 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10366 SwigValueWrapper
<wxVisualAttributes
> result
;
10369 PyObject
* obj0
= 0 ;
10370 char * kwnames
[] = {
10371 (char *) "variant", NULL
10374 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10376 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10377 if (!SWIG_IsOK(ecode1
)) {
10378 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10380 arg1
= static_cast< wxWindowVariant
>(val1
);
10383 if (!wxPyCheckForApp()) SWIG_fail
;
10384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10385 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10386 wxPyEndAllowThreads(__tstate
);
10387 if (PyErr_Occurred()) SWIG_fail
;
10389 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10396 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10399 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10400 return SWIG_Py_Void();
10403 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10404 return SWIG_Python_InitShadowInstance(args
);
10407 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10408 PyObject
*resultobj
= 0;
10409 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10410 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10411 wxSplitterEvent
*result
= 0 ;
10416 PyObject
* obj0
= 0 ;
10417 PyObject
* obj1
= 0 ;
10418 char * kwnames
[] = {
10419 (char *) "type",(char *) "splitter", NULL
10422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10424 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10425 if (!SWIG_IsOK(ecode1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10428 arg1
= static_cast< wxEventType
>(val1
);
10431 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10432 if (!SWIG_IsOK(res2
)) {
10433 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10435 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10438 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10439 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10440 wxPyEndAllowThreads(__tstate
);
10441 if (PyErr_Occurred()) SWIG_fail
;
10443 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10450 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10451 PyObject
*resultobj
= 0;
10452 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10458 PyObject
* obj0
= 0 ;
10459 PyObject
* obj1
= 0 ;
10460 char * kwnames
[] = {
10461 (char *) "self",(char *) "pos", NULL
10464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10466 if (!SWIG_IsOK(res1
)) {
10467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10469 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10470 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10471 if (!SWIG_IsOK(ecode2
)) {
10472 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10474 arg2
= static_cast< int >(val2
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SetSashPosition(arg2
);
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10489 PyObject
*resultobj
= 0;
10490 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10494 PyObject
*swig_obj
[1] ;
10496 if (!args
) SWIG_fail
;
10497 swig_obj
[0] = args
;
10498 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10499 if (!SWIG_IsOK(res1
)) {
10500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10502 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10504 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10505 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10506 wxPyEndAllowThreads(__tstate
);
10507 if (PyErr_Occurred()) SWIG_fail
;
10509 resultobj
= SWIG_From_int(static_cast< int >(result
));
10516 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10517 PyObject
*resultobj
= 0;
10518 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10519 wxWindow
*result
= 0 ;
10522 PyObject
*swig_obj
[1] ;
10524 if (!args
) SWIG_fail
;
10525 swig_obj
[0] = args
;
10526 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10527 if (!SWIG_IsOK(res1
)) {
10528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10530 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10533 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10534 wxPyEndAllowThreads(__tstate
);
10535 if (PyErr_Occurred()) SWIG_fail
;
10538 resultobj
= wxPyMake_wxObject(result
, 0);
10546 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10547 PyObject
*resultobj
= 0;
10548 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10552 PyObject
*swig_obj
[1] ;
10554 if (!args
) SWIG_fail
;
10555 swig_obj
[0] = args
;
10556 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10557 if (!SWIG_IsOK(res1
)) {
10558 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10560 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10563 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10564 wxPyEndAllowThreads(__tstate
);
10565 if (PyErr_Occurred()) SWIG_fail
;
10567 resultobj
= SWIG_From_int(static_cast< int >(result
));
10574 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10575 PyObject
*resultobj
= 0;
10576 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10580 PyObject
*swig_obj
[1] ;
10582 if (!args
) SWIG_fail
;
10583 swig_obj
[0] = args
;
10584 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10585 if (!SWIG_IsOK(res1
)) {
10586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10588 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10591 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10592 wxPyEndAllowThreads(__tstate
);
10593 if (PyErr_Occurred()) SWIG_fail
;
10595 resultobj
= SWIG_From_int(static_cast< int >(result
));
10602 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10604 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10605 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10606 return SWIG_Py_Void();
10609 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10610 return SWIG_Python_InitShadowInstance(args
);
10613 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10614 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10619 SWIGINTERN PyObject
*SashNameStr_get(void) {
10620 PyObject
*pyobj
= 0;
10624 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10626 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10633 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10634 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10639 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10640 PyObject
*pyobj
= 0;
10644 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10646 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10653 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10654 PyObject
*resultobj
= 0;
10655 wxWindow
*arg1
= (wxWindow
*) 0 ;
10656 int arg2
= (int) -1 ;
10657 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10658 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10659 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10660 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10661 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10662 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10663 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10664 wxSashWindow
*result
= 0 ;
10673 bool temp6
= false ;
10674 PyObject
* obj0
= 0 ;
10675 PyObject
* obj1
= 0 ;
10676 PyObject
* obj2
= 0 ;
10677 PyObject
* obj3
= 0 ;
10678 PyObject
* obj4
= 0 ;
10679 PyObject
* obj5
= 0 ;
10680 char * kwnames
[] = {
10681 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10684 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10685 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10686 if (!SWIG_IsOK(res1
)) {
10687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10689 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10691 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10692 if (!SWIG_IsOK(ecode2
)) {
10693 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10695 arg2
= static_cast< int >(val2
);
10700 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10706 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10710 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10711 if (!SWIG_IsOK(ecode5
)) {
10712 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10714 arg5
= static_cast< long >(val5
);
10718 arg6
= wxString_in_helper(obj5
);
10719 if (arg6
== NULL
) SWIG_fail
;
10724 if (!wxPyCheckForApp()) SWIG_fail
;
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10730 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10745 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10746 PyObject
*resultobj
= 0;
10747 wxSashWindow
*result
= 0 ;
10749 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10751 if (!wxPyCheckForApp()) SWIG_fail
;
10752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10753 result
= (wxSashWindow
*)new wxSashWindow();
10754 wxPyEndAllowThreads(__tstate
);
10755 if (PyErr_Occurred()) SWIG_fail
;
10757 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10764 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10765 PyObject
*resultobj
= 0;
10766 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10767 wxWindow
*arg2
= (wxWindow
*) 0 ;
10768 int arg3
= (int) -1 ;
10769 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10770 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10771 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10772 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10773 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10774 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10775 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10787 bool temp7
= false ;
10788 PyObject
* obj0
= 0 ;
10789 PyObject
* obj1
= 0 ;
10790 PyObject
* obj2
= 0 ;
10791 PyObject
* obj3
= 0 ;
10792 PyObject
* obj4
= 0 ;
10793 PyObject
* obj5
= 0 ;
10794 PyObject
* obj6
= 0 ;
10795 char * kwnames
[] = {
10796 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10799 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10800 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10801 if (!SWIG_IsOK(res1
)) {
10802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10804 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10805 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10806 if (!SWIG_IsOK(res2
)) {
10807 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10809 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10811 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10812 if (!SWIG_IsOK(ecode3
)) {
10813 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10815 arg3
= static_cast< int >(val3
);
10820 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10826 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10830 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10831 if (!SWIG_IsOK(ecode6
)) {
10832 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10834 arg6
= static_cast< long >(val6
);
10838 arg7
= wxString_in_helper(obj6
);
10839 if (arg7
== NULL
) SWIG_fail
;
10844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10845 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10846 wxPyEndAllowThreads(__tstate
);
10847 if (PyErr_Occurred()) SWIG_fail
;
10850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10866 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10867 PyObject
*resultobj
= 0;
10868 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10869 wxSashEdgePosition arg2
;
10877 PyObject
* obj0
= 0 ;
10878 PyObject
* obj1
= 0 ;
10879 PyObject
* obj2
= 0 ;
10880 char * kwnames
[] = {
10881 (char *) "self",(char *) "edge",(char *) "sash", NULL
10884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10886 if (!SWIG_IsOK(res1
)) {
10887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10889 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10890 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10891 if (!SWIG_IsOK(ecode2
)) {
10892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10894 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10895 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10896 if (!SWIG_IsOK(ecode3
)) {
10897 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10899 arg3
= static_cast< bool >(val3
);
10901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10902 (arg1
)->SetSashVisible(arg2
,arg3
);
10903 wxPyEndAllowThreads(__tstate
);
10904 if (PyErr_Occurred()) SWIG_fail
;
10906 resultobj
= SWIG_Py_Void();
10913 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10914 PyObject
*resultobj
= 0;
10915 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10916 wxSashEdgePosition arg2
;
10922 PyObject
* obj0
= 0 ;
10923 PyObject
* obj1
= 0 ;
10924 char * kwnames
[] = {
10925 (char *) "self",(char *) "edge", NULL
10928 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10929 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10930 if (!SWIG_IsOK(res1
)) {
10931 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10933 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10934 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10935 if (!SWIG_IsOK(ecode2
)) {
10936 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10938 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10941 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10942 wxPyEndAllowThreads(__tstate
);
10943 if (PyErr_Occurred()) SWIG_fail
;
10946 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10954 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10955 PyObject
*resultobj
= 0;
10956 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10957 wxSashEdgePosition arg2
;
10965 PyObject
* obj0
= 0 ;
10966 PyObject
* obj1
= 0 ;
10967 PyObject
* obj2
= 0 ;
10968 char * kwnames
[] = {
10969 (char *) "self",(char *) "edge",(char *) "border", NULL
10972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10974 if (!SWIG_IsOK(res1
)) {
10975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10977 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10979 if (!SWIG_IsOK(ecode2
)) {
10980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10982 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10983 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10984 if (!SWIG_IsOK(ecode3
)) {
10985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10987 arg3
= static_cast< bool >(val3
);
10989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10990 (arg1
)->SetSashBorder(arg2
,arg3
);
10991 wxPyEndAllowThreads(__tstate
);
10992 if (PyErr_Occurred()) SWIG_fail
;
10994 resultobj
= SWIG_Py_Void();
11001 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11002 PyObject
*resultobj
= 0;
11003 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11004 wxSashEdgePosition arg2
;
11010 PyObject
* obj0
= 0 ;
11011 PyObject
* obj1
= 0 ;
11012 char * kwnames
[] = {
11013 (char *) "self",(char *) "edge", NULL
11016 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11017 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11018 if (!SWIG_IsOK(res1
)) {
11019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11021 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11022 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11023 if (!SWIG_IsOK(ecode2
)) {
11024 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11026 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11029 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11030 wxPyEndAllowThreads(__tstate
);
11031 if (PyErr_Occurred()) SWIG_fail
;
11034 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11042 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11043 PyObject
*resultobj
= 0;
11044 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11045 wxSashEdgePosition arg2
;
11051 PyObject
* obj0
= 0 ;
11052 PyObject
* obj1
= 0 ;
11053 char * kwnames
[] = {
11054 (char *) "self",(char *) "edge", NULL
11057 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11058 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11059 if (!SWIG_IsOK(res1
)) {
11060 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11062 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11063 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11064 if (!SWIG_IsOK(ecode2
)) {
11065 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11067 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11070 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11071 wxPyEndAllowThreads(__tstate
);
11072 if (PyErr_Occurred()) SWIG_fail
;
11074 resultobj
= SWIG_From_int(static_cast< int >(result
));
11081 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11082 PyObject
*resultobj
= 0;
11083 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11089 PyObject
* obj0
= 0 ;
11090 PyObject
* obj1
= 0 ;
11091 char * kwnames
[] = {
11092 (char *) "self",(char *) "width", NULL
11095 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11096 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11097 if (!SWIG_IsOK(res1
)) {
11098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11100 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11101 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11102 if (!SWIG_IsOK(ecode2
)) {
11103 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11105 arg2
= static_cast< int >(val2
);
11107 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11108 (arg1
)->SetDefaultBorderSize(arg2
);
11109 wxPyEndAllowThreads(__tstate
);
11110 if (PyErr_Occurred()) SWIG_fail
;
11112 resultobj
= SWIG_Py_Void();
11119 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11120 PyObject
*resultobj
= 0;
11121 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11125 PyObject
*swig_obj
[1] ;
11127 if (!args
) SWIG_fail
;
11128 swig_obj
[0] = args
;
11129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11130 if (!SWIG_IsOK(res1
)) {
11131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11133 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11136 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11137 wxPyEndAllowThreads(__tstate
);
11138 if (PyErr_Occurred()) SWIG_fail
;
11140 resultobj
= SWIG_From_int(static_cast< int >(result
));
11147 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11155 PyObject
* obj0
= 0 ;
11156 PyObject
* obj1
= 0 ;
11157 char * kwnames
[] = {
11158 (char *) "self",(char *) "width", NULL
11161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11163 if (!SWIG_IsOK(res1
)) {
11164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11166 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11168 if (!SWIG_IsOK(ecode2
)) {
11169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11171 arg2
= static_cast< int >(val2
);
11173 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11174 (arg1
)->SetExtraBorderSize(arg2
);
11175 wxPyEndAllowThreads(__tstate
);
11176 if (PyErr_Occurred()) SWIG_fail
;
11178 resultobj
= SWIG_Py_Void();
11185 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11186 PyObject
*resultobj
= 0;
11187 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11191 PyObject
*swig_obj
[1] ;
11193 if (!args
) SWIG_fail
;
11194 swig_obj
[0] = args
;
11195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11196 if (!SWIG_IsOK(res1
)) {
11197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11199 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11202 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11203 wxPyEndAllowThreads(__tstate
);
11204 if (PyErr_Occurred()) SWIG_fail
;
11206 resultobj
= SWIG_From_int(static_cast< int >(result
));
11213 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11214 PyObject
*resultobj
= 0;
11215 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11221 PyObject
* obj0
= 0 ;
11222 PyObject
* obj1
= 0 ;
11223 char * kwnames
[] = {
11224 (char *) "self",(char *) "min", NULL
11227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11229 if (!SWIG_IsOK(res1
)) {
11230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11232 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11234 if (!SWIG_IsOK(ecode2
)) {
11235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11237 arg2
= static_cast< int >(val2
);
11239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11240 (arg1
)->SetMinimumSizeX(arg2
);
11241 wxPyEndAllowThreads(__tstate
);
11242 if (PyErr_Occurred()) SWIG_fail
;
11244 resultobj
= SWIG_Py_Void();
11251 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11252 PyObject
*resultobj
= 0;
11253 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11259 PyObject
* obj0
= 0 ;
11260 PyObject
* obj1
= 0 ;
11261 char * kwnames
[] = {
11262 (char *) "self",(char *) "min", NULL
11265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11267 if (!SWIG_IsOK(res1
)) {
11268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11270 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11271 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11272 if (!SWIG_IsOK(ecode2
)) {
11273 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11275 arg2
= static_cast< int >(val2
);
11277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11278 (arg1
)->SetMinimumSizeY(arg2
);
11279 wxPyEndAllowThreads(__tstate
);
11280 if (PyErr_Occurred()) SWIG_fail
;
11282 resultobj
= SWIG_Py_Void();
11289 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11290 PyObject
*resultobj
= 0;
11291 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11295 PyObject
*swig_obj
[1] ;
11297 if (!args
) SWIG_fail
;
11298 swig_obj
[0] = args
;
11299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11300 if (!SWIG_IsOK(res1
)) {
11301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11303 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11306 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11307 wxPyEndAllowThreads(__tstate
);
11308 if (PyErr_Occurred()) SWIG_fail
;
11310 resultobj
= SWIG_From_int(static_cast< int >(result
));
11317 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11318 PyObject
*resultobj
= 0;
11319 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11323 PyObject
*swig_obj
[1] ;
11325 if (!args
) SWIG_fail
;
11326 swig_obj
[0] = args
;
11327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11328 if (!SWIG_IsOK(res1
)) {
11329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11331 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11334 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11335 wxPyEndAllowThreads(__tstate
);
11336 if (PyErr_Occurred()) SWIG_fail
;
11338 resultobj
= SWIG_From_int(static_cast< int >(result
));
11345 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11346 PyObject
*resultobj
= 0;
11347 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11353 PyObject
* obj0
= 0 ;
11354 PyObject
* obj1
= 0 ;
11355 char * kwnames
[] = {
11356 (char *) "self",(char *) "max", NULL
11359 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11360 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11361 if (!SWIG_IsOK(res1
)) {
11362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11364 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11365 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11366 if (!SWIG_IsOK(ecode2
)) {
11367 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11369 arg2
= static_cast< int >(val2
);
11371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11372 (arg1
)->SetMaximumSizeX(arg2
);
11373 wxPyEndAllowThreads(__tstate
);
11374 if (PyErr_Occurred()) SWIG_fail
;
11376 resultobj
= SWIG_Py_Void();
11383 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11384 PyObject
*resultobj
= 0;
11385 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11391 PyObject
* obj0
= 0 ;
11392 PyObject
* obj1
= 0 ;
11393 char * kwnames
[] = {
11394 (char *) "self",(char *) "max", NULL
11397 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11398 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11399 if (!SWIG_IsOK(res1
)) {
11400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11402 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11403 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11404 if (!SWIG_IsOK(ecode2
)) {
11405 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11407 arg2
= static_cast< int >(val2
);
11409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11410 (arg1
)->SetMaximumSizeY(arg2
);
11411 wxPyEndAllowThreads(__tstate
);
11412 if (PyErr_Occurred()) SWIG_fail
;
11414 resultobj
= SWIG_Py_Void();
11421 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11422 PyObject
*resultobj
= 0;
11423 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11427 PyObject
*swig_obj
[1] ;
11429 if (!args
) SWIG_fail
;
11430 swig_obj
[0] = args
;
11431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11432 if (!SWIG_IsOK(res1
)) {
11433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11435 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11438 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11439 wxPyEndAllowThreads(__tstate
);
11440 if (PyErr_Occurred()) SWIG_fail
;
11442 resultobj
= SWIG_From_int(static_cast< int >(result
));
11449 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11450 PyObject
*resultobj
= 0;
11451 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11455 PyObject
*swig_obj
[1] ;
11457 if (!args
) SWIG_fail
;
11458 swig_obj
[0] = args
;
11459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11463 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11466 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11467 wxPyEndAllowThreads(__tstate
);
11468 if (PyErr_Occurred()) SWIG_fail
;
11470 resultobj
= SWIG_From_int(static_cast< int >(result
));
11477 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11478 PyObject
*resultobj
= 0;
11479 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11482 int arg4
= (int) 2 ;
11483 wxSashEdgePosition result
;
11492 PyObject
* obj0
= 0 ;
11493 PyObject
* obj1
= 0 ;
11494 PyObject
* obj2
= 0 ;
11495 PyObject
* obj3
= 0 ;
11496 char * kwnames
[] = {
11497 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11502 if (!SWIG_IsOK(res1
)) {
11503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11505 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11507 if (!SWIG_IsOK(ecode2
)) {
11508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11510 arg2
= static_cast< int >(val2
);
11511 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11512 if (!SWIG_IsOK(ecode3
)) {
11513 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11515 arg3
= static_cast< int >(val3
);
11517 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11518 if (!SWIG_IsOK(ecode4
)) {
11519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11521 arg4
= static_cast< int >(val4
);
11524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11525 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11526 wxPyEndAllowThreads(__tstate
);
11527 if (PyErr_Occurred()) SWIG_fail
;
11529 resultobj
= SWIG_From_int(static_cast< int >(result
));
11536 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11537 PyObject
*resultobj
= 0;
11538 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11541 PyObject
*swig_obj
[1] ;
11543 if (!args
) SWIG_fail
;
11544 swig_obj
[0] = args
;
11545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11546 if (!SWIG_IsOK(res1
)) {
11547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11549 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11551 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11552 (arg1
)->SizeWindows();
11553 wxPyEndAllowThreads(__tstate
);
11554 if (PyErr_Occurred()) SWIG_fail
;
11556 resultobj
= SWIG_Py_Void();
11563 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11565 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11566 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11567 return SWIG_Py_Void();
11570 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11571 return SWIG_Python_InitShadowInstance(args
);
11574 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11575 PyObject
*resultobj
= 0;
11576 int arg1
= (int) 0 ;
11577 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11578 wxSashEvent
*result
= 0 ;
11583 PyObject
* obj0
= 0 ;
11584 PyObject
* obj1
= 0 ;
11585 char * kwnames
[] = {
11586 (char *) "id",(char *) "edge", NULL
11589 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11592 if (!SWIG_IsOK(ecode1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11595 arg1
= static_cast< int >(val1
);
11598 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11599 if (!SWIG_IsOK(ecode2
)) {
11600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11602 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11606 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11607 wxPyEndAllowThreads(__tstate
);
11608 if (PyErr_Occurred()) SWIG_fail
;
11610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11617 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11618 PyObject
*resultobj
= 0;
11619 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11620 wxSashEdgePosition arg2
;
11625 PyObject
* obj0
= 0 ;
11626 PyObject
* obj1
= 0 ;
11627 char * kwnames
[] = {
11628 (char *) "self",(char *) "edge", NULL
11631 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11632 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11633 if (!SWIG_IsOK(res1
)) {
11634 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11636 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11637 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11638 if (!SWIG_IsOK(ecode2
)) {
11639 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11641 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11643 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11644 (arg1
)->SetEdge(arg2
);
11645 wxPyEndAllowThreads(__tstate
);
11646 if (PyErr_Occurred()) SWIG_fail
;
11648 resultobj
= SWIG_Py_Void();
11655 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11656 PyObject
*resultobj
= 0;
11657 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11658 wxSashEdgePosition result
;
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_wxSashEvent
, 0 | 0 );
11666 if (!SWIG_IsOK(res1
)) {
11667 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11669 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11672 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11673 wxPyEndAllowThreads(__tstate
);
11674 if (PyErr_Occurred()) SWIG_fail
;
11676 resultobj
= SWIG_From_int(static_cast< int >(result
));
11683 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11684 PyObject
*resultobj
= 0;
11685 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11690 PyObject
* obj0
= 0 ;
11691 PyObject
* obj1
= 0 ;
11692 char * kwnames
[] = {
11693 (char *) "self",(char *) "rect", NULL
11696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11698 if (!SWIG_IsOK(res1
)) {
11699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11701 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11704 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11708 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11709 wxPyEndAllowThreads(__tstate
);
11710 if (PyErr_Occurred()) SWIG_fail
;
11712 resultobj
= SWIG_Py_Void();
11719 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11720 PyObject
*resultobj
= 0;
11721 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11725 PyObject
*swig_obj
[1] ;
11727 if (!args
) SWIG_fail
;
11728 swig_obj
[0] = args
;
11729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11730 if (!SWIG_IsOK(res1
)) {
11731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11733 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11747 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= 0;
11749 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11750 wxSashDragStatus arg2
;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "status", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11766 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11768 if (!SWIG_IsOK(ecode2
)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11771 arg2
= static_cast< wxSashDragStatus
>(val2
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetDragStatus(arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_Py_Void();
11785 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11788 wxSashDragStatus result
;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11799 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_From_int(static_cast< int >(result
));
11813 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11816 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11817 return SWIG_Py_Void();
11820 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11821 return SWIG_Python_InitShadowInstance(args
);
11824 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11825 PyObject
*resultobj
= 0;
11826 int arg1
= (int) 0 ;
11827 wxQueryLayoutInfoEvent
*result
= 0 ;
11830 PyObject
* obj0
= 0 ;
11831 char * kwnames
[] = {
11832 (char *) "id", NULL
11835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11837 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11838 if (!SWIG_IsOK(ecode1
)) {
11839 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11841 arg1
= static_cast< int >(val1
);
11844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11845 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11846 wxPyEndAllowThreads(__tstate
);
11847 if (PyErr_Occurred()) SWIG_fail
;
11849 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11856 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11857 PyObject
*resultobj
= 0;
11858 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11864 PyObject
* obj0
= 0 ;
11865 PyObject
* obj1
= 0 ;
11866 char * kwnames
[] = {
11867 (char *) "self",(char *) "length", NULL
11870 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11871 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11872 if (!SWIG_IsOK(res1
)) {
11873 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11875 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11876 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11877 if (!SWIG_IsOK(ecode2
)) {
11878 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11880 arg2
= static_cast< int >(val2
);
11882 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11883 (arg1
)->SetRequestedLength(arg2
);
11884 wxPyEndAllowThreads(__tstate
);
11885 if (PyErr_Occurred()) SWIG_fail
;
11887 resultobj
= SWIG_Py_Void();
11894 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11895 PyObject
*resultobj
= 0;
11896 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11900 PyObject
*swig_obj
[1] ;
11902 if (!args
) SWIG_fail
;
11903 swig_obj
[0] = args
;
11904 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11905 if (!SWIG_IsOK(res1
)) {
11906 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11908 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11911 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11912 wxPyEndAllowThreads(__tstate
);
11913 if (PyErr_Occurred()) SWIG_fail
;
11915 resultobj
= SWIG_From_int(static_cast< int >(result
));
11922 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11923 PyObject
*resultobj
= 0;
11924 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11930 PyObject
* obj0
= 0 ;
11931 PyObject
* obj1
= 0 ;
11932 char * kwnames
[] = {
11933 (char *) "self",(char *) "flags", NULL
11936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11938 if (!SWIG_IsOK(res1
)) {
11939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11941 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11943 if (!SWIG_IsOK(ecode2
)) {
11944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11946 arg2
= static_cast< int >(val2
);
11948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11949 (arg1
)->SetFlags(arg2
);
11950 wxPyEndAllowThreads(__tstate
);
11951 if (PyErr_Occurred()) SWIG_fail
;
11953 resultobj
= SWIG_Py_Void();
11960 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11961 PyObject
*resultobj
= 0;
11962 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11966 PyObject
*swig_obj
[1] ;
11968 if (!args
) SWIG_fail
;
11969 swig_obj
[0] = args
;
11970 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11971 if (!SWIG_IsOK(res1
)) {
11972 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11974 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11976 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11977 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11978 wxPyEndAllowThreads(__tstate
);
11979 if (PyErr_Occurred()) SWIG_fail
;
11981 resultobj
= SWIG_From_int(static_cast< int >(result
));
11988 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11989 PyObject
*resultobj
= 0;
11990 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11995 PyObject
* obj0
= 0 ;
11996 PyObject
* obj1
= 0 ;
11997 char * kwnames
[] = {
11998 (char *) "self",(char *) "size", NULL
12001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12003 if (!SWIG_IsOK(res1
)) {
12004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12006 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12009 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetSize((wxSize
const &)*arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_Py_Void();
12024 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 PyObject
*resultobj
= 0;
12026 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12030 PyObject
*swig_obj
[1] ;
12032 if (!args
) SWIG_fail
;
12033 swig_obj
[0] = args
;
12034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12052 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12055 wxLayoutOrientation arg2
;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "self",(char *) "orient", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12073 if (!SWIG_IsOK(ecode2
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12076 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetOrientation(arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12093 wxLayoutOrientation result
;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int(static_cast< int >(result
));
12118 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12121 wxLayoutAlignment arg2
;
12126 PyObject
* obj0
= 0 ;
12127 PyObject
* obj1
= 0 ;
12128 char * kwnames
[] = {
12129 (char *) "self",(char *) "align", NULL
12132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12134 if (!SWIG_IsOK(res1
)) {
12135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12137 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12138 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12139 if (!SWIG_IsOK(ecode2
)) {
12140 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12142 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12145 (arg1
)->SetAlignment(arg2
);
12146 wxPyEndAllowThreads(__tstate
);
12147 if (PyErr_Occurred()) SWIG_fail
;
12149 resultobj
= SWIG_Py_Void();
12156 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12157 PyObject
*resultobj
= 0;
12158 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12159 wxLayoutAlignment result
;
12162 PyObject
*swig_obj
[1] ;
12164 if (!args
) SWIG_fail
;
12165 swig_obj
[0] = args
;
12166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12167 if (!SWIG_IsOK(res1
)) {
12168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12170 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12173 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12174 wxPyEndAllowThreads(__tstate
);
12175 if (PyErr_Occurred()) SWIG_fail
;
12177 resultobj
= SWIG_From_int(static_cast< int >(result
));
12184 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12186 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12187 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12188 return SWIG_Py_Void();
12191 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12192 return SWIG_Python_InitShadowInstance(args
);
12195 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12196 PyObject
*resultobj
= 0;
12197 int arg1
= (int) 0 ;
12198 wxCalculateLayoutEvent
*result
= 0 ;
12201 PyObject
* obj0
= 0 ;
12202 char * kwnames
[] = {
12203 (char *) "id", NULL
12206 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12208 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12209 if (!SWIG_IsOK(ecode1
)) {
12210 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12212 arg1
= static_cast< int >(val1
);
12215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12216 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12217 wxPyEndAllowThreads(__tstate
);
12218 if (PyErr_Occurred()) SWIG_fail
;
12220 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12227 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12228 PyObject
*resultobj
= 0;
12229 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12235 PyObject
* obj0
= 0 ;
12236 PyObject
* obj1
= 0 ;
12237 char * kwnames
[] = {
12238 (char *) "self",(char *) "flags", NULL
12241 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12242 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12243 if (!SWIG_IsOK(res1
)) {
12244 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12246 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12247 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12248 if (!SWIG_IsOK(ecode2
)) {
12249 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12251 arg2
= static_cast< int >(val2
);
12253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12254 (arg1
)->SetFlags(arg2
);
12255 wxPyEndAllowThreads(__tstate
);
12256 if (PyErr_Occurred()) SWIG_fail
;
12258 resultobj
= SWIG_Py_Void();
12265 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12266 PyObject
*resultobj
= 0;
12267 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12271 PyObject
*swig_obj
[1] ;
12273 if (!args
) SWIG_fail
;
12274 swig_obj
[0] = args
;
12275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12276 if (!SWIG_IsOK(res1
)) {
12277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12279 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12282 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12283 wxPyEndAllowThreads(__tstate
);
12284 if (PyErr_Occurred()) SWIG_fail
;
12286 resultobj
= SWIG_From_int(static_cast< int >(result
));
12293 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12294 PyObject
*resultobj
= 0;
12295 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12300 PyObject
* obj0
= 0 ;
12301 PyObject
* obj1
= 0 ;
12302 char * kwnames
[] = {
12303 (char *) "self",(char *) "rect", NULL
12306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12308 if (!SWIG_IsOK(res1
)) {
12309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12311 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12314 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12317 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12318 (arg1
)->SetRect((wxRect
const &)*arg2
);
12319 wxPyEndAllowThreads(__tstate
);
12320 if (PyErr_Occurred()) SWIG_fail
;
12322 resultobj
= SWIG_Py_Void();
12329 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12330 PyObject
*resultobj
= 0;
12331 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12335 PyObject
*swig_obj
[1] ;
12337 if (!args
) SWIG_fail
;
12338 swig_obj
[0] = args
;
12339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12340 if (!SWIG_IsOK(res1
)) {
12341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12343 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12357 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12359 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12360 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12361 return SWIG_Py_Void();
12364 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12365 return SWIG_Python_InitShadowInstance(args
);
12368 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12369 PyObject
*resultobj
= 0;
12370 wxWindow
*arg1
= (wxWindow
*) 0 ;
12371 int arg2
= (int) -1 ;
12372 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12373 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12374 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12375 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12376 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12377 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12378 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12379 wxSashLayoutWindow
*result
= 0 ;
12388 bool temp6
= false ;
12389 PyObject
* obj0
= 0 ;
12390 PyObject
* obj1
= 0 ;
12391 PyObject
* obj2
= 0 ;
12392 PyObject
* obj3
= 0 ;
12393 PyObject
* obj4
= 0 ;
12394 PyObject
* obj5
= 0 ;
12395 char * kwnames
[] = {
12396 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12400 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12401 if (!SWIG_IsOK(res1
)) {
12402 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12404 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12406 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12407 if (!SWIG_IsOK(ecode2
)) {
12408 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12410 arg2
= static_cast< int >(val2
);
12415 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12421 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12425 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12426 if (!SWIG_IsOK(ecode5
)) {
12427 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12429 arg5
= static_cast< long >(val5
);
12433 arg6
= wxString_in_helper(obj5
);
12434 if (arg6
== NULL
) SWIG_fail
;
12439 if (!wxPyCheckForApp()) SWIG_fail
;
12440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12441 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12442 wxPyEndAllowThreads(__tstate
);
12443 if (PyErr_Occurred()) SWIG_fail
;
12445 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12460 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12461 PyObject
*resultobj
= 0;
12462 wxSashLayoutWindow
*result
= 0 ;
12464 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12466 if (!wxPyCheckForApp()) SWIG_fail
;
12467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12468 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12469 wxPyEndAllowThreads(__tstate
);
12470 if (PyErr_Occurred()) SWIG_fail
;
12472 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12479 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12480 PyObject
*resultobj
= 0;
12481 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12482 wxWindow
*arg2
= (wxWindow
*) 0 ;
12483 int arg3
= (int) -1 ;
12484 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12485 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12486 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12487 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12488 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12489 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12490 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12502 bool temp7
= false ;
12503 PyObject
* obj0
= 0 ;
12504 PyObject
* obj1
= 0 ;
12505 PyObject
* obj2
= 0 ;
12506 PyObject
* obj3
= 0 ;
12507 PyObject
* obj4
= 0 ;
12508 PyObject
* obj5
= 0 ;
12509 PyObject
* obj6
= 0 ;
12510 char * kwnames
[] = {
12511 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12514 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12515 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12516 if (!SWIG_IsOK(res1
)) {
12517 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12519 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12520 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12521 if (!SWIG_IsOK(res2
)) {
12522 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12524 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12526 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12527 if (!SWIG_IsOK(ecode3
)) {
12528 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12530 arg3
= static_cast< int >(val3
);
12535 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12541 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12545 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12546 if (!SWIG_IsOK(ecode6
)) {
12547 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12549 arg6
= static_cast< long >(val6
);
12553 arg7
= wxString_in_helper(obj6
);
12554 if (arg7
== NULL
) SWIG_fail
;
12559 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12560 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12561 wxPyEndAllowThreads(__tstate
);
12562 if (PyErr_Occurred()) SWIG_fail
;
12565 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12581 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12582 PyObject
*resultobj
= 0;
12583 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12584 wxLayoutAlignment result
;
12587 PyObject
*swig_obj
[1] ;
12589 if (!args
) SWIG_fail
;
12590 swig_obj
[0] = args
;
12591 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12592 if (!SWIG_IsOK(res1
)) {
12593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12595 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_From_int(static_cast< int >(result
));
12609 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12610 PyObject
*resultobj
= 0;
12611 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12612 wxLayoutOrientation result
;
12615 PyObject
*swig_obj
[1] ;
12617 if (!args
) SWIG_fail
;
12618 swig_obj
[0] = args
;
12619 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12620 if (!SWIG_IsOK(res1
)) {
12621 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12623 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12626 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12627 wxPyEndAllowThreads(__tstate
);
12628 if (PyErr_Occurred()) SWIG_fail
;
12630 resultobj
= SWIG_From_int(static_cast< int >(result
));
12637 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12638 PyObject
*resultobj
= 0;
12639 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12640 wxLayoutAlignment arg2
;
12645 PyObject
* obj0
= 0 ;
12646 PyObject
* obj1
= 0 ;
12647 char * kwnames
[] = {
12648 (char *) "self",(char *) "alignment", NULL
12651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12653 if (!SWIG_IsOK(res1
)) {
12654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12656 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12658 if (!SWIG_IsOK(ecode2
)) {
12659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12661 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12664 (arg1
)->SetAlignment(arg2
);
12665 wxPyEndAllowThreads(__tstate
);
12666 if (PyErr_Occurred()) SWIG_fail
;
12668 resultobj
= SWIG_Py_Void();
12675 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12676 PyObject
*resultobj
= 0;
12677 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12682 PyObject
* obj0
= 0 ;
12683 PyObject
* obj1
= 0 ;
12684 char * kwnames
[] = {
12685 (char *) "self",(char *) "size", NULL
12688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12690 if (!SWIG_IsOK(res1
)) {
12691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12693 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12696 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12700 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12701 wxPyEndAllowThreads(__tstate
);
12702 if (PyErr_Occurred()) SWIG_fail
;
12704 resultobj
= SWIG_Py_Void();
12711 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12712 PyObject
*resultobj
= 0;
12713 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12714 wxLayoutOrientation arg2
;
12719 PyObject
* obj0
= 0 ;
12720 PyObject
* obj1
= 0 ;
12721 char * kwnames
[] = {
12722 (char *) "self",(char *) "orientation", NULL
12725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12727 if (!SWIG_IsOK(res1
)) {
12728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12730 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12732 if (!SWIG_IsOK(ecode2
)) {
12733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12735 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12738 (arg1
)->SetOrientation(arg2
);
12739 wxPyEndAllowThreads(__tstate
);
12740 if (PyErr_Occurred()) SWIG_fail
;
12742 resultobj
= SWIG_Py_Void();
12749 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12751 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12752 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12753 return SWIG_Py_Void();
12756 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12757 return SWIG_Python_InitShadowInstance(args
);
12760 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12761 PyObject
*resultobj
= 0;
12762 wxLayoutAlgorithm
*result
= 0 ;
12764 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12767 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12768 wxPyEndAllowThreads(__tstate
);
12769 if (PyErr_Occurred()) SWIG_fail
;
12771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12778 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12779 PyObject
*resultobj
= 0;
12780 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12783 PyObject
*swig_obj
[1] ;
12785 if (!args
) SWIG_fail
;
12786 swig_obj
[0] = args
;
12787 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12788 if (!SWIG_IsOK(res1
)) {
12789 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12791 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12796 wxPyEndAllowThreads(__tstate
);
12797 if (PyErr_Occurred()) SWIG_fail
;
12799 resultobj
= SWIG_Py_Void();
12806 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12807 PyObject
*resultobj
= 0;
12808 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12809 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12810 wxRect
*arg3
= (wxRect
*) NULL
;
12818 PyObject
* obj0
= 0 ;
12819 PyObject
* obj1
= 0 ;
12820 PyObject
* obj2
= 0 ;
12821 char * kwnames
[] = {
12822 (char *) "self",(char *) "frame",(char *) "rect", NULL
12825 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12826 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12827 if (!SWIG_IsOK(res1
)) {
12828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12830 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12831 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12832 if (!SWIG_IsOK(res2
)) {
12833 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12835 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12837 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12838 if (!SWIG_IsOK(res3
)) {
12839 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12841 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12844 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12845 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12846 wxPyEndAllowThreads(__tstate
);
12847 if (PyErr_Occurred()) SWIG_fail
;
12850 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12858 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12859 PyObject
*resultobj
= 0;
12860 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12861 wxFrame
*arg2
= (wxFrame
*) 0 ;
12862 wxWindow
*arg3
= (wxWindow
*) NULL
;
12870 PyObject
* obj0
= 0 ;
12871 PyObject
* obj1
= 0 ;
12872 PyObject
* obj2
= 0 ;
12873 char * kwnames
[] = {
12874 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12879 if (!SWIG_IsOK(res1
)) {
12880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12882 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12883 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12884 if (!SWIG_IsOK(res2
)) {
12885 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12887 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12889 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12890 if (!SWIG_IsOK(res3
)) {
12891 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12893 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12910 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12911 PyObject
*resultobj
= 0;
12912 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12913 wxWindow
*arg2
= (wxWindow
*) 0 ;
12914 wxWindow
*arg3
= (wxWindow
*) NULL
;
12922 PyObject
* obj0
= 0 ;
12923 PyObject
* obj1
= 0 ;
12924 PyObject
* obj2
= 0 ;
12925 char * kwnames
[] = {
12926 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12931 if (!SWIG_IsOK(res1
)) {
12932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12934 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12936 if (!SWIG_IsOK(res2
)) {
12937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12939 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12941 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12942 if (!SWIG_IsOK(res3
)) {
12943 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12945 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12949 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12950 wxPyEndAllowThreads(__tstate
);
12951 if (PyErr_Occurred()) SWIG_fail
;
12954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12962 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12964 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12965 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12966 return SWIG_Py_Void();
12969 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12970 return SWIG_Python_InitShadowInstance(args
);
12973 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12974 PyObject
*resultobj
= 0;
12975 wxWindow
*arg1
= (wxWindow
*) 0 ;
12976 int arg2
= (int) wxBORDER_NONE
;
12977 wxPopupWindow
*result
= 0 ;
12982 PyObject
* obj0
= 0 ;
12983 PyObject
* obj1
= 0 ;
12984 char * kwnames
[] = {
12985 (char *) "parent",(char *) "flags", NULL
12988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12990 if (!SWIG_IsOK(res1
)) {
12991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12993 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12995 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12996 if (!SWIG_IsOK(ecode2
)) {
12997 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12999 arg2
= static_cast< int >(val2
);
13002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13003 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13004 wxPyEndAllowThreads(__tstate
);
13005 if (PyErr_Occurred()) SWIG_fail
;
13007 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13014 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13015 PyObject
*resultobj
= 0;
13016 wxPopupWindow
*result
= 0 ;
13018 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13021 result
= (wxPopupWindow
*)new wxPopupWindow();
13022 wxPyEndAllowThreads(__tstate
);
13023 if (PyErr_Occurred()) SWIG_fail
;
13025 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13032 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13034 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13035 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13036 return SWIG_Py_Void();
13039 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13040 return SWIG_Python_InitShadowInstance(args
);
13043 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13044 PyObject
*resultobj
= 0;
13045 wxWindow
*arg1
= (wxWindow
*) 0 ;
13046 int arg2
= (int) wxBORDER_NONE
;
13047 wxPyPopupTransientWindow
*result
= 0 ;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 char * kwnames
[] = {
13055 (char *) "parent",(char *) "style", NULL
13058 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13059 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13060 if (!SWIG_IsOK(res1
)) {
13061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13063 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13065 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13066 if (!SWIG_IsOK(ecode2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13069 arg2
= static_cast< int >(val2
);
13072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13073 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13074 wxPyEndAllowThreads(__tstate
);
13075 if (PyErr_Occurred()) SWIG_fail
;
13077 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13084 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13085 PyObject
*resultobj
= 0;
13086 wxPyPopupTransientWindow
*result
= 0 ;
13088 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13091 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13092 wxPyEndAllowThreads(__tstate
);
13093 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13102 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13104 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13105 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13106 return SWIG_Py_Void();
13109 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13110 return SWIG_Python_InitShadowInstance(args
);
13113 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13114 PyObject
*resultobj
= 0;
13115 wxWindow
*arg1
= (wxWindow
*) 0 ;
13116 wxString
*arg2
= 0 ;
13117 int arg3
= (int) 100 ;
13118 wxRect
*arg4
= (wxRect
*) NULL
;
13119 wxTipWindow
*result
= 0 ;
13122 bool temp2
= false ;
13127 PyObject
* obj0
= 0 ;
13128 PyObject
* obj1
= 0 ;
13129 PyObject
* obj2
= 0 ;
13130 PyObject
* obj3
= 0 ;
13131 char * kwnames
[] = {
13132 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13137 if (!SWIG_IsOK(res1
)) {
13138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13140 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13142 arg2
= wxString_in_helper(obj1
);
13143 if (arg2
== NULL
) SWIG_fail
;
13147 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13148 if (!SWIG_IsOK(ecode3
)) {
13149 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13151 arg3
= static_cast< int >(val3
);
13154 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13155 if (!SWIG_IsOK(res4
)) {
13156 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13158 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13161 if (!wxPyCheckForApp()) SWIG_fail
;
13162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13163 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13164 wxPyEndAllowThreads(__tstate
);
13165 if (PyErr_Occurred()) SWIG_fail
;
13167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13182 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13183 PyObject
*resultobj
= 0;
13184 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13189 PyObject
* obj0
= 0 ;
13190 PyObject
* obj1
= 0 ;
13191 char * kwnames
[] = {
13192 (char *) "self",(char *) "rectBound", NULL
13195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13197 if (!SWIG_IsOK(res1
)) {
13198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13200 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13203 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13207 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13208 wxPyEndAllowThreads(__tstate
);
13209 if (PyErr_Occurred()) SWIG_fail
;
13211 resultobj
= SWIG_Py_Void();
13218 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13219 PyObject
*resultobj
= 0;
13220 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13223 PyObject
*swig_obj
[1] ;
13225 if (!args
) SWIG_fail
;
13226 swig_obj
[0] = args
;
13227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13228 if (!SWIG_IsOK(res1
)) {
13229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13231 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13235 wxPyEndAllowThreads(__tstate
);
13236 if (PyErr_Occurred()) SWIG_fail
;
13238 resultobj
= SWIG_Py_Void();
13245 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13247 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13248 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13249 return SWIG_Py_Void();
13252 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13253 return SWIG_Python_InitShadowInstance(args
);
13256 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13257 PyObject
*resultobj
= 0;
13258 wxWindow
*arg1
= (wxWindow
*) 0 ;
13259 int arg2
= (int) wxID_ANY
;
13260 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13261 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13262 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13263 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13264 long arg5
= (long) 0 ;
13265 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13266 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13267 wxPyVScrolledWindow
*result
= 0 ;
13276 bool temp6
= false ;
13277 PyObject
* obj0
= 0 ;
13278 PyObject
* obj1
= 0 ;
13279 PyObject
* obj2
= 0 ;
13280 PyObject
* obj3
= 0 ;
13281 PyObject
* obj4
= 0 ;
13282 PyObject
* obj5
= 0 ;
13283 char * kwnames
[] = {
13284 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13289 if (!SWIG_IsOK(res1
)) {
13290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13292 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13295 if (!SWIG_IsOK(ecode2
)) {
13296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13298 arg2
= static_cast< int >(val2
);
13303 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13309 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13313 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13314 if (!SWIG_IsOK(ecode5
)) {
13315 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13317 arg5
= static_cast< long >(val5
);
13321 arg6
= wxString_in_helper(obj5
);
13322 if (arg6
== NULL
) SWIG_fail
;
13327 if (!wxPyCheckForApp()) SWIG_fail
;
13328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13329 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13330 wxPyEndAllowThreads(__tstate
);
13331 if (PyErr_Occurred()) SWIG_fail
;
13333 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13348 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxPyVScrolledWindow
*result
= 0 ;
13352 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13367 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13368 PyObject
*resultobj
= 0;
13369 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13370 PyObject
*arg2
= (PyObject
*) 0 ;
13371 PyObject
*arg3
= (PyObject
*) 0 ;
13374 PyObject
* obj0
= 0 ;
13375 PyObject
* obj1
= 0 ;
13376 PyObject
* obj2
= 0 ;
13377 char * kwnames
[] = {
13378 (char *) "self",(char *) "self",(char *) "_class", NULL
13381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13383 if (!SWIG_IsOK(res1
)) {
13384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13386 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13391 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13392 wxPyEndAllowThreads(__tstate
);
13393 if (PyErr_Occurred()) SWIG_fail
;
13395 resultobj
= SWIG_Py_Void();
13402 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13403 PyObject
*resultobj
= 0;
13404 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13405 wxWindow
*arg2
= (wxWindow
*) 0 ;
13406 int arg3
= (int) wxID_ANY
;
13407 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13408 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13409 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13410 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13411 long arg6
= (long) 0 ;
13412 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13413 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13425 bool temp7
= false ;
13426 PyObject
* obj0
= 0 ;
13427 PyObject
* obj1
= 0 ;
13428 PyObject
* obj2
= 0 ;
13429 PyObject
* obj3
= 0 ;
13430 PyObject
* obj4
= 0 ;
13431 PyObject
* obj5
= 0 ;
13432 PyObject
* obj6
= 0 ;
13433 char * kwnames
[] = {
13434 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13437 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13438 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13439 if (!SWIG_IsOK(res1
)) {
13440 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13442 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13443 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13444 if (!SWIG_IsOK(res2
)) {
13445 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13447 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13449 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13450 if (!SWIG_IsOK(ecode3
)) {
13451 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13453 arg3
= static_cast< int >(val3
);
13458 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13464 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13468 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13469 if (!SWIG_IsOK(ecode6
)) {
13470 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13472 arg6
= static_cast< long >(val6
);
13476 arg7
= wxString_in_helper(obj6
);
13477 if (arg7
== NULL
) SWIG_fail
;
13482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13483 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13484 wxPyEndAllowThreads(__tstate
);
13485 if (PyErr_Occurred()) SWIG_fail
;
13488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13504 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13505 PyObject
*resultobj
= 0;
13506 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13512 PyObject
* obj0
= 0 ;
13513 PyObject
* obj1
= 0 ;
13514 char * kwnames
[] = {
13515 (char *) "self",(char *) "count", NULL
13518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13520 if (!SWIG_IsOK(res1
)) {
13521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13523 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13524 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13525 if (!SWIG_IsOK(ecode2
)) {
13526 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13528 arg2
= static_cast< size_t >(val2
);
13530 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13531 (arg1
)->SetLineCount(arg2
);
13532 wxPyEndAllowThreads(__tstate
);
13533 if (PyErr_Occurred()) SWIG_fail
;
13535 resultobj
= SWIG_Py_Void();
13542 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13543 PyObject
*resultobj
= 0;
13544 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13551 PyObject
* obj0
= 0 ;
13552 PyObject
* obj1
= 0 ;
13553 char * kwnames
[] = {
13554 (char *) "self",(char *) "line", NULL
13557 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13558 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13559 if (!SWIG_IsOK(res1
)) {
13560 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13562 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13563 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13564 if (!SWIG_IsOK(ecode2
)) {
13565 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13567 arg2
= static_cast< size_t >(val2
);
13569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13570 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13571 wxPyEndAllowThreads(__tstate
);
13572 if (PyErr_Occurred()) SWIG_fail
;
13575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13583 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13584 PyObject
*resultobj
= 0;
13585 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13591 PyObject
* obj0
= 0 ;
13592 PyObject
* obj1
= 0 ;
13593 char * kwnames
[] = {
13594 (char *) "self",(char *) "line", NULL
13597 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13598 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13599 if (!SWIG_IsOK(res1
)) {
13600 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13602 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13603 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13604 if (!SWIG_IsOK(ecode2
)) {
13605 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13607 arg2
= static_cast< size_t >(val2
);
13609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13610 (arg1
)->RefreshLine(arg2
);
13611 wxPyEndAllowThreads(__tstate
);
13612 if (PyErr_Occurred()) SWIG_fail
;
13614 resultobj
= SWIG_Py_Void();
13621 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13622 PyObject
*resultobj
= 0;
13623 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13632 PyObject
* obj0
= 0 ;
13633 PyObject
* obj1
= 0 ;
13634 PyObject
* obj2
= 0 ;
13635 char * kwnames
[] = {
13636 (char *) "self",(char *) "from",(char *) "to", NULL
13639 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13640 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13641 if (!SWIG_IsOK(res1
)) {
13642 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13644 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13645 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13646 if (!SWIG_IsOK(ecode2
)) {
13647 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13649 arg2
= static_cast< size_t >(val2
);
13650 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13651 if (!SWIG_IsOK(ecode3
)) {
13652 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13654 arg3
= static_cast< size_t >(val3
);
13656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13657 (arg1
)->RefreshLines(arg2
,arg3
);
13658 wxPyEndAllowThreads(__tstate
);
13659 if (PyErr_Occurred()) SWIG_fail
;
13661 resultobj
= SWIG_Py_Void();
13668 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13669 PyObject
*resultobj
= 0;
13670 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 PyObject
* obj2
= 0 ;
13683 char * kwnames
[] = {
13684 (char *) "self",(char *) "x",(char *) "y", NULL
13687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13692 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13693 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13694 if (!SWIG_IsOK(ecode2
)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13697 arg2
= static_cast< int >(val2
);
13698 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13699 if (!SWIG_IsOK(ecode3
)) {
13700 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13702 arg3
= static_cast< int >(val3
);
13704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13705 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13706 wxPyEndAllowThreads(__tstate
);
13707 if (PyErr_Occurred()) SWIG_fail
;
13709 resultobj
= SWIG_From_int(static_cast< int >(result
));
13716 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13717 PyObject
*resultobj
= 0;
13718 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13719 wxPoint
*arg2
= 0 ;
13724 PyObject
* obj0
= 0 ;
13725 PyObject
* obj1
= 0 ;
13726 char * kwnames
[] = {
13727 (char *) "self",(char *) "pt", NULL
13730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13732 if (!SWIG_IsOK(res1
)) {
13733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13735 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13738 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13741 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13742 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13743 wxPyEndAllowThreads(__tstate
);
13744 if (PyErr_Occurred()) SWIG_fail
;
13746 resultobj
= SWIG_From_int(static_cast< int >(result
));
13753 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13754 PyObject
*resultobj
= 0;
13755 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13758 PyObject
*swig_obj
[1] ;
13760 if (!args
) SWIG_fail
;
13761 swig_obj
[0] = args
;
13762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13763 if (!SWIG_IsOK(res1
)) {
13764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13766 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13769 (arg1
)->RefreshAll();
13770 wxPyEndAllowThreads(__tstate
);
13771 if (PyErr_Occurred()) SWIG_fail
;
13773 resultobj
= SWIG_Py_Void();
13780 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13781 PyObject
*resultobj
= 0;
13782 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13786 PyObject
*swig_obj
[1] ;
13788 if (!args
) SWIG_fail
;
13789 swig_obj
[0] = args
;
13790 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13791 if (!SWIG_IsOK(res1
)) {
13792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13794 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13797 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13798 wxPyEndAllowThreads(__tstate
);
13799 if (PyErr_Occurred()) SWIG_fail
;
13801 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13808 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13809 PyObject
*resultobj
= 0;
13810 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13814 PyObject
*swig_obj
[1] ;
13816 if (!args
) SWIG_fail
;
13817 swig_obj
[0] = args
;
13818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13822 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13825 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13826 wxPyEndAllowThreads(__tstate
);
13827 if (PyErr_Occurred()) SWIG_fail
;
13829 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13836 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13837 PyObject
*resultobj
= 0;
13838 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13842 PyObject
*swig_obj
[1] ;
13844 if (!args
) SWIG_fail
;
13845 swig_obj
[0] = args
;
13846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13847 if (!SWIG_IsOK(res1
)) {
13848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13850 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13853 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13854 wxPyEndAllowThreads(__tstate
);
13855 if (PyErr_Occurred()) SWIG_fail
;
13857 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13864 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13865 PyObject
*resultobj
= 0;
13866 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 char * kwnames
[] = {
13876 (char *) "self",(char *) "line", NULL
13879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13881 if (!SWIG_IsOK(res1
)) {
13882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13884 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13886 if (!SWIG_IsOK(ecode2
)) {
13887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
13889 arg2
= static_cast< size_t >(val2
);
13891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13892 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
13893 wxPyEndAllowThreads(__tstate
);
13894 if (PyErr_Occurred()) SWIG_fail
;
13897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13905 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13906 PyObject
*resultobj
= 0;
13907 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13911 PyObject
*swig_obj
[1] ;
13913 if (!args
) SWIG_fail
;
13914 swig_obj
[0] = args
;
13915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13916 if (!SWIG_IsOK(res1
)) {
13917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13919 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13922 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
13923 wxPyEndAllowThreads(__tstate
);
13924 if (PyErr_Occurred()) SWIG_fail
;
13926 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13933 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13934 PyObject
*resultobj
= 0;
13935 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13939 PyObject
*swig_obj
[1] ;
13941 if (!args
) SWIG_fail
;
13942 swig_obj
[0] = args
;
13943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13944 if (!SWIG_IsOK(res1
)) {
13945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13947 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13950 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
13951 wxPyEndAllowThreads(__tstate
);
13952 if (PyErr_Occurred()) SWIG_fail
;
13954 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13961 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13962 PyObject
*resultobj
= 0;
13963 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13965 bool arg3
= (bool) false ;
13973 PyObject
* obj0
= 0 ;
13974 PyObject
* obj1
= 0 ;
13975 PyObject
* obj2
= 0 ;
13976 char * kwnames
[] = {
13977 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
13980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13982 if (!SWIG_IsOK(res1
)) {
13983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13985 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13986 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13987 if (!SWIG_IsOK(ecode2
)) {
13988 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
13990 arg2
= static_cast< size_t >(val2
);
13992 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
13993 if (!SWIG_IsOK(ecode3
)) {
13994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
13996 arg3
= static_cast< bool >(val3
);
13999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14000 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14001 wxPyEndAllowThreads(__tstate
);
14002 if (PyErr_Occurred()) SWIG_fail
;
14004 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14011 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14012 PyObject
*resultobj
= 0;
14013 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14023 PyObject
* obj0
= 0 ;
14024 PyObject
* obj1
= 0 ;
14025 PyObject
* obj2
= 0 ;
14026 char * kwnames
[] = {
14027 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14032 if (!SWIG_IsOK(res1
)) {
14033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14035 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14036 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14037 if (!SWIG_IsOK(ecode2
)) {
14038 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14040 arg2
= static_cast< size_t >(val2
);
14041 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14042 if (!SWIG_IsOK(ecode3
)) {
14043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14045 arg3
= static_cast< size_t >(val3
);
14047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14048 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14049 wxPyEndAllowThreads(__tstate
);
14050 if (PyErr_Occurred()) SWIG_fail
;
14052 resultobj
= SWIG_From_int(static_cast< int >(result
));
14059 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14061 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14062 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14063 return SWIG_Py_Void();
14066 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14067 return SWIG_Python_InitShadowInstance(args
);
14070 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14071 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14076 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14077 PyObject
*pyobj
= 0;
14081 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14083 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14090 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= 0;
14092 wxWindow
*arg1
= (wxWindow
*) 0 ;
14093 int arg2
= (int) wxID_ANY
;
14094 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14095 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14096 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14097 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14098 long arg5
= (long) 0 ;
14099 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14100 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14101 wxPyVListBox
*result
= 0 ;
14110 bool temp6
= false ;
14111 PyObject
* obj0
= 0 ;
14112 PyObject
* obj1
= 0 ;
14113 PyObject
* obj2
= 0 ;
14114 PyObject
* obj3
= 0 ;
14115 PyObject
* obj4
= 0 ;
14116 PyObject
* obj5
= 0 ;
14117 char * kwnames
[] = {
14118 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14123 if (!SWIG_IsOK(res1
)) {
14124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14126 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14128 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14129 if (!SWIG_IsOK(ecode2
)) {
14130 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14132 arg2
= static_cast< int >(val2
);
14137 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14143 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14147 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14148 if (!SWIG_IsOK(ecode5
)) {
14149 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14151 arg5
= static_cast< long >(val5
);
14155 arg6
= wxString_in_helper(obj5
);
14156 if (arg6
== NULL
) SWIG_fail
;
14161 if (!wxPyCheckForApp()) SWIG_fail
;
14162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14163 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14164 wxPyEndAllowThreads(__tstate
);
14165 if (PyErr_Occurred()) SWIG_fail
;
14167 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14182 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14183 PyObject
*resultobj
= 0;
14184 wxPyVListBox
*result
= 0 ;
14186 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14188 if (!wxPyCheckForApp()) SWIG_fail
;
14189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14190 result
= (wxPyVListBox
*)new wxPyVListBox();
14191 wxPyEndAllowThreads(__tstate
);
14192 if (PyErr_Occurred()) SWIG_fail
;
14194 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14201 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14202 PyObject
*resultobj
= 0;
14203 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14204 PyObject
*arg2
= (PyObject
*) 0 ;
14205 PyObject
*arg3
= (PyObject
*) 0 ;
14208 PyObject
* obj0
= 0 ;
14209 PyObject
* obj1
= 0 ;
14210 PyObject
* obj2
= 0 ;
14211 char * kwnames
[] = {
14212 (char *) "self",(char *) "self",(char *) "_class", NULL
14215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14217 if (!SWIG_IsOK(res1
)) {
14218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14220 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14225 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14226 wxPyEndAllowThreads(__tstate
);
14227 if (PyErr_Occurred()) SWIG_fail
;
14229 resultobj
= SWIG_Py_Void();
14236 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14237 PyObject
*resultobj
= 0;
14238 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14239 wxWindow
*arg2
= (wxWindow
*) 0 ;
14240 int arg3
= (int) wxID_ANY
;
14241 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14242 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14243 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14244 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14245 long arg6
= (long) 0 ;
14246 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14247 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14259 bool temp7
= false ;
14260 PyObject
* obj0
= 0 ;
14261 PyObject
* obj1
= 0 ;
14262 PyObject
* obj2
= 0 ;
14263 PyObject
* obj3
= 0 ;
14264 PyObject
* obj4
= 0 ;
14265 PyObject
* obj5
= 0 ;
14266 PyObject
* obj6
= 0 ;
14267 char * kwnames
[] = {
14268 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14271 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14272 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14273 if (!SWIG_IsOK(res1
)) {
14274 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14276 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14277 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14278 if (!SWIG_IsOK(res2
)) {
14279 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14281 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14283 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14284 if (!SWIG_IsOK(ecode3
)) {
14285 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14287 arg3
= static_cast< int >(val3
);
14292 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14298 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14302 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14303 if (!SWIG_IsOK(ecode6
)) {
14304 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14306 arg6
= static_cast< long >(val6
);
14310 arg7
= wxString_in_helper(obj6
);
14311 if (arg7
== NULL
) SWIG_fail
;
14316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14317 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14318 wxPyEndAllowThreads(__tstate
);
14319 if (PyErr_Occurred()) SWIG_fail
;
14322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14338 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14339 PyObject
*resultobj
= 0;
14340 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14344 PyObject
*swig_obj
[1] ;
14346 if (!args
) SWIG_fail
;
14347 swig_obj
[0] = args
;
14348 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14349 if (!SWIG_IsOK(res1
)) {
14350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14352 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14366 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14367 PyObject
*resultobj
= 0;
14368 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14372 PyObject
*swig_obj
[1] ;
14374 if (!args
) SWIG_fail
;
14375 swig_obj
[0] = args
;
14376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14377 if (!SWIG_IsOK(res1
)) {
14378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14380 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14388 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14396 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14397 PyObject
*resultobj
= 0;
14398 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14402 PyObject
*swig_obj
[1] ;
14404 if (!args
) SWIG_fail
;
14405 swig_obj
[0] = args
;
14406 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14407 if (!SWIG_IsOK(res1
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14410 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14412 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14413 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14414 wxPyEndAllowThreads(__tstate
);
14415 if (PyErr_Occurred()) SWIG_fail
;
14417 resultobj
= SWIG_From_int(static_cast< int >(result
));
14424 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14425 PyObject
*resultobj
= 0;
14426 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14433 PyObject
* obj0
= 0 ;
14434 PyObject
* obj1
= 0 ;
14435 char * kwnames
[] = {
14436 (char *) "self",(char *) "item", NULL
14439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14440 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14441 if (!SWIG_IsOK(res1
)) {
14442 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14444 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14445 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14446 if (!SWIG_IsOK(ecode2
)) {
14447 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14449 arg2
= static_cast< size_t >(val2
);
14451 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14452 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14453 wxPyEndAllowThreads(__tstate
);
14454 if (PyErr_Occurred()) SWIG_fail
;
14457 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14465 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14466 PyObject
*resultobj
= 0;
14467 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14474 PyObject
* obj0
= 0 ;
14475 PyObject
* obj1
= 0 ;
14476 char * kwnames
[] = {
14477 (char *) "self",(char *) "item", NULL
14480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14482 if (!SWIG_IsOK(res1
)) {
14483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14485 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14486 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14487 if (!SWIG_IsOK(ecode2
)) {
14488 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14490 arg2
= static_cast< size_t >(val2
);
14492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14493 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14494 wxPyEndAllowThreads(__tstate
);
14495 if (PyErr_Occurred()) SWIG_fail
;
14498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14506 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14507 PyObject
*resultobj
= 0;
14508 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14512 PyObject
*swig_obj
[1] ;
14514 if (!args
) SWIG_fail
;
14515 swig_obj
[0] = args
;
14516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14517 if (!SWIG_IsOK(res1
)) {
14518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14520 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14523 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14524 wxPyEndAllowThreads(__tstate
);
14525 if (PyErr_Occurred()) SWIG_fail
;
14527 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14534 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14535 PyObject
*resultobj
= 0;
14536 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14537 PyObject
*result
= 0 ;
14540 PyObject
*swig_obj
[1] ;
14542 if (!args
) SWIG_fail
;
14543 swig_obj
[0] = args
;
14544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14545 if (!SWIG_IsOK(res1
)) {
14546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14548 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14551 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14552 wxPyEndAllowThreads(__tstate
);
14553 if (PyErr_Occurred()) SWIG_fail
;
14555 resultobj
= result
;
14562 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14563 PyObject
*resultobj
= 0;
14564 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14565 unsigned long arg2
;
14566 PyObject
*result
= 0 ;
14569 unsigned long val2
;
14571 PyObject
* obj0
= 0 ;
14572 PyObject
* obj1
= 0 ;
14573 char * kwnames
[] = {
14574 (char *) "self",(char *) "cookie", NULL
14577 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14578 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14579 if (!SWIG_IsOK(res1
)) {
14580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14582 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14583 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14584 if (!SWIG_IsOK(ecode2
)) {
14585 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14587 arg2
= static_cast< unsigned long >(val2
);
14589 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14590 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14591 wxPyEndAllowThreads(__tstate
);
14592 if (PyErr_Occurred()) SWIG_fail
;
14594 resultobj
= result
;
14601 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14602 PyObject
*resultobj
= 0;
14603 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14607 PyObject
*swig_obj
[1] ;
14609 if (!args
) SWIG_fail
;
14610 swig_obj
[0] = args
;
14611 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14615 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14618 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14619 wxPyEndAllowThreads(__tstate
);
14620 if (PyErr_Occurred()) SWIG_fail
;
14622 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14629 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14630 PyObject
*resultobj
= 0;
14631 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14632 wxColour
*result
= 0 ;
14635 PyObject
*swig_obj
[1] ;
14637 if (!args
) SWIG_fail
;
14638 swig_obj
[0] = args
;
14639 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14640 if (!SWIG_IsOK(res1
)) {
14641 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14643 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14645 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14647 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14648 result
= (wxColour
*) &_result_ref
;
14650 wxPyEndAllowThreads(__tstate
);
14651 if (PyErr_Occurred()) SWIG_fail
;
14653 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14660 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14661 PyObject
*resultobj
= 0;
14662 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14668 PyObject
* obj0
= 0 ;
14669 PyObject
* obj1
= 0 ;
14670 char * kwnames
[] = {
14671 (char *) "self",(char *) "count", NULL
14674 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14675 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14676 if (!SWIG_IsOK(res1
)) {
14677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14679 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14680 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14681 if (!SWIG_IsOK(ecode2
)) {
14682 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14684 arg2
= static_cast< size_t >(val2
);
14686 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14687 (arg1
)->SetItemCount(arg2
);
14688 wxPyEndAllowThreads(__tstate
);
14689 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= SWIG_Py_Void();
14698 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14699 PyObject
*resultobj
= 0;
14700 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14703 PyObject
*swig_obj
[1] ;
14705 if (!args
) SWIG_fail
;
14706 swig_obj
[0] = args
;
14707 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14708 if (!SWIG_IsOK(res1
)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14711 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14715 wxPyEndAllowThreads(__tstate
);
14716 if (PyErr_Occurred()) SWIG_fail
;
14718 resultobj
= SWIG_Py_Void();
14725 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14726 PyObject
*resultobj
= 0;
14727 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14733 PyObject
* obj0
= 0 ;
14734 PyObject
* obj1
= 0 ;
14735 char * kwnames
[] = {
14736 (char *) "self",(char *) "selection", NULL
14739 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14740 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14744 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14745 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14746 if (!SWIG_IsOK(ecode2
)) {
14747 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14749 arg2
= static_cast< int >(val2
);
14751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14752 (arg1
)->SetSelection(arg2
);
14753 wxPyEndAllowThreads(__tstate
);
14754 if (PyErr_Occurred()) SWIG_fail
;
14756 resultobj
= SWIG_Py_Void();
14763 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14764 PyObject
*resultobj
= 0;
14765 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14767 bool arg3
= (bool) true ;
14775 PyObject
* obj0
= 0 ;
14776 PyObject
* obj1
= 0 ;
14777 PyObject
* obj2
= 0 ;
14778 char * kwnames
[] = {
14779 (char *) "self",(char *) "item",(char *) "select", NULL
14782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14784 if (!SWIG_IsOK(res1
)) {
14785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14787 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14788 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14789 if (!SWIG_IsOK(ecode2
)) {
14790 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14792 arg2
= static_cast< size_t >(val2
);
14794 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14795 if (!SWIG_IsOK(ecode3
)) {
14796 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14798 arg3
= static_cast< bool >(val3
);
14801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14802 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14803 wxPyEndAllowThreads(__tstate
);
14804 if (PyErr_Occurred()) SWIG_fail
;
14807 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14815 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14816 PyObject
*resultobj
= 0;
14817 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14827 PyObject
* obj0
= 0 ;
14828 PyObject
* obj1
= 0 ;
14829 PyObject
* obj2
= 0 ;
14830 char * kwnames
[] = {
14831 (char *) "self",(char *) "from",(char *) "to", NULL
14834 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14835 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14836 if (!SWIG_IsOK(res1
)) {
14837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14839 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14840 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14841 if (!SWIG_IsOK(ecode2
)) {
14842 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14844 arg2
= static_cast< size_t >(val2
);
14845 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14846 if (!SWIG_IsOK(ecode3
)) {
14847 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14849 arg3
= static_cast< size_t >(val3
);
14851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14852 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14853 wxPyEndAllowThreads(__tstate
);
14854 if (PyErr_Occurred()) SWIG_fail
;
14857 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14865 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14866 PyObject
*resultobj
= 0;
14867 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14873 PyObject
* obj0
= 0 ;
14874 PyObject
* obj1
= 0 ;
14875 char * kwnames
[] = {
14876 (char *) "self",(char *) "item", NULL
14879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14881 if (!SWIG_IsOK(res1
)) {
14882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14884 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14885 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14886 if (!SWIG_IsOK(ecode2
)) {
14887 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
14889 arg2
= static_cast< size_t >(val2
);
14891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14892 (arg1
)->Toggle(arg2
);
14893 wxPyEndAllowThreads(__tstate
);
14894 if (PyErr_Occurred()) SWIG_fail
;
14896 resultobj
= SWIG_Py_Void();
14903 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14904 PyObject
*resultobj
= 0;
14905 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14909 PyObject
*swig_obj
[1] ;
14911 if (!args
) SWIG_fail
;
14912 swig_obj
[0] = args
;
14913 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14917 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14919 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14920 result
= (bool)(arg1
)->SelectAll();
14921 wxPyEndAllowThreads(__tstate
);
14922 if (PyErr_Occurred()) SWIG_fail
;
14925 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14933 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14934 PyObject
*resultobj
= 0;
14935 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14939 PyObject
*swig_obj
[1] ;
14941 if (!args
) SWIG_fail
;
14942 swig_obj
[0] = args
;
14943 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14944 if (!SWIG_IsOK(res1
)) {
14945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14947 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14949 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14950 result
= (bool)(arg1
)->DeselectAll();
14951 wxPyEndAllowThreads(__tstate
);
14952 if (PyErr_Occurred()) SWIG_fail
;
14955 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14963 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14964 PyObject
*resultobj
= 0;
14965 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14966 wxPoint
*arg2
= 0 ;
14970 PyObject
* obj0
= 0 ;
14971 PyObject
* obj1
= 0 ;
14972 char * kwnames
[] = {
14973 (char *) "self",(char *) "pt", NULL
14976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14978 if (!SWIG_IsOK(res1
)) {
14979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14981 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14984 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
14987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14988 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
14989 wxPyEndAllowThreads(__tstate
);
14990 if (PyErr_Occurred()) SWIG_fail
;
14992 resultobj
= SWIG_Py_Void();
14999 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15000 PyObject
*resultobj
= 0;
15001 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15010 PyObject
* obj0
= 0 ;
15011 PyObject
* obj1
= 0 ;
15012 PyObject
* obj2
= 0 ;
15013 char * kwnames
[] = {
15014 (char *) "self",(char *) "x",(char *) "y", NULL
15017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15019 if (!SWIG_IsOK(res1
)) {
15020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15022 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15023 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15024 if (!SWIG_IsOK(ecode2
)) {
15025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15027 arg2
= static_cast< int >(val2
);
15028 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15029 if (!SWIG_IsOK(ecode3
)) {
15030 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15032 arg3
= static_cast< int >(val3
);
15034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15035 (arg1
)->SetMargins(arg2
,arg3
);
15036 wxPyEndAllowThreads(__tstate
);
15037 if (PyErr_Occurred()) SWIG_fail
;
15039 resultobj
= SWIG_Py_Void();
15046 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15047 PyObject
*resultobj
= 0;
15048 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15049 wxColour
*arg2
= 0 ;
15053 PyObject
* obj0
= 0 ;
15054 PyObject
* obj1
= 0 ;
15055 char * kwnames
[] = {
15056 (char *) "self",(char *) "col", NULL
15059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15061 if (!SWIG_IsOK(res1
)) {
15062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15064 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15067 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15071 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15072 wxPyEndAllowThreads(__tstate
);
15073 if (PyErr_Occurred()) SWIG_fail
;
15075 resultobj
= SWIG_Py_Void();
15082 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15083 PyObject
*resultobj
= 0;
15084 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15095 PyObject
* obj0
= 0 ;
15096 PyObject
* obj1
= 0 ;
15097 PyObject
* obj2
= 0 ;
15098 PyObject
* obj3
= 0 ;
15099 char * kwnames
[] = {
15100 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15103 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15104 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15105 if (!SWIG_IsOK(res1
)) {
15106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15108 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15109 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15110 if (!SWIG_IsOK(res2
)) {
15111 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15114 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15119 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15121 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15122 if (!SWIG_IsOK(ecode4
)) {
15123 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15125 arg4
= static_cast< size_t >(val4
);
15127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15128 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15129 wxPyEndAllowThreads(__tstate
);
15130 if (PyErr_Occurred()) SWIG_fail
;
15132 resultobj
= SWIG_Py_Void();
15139 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15140 PyObject
*resultobj
= 0;
15141 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15152 PyObject
* obj0
= 0 ;
15153 PyObject
* obj1
= 0 ;
15154 PyObject
* obj2
= 0 ;
15155 PyObject
* obj3
= 0 ;
15156 char * kwnames
[] = {
15157 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15162 if (!SWIG_IsOK(res1
)) {
15163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15165 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15166 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15167 if (!SWIG_IsOK(res2
)) {
15168 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15171 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15173 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15176 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15178 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15179 if (!SWIG_IsOK(ecode4
)) {
15180 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15182 arg4
= static_cast< size_t >(val4
);
15184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15185 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15186 wxPyEndAllowThreads(__tstate
);
15187 if (PyErr_Occurred()) SWIG_fail
;
15189 resultobj
= SWIG_Py_Void();
15196 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15198 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15199 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15200 return SWIG_Py_Void();
15203 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15204 return SWIG_Python_InitShadowInstance(args
);
15207 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15208 PyObject
*resultobj
= 0;
15209 wxWindow
*arg1
= (wxWindow
*) 0 ;
15210 int arg2
= (int) wxID_ANY
;
15211 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15212 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15213 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15214 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15215 long arg5
= (long) 0 ;
15216 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15217 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15218 wxPyHtmlListBox
*result
= 0 ;
15227 bool temp6
= false ;
15228 PyObject
* obj0
= 0 ;
15229 PyObject
* obj1
= 0 ;
15230 PyObject
* obj2
= 0 ;
15231 PyObject
* obj3
= 0 ;
15232 PyObject
* obj4
= 0 ;
15233 PyObject
* obj5
= 0 ;
15234 char * kwnames
[] = {
15235 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15240 if (!SWIG_IsOK(res1
)) {
15241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15243 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15246 if (!SWIG_IsOK(ecode2
)) {
15247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15249 arg2
= static_cast< int >(val2
);
15254 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15260 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15264 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15265 if (!SWIG_IsOK(ecode5
)) {
15266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15268 arg5
= static_cast< long >(val5
);
15272 arg6
= wxString_in_helper(obj5
);
15273 if (arg6
== NULL
) SWIG_fail
;
15278 if (!wxPyCheckForApp()) SWIG_fail
;
15279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15280 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15281 wxPyEndAllowThreads(__tstate
);
15282 if (PyErr_Occurred()) SWIG_fail
;
15284 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15299 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15300 PyObject
*resultobj
= 0;
15301 wxPyHtmlListBox
*result
= 0 ;
15303 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15305 if (!wxPyCheckForApp()) SWIG_fail
;
15306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15307 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15308 wxPyEndAllowThreads(__tstate
);
15309 if (PyErr_Occurred()) SWIG_fail
;
15311 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15318 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15319 PyObject
*resultobj
= 0;
15320 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15321 PyObject
*arg2
= (PyObject
*) 0 ;
15322 PyObject
*arg3
= (PyObject
*) 0 ;
15325 PyObject
* obj0
= 0 ;
15326 PyObject
* obj1
= 0 ;
15327 PyObject
* obj2
= 0 ;
15328 char * kwnames
[] = {
15329 (char *) "self",(char *) "self",(char *) "_class", NULL
15332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15334 if (!SWIG_IsOK(res1
)) {
15335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15337 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_Py_Void();
15353 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15354 PyObject
*resultobj
= 0;
15355 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15356 wxWindow
*arg2
= (wxWindow
*) 0 ;
15357 int arg3
= (int) wxID_ANY
;
15358 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15359 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15360 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15361 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15362 long arg6
= (long) 0 ;
15363 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15364 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15376 bool temp7
= false ;
15377 PyObject
* obj0
= 0 ;
15378 PyObject
* obj1
= 0 ;
15379 PyObject
* obj2
= 0 ;
15380 PyObject
* obj3
= 0 ;
15381 PyObject
* obj4
= 0 ;
15382 PyObject
* obj5
= 0 ;
15383 PyObject
* obj6
= 0 ;
15384 char * kwnames
[] = {
15385 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15390 if (!SWIG_IsOK(res1
)) {
15391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15393 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15394 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15395 if (!SWIG_IsOK(res2
)) {
15396 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15398 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15401 if (!SWIG_IsOK(ecode3
)) {
15402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15404 arg3
= static_cast< int >(val3
);
15409 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15415 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15419 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15420 if (!SWIG_IsOK(ecode6
)) {
15421 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15423 arg6
= static_cast< long >(val6
);
15427 arg7
= wxString_in_helper(obj6
);
15428 if (arg7
== NULL
) SWIG_fail
;
15433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15434 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15435 wxPyEndAllowThreads(__tstate
);
15436 if (PyErr_Occurred()) SWIG_fail
;
15439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15455 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15456 PyObject
*resultobj
= 0;
15457 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15463 PyObject
* obj0
= 0 ;
15464 PyObject
* obj1
= 0 ;
15465 char * kwnames
[] = {
15466 (char *) "self",(char *) "count", NULL
15469 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15470 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15471 if (!SWIG_IsOK(res1
)) {
15472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15474 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15475 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15476 if (!SWIG_IsOK(ecode2
)) {
15477 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15479 arg2
= static_cast< size_t >(val2
);
15481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15482 (arg1
)->SetItemCount(arg2
);
15483 wxPyEndAllowThreads(__tstate
);
15484 if (PyErr_Occurred()) SWIG_fail
;
15486 resultobj
= SWIG_Py_Void();
15493 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15494 PyObject
*resultobj
= 0;
15495 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15496 wxFileSystem
*result
= 0 ;
15499 PyObject
*swig_obj
[1] ;
15501 if (!args
) SWIG_fail
;
15502 swig_obj
[0] = args
;
15503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15504 if (!SWIG_IsOK(res1
)) {
15505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15507 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15511 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15512 result
= (wxFileSystem
*) &_result_ref
;
15514 wxPyEndAllowThreads(__tstate
);
15515 if (PyErr_Occurred()) SWIG_fail
;
15517 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15524 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15525 PyObject
*resultobj
= 0;
15526 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15528 wxHtmlLinkInfo
*arg3
= 0 ;
15535 PyObject
* obj0
= 0 ;
15536 PyObject
* obj1
= 0 ;
15537 PyObject
* obj2
= 0 ;
15538 char * kwnames
[] = {
15539 (char *) "self",(char *) "n",(char *) "link", NULL
15542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15544 if (!SWIG_IsOK(res1
)) {
15545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15547 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15548 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15549 if (!SWIG_IsOK(ecode2
)) {
15550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15552 arg2
= static_cast< size_t >(val2
);
15553 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15554 if (!SWIG_IsOK(res3
)) {
15555 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15558 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15560 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15562 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15563 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15564 wxPyEndAllowThreads(__tstate
);
15565 if (PyErr_Occurred()) SWIG_fail
;
15567 resultobj
= SWIG_Py_Void();
15574 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15576 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15577 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15578 return SWIG_Py_Void();
15581 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15582 return SWIG_Python_InitShadowInstance(args
);
15585 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15586 PyObject
*resultobj
= 0;
15587 wxPyTaskBarIcon
*result
= 0 ;
15589 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15591 if (!wxPyCheckForApp()) SWIG_fail
;
15592 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15593 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15594 wxPyEndAllowThreads(__tstate
);
15595 if (PyErr_Occurred()) SWIG_fail
;
15597 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15604 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15605 PyObject
*resultobj
= 0;
15606 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15609 PyObject
*swig_obj
[1] ;
15611 if (!args
) SWIG_fail
;
15612 swig_obj
[0] = args
;
15613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15614 if (!SWIG_IsOK(res1
)) {
15615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15617 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15622 wxPyEndAllowThreads(__tstate
);
15623 if (PyErr_Occurred()) SWIG_fail
;
15625 resultobj
= SWIG_Py_Void();
15632 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15633 PyObject
*resultobj
= 0;
15634 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15635 PyObject
*arg2
= (PyObject
*) 0 ;
15636 PyObject
*arg3
= (PyObject
*) 0 ;
15642 PyObject
* obj0
= 0 ;
15643 PyObject
* obj1
= 0 ;
15644 PyObject
* obj2
= 0 ;
15645 PyObject
* obj3
= 0 ;
15646 char * kwnames
[] = {
15647 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15652 if (!SWIG_IsOK(res1
)) {
15653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15655 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15658 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15659 if (!SWIG_IsOK(ecode4
)) {
15660 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15662 arg4
= static_cast< int >(val4
);
15664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15665 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15666 wxPyEndAllowThreads(__tstate
);
15667 if (PyErr_Occurred()) SWIG_fail
;
15669 resultobj
= SWIG_Py_Void();
15676 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15677 PyObject
*resultobj
= 0;
15678 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15681 PyObject
*swig_obj
[1] ;
15683 if (!args
) SWIG_fail
;
15684 swig_obj
[0] = args
;
15685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15686 if (!SWIG_IsOK(res1
)) {
15687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15689 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15692 wxPyTaskBarIcon_Destroy(arg1
);
15693 wxPyEndAllowThreads(__tstate
);
15694 if (PyErr_Occurred()) SWIG_fail
;
15696 resultobj
= SWIG_Py_Void();
15703 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15704 PyObject
*resultobj
= 0;
15705 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15709 PyObject
*swig_obj
[1] ;
15711 if (!args
) SWIG_fail
;
15712 swig_obj
[0] = args
;
15713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15714 if (!SWIG_IsOK(res1
)) {
15715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15717 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15725 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15733 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15734 PyObject
*resultobj
= 0;
15735 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15739 PyObject
*swig_obj
[1] ;
15741 if (!args
) SWIG_fail
;
15742 swig_obj
[0] = args
;
15743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15744 if (!SWIG_IsOK(res1
)) {
15745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15747 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15750 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15751 wxPyEndAllowThreads(__tstate
);
15752 if (PyErr_Occurred()) SWIG_fail
;
15755 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15763 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15764 PyObject
*resultobj
= 0;
15765 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15767 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15768 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15774 bool temp3
= false ;
15775 PyObject
* obj0
= 0 ;
15776 PyObject
* obj1
= 0 ;
15777 PyObject
* obj2
= 0 ;
15778 char * kwnames
[] = {
15779 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15784 if (!SWIG_IsOK(res1
)) {
15785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15787 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15788 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15789 if (!SWIG_IsOK(res2
)) {
15790 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15793 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15795 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15798 arg3
= wxString_in_helper(obj2
);
15799 if (arg3
== NULL
) SWIG_fail
;
15804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15805 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15806 wxPyEndAllowThreads(__tstate
);
15807 if (PyErr_Occurred()) SWIG_fail
;
15810 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15826 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15827 PyObject
*resultobj
= 0;
15828 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15832 PyObject
*swig_obj
[1] ;
15834 if (!args
) SWIG_fail
;
15835 swig_obj
[0] = args
;
15836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15837 if (!SWIG_IsOK(res1
)) {
15838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15840 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15843 result
= (bool)(arg1
)->RemoveIcon();
15844 wxPyEndAllowThreads(__tstate
);
15845 if (PyErr_Occurred()) SWIG_fail
;
15848 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15856 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15857 PyObject
*resultobj
= 0;
15858 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15859 wxMenu
*arg2
= (wxMenu
*) 0 ;
15865 PyObject
* obj0
= 0 ;
15866 PyObject
* obj1
= 0 ;
15867 char * kwnames
[] = {
15868 (char *) "self",(char *) "menu", NULL
15871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15873 if (!SWIG_IsOK(res1
)) {
15874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15876 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15878 if (!SWIG_IsOK(res2
)) {
15879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15881 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15884 result
= (bool)(arg1
)->PopupMenu(arg2
);
15885 wxPyEndAllowThreads(__tstate
);
15886 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15897 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15900 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15901 return SWIG_Py_Void();
15904 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15905 return SWIG_Python_InitShadowInstance(args
);
15908 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15909 PyObject
*resultobj
= 0;
15911 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15912 wxTaskBarIconEvent
*result
= 0 ;
15917 PyObject
* obj0
= 0 ;
15918 PyObject
* obj1
= 0 ;
15919 char * kwnames
[] = {
15920 (char *) "evtType",(char *) "tbIcon", NULL
15923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15924 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15925 if (!SWIG_IsOK(ecode1
)) {
15926 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15928 arg1
= static_cast< wxEventType
>(val1
);
15929 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15930 if (!SWIG_IsOK(res2
)) {
15931 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15933 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15936 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15937 wxPyEndAllowThreads(__tstate
);
15938 if (PyErr_Occurred()) SWIG_fail
;
15940 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15947 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15949 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15950 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15951 return SWIG_Py_Void();
15954 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15955 return SWIG_Python_InitShadowInstance(args
);
15958 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15959 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15964 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15965 PyObject
*pyobj
= 0;
15969 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15971 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15978 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15979 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15984 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15985 PyObject
*pyobj
= 0;
15989 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15991 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15998 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15999 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16004 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16005 PyObject
*pyobj
= 0;
16009 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16011 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16018 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16019 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16024 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16025 PyObject
*pyobj
= 0;
16029 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16031 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16038 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16039 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16044 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16045 PyObject
*pyobj
= 0;
16049 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16051 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16058 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16059 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16064 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16065 PyObject
*pyobj
= 0;
16069 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16071 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16078 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16079 PyObject
*resultobj
= 0;
16080 wxColourData
*result
= 0 ;
16082 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16085 result
= (wxColourData
*)new wxColourData();
16086 wxPyEndAllowThreads(__tstate
);
16087 if (PyErr_Occurred()) SWIG_fail
;
16089 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16096 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16097 PyObject
*resultobj
= 0;
16098 wxColourData
*arg1
= (wxColourData
*) 0 ;
16101 PyObject
*swig_obj
[1] ;
16103 if (!args
) SWIG_fail
;
16104 swig_obj
[0] = args
;
16105 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16106 if (!SWIG_IsOK(res1
)) {
16107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16109 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16114 wxPyEndAllowThreads(__tstate
);
16115 if (PyErr_Occurred()) SWIG_fail
;
16117 resultobj
= SWIG_Py_Void();
16124 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16125 PyObject
*resultobj
= 0;
16126 wxColourData
*arg1
= (wxColourData
*) 0 ;
16130 PyObject
*swig_obj
[1] ;
16132 if (!args
) SWIG_fail
;
16133 swig_obj
[0] = args
;
16134 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16135 if (!SWIG_IsOK(res1
)) {
16136 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16138 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16141 result
= (bool)(arg1
)->GetChooseFull();
16142 wxPyEndAllowThreads(__tstate
);
16143 if (PyErr_Occurred()) SWIG_fail
;
16146 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16154 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16155 PyObject
*resultobj
= 0;
16156 wxColourData
*arg1
= (wxColourData
*) 0 ;
16160 PyObject
*swig_obj
[1] ;
16162 if (!args
) SWIG_fail
;
16163 swig_obj
[0] = args
;
16164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16165 if (!SWIG_IsOK(res1
)) {
16166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16168 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16171 result
= (arg1
)->GetColour();
16172 wxPyEndAllowThreads(__tstate
);
16173 if (PyErr_Occurred()) SWIG_fail
;
16175 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16182 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16183 PyObject
*resultobj
= 0;
16184 wxColourData
*arg1
= (wxColourData
*) 0 ;
16191 PyObject
* obj0
= 0 ;
16192 PyObject
* obj1
= 0 ;
16193 char * kwnames
[] = {
16194 (char *) "self",(char *) "i", NULL
16197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16199 if (!SWIG_IsOK(res1
)) {
16200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16202 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16203 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16204 if (!SWIG_IsOK(ecode2
)) {
16205 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16207 arg2
= static_cast< int >(val2
);
16209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16210 result
= (arg1
)->GetCustomColour(arg2
);
16211 wxPyEndAllowThreads(__tstate
);
16212 if (PyErr_Occurred()) SWIG_fail
;
16214 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16221 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16222 PyObject
*resultobj
= 0;
16223 wxColourData
*arg1
= (wxColourData
*) 0 ;
16229 PyObject
* obj0
= 0 ;
16230 PyObject
* obj1
= 0 ;
16231 char * kwnames
[] = {
16232 (char *) "self",(char *) "flag", NULL
16235 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16236 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16237 if (!SWIG_IsOK(res1
)) {
16238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16240 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16241 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16242 if (!SWIG_IsOK(ecode2
)) {
16243 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16245 arg2
= static_cast< int >(val2
);
16247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16248 (arg1
)->SetChooseFull(arg2
);
16249 wxPyEndAllowThreads(__tstate
);
16250 if (PyErr_Occurred()) SWIG_fail
;
16252 resultobj
= SWIG_Py_Void();
16259 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16260 PyObject
*resultobj
= 0;
16261 wxColourData
*arg1
= (wxColourData
*) 0 ;
16262 wxColour
*arg2
= 0 ;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 char * kwnames
[] = {
16269 (char *) "self",(char *) "colour", NULL
16272 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16273 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16274 if (!SWIG_IsOK(res1
)) {
16275 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16277 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16280 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16284 (arg1
)->SetColour((wxColour
const &)*arg2
);
16285 wxPyEndAllowThreads(__tstate
);
16286 if (PyErr_Occurred()) SWIG_fail
;
16288 resultobj
= SWIG_Py_Void();
16295 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16296 PyObject
*resultobj
= 0;
16297 wxColourData
*arg1
= (wxColourData
*) 0 ;
16299 wxColour
*arg3
= 0 ;
16305 PyObject
* obj0
= 0 ;
16306 PyObject
* obj1
= 0 ;
16307 PyObject
* obj2
= 0 ;
16308 char * kwnames
[] = {
16309 (char *) "self",(char *) "i",(char *) "colour", NULL
16312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16314 if (!SWIG_IsOK(res1
)) {
16315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16317 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16319 if (!SWIG_IsOK(ecode2
)) {
16320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16322 arg2
= static_cast< int >(val2
);
16325 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16329 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16330 wxPyEndAllowThreads(__tstate
);
16331 if (PyErr_Occurred()) SWIG_fail
;
16333 resultobj
= SWIG_Py_Void();
16340 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16342 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16343 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16344 return SWIG_Py_Void();
16347 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 return SWIG_Python_InitShadowInstance(args
);
16351 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16352 PyObject
*resultobj
= 0;
16353 wxWindow
*arg1
= (wxWindow
*) 0 ;
16354 wxColourData
*arg2
= (wxColourData
*) NULL
;
16355 wxColourDialog
*result
= 0 ;
16360 PyObject
* obj0
= 0 ;
16361 PyObject
* obj1
= 0 ;
16362 char * kwnames
[] = {
16363 (char *) "parent",(char *) "data", NULL
16366 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16367 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16368 if (!SWIG_IsOK(res1
)) {
16369 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16371 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16373 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16374 if (!SWIG_IsOK(res2
)) {
16375 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16377 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16380 if (!wxPyCheckForApp()) SWIG_fail
;
16381 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16382 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16383 wxPyEndAllowThreads(__tstate
);
16384 if (PyErr_Occurred()) SWIG_fail
;
16386 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16393 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16394 PyObject
*resultobj
= 0;
16395 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16396 wxColourData
*result
= 0 ;
16399 PyObject
*swig_obj
[1] ;
16401 if (!args
) SWIG_fail
;
16402 swig_obj
[0] = args
;
16403 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16404 if (!SWIG_IsOK(res1
)) {
16405 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16407 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16409 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16411 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16412 result
= (wxColourData
*) &_result_ref
;
16414 wxPyEndAllowThreads(__tstate
);
16415 if (PyErr_Occurred()) SWIG_fail
;
16417 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16424 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16426 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16427 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16428 return SWIG_Py_Void();
16431 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16432 return SWIG_Python_InitShadowInstance(args
);
16435 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16436 PyObject
*resultobj
= 0;
16437 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16438 wxColour
const &arg2_defvalue
= wxNullColour
;
16439 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16440 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16441 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16446 bool temp3
= false ;
16447 PyObject
* obj0
= 0 ;
16448 PyObject
* obj1
= 0 ;
16449 PyObject
* obj2
= 0 ;
16450 char * kwnames
[] = {
16451 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16454 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16456 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16457 if (!SWIG_IsOK(res1
)) {
16458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16460 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16465 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16470 arg3
= wxString_in_helper(obj2
);
16471 if (arg3
== NULL
) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16496 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16497 PyObject
*resultobj
= 0;
16498 wxWindow
*arg1
= (wxWindow
*) 0 ;
16499 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16500 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16501 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16502 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16503 long arg4
= (long) 0 ;
16504 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16505 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16506 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16507 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16508 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16509 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16510 wxDirDialog
*result
= 0 ;
16513 bool temp2
= false ;
16514 bool temp3
= false ;
16519 bool temp7
= false ;
16520 PyObject
* obj0
= 0 ;
16521 PyObject
* obj1
= 0 ;
16522 PyObject
* obj2
= 0 ;
16523 PyObject
* obj3
= 0 ;
16524 PyObject
* obj4
= 0 ;
16525 PyObject
* obj5
= 0 ;
16526 PyObject
* obj6
= 0 ;
16527 char * kwnames
[] = {
16528 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16533 if (!SWIG_IsOK(res1
)) {
16534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16536 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16539 arg2
= wxString_in_helper(obj1
);
16540 if (arg2
== NULL
) SWIG_fail
;
16546 arg3
= wxString_in_helper(obj2
);
16547 if (arg3
== NULL
) SWIG_fail
;
16552 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16553 if (!SWIG_IsOK(ecode4
)) {
16554 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16556 arg4
= static_cast< long >(val4
);
16561 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16567 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16572 arg7
= wxString_in_helper(obj6
);
16573 if (arg7
== NULL
) SWIG_fail
;
16578 if (!wxPyCheckForApp()) SWIG_fail
;
16579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16580 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16581 wxPyEndAllowThreads(__tstate
);
16582 if (PyErr_Occurred()) SWIG_fail
;
16584 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16615 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16616 PyObject
*resultobj
= 0;
16617 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16621 PyObject
*swig_obj
[1] ;
16623 if (!args
) SWIG_fail
;
16624 swig_obj
[0] = args
;
16625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16629 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (arg1
)->GetPath();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16638 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16640 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16649 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16650 PyObject
*resultobj
= 0;
16651 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16655 PyObject
*swig_obj
[1] ;
16657 if (!args
) SWIG_fail
;
16658 swig_obj
[0] = args
;
16659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16660 if (!SWIG_IsOK(res1
)) {
16661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16663 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16666 result
= (arg1
)->GetMessage();
16667 wxPyEndAllowThreads(__tstate
);
16668 if (PyErr_Occurred()) SWIG_fail
;
16672 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16674 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16683 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16684 PyObject
*resultobj
= 0;
16685 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16686 wxString
*arg2
= 0 ;
16689 bool temp2
= false ;
16690 PyObject
* obj0
= 0 ;
16691 PyObject
* obj1
= 0 ;
16692 char * kwnames
[] = {
16693 (char *) "self",(char *) "message", NULL
16696 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16697 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16698 if (!SWIG_IsOK(res1
)) {
16699 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16701 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16703 arg2
= wxString_in_helper(obj1
);
16704 if (arg2
== NULL
) SWIG_fail
;
16708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16709 (arg1
)->SetMessage((wxString
const &)*arg2
);
16710 wxPyEndAllowThreads(__tstate
);
16711 if (PyErr_Occurred()) SWIG_fail
;
16713 resultobj
= SWIG_Py_Void();
16728 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16729 PyObject
*resultobj
= 0;
16730 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16731 wxString
*arg2
= 0 ;
16734 bool temp2
= false ;
16735 PyObject
* obj0
= 0 ;
16736 PyObject
* obj1
= 0 ;
16737 char * kwnames
[] = {
16738 (char *) "self",(char *) "path", NULL
16741 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16742 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16743 if (!SWIG_IsOK(res1
)) {
16744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16746 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16748 arg2
= wxString_in_helper(obj1
);
16749 if (arg2
== NULL
) SWIG_fail
;
16753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16754 (arg1
)->SetPath((wxString
const &)*arg2
);
16755 wxPyEndAllowThreads(__tstate
);
16756 if (PyErr_Occurred()) SWIG_fail
;
16758 resultobj
= SWIG_Py_Void();
16773 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16776 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16777 return SWIG_Py_Void();
16780 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16781 return SWIG_Python_InitShadowInstance(args
);
16784 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16785 PyObject
*resultobj
= 0;
16786 wxWindow
*arg1
= (wxWindow
*) 0 ;
16787 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16788 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16789 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16790 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16791 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16792 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16793 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16794 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16795 long arg6
= (long) 0 ;
16796 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16797 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16798 wxFileDialog
*result
= 0 ;
16801 bool temp2
= false ;
16802 bool temp3
= false ;
16803 bool temp4
= false ;
16804 bool temp5
= false ;
16808 PyObject
* obj0
= 0 ;
16809 PyObject
* obj1
= 0 ;
16810 PyObject
* obj2
= 0 ;
16811 PyObject
* obj3
= 0 ;
16812 PyObject
* obj4
= 0 ;
16813 PyObject
* obj5
= 0 ;
16814 PyObject
* obj6
= 0 ;
16815 char * kwnames
[] = {
16816 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16819 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16820 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16821 if (!SWIG_IsOK(res1
)) {
16822 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16824 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16827 arg2
= wxString_in_helper(obj1
);
16828 if (arg2
== NULL
) SWIG_fail
;
16834 arg3
= wxString_in_helper(obj2
);
16835 if (arg3
== NULL
) SWIG_fail
;
16841 arg4
= wxString_in_helper(obj3
);
16842 if (arg4
== NULL
) SWIG_fail
;
16848 arg5
= wxString_in_helper(obj4
);
16849 if (arg5
== NULL
) SWIG_fail
;
16854 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16855 if (!SWIG_IsOK(ecode6
)) {
16856 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16858 arg6
= static_cast< long >(val6
);
16863 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16867 if (!wxPyCheckForApp()) SWIG_fail
;
16868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16869 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16870 wxPyEndAllowThreads(__tstate
);
16871 if (PyErr_Occurred()) SWIG_fail
;
16873 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16912 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16913 PyObject
*resultobj
= 0;
16914 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16915 wxString
*arg2
= 0 ;
16918 bool temp2
= false ;
16919 PyObject
* obj0
= 0 ;
16920 PyObject
* obj1
= 0 ;
16921 char * kwnames
[] = {
16922 (char *) "self",(char *) "message", NULL
16925 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16926 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16927 if (!SWIG_IsOK(res1
)) {
16928 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16930 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16932 arg2
= wxString_in_helper(obj1
);
16933 if (arg2
== NULL
) SWIG_fail
;
16937 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16938 (arg1
)->SetMessage((wxString
const &)*arg2
);
16939 wxPyEndAllowThreads(__tstate
);
16940 if (PyErr_Occurred()) SWIG_fail
;
16942 resultobj
= SWIG_Py_Void();
16957 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16958 PyObject
*resultobj
= 0;
16959 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16960 wxString
*arg2
= 0 ;
16963 bool temp2
= false ;
16964 PyObject
* obj0
= 0 ;
16965 PyObject
* obj1
= 0 ;
16966 char * kwnames
[] = {
16967 (char *) "self",(char *) "path", NULL
16970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16972 if (!SWIG_IsOK(res1
)) {
16973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16975 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16977 arg2
= wxString_in_helper(obj1
);
16978 if (arg2
== NULL
) SWIG_fail
;
16982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16983 (arg1
)->SetPath((wxString
const &)*arg2
);
16984 wxPyEndAllowThreads(__tstate
);
16985 if (PyErr_Occurred()) SWIG_fail
;
16987 resultobj
= SWIG_Py_Void();
17002 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17003 PyObject
*resultobj
= 0;
17004 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17005 wxString
*arg2
= 0 ;
17008 bool temp2
= false ;
17009 PyObject
* obj0
= 0 ;
17010 PyObject
* obj1
= 0 ;
17011 char * kwnames
[] = {
17012 (char *) "self",(char *) "dir", NULL
17015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17017 if (!SWIG_IsOK(res1
)) {
17018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17020 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17022 arg2
= wxString_in_helper(obj1
);
17023 if (arg2
== NULL
) SWIG_fail
;
17027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17028 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17029 wxPyEndAllowThreads(__tstate
);
17030 if (PyErr_Occurred()) SWIG_fail
;
17032 resultobj
= SWIG_Py_Void();
17047 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17048 PyObject
*resultobj
= 0;
17049 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17050 wxString
*arg2
= 0 ;
17053 bool temp2
= false ;
17054 PyObject
* obj0
= 0 ;
17055 PyObject
* obj1
= 0 ;
17056 char * kwnames
[] = {
17057 (char *) "self",(char *) "name", NULL
17060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17062 if (!SWIG_IsOK(res1
)) {
17063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17065 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17067 arg2
= wxString_in_helper(obj1
);
17068 if (arg2
== NULL
) SWIG_fail
;
17072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17073 (arg1
)->SetFilename((wxString
const &)*arg2
);
17074 wxPyEndAllowThreads(__tstate
);
17075 if (PyErr_Occurred()) SWIG_fail
;
17077 resultobj
= SWIG_Py_Void();
17092 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17093 PyObject
*resultobj
= 0;
17094 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17095 wxString
*arg2
= 0 ;
17098 bool temp2
= false ;
17099 PyObject
* obj0
= 0 ;
17100 PyObject
* obj1
= 0 ;
17101 char * kwnames
[] = {
17102 (char *) "self",(char *) "wildCard", NULL
17105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17107 if (!SWIG_IsOK(res1
)) {
17108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17110 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17112 arg2
= wxString_in_helper(obj1
);
17113 if (arg2
== NULL
) SWIG_fail
;
17117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17118 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17119 wxPyEndAllowThreads(__tstate
);
17120 if (PyErr_Occurred()) SWIG_fail
;
17122 resultobj
= SWIG_Py_Void();
17137 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17138 PyObject
*resultobj
= 0;
17139 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17145 PyObject
* obj0
= 0 ;
17146 PyObject
* obj1
= 0 ;
17147 char * kwnames
[] = {
17148 (char *) "self",(char *) "style", NULL
17151 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17152 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17153 if (!SWIG_IsOK(res1
)) {
17154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17156 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17157 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17158 if (!SWIG_IsOK(ecode2
)) {
17159 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17161 arg2
= static_cast< long >(val2
);
17163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17164 (arg1
)->SetStyle(arg2
);
17165 wxPyEndAllowThreads(__tstate
);
17166 if (PyErr_Occurred()) SWIG_fail
;
17168 resultobj
= SWIG_Py_Void();
17175 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17176 PyObject
*resultobj
= 0;
17177 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17183 PyObject
* obj0
= 0 ;
17184 PyObject
* obj1
= 0 ;
17185 char * kwnames
[] = {
17186 (char *) "self",(char *) "filterIndex", NULL
17189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17191 if (!SWIG_IsOK(res1
)) {
17192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17194 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17196 if (!SWIG_IsOK(ecode2
)) {
17197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17199 arg2
= static_cast< int >(val2
);
17201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17202 (arg1
)->SetFilterIndex(arg2
);
17203 wxPyEndAllowThreads(__tstate
);
17204 if (PyErr_Occurred()) SWIG_fail
;
17206 resultobj
= SWIG_Py_Void();
17213 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17214 PyObject
*resultobj
= 0;
17215 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17219 PyObject
*swig_obj
[1] ;
17221 if (!args
) SWIG_fail
;
17222 swig_obj
[0] = args
;
17223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17224 if (!SWIG_IsOK(res1
)) {
17225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17227 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17230 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17231 wxPyEndAllowThreads(__tstate
);
17232 if (PyErr_Occurred()) SWIG_fail
;
17236 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17238 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17247 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17248 PyObject
*resultobj
= 0;
17249 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17253 PyObject
*swig_obj
[1] ;
17255 if (!args
) SWIG_fail
;
17256 swig_obj
[0] = args
;
17257 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17258 if (!SWIG_IsOK(res1
)) {
17259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17261 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17264 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17265 wxPyEndAllowThreads(__tstate
);
17266 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17272 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17281 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17282 PyObject
*resultobj
= 0;
17283 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17287 PyObject
*swig_obj
[1] ;
17289 if (!args
) SWIG_fail
;
17290 swig_obj
[0] = args
;
17291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17292 if (!SWIG_IsOK(res1
)) {
17293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17295 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17298 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17299 wxPyEndAllowThreads(__tstate
);
17300 if (PyErr_Occurred()) SWIG_fail
;
17304 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17306 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17315 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17316 PyObject
*resultobj
= 0;
17317 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17321 PyObject
*swig_obj
[1] ;
17323 if (!args
) SWIG_fail
;
17324 swig_obj
[0] = args
;
17325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17326 if (!SWIG_IsOK(res1
)) {
17327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17329 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17332 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17333 wxPyEndAllowThreads(__tstate
);
17334 if (PyErr_Occurred()) SWIG_fail
;
17338 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17340 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17349 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17350 PyObject
*resultobj
= 0;
17351 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17355 PyObject
*swig_obj
[1] ;
17357 if (!args
) SWIG_fail
;
17358 swig_obj
[0] = args
;
17359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17360 if (!SWIG_IsOK(res1
)) {
17361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17363 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17366 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17367 wxPyEndAllowThreads(__tstate
);
17368 if (PyErr_Occurred()) SWIG_fail
;
17372 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17374 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17383 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17384 PyObject
*resultobj
= 0;
17385 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17389 PyObject
*swig_obj
[1] ;
17391 if (!args
) SWIG_fail
;
17392 swig_obj
[0] = args
;
17393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17394 if (!SWIG_IsOK(res1
)) {
17395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17397 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17400 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17401 wxPyEndAllowThreads(__tstate
);
17402 if (PyErr_Occurred()) SWIG_fail
;
17404 resultobj
= SWIG_From_long(static_cast< long >(result
));
17411 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17412 PyObject
*resultobj
= 0;
17413 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17417 PyObject
*swig_obj
[1] ;
17419 if (!args
) SWIG_fail
;
17420 swig_obj
[0] = args
;
17421 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17422 if (!SWIG_IsOK(res1
)) {
17423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17425 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17427 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17428 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17429 wxPyEndAllowThreads(__tstate
);
17430 if (PyErr_Occurred()) SWIG_fail
;
17432 resultobj
= SWIG_From_int(static_cast< int >(result
));
17439 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17440 PyObject
*resultobj
= 0;
17441 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17442 PyObject
*result
= 0 ;
17445 PyObject
*swig_obj
[1] ;
17447 if (!args
) SWIG_fail
;
17448 swig_obj
[0] = args
;
17449 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17450 if (!SWIG_IsOK(res1
)) {
17451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17453 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17455 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17456 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17457 wxPyEndAllowThreads(__tstate
);
17458 if (PyErr_Occurred()) SWIG_fail
;
17460 resultobj
= result
;
17467 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17468 PyObject
*resultobj
= 0;
17469 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17470 PyObject
*result
= 0 ;
17473 PyObject
*swig_obj
[1] ;
17475 if (!args
) SWIG_fail
;
17476 swig_obj
[0] = args
;
17477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17478 if (!SWIG_IsOK(res1
)) {
17479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17481 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17484 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17485 wxPyEndAllowThreads(__tstate
);
17486 if (PyErr_Occurred()) SWIG_fail
;
17488 resultobj
= result
;
17495 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17498 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17499 return SWIG_Py_Void();
17502 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17503 return SWIG_Python_InitShadowInstance(args
);
17506 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17507 PyObject
*resultobj
= 0;
17508 wxWindow
*arg1
= (wxWindow
*) 0 ;
17509 wxString
*arg2
= 0 ;
17510 wxString
*arg3
= 0 ;
17511 int arg4
= (int) 0 ;
17512 wxString
*arg5
= (wxString
*) NULL
;
17513 long arg6
= (long) wxCHOICEDLG_STYLE
;
17514 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17515 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17516 wxMultiChoiceDialog
*result
= 0 ;
17519 bool temp2
= false ;
17520 bool temp3
= false ;
17524 PyObject
* obj0
= 0 ;
17525 PyObject
* obj1
= 0 ;
17526 PyObject
* obj2
= 0 ;
17527 PyObject
* obj3
= 0 ;
17528 PyObject
* obj4
= 0 ;
17529 PyObject
* obj5
= 0 ;
17530 char * kwnames
[] = {
17531 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17534 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17535 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17536 if (!SWIG_IsOK(res1
)) {
17537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17539 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17541 arg2
= wxString_in_helper(obj1
);
17542 if (arg2
== NULL
) SWIG_fail
;
17546 arg3
= wxString_in_helper(obj2
);
17547 if (arg3
== NULL
) SWIG_fail
;
17552 arg4
= PyList_Size(obj3
);
17553 arg5
= wxString_LIST_helper(obj3
);
17554 if (arg5
== NULL
) SWIG_fail
;
17558 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17559 if (!SWIG_IsOK(ecode6
)) {
17560 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17562 arg6
= static_cast< long >(val6
);
17567 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17571 if (!wxPyCheckForApp()) SWIG_fail
;
17572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17573 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17574 wxPyEndAllowThreads(__tstate
);
17575 if (PyErr_Occurred()) SWIG_fail
;
17577 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17587 if (arg5
) delete [] arg5
;
17600 if (arg5
) delete [] arg5
;
17606 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17607 PyObject
*resultobj
= 0;
17608 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17609 wxArrayInt
*arg2
= 0 ;
17612 bool temp2
= false ;
17613 PyObject
* obj0
= 0 ;
17614 PyObject
* obj1
= 0 ;
17615 char * kwnames
[] = {
17616 (char *) "self",(char *) "selections", NULL
17619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17621 if (!SWIG_IsOK(res1
)) {
17622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17624 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17626 if (! PySequence_Check(obj1
)) {
17627 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17630 arg2
= new wxArrayInt
;
17632 int i
, len
=PySequence_Length(obj1
);
17633 for (i
=0; i
<len
; i
++) {
17634 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17635 PyObject
* number
= PyNumber_Int(item
);
17636 arg2
->Add(PyInt_AS_LONG(number
));
17642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17643 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17644 wxPyEndAllowThreads(__tstate
);
17645 if (PyErr_Occurred()) SWIG_fail
;
17647 resultobj
= SWIG_Py_Void();
17649 if (temp2
) delete arg2
;
17654 if (temp2
) delete arg2
;
17660 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17661 PyObject
*resultobj
= 0;
17662 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17663 PyObject
*result
= 0 ;
17666 PyObject
*swig_obj
[1] ;
17668 if (!args
) SWIG_fail
;
17669 swig_obj
[0] = args
;
17670 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17671 if (!SWIG_IsOK(res1
)) {
17672 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17674 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17677 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17678 wxPyEndAllowThreads(__tstate
);
17679 if (PyErr_Occurred()) SWIG_fail
;
17681 resultobj
= result
;
17688 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17690 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17691 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17692 return SWIG_Py_Void();
17695 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17696 return SWIG_Python_InitShadowInstance(args
);
17699 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17700 PyObject
*resultobj
= 0;
17701 wxWindow
*arg1
= (wxWindow
*) 0 ;
17702 wxString
*arg2
= 0 ;
17703 wxString
*arg3
= 0 ;
17705 wxString
*arg5
= (wxString
*) 0 ;
17706 long arg6
= (long) wxCHOICEDLG_STYLE
;
17707 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17708 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17709 wxSingleChoiceDialog
*result
= 0 ;
17712 bool temp2
= false ;
17713 bool temp3
= false ;
17717 PyObject
* obj0
= 0 ;
17718 PyObject
* obj1
= 0 ;
17719 PyObject
* obj2
= 0 ;
17720 PyObject
* obj3
= 0 ;
17721 PyObject
* obj4
= 0 ;
17722 PyObject
* obj5
= 0 ;
17723 char * kwnames
[] = {
17724 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17729 if (!SWIG_IsOK(res1
)) {
17730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17734 arg2
= wxString_in_helper(obj1
);
17735 if (arg2
== NULL
) SWIG_fail
;
17739 arg3
= wxString_in_helper(obj2
);
17740 if (arg3
== NULL
) SWIG_fail
;
17744 arg4
= PyList_Size(obj3
);
17745 arg5
= wxString_LIST_helper(obj3
);
17746 if (arg5
== NULL
) SWIG_fail
;
17749 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17750 if (!SWIG_IsOK(ecode6
)) {
17751 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17753 arg6
= static_cast< long >(val6
);
17758 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17762 if (!wxPyCheckForApp()) SWIG_fail
;
17763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17764 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17765 wxPyEndAllowThreads(__tstate
);
17766 if (PyErr_Occurred()) SWIG_fail
;
17768 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17778 if (arg5
) delete [] arg5
;
17791 if (arg5
) delete [] arg5
;
17797 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17798 PyObject
*resultobj
= 0;
17799 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17803 PyObject
*swig_obj
[1] ;
17805 if (!args
) SWIG_fail
;
17806 swig_obj
[0] = args
;
17807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17808 if (!SWIG_IsOK(res1
)) {
17809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17811 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17814 result
= (int)(arg1
)->GetSelection();
17815 wxPyEndAllowThreads(__tstate
);
17816 if (PyErr_Occurred()) SWIG_fail
;
17818 resultobj
= SWIG_From_int(static_cast< int >(result
));
17825 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17826 PyObject
*resultobj
= 0;
17827 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17831 PyObject
*swig_obj
[1] ;
17833 if (!args
) SWIG_fail
;
17834 swig_obj
[0] = args
;
17835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17836 if (!SWIG_IsOK(res1
)) {
17837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17839 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17842 result
= (arg1
)->GetStringSelection();
17843 wxPyEndAllowThreads(__tstate
);
17844 if (PyErr_Occurred()) SWIG_fail
;
17848 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17850 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17859 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17860 PyObject
*resultobj
= 0;
17861 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17867 PyObject
* obj0
= 0 ;
17868 PyObject
* obj1
= 0 ;
17869 char * kwnames
[] = {
17870 (char *) "self",(char *) "sel", NULL
17873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17878 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17880 if (!SWIG_IsOK(ecode2
)) {
17881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17883 arg2
= static_cast< int >(val2
);
17885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17886 (arg1
)->SetSelection(arg2
);
17887 wxPyEndAllowThreads(__tstate
);
17888 if (PyErr_Occurred()) SWIG_fail
;
17890 resultobj
= SWIG_Py_Void();
17897 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17899 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17900 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17901 return SWIG_Py_Void();
17904 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17905 return SWIG_Python_InitShadowInstance(args
);
17908 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17909 PyObject
*resultobj
= 0;
17910 wxWindow
*arg1
= (wxWindow
*) 0 ;
17911 wxString
*arg2
= 0 ;
17912 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17913 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17914 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17915 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17916 long arg5
= (long) wxTextEntryDialogStyle
;
17917 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17918 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17919 wxTextEntryDialog
*result
= 0 ;
17922 bool temp2
= false ;
17923 bool temp3
= false ;
17924 bool temp4
= false ;
17928 PyObject
* obj0
= 0 ;
17929 PyObject
* obj1
= 0 ;
17930 PyObject
* obj2
= 0 ;
17931 PyObject
* obj3
= 0 ;
17932 PyObject
* obj4
= 0 ;
17933 PyObject
* obj5
= 0 ;
17934 char * kwnames
[] = {
17935 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17940 if (!SWIG_IsOK(res1
)) {
17941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17943 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17945 arg2
= wxString_in_helper(obj1
);
17946 if (arg2
== NULL
) SWIG_fail
;
17951 arg3
= wxString_in_helper(obj2
);
17952 if (arg3
== NULL
) SWIG_fail
;
17958 arg4
= wxString_in_helper(obj3
);
17959 if (arg4
== NULL
) SWIG_fail
;
17964 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17965 if (!SWIG_IsOK(ecode5
)) {
17966 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17968 arg5
= static_cast< long >(val5
);
17973 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17977 if (!wxPyCheckForApp()) SWIG_fail
;
17978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17979 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17980 wxPyEndAllowThreads(__tstate
);
17981 if (PyErr_Occurred()) SWIG_fail
;
17983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18014 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18015 PyObject
*resultobj
= 0;
18016 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18020 PyObject
*swig_obj
[1] ;
18022 if (!args
) SWIG_fail
;
18023 swig_obj
[0] = args
;
18024 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18025 if (!SWIG_IsOK(res1
)) {
18026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18028 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18030 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18031 result
= (arg1
)->GetValue();
18032 wxPyEndAllowThreads(__tstate
);
18033 if (PyErr_Occurred()) SWIG_fail
;
18037 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18039 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18048 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18049 PyObject
*resultobj
= 0;
18050 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18051 wxString
*arg2
= 0 ;
18054 bool temp2
= false ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 char * kwnames
[] = {
18058 (char *) "self",(char *) "value", NULL
18061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18063 if (!SWIG_IsOK(res1
)) {
18064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18066 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18068 arg2
= wxString_in_helper(obj1
);
18069 if (arg2
== NULL
) SWIG_fail
;
18073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18074 (arg1
)->SetValue((wxString
const &)*arg2
);
18075 wxPyEndAllowThreads(__tstate
);
18076 if (PyErr_Occurred()) SWIG_fail
;
18078 resultobj
= SWIG_Py_Void();
18093 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18095 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18096 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18097 return SWIG_Py_Void();
18100 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18101 return SWIG_Python_InitShadowInstance(args
);
18104 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18105 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18110 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18111 PyObject
*pyobj
= 0;
18115 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18117 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18124 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18125 PyObject
*resultobj
= 0;
18126 wxWindow
*arg1
= (wxWindow
*) 0 ;
18127 wxString
*arg2
= 0 ;
18128 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18129 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18130 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18131 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18132 long arg5
= (long) wxTextEntryDialogStyle
;
18133 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18134 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18135 wxPasswordEntryDialog
*result
= 0 ;
18138 bool temp2
= false ;
18139 bool temp3
= false ;
18140 bool temp4
= false ;
18144 PyObject
* obj0
= 0 ;
18145 PyObject
* obj1
= 0 ;
18146 PyObject
* obj2
= 0 ;
18147 PyObject
* obj3
= 0 ;
18148 PyObject
* obj4
= 0 ;
18149 PyObject
* obj5
= 0 ;
18150 char * kwnames
[] = {
18151 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18154 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18155 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18156 if (!SWIG_IsOK(res1
)) {
18157 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18159 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18161 arg2
= wxString_in_helper(obj1
);
18162 if (arg2
== NULL
) SWIG_fail
;
18167 arg3
= wxString_in_helper(obj2
);
18168 if (arg3
== NULL
) SWIG_fail
;
18174 arg4
= wxString_in_helper(obj3
);
18175 if (arg4
== NULL
) SWIG_fail
;
18180 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18181 if (!SWIG_IsOK(ecode5
)) {
18182 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18184 arg5
= static_cast< long >(val5
);
18189 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18194 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18195 wxPyEndAllowThreads(__tstate
);
18196 if (PyErr_Occurred()) SWIG_fail
;
18198 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18229 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18231 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18232 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18233 return SWIG_Py_Void();
18236 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18237 return SWIG_Python_InitShadowInstance(args
);
18240 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18241 PyObject
*resultobj
= 0;
18242 wxFontData
*result
= 0 ;
18244 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18247 result
= (wxFontData
*)new wxFontData();
18248 wxPyEndAllowThreads(__tstate
);
18249 if (PyErr_Occurred()) SWIG_fail
;
18251 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18258 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18259 PyObject
*resultobj
= 0;
18260 wxFontData
*arg1
= (wxFontData
*) 0 ;
18263 PyObject
*swig_obj
[1] ;
18265 if (!args
) SWIG_fail
;
18266 swig_obj
[0] = args
;
18267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18268 if (!SWIG_IsOK(res1
)) {
18269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18271 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18276 wxPyEndAllowThreads(__tstate
);
18277 if (PyErr_Occurred()) SWIG_fail
;
18279 resultobj
= SWIG_Py_Void();
18286 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18287 PyObject
*resultobj
= 0;
18288 wxFontData
*arg1
= (wxFontData
*) 0 ;
18294 PyObject
* obj0
= 0 ;
18295 PyObject
* obj1
= 0 ;
18296 char * kwnames
[] = {
18297 (char *) "self",(char *) "enable", NULL
18300 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18301 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18302 if (!SWIG_IsOK(res1
)) {
18303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18305 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18306 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18307 if (!SWIG_IsOK(ecode2
)) {
18308 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18310 arg2
= static_cast< bool >(val2
);
18312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18313 (arg1
)->EnableEffects(arg2
);
18314 wxPyEndAllowThreads(__tstate
);
18315 if (PyErr_Occurred()) SWIG_fail
;
18317 resultobj
= SWIG_Py_Void();
18324 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18325 PyObject
*resultobj
= 0;
18326 wxFontData
*arg1
= (wxFontData
*) 0 ;
18330 PyObject
*swig_obj
[1] ;
18332 if (!args
) SWIG_fail
;
18333 swig_obj
[0] = args
;
18334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18335 if (!SWIG_IsOK(res1
)) {
18336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18338 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18341 result
= (bool)(arg1
)->GetAllowSymbols();
18342 wxPyEndAllowThreads(__tstate
);
18343 if (PyErr_Occurred()) SWIG_fail
;
18346 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18354 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18355 PyObject
*resultobj
= 0;
18356 wxFontData
*arg1
= (wxFontData
*) 0 ;
18360 PyObject
*swig_obj
[1] ;
18362 if (!args
) SWIG_fail
;
18363 swig_obj
[0] = args
;
18364 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18365 if (!SWIG_IsOK(res1
)) {
18366 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18368 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18370 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18371 result
= (arg1
)->GetColour();
18372 wxPyEndAllowThreads(__tstate
);
18373 if (PyErr_Occurred()) SWIG_fail
;
18375 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18382 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18383 PyObject
*resultobj
= 0;
18384 wxFontData
*arg1
= (wxFontData
*) 0 ;
18388 PyObject
*swig_obj
[1] ;
18390 if (!args
) SWIG_fail
;
18391 swig_obj
[0] = args
;
18392 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18393 if (!SWIG_IsOK(res1
)) {
18394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18396 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18398 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18399 result
= (arg1
)->GetChosenFont();
18400 wxPyEndAllowThreads(__tstate
);
18401 if (PyErr_Occurred()) SWIG_fail
;
18403 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18410 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18411 PyObject
*resultobj
= 0;
18412 wxFontData
*arg1
= (wxFontData
*) 0 ;
18416 PyObject
*swig_obj
[1] ;
18418 if (!args
) SWIG_fail
;
18419 swig_obj
[0] = args
;
18420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18421 if (!SWIG_IsOK(res1
)) {
18422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18424 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18427 result
= (bool)(arg1
)->GetEnableEffects();
18428 wxPyEndAllowThreads(__tstate
);
18429 if (PyErr_Occurred()) SWIG_fail
;
18432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18440 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18441 PyObject
*resultobj
= 0;
18442 wxFontData
*arg1
= (wxFontData
*) 0 ;
18446 PyObject
*swig_obj
[1] ;
18448 if (!args
) SWIG_fail
;
18449 swig_obj
[0] = args
;
18450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18451 if (!SWIG_IsOK(res1
)) {
18452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18454 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18457 result
= (arg1
)->GetInitialFont();
18458 wxPyEndAllowThreads(__tstate
);
18459 if (PyErr_Occurred()) SWIG_fail
;
18461 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18468 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18469 PyObject
*resultobj
= 0;
18470 wxFontData
*arg1
= (wxFontData
*) 0 ;
18474 PyObject
*swig_obj
[1] ;
18476 if (!args
) SWIG_fail
;
18477 swig_obj
[0] = args
;
18478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18479 if (!SWIG_IsOK(res1
)) {
18480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18482 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18485 result
= (bool)(arg1
)->GetShowHelp();
18486 wxPyEndAllowThreads(__tstate
);
18487 if (PyErr_Occurred()) SWIG_fail
;
18490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18498 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18499 PyObject
*resultobj
= 0;
18500 wxFontData
*arg1
= (wxFontData
*) 0 ;
18506 PyObject
* obj0
= 0 ;
18507 PyObject
* obj1
= 0 ;
18508 char * kwnames
[] = {
18509 (char *) "self",(char *) "allowSymbols", NULL
18512 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18513 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18514 if (!SWIG_IsOK(res1
)) {
18515 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18517 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18518 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18519 if (!SWIG_IsOK(ecode2
)) {
18520 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18522 arg2
= static_cast< bool >(val2
);
18524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18525 (arg1
)->SetAllowSymbols(arg2
);
18526 wxPyEndAllowThreads(__tstate
);
18527 if (PyErr_Occurred()) SWIG_fail
;
18529 resultobj
= SWIG_Py_Void();
18536 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18537 PyObject
*resultobj
= 0;
18538 wxFontData
*arg1
= (wxFontData
*) 0 ;
18544 PyObject
* obj0
= 0 ;
18545 PyObject
* obj1
= 0 ;
18546 char * kwnames
[] = {
18547 (char *) "self",(char *) "font", NULL
18550 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18551 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18552 if (!SWIG_IsOK(res1
)) {
18553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18555 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18556 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18557 if (!SWIG_IsOK(res2
)) {
18558 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18561 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18563 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18566 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18567 wxPyEndAllowThreads(__tstate
);
18568 if (PyErr_Occurred()) SWIG_fail
;
18570 resultobj
= SWIG_Py_Void();
18577 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18578 PyObject
*resultobj
= 0;
18579 wxFontData
*arg1
= (wxFontData
*) 0 ;
18580 wxColour
*arg2
= 0 ;
18584 PyObject
* obj0
= 0 ;
18585 PyObject
* obj1
= 0 ;
18586 char * kwnames
[] = {
18587 (char *) "self",(char *) "colour", NULL
18590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18592 if (!SWIG_IsOK(res1
)) {
18593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18595 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18598 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18602 (arg1
)->SetColour((wxColour
const &)*arg2
);
18603 wxPyEndAllowThreads(__tstate
);
18604 if (PyErr_Occurred()) SWIG_fail
;
18606 resultobj
= SWIG_Py_Void();
18613 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18614 PyObject
*resultobj
= 0;
18615 wxFontData
*arg1
= (wxFontData
*) 0 ;
18621 PyObject
* obj0
= 0 ;
18622 PyObject
* obj1
= 0 ;
18623 char * kwnames
[] = {
18624 (char *) "self",(char *) "font", NULL
18627 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18628 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18629 if (!SWIG_IsOK(res1
)) {
18630 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18632 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18633 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18634 if (!SWIG_IsOK(res2
)) {
18635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18638 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18640 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18643 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18644 wxPyEndAllowThreads(__tstate
);
18645 if (PyErr_Occurred()) SWIG_fail
;
18647 resultobj
= SWIG_Py_Void();
18654 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18655 PyObject
*resultobj
= 0;
18656 wxFontData
*arg1
= (wxFontData
*) 0 ;
18665 PyObject
* obj0
= 0 ;
18666 PyObject
* obj1
= 0 ;
18667 PyObject
* obj2
= 0 ;
18668 char * kwnames
[] = {
18669 (char *) "self",(char *) "min",(char *) "max", NULL
18672 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18673 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18674 if (!SWIG_IsOK(res1
)) {
18675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18677 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18678 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18679 if (!SWIG_IsOK(ecode2
)) {
18680 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18682 arg2
= static_cast< int >(val2
);
18683 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18684 if (!SWIG_IsOK(ecode3
)) {
18685 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18687 arg3
= static_cast< int >(val3
);
18689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18690 (arg1
)->SetRange(arg2
,arg3
);
18691 wxPyEndAllowThreads(__tstate
);
18692 if (PyErr_Occurred()) SWIG_fail
;
18694 resultobj
= SWIG_Py_Void();
18701 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18702 PyObject
*resultobj
= 0;
18703 wxFontData
*arg1
= (wxFontData
*) 0 ;
18709 PyObject
* obj0
= 0 ;
18710 PyObject
* obj1
= 0 ;
18711 char * kwnames
[] = {
18712 (char *) "self",(char *) "showHelp", NULL
18715 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18716 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18717 if (!SWIG_IsOK(res1
)) {
18718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18720 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18721 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18722 if (!SWIG_IsOK(ecode2
)) {
18723 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18725 arg2
= static_cast< bool >(val2
);
18727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18728 (arg1
)->SetShowHelp(arg2
);
18729 wxPyEndAllowThreads(__tstate
);
18730 if (PyErr_Occurred()) SWIG_fail
;
18732 resultobj
= SWIG_Py_Void();
18739 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18741 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18742 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18743 return SWIG_Py_Void();
18746 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18747 return SWIG_Python_InitShadowInstance(args
);
18750 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18751 PyObject
*resultobj
= 0;
18752 wxWindow
*arg1
= (wxWindow
*) 0 ;
18753 wxFontData
*arg2
= 0 ;
18754 wxFontDialog
*result
= 0 ;
18759 PyObject
* obj0
= 0 ;
18760 PyObject
* obj1
= 0 ;
18761 char * kwnames
[] = {
18762 (char *) "parent",(char *) "data", NULL
18765 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18766 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18767 if (!SWIG_IsOK(res1
)) {
18768 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18770 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18771 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18772 if (!SWIG_IsOK(res2
)) {
18773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18776 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18778 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18780 if (!wxPyCheckForApp()) SWIG_fail
;
18781 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18782 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18783 wxPyEndAllowThreads(__tstate
);
18784 if (PyErr_Occurred()) SWIG_fail
;
18786 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18793 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18794 PyObject
*resultobj
= 0;
18795 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18796 wxFontData
*result
= 0 ;
18799 PyObject
*swig_obj
[1] ;
18801 if (!args
) SWIG_fail
;
18802 swig_obj
[0] = args
;
18803 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18804 if (!SWIG_IsOK(res1
)) {
18805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18807 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18811 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18812 result
= (wxFontData
*) &_result_ref
;
18814 wxPyEndAllowThreads(__tstate
);
18815 if (PyErr_Occurred()) SWIG_fail
;
18817 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18824 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18827 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18828 return SWIG_Py_Void();
18831 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18832 return SWIG_Python_InitShadowInstance(args
);
18835 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18836 PyObject
*resultobj
= 0;
18837 wxWindow
*arg1
= (wxWindow
*) NULL
;
18838 wxFont
const &arg2_defvalue
= wxNullFont
;
18839 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18840 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18841 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18847 bool temp3
= false ;
18848 PyObject
* obj0
= 0 ;
18849 PyObject
* obj1
= 0 ;
18850 PyObject
* obj2
= 0 ;
18851 char * kwnames
[] = {
18852 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18858 if (!SWIG_IsOK(res1
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18861 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18864 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18865 if (!SWIG_IsOK(res2
)) {
18866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18869 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18871 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18875 arg3
= wxString_in_helper(obj2
);
18876 if (arg3
== NULL
) SWIG_fail
;
18881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18882 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18883 wxPyEndAllowThreads(__tstate
);
18884 if (PyErr_Occurred()) SWIG_fail
;
18886 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18901 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18902 PyObject
*resultobj
= 0;
18903 wxWindow
*arg1
= (wxWindow
*) 0 ;
18904 wxString
*arg2
= 0 ;
18905 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18907 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18908 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18909 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18910 wxMessageDialog
*result
= 0 ;
18913 bool temp2
= false ;
18914 bool temp3
= false ;
18918 PyObject
* obj0
= 0 ;
18919 PyObject
* obj1
= 0 ;
18920 PyObject
* obj2
= 0 ;
18921 PyObject
* obj3
= 0 ;
18922 PyObject
* obj4
= 0 ;
18923 char * kwnames
[] = {
18924 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18927 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18928 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18929 if (!SWIG_IsOK(res1
)) {
18930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18932 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18934 arg2
= wxString_in_helper(obj1
);
18935 if (arg2
== NULL
) SWIG_fail
;
18940 arg3
= wxString_in_helper(obj2
);
18941 if (arg3
== NULL
) SWIG_fail
;
18946 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18947 if (!SWIG_IsOK(ecode4
)) {
18948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18950 arg4
= static_cast< long >(val4
);
18955 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18959 if (!wxPyCheckForApp()) SWIG_fail
;
18960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18961 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18962 wxPyEndAllowThreads(__tstate
);
18963 if (PyErr_Occurred()) SWIG_fail
;
18965 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18988 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18990 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18991 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18992 return SWIG_Py_Void();
18995 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18996 return SWIG_Python_InitShadowInstance(args
);
18999 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19000 PyObject
*resultobj
= 0;
19001 wxString
*arg1
= 0 ;
19002 wxString
*arg2
= 0 ;
19003 int arg3
= (int) 100 ;
19004 wxWindow
*arg4
= (wxWindow
*) NULL
;
19005 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19006 wxProgressDialog
*result
= 0 ;
19007 bool temp1
= false ;
19008 bool temp2
= false ;
19015 PyObject
* obj0
= 0 ;
19016 PyObject
* obj1
= 0 ;
19017 PyObject
* obj2
= 0 ;
19018 PyObject
* obj3
= 0 ;
19019 PyObject
* obj4
= 0 ;
19020 char * kwnames
[] = {
19021 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19026 arg1
= wxString_in_helper(obj0
);
19027 if (arg1
== NULL
) SWIG_fail
;
19031 arg2
= wxString_in_helper(obj1
);
19032 if (arg2
== NULL
) SWIG_fail
;
19036 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19037 if (!SWIG_IsOK(ecode3
)) {
19038 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19040 arg3
= static_cast< int >(val3
);
19043 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19044 if (!SWIG_IsOK(res4
)) {
19045 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19047 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19050 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19051 if (!SWIG_IsOK(ecode5
)) {
19052 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19054 arg5
= static_cast< int >(val5
);
19057 if (!wxPyCheckForApp()) SWIG_fail
;
19058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19059 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19060 wxPyEndAllowThreads(__tstate
);
19061 if (PyErr_Occurred()) SWIG_fail
;
19063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19086 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19087 PyObject
*resultobj
= 0;
19088 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19090 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19091 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19092 bool *arg4
= (bool *) 0 ;
19098 bool temp3
= false ;
19100 int res4
= SWIG_TMPOBJ
;
19101 PyObject
* obj0
= 0 ;
19102 PyObject
* obj1
= 0 ;
19103 PyObject
* obj2
= 0 ;
19104 char * kwnames
[] = {
19105 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19111 if (!SWIG_IsOK(res1
)) {
19112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19114 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19115 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19116 if (!SWIG_IsOK(ecode2
)) {
19117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19119 arg2
= static_cast< int >(val2
);
19122 arg3
= wxString_in_helper(obj2
);
19123 if (arg3
== NULL
) SWIG_fail
;
19128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19129 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19130 wxPyEndAllowThreads(__tstate
);
19131 if (PyErr_Occurred()) SWIG_fail
;
19134 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19136 if (SWIG_IsTmpObj(res4
)) {
19137 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19139 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19140 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19156 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19157 PyObject
*resultobj
= 0;
19158 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19161 PyObject
*swig_obj
[1] ;
19163 if (!args
) SWIG_fail
;
19164 swig_obj
[0] = args
;
19165 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19166 if (!SWIG_IsOK(res1
)) {
19167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19169 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19173 wxPyEndAllowThreads(__tstate
);
19174 if (PyErr_Occurred()) SWIG_fail
;
19176 resultobj
= SWIG_Py_Void();
19183 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19186 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19187 return SWIG_Py_Void();
19190 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19191 return SWIG_Python_InitShadowInstance(args
);
19194 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19195 PyObject
*resultobj
= 0;
19196 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19197 int arg2
= (int) 0 ;
19198 wxFindDialogEvent
*result
= 0 ;
19203 PyObject
* obj0
= 0 ;
19204 PyObject
* obj1
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "commandType",(char *) "id", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19211 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19212 if (!SWIG_IsOK(ecode1
)) {
19213 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19215 arg1
= static_cast< wxEventType
>(val1
);
19218 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19219 if (!SWIG_IsOK(ecode2
)) {
19220 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19222 arg2
= static_cast< int >(val2
);
19225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19226 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19227 wxPyEndAllowThreads(__tstate
);
19228 if (PyErr_Occurred()) SWIG_fail
;
19230 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19237 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19238 PyObject
*resultobj
= 0;
19239 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19243 PyObject
*swig_obj
[1] ;
19245 if (!args
) SWIG_fail
;
19246 swig_obj
[0] = args
;
19247 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19248 if (!SWIG_IsOK(res1
)) {
19249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19251 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19254 result
= (int)(arg1
)->GetFlags();
19255 wxPyEndAllowThreads(__tstate
);
19256 if (PyErr_Occurred()) SWIG_fail
;
19258 resultobj
= SWIG_From_int(static_cast< int >(result
));
19265 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19266 PyObject
*resultobj
= 0;
19267 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19268 wxString
*result
= 0 ;
19271 PyObject
*swig_obj
[1] ;
19273 if (!args
) SWIG_fail
;
19274 swig_obj
[0] = args
;
19275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19276 if (!SWIG_IsOK(res1
)) {
19277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19279 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19283 wxString
const &_result_ref
= (arg1
)->GetFindString();
19284 result
= (wxString
*) &_result_ref
;
19286 wxPyEndAllowThreads(__tstate
);
19287 if (PyErr_Occurred()) SWIG_fail
;
19291 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19293 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19302 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19303 PyObject
*resultobj
= 0;
19304 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19305 wxString
*result
= 0 ;
19308 PyObject
*swig_obj
[1] ;
19310 if (!args
) SWIG_fail
;
19311 swig_obj
[0] = args
;
19312 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19313 if (!SWIG_IsOK(res1
)) {
19314 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19316 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19320 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19321 result
= (wxString
*) &_result_ref
;
19323 wxPyEndAllowThreads(__tstate
);
19324 if (PyErr_Occurred()) SWIG_fail
;
19328 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19330 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19339 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19340 PyObject
*resultobj
= 0;
19341 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19342 wxFindReplaceDialog
*result
= 0 ;
19345 PyObject
*swig_obj
[1] ;
19347 if (!args
) SWIG_fail
;
19348 swig_obj
[0] = args
;
19349 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19350 if (!SWIG_IsOK(res1
)) {
19351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19353 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19356 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19357 wxPyEndAllowThreads(__tstate
);
19358 if (PyErr_Occurred()) SWIG_fail
;
19360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19367 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19368 PyObject
*resultobj
= 0;
19369 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19375 PyObject
* obj0
= 0 ;
19376 PyObject
* obj1
= 0 ;
19377 char * kwnames
[] = {
19378 (char *) "self",(char *) "flags", NULL
19381 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19382 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19383 if (!SWIG_IsOK(res1
)) {
19384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19386 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19387 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19388 if (!SWIG_IsOK(ecode2
)) {
19389 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19391 arg2
= static_cast< int >(val2
);
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19394 (arg1
)->SetFlags(arg2
);
19395 wxPyEndAllowThreads(__tstate
);
19396 if (PyErr_Occurred()) SWIG_fail
;
19398 resultobj
= SWIG_Py_Void();
19405 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19406 PyObject
*resultobj
= 0;
19407 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19408 wxString
*arg2
= 0 ;
19411 bool temp2
= false ;
19412 PyObject
* obj0
= 0 ;
19413 PyObject
* obj1
= 0 ;
19414 char * kwnames
[] = {
19415 (char *) "self",(char *) "str", NULL
19418 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19419 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19420 if (!SWIG_IsOK(res1
)) {
19421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19423 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19425 arg2
= wxString_in_helper(obj1
);
19426 if (arg2
== NULL
) SWIG_fail
;
19430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19431 (arg1
)->SetFindString((wxString
const &)*arg2
);
19432 wxPyEndAllowThreads(__tstate
);
19433 if (PyErr_Occurred()) SWIG_fail
;
19435 resultobj
= SWIG_Py_Void();
19450 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19451 PyObject
*resultobj
= 0;
19452 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19453 wxString
*arg2
= 0 ;
19456 bool temp2
= false ;
19457 PyObject
* obj0
= 0 ;
19458 PyObject
* obj1
= 0 ;
19459 char * kwnames
[] = {
19460 (char *) "self",(char *) "str", NULL
19463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19465 if (!SWIG_IsOK(res1
)) {
19466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19468 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19470 arg2
= wxString_in_helper(obj1
);
19471 if (arg2
== NULL
) SWIG_fail
;
19475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19476 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19477 wxPyEndAllowThreads(__tstate
);
19478 if (PyErr_Occurred()) SWIG_fail
;
19480 resultobj
= SWIG_Py_Void();
19495 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19497 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19498 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19499 return SWIG_Py_Void();
19502 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19503 return SWIG_Python_InitShadowInstance(args
);
19506 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19507 PyObject
*resultobj
= 0;
19508 int arg1
= (int) 0 ;
19509 wxFindReplaceData
*result
= 0 ;
19512 PyObject
* obj0
= 0 ;
19513 char * kwnames
[] = {
19514 (char *) "flags", NULL
19517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19520 if (!SWIG_IsOK(ecode1
)) {
19521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19523 arg1
= static_cast< int >(val1
);
19526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19527 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19528 wxPyEndAllowThreads(__tstate
);
19529 if (PyErr_Occurred()) SWIG_fail
;
19531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19538 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19539 PyObject
*resultobj
= 0;
19540 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19543 PyObject
*swig_obj
[1] ;
19545 if (!args
) SWIG_fail
;
19546 swig_obj
[0] = args
;
19547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19548 if (!SWIG_IsOK(res1
)) {
19549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19551 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19556 wxPyEndAllowThreads(__tstate
);
19557 if (PyErr_Occurred()) SWIG_fail
;
19559 resultobj
= SWIG_Py_Void();
19566 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19567 PyObject
*resultobj
= 0;
19568 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19569 wxString
*result
= 0 ;
19572 PyObject
*swig_obj
[1] ;
19574 if (!args
) SWIG_fail
;
19575 swig_obj
[0] = args
;
19576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19577 if (!SWIG_IsOK(res1
)) {
19578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19580 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19584 wxString
const &_result_ref
= (arg1
)->GetFindString();
19585 result
= (wxString
*) &_result_ref
;
19587 wxPyEndAllowThreads(__tstate
);
19588 if (PyErr_Occurred()) SWIG_fail
;
19592 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19594 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19603 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19604 PyObject
*resultobj
= 0;
19605 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19606 wxString
*result
= 0 ;
19609 PyObject
*swig_obj
[1] ;
19611 if (!args
) SWIG_fail
;
19612 swig_obj
[0] = args
;
19613 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19614 if (!SWIG_IsOK(res1
)) {
19615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19617 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19621 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19622 result
= (wxString
*) &_result_ref
;
19624 wxPyEndAllowThreads(__tstate
);
19625 if (PyErr_Occurred()) SWIG_fail
;
19629 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19631 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19640 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19641 PyObject
*resultobj
= 0;
19642 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19646 PyObject
*swig_obj
[1] ;
19648 if (!args
) SWIG_fail
;
19649 swig_obj
[0] = args
;
19650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19651 if (!SWIG_IsOK(res1
)) {
19652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19654 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19657 result
= (int)(arg1
)->GetFlags();
19658 wxPyEndAllowThreads(__tstate
);
19659 if (PyErr_Occurred()) SWIG_fail
;
19661 resultobj
= SWIG_From_int(static_cast< int >(result
));
19668 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19669 PyObject
*resultobj
= 0;
19670 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19676 PyObject
* obj0
= 0 ;
19677 PyObject
* obj1
= 0 ;
19678 char * kwnames
[] = {
19679 (char *) "self",(char *) "flags", NULL
19682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19684 if (!SWIG_IsOK(res1
)) {
19685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19687 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19689 if (!SWIG_IsOK(ecode2
)) {
19690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19692 arg2
= static_cast< int >(val2
);
19694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19695 (arg1
)->SetFlags(arg2
);
19696 wxPyEndAllowThreads(__tstate
);
19697 if (PyErr_Occurred()) SWIG_fail
;
19699 resultobj
= SWIG_Py_Void();
19706 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19707 PyObject
*resultobj
= 0;
19708 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19709 wxString
*arg2
= 0 ;
19712 bool temp2
= false ;
19713 PyObject
* obj0
= 0 ;
19714 PyObject
* obj1
= 0 ;
19715 char * kwnames
[] = {
19716 (char *) "self",(char *) "str", NULL
19719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19721 if (!SWIG_IsOK(res1
)) {
19722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19724 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19726 arg2
= wxString_in_helper(obj1
);
19727 if (arg2
== NULL
) SWIG_fail
;
19731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19732 (arg1
)->SetFindString((wxString
const &)*arg2
);
19733 wxPyEndAllowThreads(__tstate
);
19734 if (PyErr_Occurred()) SWIG_fail
;
19736 resultobj
= SWIG_Py_Void();
19751 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19752 PyObject
*resultobj
= 0;
19753 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19754 wxString
*arg2
= 0 ;
19757 bool temp2
= false ;
19758 PyObject
* obj0
= 0 ;
19759 PyObject
* obj1
= 0 ;
19760 char * kwnames
[] = {
19761 (char *) "self",(char *) "str", NULL
19764 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19765 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19766 if (!SWIG_IsOK(res1
)) {
19767 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19769 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19771 arg2
= wxString_in_helper(obj1
);
19772 if (arg2
== NULL
) SWIG_fail
;
19776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19777 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19778 wxPyEndAllowThreads(__tstate
);
19779 if (PyErr_Occurred()) SWIG_fail
;
19781 resultobj
= SWIG_Py_Void();
19796 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19798 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19799 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19800 return SWIG_Py_Void();
19803 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19804 return SWIG_Python_InitShadowInstance(args
);
19807 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19808 PyObject
*resultobj
= 0;
19809 wxWindow
*arg1
= (wxWindow
*) 0 ;
19810 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19811 wxString
*arg3
= 0 ;
19812 int arg4
= (int) 0 ;
19813 wxFindReplaceDialog
*result
= 0 ;
19818 bool temp3
= false ;
19821 PyObject
* obj0
= 0 ;
19822 PyObject
* obj1
= 0 ;
19823 PyObject
* obj2
= 0 ;
19824 PyObject
* obj3
= 0 ;
19825 char * kwnames
[] = {
19826 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19829 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19830 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19831 if (!SWIG_IsOK(res1
)) {
19832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19834 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19835 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19836 if (!SWIG_IsOK(res2
)) {
19837 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19839 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19841 arg3
= wxString_in_helper(obj2
);
19842 if (arg3
== NULL
) SWIG_fail
;
19846 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19847 if (!SWIG_IsOK(ecode4
)) {
19848 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19850 arg4
= static_cast< int >(val4
);
19853 if (!wxPyCheckForApp()) SWIG_fail
;
19854 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19855 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19856 wxPyEndAllowThreads(__tstate
);
19857 if (PyErr_Occurred()) SWIG_fail
;
19859 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19874 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19875 PyObject
*resultobj
= 0;
19876 wxFindReplaceDialog
*result
= 0 ;
19878 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19880 if (!wxPyCheckForApp()) SWIG_fail
;
19881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19882 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19883 wxPyEndAllowThreads(__tstate
);
19884 if (PyErr_Occurred()) SWIG_fail
;
19886 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19893 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19894 PyObject
*resultobj
= 0;
19895 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19896 wxWindow
*arg2
= (wxWindow
*) 0 ;
19897 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19898 wxString
*arg4
= 0 ;
19899 int arg5
= (int) 0 ;
19907 bool temp4
= false ;
19910 PyObject
* obj0
= 0 ;
19911 PyObject
* obj1
= 0 ;
19912 PyObject
* obj2
= 0 ;
19913 PyObject
* obj3
= 0 ;
19914 PyObject
* obj4
= 0 ;
19915 char * kwnames
[] = {
19916 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19924 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19925 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19926 if (!SWIG_IsOK(res2
)) {
19927 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19929 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19930 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19931 if (!SWIG_IsOK(res3
)) {
19932 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19934 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19936 arg4
= wxString_in_helper(obj3
);
19937 if (arg4
== NULL
) SWIG_fail
;
19941 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19942 if (!SWIG_IsOK(ecode5
)) {
19943 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19945 arg5
= static_cast< int >(val5
);
19948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19949 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19950 wxPyEndAllowThreads(__tstate
);
19951 if (PyErr_Occurred()) SWIG_fail
;
19954 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19970 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19971 PyObject
*resultobj
= 0;
19972 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19973 wxFindReplaceData
*result
= 0 ;
19976 PyObject
*swig_obj
[1] ;
19978 if (!args
) SWIG_fail
;
19979 swig_obj
[0] = args
;
19980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19981 if (!SWIG_IsOK(res1
)) {
19982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19984 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19987 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19988 wxPyEndAllowThreads(__tstate
);
19989 if (PyErr_Occurred()) SWIG_fail
;
19991 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19998 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19999 PyObject
*resultobj
= 0;
20000 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20001 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20006 PyObject
* obj0
= 0 ;
20007 PyObject
* obj1
= 0 ;
20008 char * kwnames
[] = {
20009 (char *) "self",(char *) "data", NULL
20012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20014 if (!SWIG_IsOK(res1
)) {
20015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20017 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20018 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20019 if (!SWIG_IsOK(res2
)) {
20020 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20022 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20025 (arg1
)->SetData(arg2
);
20026 wxPyEndAllowThreads(__tstate
);
20027 if (PyErr_Occurred()) SWIG_fail
;
20029 resultobj
= SWIG_Py_Void();
20036 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20038 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20039 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20040 return SWIG_Py_Void();
20043 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20044 return SWIG_Python_InitShadowInstance(args
);
20047 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20048 PyObject
*resultobj
= 0;
20049 wxWindow
*arg1
= (wxWindow
*) 0 ;
20050 int arg2
= (int) (int)-1 ;
20051 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20052 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20053 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20054 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20055 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20056 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20057 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20058 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20059 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20060 wxMDIParentFrame
*result
= 0 ;
20065 bool temp3
= false ;
20070 bool temp7
= false ;
20071 PyObject
* obj0
= 0 ;
20072 PyObject
* obj1
= 0 ;
20073 PyObject
* obj2
= 0 ;
20074 PyObject
* obj3
= 0 ;
20075 PyObject
* obj4
= 0 ;
20076 PyObject
* obj5
= 0 ;
20077 PyObject
* obj6
= 0 ;
20078 char * kwnames
[] = {
20079 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20082 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20083 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20084 if (!SWIG_IsOK(res1
)) {
20085 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20087 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20090 if (!SWIG_IsOK(ecode2
)) {
20091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20093 arg2
= static_cast< int >(val2
);
20097 arg3
= wxString_in_helper(obj2
);
20098 if (arg3
== NULL
) SWIG_fail
;
20105 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20111 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20115 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20116 if (!SWIG_IsOK(ecode6
)) {
20117 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20119 arg6
= static_cast< long >(val6
);
20123 arg7
= wxString_in_helper(obj6
);
20124 if (arg7
== NULL
) SWIG_fail
;
20129 if (!wxPyCheckForApp()) SWIG_fail
;
20130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20131 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20132 wxPyEndAllowThreads(__tstate
);
20133 if (PyErr_Occurred()) SWIG_fail
;
20135 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20158 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20159 PyObject
*resultobj
= 0;
20160 wxMDIParentFrame
*result
= 0 ;
20162 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20164 if (!wxPyCheckForApp()) SWIG_fail
;
20165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20166 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20167 wxPyEndAllowThreads(__tstate
);
20168 if (PyErr_Occurred()) SWIG_fail
;
20170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20177 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20178 PyObject
*resultobj
= 0;
20179 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20180 wxWindow
*arg2
= (wxWindow
*) 0 ;
20181 int arg3
= (int) (int)-1 ;
20182 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20183 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20184 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20185 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20186 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20187 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20188 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20189 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20190 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20198 bool temp4
= false ;
20203 bool temp8
= false ;
20204 PyObject
* obj0
= 0 ;
20205 PyObject
* obj1
= 0 ;
20206 PyObject
* obj2
= 0 ;
20207 PyObject
* obj3
= 0 ;
20208 PyObject
* obj4
= 0 ;
20209 PyObject
* obj5
= 0 ;
20210 PyObject
* obj6
= 0 ;
20211 PyObject
* obj7
= 0 ;
20212 char * kwnames
[] = {
20213 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20216 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20217 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20218 if (!SWIG_IsOK(res1
)) {
20219 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20221 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20222 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20223 if (!SWIG_IsOK(res2
)) {
20224 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20226 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20228 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20229 if (!SWIG_IsOK(ecode3
)) {
20230 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20232 arg3
= static_cast< int >(val3
);
20236 arg4
= wxString_in_helper(obj3
);
20237 if (arg4
== NULL
) SWIG_fail
;
20244 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20250 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20254 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20255 if (!SWIG_IsOK(ecode7
)) {
20256 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20258 arg7
= static_cast< long >(val7
);
20262 arg8
= wxString_in_helper(obj7
);
20263 if (arg8
== NULL
) SWIG_fail
;
20268 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20269 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20270 wxPyEndAllowThreads(__tstate
);
20271 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20298 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20299 PyObject
*resultobj
= 0;
20300 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20303 PyObject
*swig_obj
[1] ;
20305 if (!args
) SWIG_fail
;
20306 swig_obj
[0] = args
;
20307 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20308 if (!SWIG_IsOK(res1
)) {
20309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20311 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20313 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20314 (arg1
)->ActivateNext();
20315 wxPyEndAllowThreads(__tstate
);
20316 if (PyErr_Occurred()) SWIG_fail
;
20318 resultobj
= SWIG_Py_Void();
20325 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20326 PyObject
*resultobj
= 0;
20327 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20330 PyObject
*swig_obj
[1] ;
20332 if (!args
) SWIG_fail
;
20333 swig_obj
[0] = args
;
20334 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20335 if (!SWIG_IsOK(res1
)) {
20336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20338 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20341 (arg1
)->ActivatePrevious();
20342 wxPyEndAllowThreads(__tstate
);
20343 if (PyErr_Occurred()) SWIG_fail
;
20345 resultobj
= SWIG_Py_Void();
20352 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20353 PyObject
*resultobj
= 0;
20354 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20357 PyObject
*swig_obj
[1] ;
20359 if (!args
) SWIG_fail
;
20360 swig_obj
[0] = args
;
20361 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20362 if (!SWIG_IsOK(res1
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20365 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 (arg1
)->ArrangeIcons();
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_Py_Void();
20379 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20380 PyObject
*resultobj
= 0;
20381 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20384 PyObject
*swig_obj
[1] ;
20386 if (!args
) SWIG_fail
;
20387 swig_obj
[0] = args
;
20388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20389 if (!SWIG_IsOK(res1
)) {
20390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20392 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20396 wxPyEndAllowThreads(__tstate
);
20397 if (PyErr_Occurred()) SWIG_fail
;
20399 resultobj
= SWIG_Py_Void();
20406 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20407 PyObject
*resultobj
= 0;
20408 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20409 wxMDIChildFrame
*result
= 0 ;
20412 PyObject
*swig_obj
[1] ;
20414 if (!args
) SWIG_fail
;
20415 swig_obj
[0] = args
;
20416 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20417 if (!SWIG_IsOK(res1
)) {
20418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20420 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20423 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20424 wxPyEndAllowThreads(__tstate
);
20425 if (PyErr_Occurred()) SWIG_fail
;
20428 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20436 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20437 PyObject
*resultobj
= 0;
20438 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20439 wxMDIClientWindow
*result
= 0 ;
20442 PyObject
*swig_obj
[1] ;
20444 if (!args
) SWIG_fail
;
20445 swig_obj
[0] = args
;
20446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20447 if (!SWIG_IsOK(res1
)) {
20448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20450 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20453 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20454 wxPyEndAllowThreads(__tstate
);
20455 if (PyErr_Occurred()) SWIG_fail
;
20458 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20466 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20467 PyObject
*resultobj
= 0;
20468 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20469 wxWindow
*result
= 0 ;
20472 PyObject
*swig_obj
[1] ;
20474 if (!args
) SWIG_fail
;
20475 swig_obj
[0] = args
;
20476 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20477 if (!SWIG_IsOK(res1
)) {
20478 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20480 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20483 result
= (wxWindow
*)(arg1
)->GetToolBar();
20484 wxPyEndAllowThreads(__tstate
);
20485 if (PyErr_Occurred()) SWIG_fail
;
20488 resultobj
= wxPyMake_wxObject(result
, 0);
20496 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20497 PyObject
*resultobj
= 0;
20498 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20499 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20504 PyObject
* obj0
= 0 ;
20505 PyObject
* obj1
= 0 ;
20506 char * kwnames
[] = {
20507 (char *) "self",(char *) "orient", NULL
20510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20512 if (!SWIG_IsOK(res1
)) {
20513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20515 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20517 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20518 if (!SWIG_IsOK(ecode2
)) {
20519 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20521 arg2
= static_cast< wxOrientation
>(val2
);
20524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20525 (arg1
)->Tile(arg2
);
20526 wxPyEndAllowThreads(__tstate
);
20527 if (PyErr_Occurred()) SWIG_fail
;
20529 resultobj
= SWIG_Py_Void();
20536 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20538 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20539 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20540 return SWIG_Py_Void();
20543 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20544 return SWIG_Python_InitShadowInstance(args
);
20547 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20550 int arg2
= (int) (int)-1 ;
20551 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20552 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20553 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20554 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20555 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20556 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20557 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20558 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20559 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20560 wxMDIChildFrame
*result
= 0 ;
20565 bool temp3
= false ;
20570 bool temp7
= false ;
20571 PyObject
* obj0
= 0 ;
20572 PyObject
* obj1
= 0 ;
20573 PyObject
* obj2
= 0 ;
20574 PyObject
* obj3
= 0 ;
20575 PyObject
* obj4
= 0 ;
20576 PyObject
* obj5
= 0 ;
20577 PyObject
* obj6
= 0 ;
20578 char * kwnames
[] = {
20579 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20584 if (!SWIG_IsOK(res1
)) {
20585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20587 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20589 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20590 if (!SWIG_IsOK(ecode2
)) {
20591 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20593 arg2
= static_cast< int >(val2
);
20597 arg3
= wxString_in_helper(obj2
);
20598 if (arg3
== NULL
) SWIG_fail
;
20605 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20611 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20615 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20616 if (!SWIG_IsOK(ecode6
)) {
20617 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20619 arg6
= static_cast< long >(val6
);
20623 arg7
= wxString_in_helper(obj6
);
20624 if (arg7
== NULL
) SWIG_fail
;
20629 if (!wxPyCheckForApp()) SWIG_fail
;
20630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20631 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20632 wxPyEndAllowThreads(__tstate
);
20633 if (PyErr_Occurred()) SWIG_fail
;
20635 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20658 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20659 PyObject
*resultobj
= 0;
20660 wxMDIChildFrame
*result
= 0 ;
20662 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20664 if (!wxPyCheckForApp()) SWIG_fail
;
20665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20666 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20667 wxPyEndAllowThreads(__tstate
);
20668 if (PyErr_Occurred()) SWIG_fail
;
20670 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20677 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20678 PyObject
*resultobj
= 0;
20679 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20680 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20681 int arg3
= (int) (int)-1 ;
20682 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20683 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20684 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20685 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20686 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20687 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20688 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20689 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20690 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20698 bool temp4
= false ;
20703 bool temp8
= false ;
20704 PyObject
* obj0
= 0 ;
20705 PyObject
* obj1
= 0 ;
20706 PyObject
* obj2
= 0 ;
20707 PyObject
* obj3
= 0 ;
20708 PyObject
* obj4
= 0 ;
20709 PyObject
* obj5
= 0 ;
20710 PyObject
* obj6
= 0 ;
20711 PyObject
* obj7
= 0 ;
20712 char * kwnames
[] = {
20713 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20718 if (!SWIG_IsOK(res1
)) {
20719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20721 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20722 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20723 if (!SWIG_IsOK(res2
)) {
20724 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20726 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20728 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20729 if (!SWIG_IsOK(ecode3
)) {
20730 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20732 arg3
= static_cast< int >(val3
);
20736 arg4
= wxString_in_helper(obj3
);
20737 if (arg4
== NULL
) SWIG_fail
;
20744 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20750 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20754 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20755 if (!SWIG_IsOK(ecode7
)) {
20756 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20758 arg7
= static_cast< long >(val7
);
20762 arg8
= wxString_in_helper(obj7
);
20763 if (arg8
== NULL
) SWIG_fail
;
20768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20769 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20770 wxPyEndAllowThreads(__tstate
);
20771 if (PyErr_Occurred()) SWIG_fail
;
20774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20798 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20799 PyObject
*resultobj
= 0;
20800 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20803 PyObject
*swig_obj
[1] ;
20805 if (!args
) SWIG_fail
;
20806 swig_obj
[0] = args
;
20807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20808 if (!SWIG_IsOK(res1
)) {
20809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20811 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20814 (arg1
)->Activate();
20815 wxPyEndAllowThreads(__tstate
);
20816 if (PyErr_Occurred()) SWIG_fail
;
20818 resultobj
= SWIG_Py_Void();
20825 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20827 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20828 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20829 return SWIG_Py_Void();
20832 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20833 return SWIG_Python_InitShadowInstance(args
);
20836 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20837 PyObject
*resultobj
= 0;
20838 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20839 long arg2
= (long) 0 ;
20840 wxMDIClientWindow
*result
= 0 ;
20845 PyObject
* obj0
= 0 ;
20846 PyObject
* obj1
= 0 ;
20847 char * kwnames
[] = {
20848 (char *) "parent",(char *) "style", NULL
20851 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20852 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20853 if (!SWIG_IsOK(res1
)) {
20854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20856 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20858 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20859 if (!SWIG_IsOK(ecode2
)) {
20860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20862 arg2
= static_cast< long >(val2
);
20865 if (!wxPyCheckForApp()) SWIG_fail
;
20866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20867 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20868 wxPyEndAllowThreads(__tstate
);
20869 if (PyErr_Occurred()) SWIG_fail
;
20871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20878 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20879 PyObject
*resultobj
= 0;
20880 wxMDIClientWindow
*result
= 0 ;
20882 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20884 if (!wxPyCheckForApp()) SWIG_fail
;
20885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20886 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20887 wxPyEndAllowThreads(__tstate
);
20888 if (PyErr_Occurred()) SWIG_fail
;
20890 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20897 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20898 PyObject
*resultobj
= 0;
20899 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20900 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20901 long arg3
= (long) 0 ;
20909 PyObject
* obj0
= 0 ;
20910 PyObject
* obj1
= 0 ;
20911 PyObject
* obj2
= 0 ;
20912 char * kwnames
[] = {
20913 (char *) "self",(char *) "parent",(char *) "style", NULL
20916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20918 if (!SWIG_IsOK(res1
)) {
20919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20921 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20923 if (!SWIG_IsOK(res2
)) {
20924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20926 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20928 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20929 if (!SWIG_IsOK(ecode3
)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20932 arg3
= static_cast< long >(val3
);
20935 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20936 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20937 wxPyEndAllowThreads(__tstate
);
20938 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20949 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20951 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20952 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
20953 return SWIG_Py_Void();
20956 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20957 return SWIG_Python_InitShadowInstance(args
);
20960 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20961 PyObject
*resultobj
= 0;
20962 wxWindow
*arg1
= (wxWindow
*) 0 ;
20963 int arg2
= (int) (int)-1 ;
20964 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
20965 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
20966 wxSize
const &arg4_defvalue
= wxDefaultSize
;
20967 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
20968 long arg5
= (long) 0 ;
20969 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
20970 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
20971 wxPyWindow
*result
= 0 ;
20980 bool temp6
= false ;
20981 PyObject
* obj0
= 0 ;
20982 PyObject
* obj1
= 0 ;
20983 PyObject
* obj2
= 0 ;
20984 PyObject
* obj3
= 0 ;
20985 PyObject
* obj4
= 0 ;
20986 PyObject
* obj5
= 0 ;
20987 char * kwnames
[] = {
20988 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20991 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
20992 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20993 if (!SWIG_IsOK(res1
)) {
20994 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
20996 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20998 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20999 if (!SWIG_IsOK(ecode2
)) {
21000 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21002 arg2
= static_cast< int >(val2
);
21007 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21013 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21017 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21018 if (!SWIG_IsOK(ecode5
)) {
21019 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21021 arg5
= static_cast< long >(val5
);
21025 arg6
= wxString_in_helper(obj5
);
21026 if (arg6
== NULL
) SWIG_fail
;
21031 if (!wxPyCheckForApp()) SWIG_fail
;
21032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21033 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21034 wxPyEndAllowThreads(__tstate
);
21035 if (PyErr_Occurred()) SWIG_fail
;
21037 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21052 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21053 PyObject
*resultobj
= 0;
21054 wxPyWindow
*result
= 0 ;
21056 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21058 if (!wxPyCheckForApp()) SWIG_fail
;
21059 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21060 result
= (wxPyWindow
*)new wxPyWindow();
21061 wxPyEndAllowThreads(__tstate
);
21062 if (PyErr_Occurred()) SWIG_fail
;
21064 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21071 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21072 PyObject
*resultobj
= 0;
21073 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21074 PyObject
*arg2
= (PyObject
*) 0 ;
21075 PyObject
*arg3
= (PyObject
*) 0 ;
21078 PyObject
* obj0
= 0 ;
21079 PyObject
* obj1
= 0 ;
21080 PyObject
* obj2
= 0 ;
21081 char * kwnames
[] = {
21082 (char *) "self",(char *) "self",(char *) "_class", NULL
21085 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21086 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21087 if (!SWIG_IsOK(res1
)) {
21088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21090 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21095 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21096 wxPyEndAllowThreads(__tstate
);
21097 if (PyErr_Occurred()) SWIG_fail
;
21099 resultobj
= SWIG_Py_Void();
21106 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21107 PyObject
*resultobj
= 0;
21108 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21113 PyObject
* obj0
= 0 ;
21114 PyObject
* obj1
= 0 ;
21115 char * kwnames
[] = {
21116 (char *) "self",(char *) "size", NULL
21119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21124 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21127 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21131 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21132 wxPyEndAllowThreads(__tstate
);
21133 if (PyErr_Occurred()) SWIG_fail
;
21135 resultobj
= SWIG_Py_Void();
21142 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21143 PyObject
*resultobj
= 0;
21144 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21145 wxDC
*arg2
= (wxDC
*) 0 ;
21151 PyObject
* obj0
= 0 ;
21152 PyObject
* obj1
= 0 ;
21153 char * kwnames
[] = {
21154 (char *) "self",(char *) "dc", NULL
21157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21159 if (!SWIG_IsOK(res1
)) {
21160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21162 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21164 if (!SWIG_IsOK(res2
)) {
21165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21167 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21170 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21171 wxPyEndAllowThreads(__tstate
);
21172 if (PyErr_Occurred()) SWIG_fail
;
21175 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21183 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21184 PyObject
*resultobj
= 0;
21185 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21200 PyObject
* obj0
= 0 ;
21201 PyObject
* obj1
= 0 ;
21202 PyObject
* obj2
= 0 ;
21203 PyObject
* obj3
= 0 ;
21204 PyObject
* obj4
= 0 ;
21205 char * kwnames
[] = {
21206 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21211 if (!SWIG_IsOK(res1
)) {
21212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21214 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21216 if (!SWIG_IsOK(ecode2
)) {
21217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21219 arg2
= static_cast< int >(val2
);
21220 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21221 if (!SWIG_IsOK(ecode3
)) {
21222 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21224 arg3
= static_cast< int >(val3
);
21225 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21226 if (!SWIG_IsOK(ecode4
)) {
21227 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21229 arg4
= static_cast< int >(val4
);
21230 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21231 if (!SWIG_IsOK(ecode5
)) {
21232 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21234 arg5
= static_cast< int >(val5
);
21236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21237 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21238 wxPyEndAllowThreads(__tstate
);
21239 if (PyErr_Occurred()) SWIG_fail
;
21241 resultobj
= SWIG_Py_Void();
21248 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21249 PyObject
*resultobj
= 0;
21250 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21255 int arg6
= (int) wxSIZE_AUTO
;
21268 PyObject
* obj0
= 0 ;
21269 PyObject
* obj1
= 0 ;
21270 PyObject
* obj2
= 0 ;
21271 PyObject
* obj3
= 0 ;
21272 PyObject
* obj4
= 0 ;
21273 PyObject
* obj5
= 0 ;
21274 char * kwnames
[] = {
21275 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21280 if (!SWIG_IsOK(res1
)) {
21281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21283 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21284 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21285 if (!SWIG_IsOK(ecode2
)) {
21286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21288 arg2
= static_cast< int >(val2
);
21289 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21290 if (!SWIG_IsOK(ecode3
)) {
21291 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21293 arg3
= static_cast< int >(val3
);
21294 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21295 if (!SWIG_IsOK(ecode4
)) {
21296 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21298 arg4
= static_cast< int >(val4
);
21299 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21300 if (!SWIG_IsOK(ecode5
)) {
21301 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21303 arg5
= static_cast< int >(val5
);
21305 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21306 if (!SWIG_IsOK(ecode6
)) {
21307 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21309 arg6
= static_cast< int >(val6
);
21312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21313 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21314 wxPyEndAllowThreads(__tstate
);
21315 if (PyErr_Occurred()) SWIG_fail
;
21317 resultobj
= SWIG_Py_Void();
21324 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21325 PyObject
*resultobj
= 0;
21326 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21335 PyObject
* obj0
= 0 ;
21336 PyObject
* obj1
= 0 ;
21337 PyObject
* obj2
= 0 ;
21338 char * kwnames
[] = {
21339 (char *) "self",(char *) "width",(char *) "height", NULL
21342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21344 if (!SWIG_IsOK(res1
)) {
21345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21347 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21348 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21349 if (!SWIG_IsOK(ecode2
)) {
21350 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21352 arg2
= static_cast< int >(val2
);
21353 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21354 if (!SWIG_IsOK(ecode3
)) {
21355 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21357 arg3
= static_cast< int >(val3
);
21359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21360 (arg1
)->DoSetClientSize(arg2
,arg3
);
21361 wxPyEndAllowThreads(__tstate
);
21362 if (PyErr_Occurred()) SWIG_fail
;
21364 resultobj
= SWIG_Py_Void();
21371 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21372 PyObject
*resultobj
= 0;
21373 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21382 PyObject
* obj0
= 0 ;
21383 PyObject
* obj1
= 0 ;
21384 PyObject
* obj2
= 0 ;
21385 char * kwnames
[] = {
21386 (char *) "self",(char *) "x",(char *) "y", NULL
21389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21391 if (!SWIG_IsOK(res1
)) {
21392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21394 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21395 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21396 if (!SWIG_IsOK(ecode2
)) {
21397 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21399 arg2
= static_cast< int >(val2
);
21400 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21401 if (!SWIG_IsOK(ecode3
)) {
21402 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21404 arg3
= static_cast< int >(val3
);
21406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21407 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21408 wxPyEndAllowThreads(__tstate
);
21409 if (PyErr_Occurred()) SWIG_fail
;
21411 resultobj
= SWIG_Py_Void();
21418 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21419 PyObject
*resultobj
= 0;
21420 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21421 int *arg2
= (int *) 0 ;
21422 int *arg3
= (int *) 0 ;
21426 int res2
= SWIG_TMPOBJ
;
21428 int res3
= SWIG_TMPOBJ
;
21429 PyObject
*swig_obj
[1] ;
21433 if (!args
) SWIG_fail
;
21434 swig_obj
[0] = args
;
21435 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21436 if (!SWIG_IsOK(res1
)) {
21437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21439 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21442 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21443 wxPyEndAllowThreads(__tstate
);
21444 if (PyErr_Occurred()) SWIG_fail
;
21446 resultobj
= SWIG_Py_Void();
21447 if (SWIG_IsTmpObj(res2
)) {
21448 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21450 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21451 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21453 if (SWIG_IsTmpObj(res3
)) {
21454 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21456 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21457 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21465 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21466 PyObject
*resultobj
= 0;
21467 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21468 int *arg2
= (int *) 0 ;
21469 int *arg3
= (int *) 0 ;
21473 int res2
= SWIG_TMPOBJ
;
21475 int res3
= SWIG_TMPOBJ
;
21476 PyObject
*swig_obj
[1] ;
21480 if (!args
) SWIG_fail
;
21481 swig_obj
[0] = args
;
21482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21483 if (!SWIG_IsOK(res1
)) {
21484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21486 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21489 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21490 wxPyEndAllowThreads(__tstate
);
21491 if (PyErr_Occurred()) SWIG_fail
;
21493 resultobj
= SWIG_Py_Void();
21494 if (SWIG_IsTmpObj(res2
)) {
21495 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21497 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21498 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21500 if (SWIG_IsTmpObj(res3
)) {
21501 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21503 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21512 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21513 PyObject
*resultobj
= 0;
21514 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21515 int *arg2
= (int *) 0 ;
21516 int *arg3
= (int *) 0 ;
21520 int res2
= SWIG_TMPOBJ
;
21522 int res3
= SWIG_TMPOBJ
;
21523 PyObject
*swig_obj
[1] ;
21527 if (!args
) SWIG_fail
;
21528 swig_obj
[0] = args
;
21529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21530 if (!SWIG_IsOK(res1
)) {
21531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21533 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21536 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21537 wxPyEndAllowThreads(__tstate
);
21538 if (PyErr_Occurred()) SWIG_fail
;
21540 resultobj
= SWIG_Py_Void();
21541 if (SWIG_IsTmpObj(res2
)) {
21542 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21544 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21545 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21547 if (SWIG_IsTmpObj(res3
)) {
21548 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21550 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21551 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21559 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21560 PyObject
*resultobj
= 0;
21561 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21565 PyObject
*swig_obj
[1] ;
21567 if (!args
) SWIG_fail
;
21568 swig_obj
[0] = args
;
21569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21570 if (!SWIG_IsOK(res1
)) {
21571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21573 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21576 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21577 wxPyEndAllowThreads(__tstate
);
21578 if (PyErr_Occurred()) SWIG_fail
;
21580 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21587 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21588 PyObject
*resultobj
= 0;
21589 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21593 PyObject
*swig_obj
[1] ;
21595 if (!args
) SWIG_fail
;
21596 swig_obj
[0] = args
;
21597 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21598 if (!SWIG_IsOK(res1
)) {
21599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21601 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21603 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21604 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21605 wxPyEndAllowThreads(__tstate
);
21606 if (PyErr_Occurred()) SWIG_fail
;
21608 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21615 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21616 PyObject
*resultobj
= 0;
21617 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21618 SwigValueWrapper
<wxVisualAttributes
> result
;
21621 PyObject
*swig_obj
[1] ;
21623 if (!args
) SWIG_fail
;
21624 swig_obj
[0] = args
;
21625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21626 if (!SWIG_IsOK(res1
)) {
21627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21629 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21632 result
= (arg1
)->GetDefaultAttributes();
21633 wxPyEndAllowThreads(__tstate
);
21634 if (PyErr_Occurred()) SWIG_fail
;
21636 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21643 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21644 PyObject
*resultobj
= 0;
21645 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21648 PyObject
*swig_obj
[1] ;
21650 if (!args
) SWIG_fail
;
21651 swig_obj
[0] = args
;
21652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21653 if (!SWIG_IsOK(res1
)) {
21654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21656 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21659 (arg1
)->OnInternalIdle();
21660 wxPyEndAllowThreads(__tstate
);
21661 if (PyErr_Occurred()) SWIG_fail
;
21663 resultobj
= SWIG_Py_Void();
21670 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21672 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21673 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21674 return SWIG_Py_Void();
21677 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21678 return SWIG_Python_InitShadowInstance(args
);
21681 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21682 PyObject
*resultobj
= 0;
21683 wxWindow
*arg1
= (wxWindow
*) 0 ;
21684 int arg2
= (int) (int)-1 ;
21685 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21686 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21687 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21688 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21689 long arg5
= (long) 0 ;
21690 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21691 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21692 wxPyPanel
*result
= 0 ;
21701 bool temp6
= false ;
21702 PyObject
* obj0
= 0 ;
21703 PyObject
* obj1
= 0 ;
21704 PyObject
* obj2
= 0 ;
21705 PyObject
* obj3
= 0 ;
21706 PyObject
* obj4
= 0 ;
21707 PyObject
* obj5
= 0 ;
21708 char * kwnames
[] = {
21709 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21712 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21713 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21714 if (!SWIG_IsOK(res1
)) {
21715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21717 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21719 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21720 if (!SWIG_IsOK(ecode2
)) {
21721 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21723 arg2
= static_cast< int >(val2
);
21728 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21734 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21738 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21739 if (!SWIG_IsOK(ecode5
)) {
21740 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21742 arg5
= static_cast< long >(val5
);
21746 arg6
= wxString_in_helper(obj5
);
21747 if (arg6
== NULL
) SWIG_fail
;
21752 if (!wxPyCheckForApp()) SWIG_fail
;
21753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21754 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21755 wxPyEndAllowThreads(__tstate
);
21756 if (PyErr_Occurred()) SWIG_fail
;
21758 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21773 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21774 PyObject
*resultobj
= 0;
21775 wxPyPanel
*result
= 0 ;
21777 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21779 if (!wxPyCheckForApp()) SWIG_fail
;
21780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21781 result
= (wxPyPanel
*)new wxPyPanel();
21782 wxPyEndAllowThreads(__tstate
);
21783 if (PyErr_Occurred()) SWIG_fail
;
21785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21792 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21793 PyObject
*resultobj
= 0;
21794 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21795 PyObject
*arg2
= (PyObject
*) 0 ;
21796 PyObject
*arg3
= (PyObject
*) 0 ;
21799 PyObject
* obj0
= 0 ;
21800 PyObject
* obj1
= 0 ;
21801 PyObject
* obj2
= 0 ;
21802 char * kwnames
[] = {
21803 (char *) "self",(char *) "self",(char *) "_class", NULL
21806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21808 if (!SWIG_IsOK(res1
)) {
21809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21811 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_Py_Void();
21827 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= 0;
21829 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21834 PyObject
* obj0
= 0 ;
21835 PyObject
* obj1
= 0 ;
21836 char * kwnames
[] = {
21837 (char *) "self",(char *) "size", NULL
21840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21842 if (!SWIG_IsOK(res1
)) {
21843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21845 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21848 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21852 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21853 wxPyEndAllowThreads(__tstate
);
21854 if (PyErr_Occurred()) SWIG_fail
;
21856 resultobj
= SWIG_Py_Void();
21863 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21864 PyObject
*resultobj
= 0;
21865 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21866 wxDC
*arg2
= (wxDC
*) 0 ;
21872 PyObject
* obj0
= 0 ;
21873 PyObject
* obj1
= 0 ;
21874 char * kwnames
[] = {
21875 (char *) "self",(char *) "dc", NULL
21878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21880 if (!SWIG_IsOK(res1
)) {
21881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21883 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21884 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21885 if (!SWIG_IsOK(res2
)) {
21886 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21888 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21891 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21892 wxPyEndAllowThreads(__tstate
);
21893 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21904 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21905 PyObject
*resultobj
= 0;
21906 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21921 PyObject
* obj0
= 0 ;
21922 PyObject
* obj1
= 0 ;
21923 PyObject
* obj2
= 0 ;
21924 PyObject
* obj3
= 0 ;
21925 PyObject
* obj4
= 0 ;
21926 char * kwnames
[] = {
21927 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21930 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21931 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21932 if (!SWIG_IsOK(res1
)) {
21933 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21935 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21936 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21937 if (!SWIG_IsOK(ecode2
)) {
21938 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21940 arg2
= static_cast< int >(val2
);
21941 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21942 if (!SWIG_IsOK(ecode3
)) {
21943 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21945 arg3
= static_cast< int >(val3
);
21946 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21947 if (!SWIG_IsOK(ecode4
)) {
21948 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21950 arg4
= static_cast< int >(val4
);
21951 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21952 if (!SWIG_IsOK(ecode5
)) {
21953 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21955 arg5
= static_cast< int >(val5
);
21957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21958 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21959 wxPyEndAllowThreads(__tstate
);
21960 if (PyErr_Occurred()) SWIG_fail
;
21962 resultobj
= SWIG_Py_Void();
21969 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21970 PyObject
*resultobj
= 0;
21971 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21976 int arg6
= (int) wxSIZE_AUTO
;
21989 PyObject
* obj0
= 0 ;
21990 PyObject
* obj1
= 0 ;
21991 PyObject
* obj2
= 0 ;
21992 PyObject
* obj3
= 0 ;
21993 PyObject
* obj4
= 0 ;
21994 PyObject
* obj5
= 0 ;
21995 char * kwnames
[] = {
21996 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22001 if (!SWIG_IsOK(res1
)) {
22002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22004 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22005 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22006 if (!SWIG_IsOK(ecode2
)) {
22007 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22009 arg2
= static_cast< int >(val2
);
22010 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22011 if (!SWIG_IsOK(ecode3
)) {
22012 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22014 arg3
= static_cast< int >(val3
);
22015 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22016 if (!SWIG_IsOK(ecode4
)) {
22017 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22019 arg4
= static_cast< int >(val4
);
22020 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22021 if (!SWIG_IsOK(ecode5
)) {
22022 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22024 arg5
= static_cast< int >(val5
);
22026 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22027 if (!SWIG_IsOK(ecode6
)) {
22028 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22030 arg6
= static_cast< int >(val6
);
22033 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22034 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22035 wxPyEndAllowThreads(__tstate
);
22036 if (PyErr_Occurred()) SWIG_fail
;
22038 resultobj
= SWIG_Py_Void();
22045 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22046 PyObject
*resultobj
= 0;
22047 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22056 PyObject
* obj0
= 0 ;
22057 PyObject
* obj1
= 0 ;
22058 PyObject
* obj2
= 0 ;
22059 char * kwnames
[] = {
22060 (char *) "self",(char *) "width",(char *) "height", NULL
22063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22065 if (!SWIG_IsOK(res1
)) {
22066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22068 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22070 if (!SWIG_IsOK(ecode2
)) {
22071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22073 arg2
= static_cast< int >(val2
);
22074 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22075 if (!SWIG_IsOK(ecode3
)) {
22076 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22078 arg3
= static_cast< int >(val3
);
22080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22081 (arg1
)->DoSetClientSize(arg2
,arg3
);
22082 wxPyEndAllowThreads(__tstate
);
22083 if (PyErr_Occurred()) SWIG_fail
;
22085 resultobj
= SWIG_Py_Void();
22092 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22093 PyObject
*resultobj
= 0;
22094 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22103 PyObject
* obj0
= 0 ;
22104 PyObject
* obj1
= 0 ;
22105 PyObject
* obj2
= 0 ;
22106 char * kwnames
[] = {
22107 (char *) "self",(char *) "x",(char *) "y", NULL
22110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22112 if (!SWIG_IsOK(res1
)) {
22113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22115 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22116 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22117 if (!SWIG_IsOK(ecode2
)) {
22118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22120 arg2
= static_cast< int >(val2
);
22121 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22122 if (!SWIG_IsOK(ecode3
)) {
22123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22125 arg3
= static_cast< int >(val3
);
22127 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22128 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22129 wxPyEndAllowThreads(__tstate
);
22130 if (PyErr_Occurred()) SWIG_fail
;
22132 resultobj
= SWIG_Py_Void();
22139 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22140 PyObject
*resultobj
= 0;
22141 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22142 int *arg2
= (int *) 0 ;
22143 int *arg3
= (int *) 0 ;
22147 int res2
= SWIG_TMPOBJ
;
22149 int res3
= SWIG_TMPOBJ
;
22150 PyObject
*swig_obj
[1] ;
22154 if (!args
) SWIG_fail
;
22155 swig_obj
[0] = args
;
22156 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22157 if (!SWIG_IsOK(res1
)) {
22158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22160 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22163 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22164 wxPyEndAllowThreads(__tstate
);
22165 if (PyErr_Occurred()) SWIG_fail
;
22167 resultobj
= SWIG_Py_Void();
22168 if (SWIG_IsTmpObj(res2
)) {
22169 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22171 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22172 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22174 if (SWIG_IsTmpObj(res3
)) {
22175 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22177 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22178 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22186 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22187 PyObject
*resultobj
= 0;
22188 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22189 int *arg2
= (int *) 0 ;
22190 int *arg3
= (int *) 0 ;
22194 int res2
= SWIG_TMPOBJ
;
22196 int res3
= SWIG_TMPOBJ
;
22197 PyObject
*swig_obj
[1] ;
22201 if (!args
) SWIG_fail
;
22202 swig_obj
[0] = args
;
22203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22204 if (!SWIG_IsOK(res1
)) {
22205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22207 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22210 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22211 wxPyEndAllowThreads(__tstate
);
22212 if (PyErr_Occurred()) SWIG_fail
;
22214 resultobj
= SWIG_Py_Void();
22215 if (SWIG_IsTmpObj(res2
)) {
22216 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22218 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22219 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22221 if (SWIG_IsTmpObj(res3
)) {
22222 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22224 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22225 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22233 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22234 PyObject
*resultobj
= 0;
22235 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22236 int *arg2
= (int *) 0 ;
22237 int *arg3
= (int *) 0 ;
22241 int res2
= SWIG_TMPOBJ
;
22243 int res3
= SWIG_TMPOBJ
;
22244 PyObject
*swig_obj
[1] ;
22248 if (!args
) SWIG_fail
;
22249 swig_obj
[0] = args
;
22250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22251 if (!SWIG_IsOK(res1
)) {
22252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22254 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22257 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22258 wxPyEndAllowThreads(__tstate
);
22259 if (PyErr_Occurred()) SWIG_fail
;
22261 resultobj
= SWIG_Py_Void();
22262 if (SWIG_IsTmpObj(res2
)) {
22263 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22265 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22266 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22268 if (SWIG_IsTmpObj(res3
)) {
22269 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22271 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22272 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22280 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22281 PyObject
*resultobj
= 0;
22282 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22286 PyObject
*swig_obj
[1] ;
22288 if (!args
) SWIG_fail
;
22289 swig_obj
[0] = args
;
22290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22291 if (!SWIG_IsOK(res1
)) {
22292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22294 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22297 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22298 wxPyEndAllowThreads(__tstate
);
22299 if (PyErr_Occurred()) SWIG_fail
;
22301 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22308 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22309 PyObject
*resultobj
= 0;
22310 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22314 PyObject
*swig_obj
[1] ;
22316 if (!args
) SWIG_fail
;
22317 swig_obj
[0] = args
;
22318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22319 if (!SWIG_IsOK(res1
)) {
22320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22322 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22325 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22326 wxPyEndAllowThreads(__tstate
);
22327 if (PyErr_Occurred()) SWIG_fail
;
22329 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22336 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22337 PyObject
*resultobj
= 0;
22338 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22339 SwigValueWrapper
<wxVisualAttributes
> result
;
22342 PyObject
*swig_obj
[1] ;
22344 if (!args
) SWIG_fail
;
22345 swig_obj
[0] = args
;
22346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22347 if (!SWIG_IsOK(res1
)) {
22348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22350 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22353 result
= (arg1
)->GetDefaultAttributes();
22354 wxPyEndAllowThreads(__tstate
);
22355 if (PyErr_Occurred()) SWIG_fail
;
22357 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22364 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22365 PyObject
*resultobj
= 0;
22366 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22369 PyObject
*swig_obj
[1] ;
22371 if (!args
) SWIG_fail
;
22372 swig_obj
[0] = args
;
22373 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22374 if (!SWIG_IsOK(res1
)) {
22375 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22377 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22380 (arg1
)->OnInternalIdle();
22381 wxPyEndAllowThreads(__tstate
);
22382 if (PyErr_Occurred()) SWIG_fail
;
22384 resultobj
= SWIG_Py_Void();
22391 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22393 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22394 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22395 return SWIG_Py_Void();
22398 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22399 return SWIG_Python_InitShadowInstance(args
);
22402 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22403 PyObject
*resultobj
= 0;
22404 wxWindow
*arg1
= (wxWindow
*) 0 ;
22405 int arg2
= (int) (int)-1 ;
22406 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22407 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22408 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22409 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22410 long arg5
= (long) 0 ;
22411 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22412 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22413 wxPyScrolledWindow
*result
= 0 ;
22422 bool temp6
= false ;
22423 PyObject
* obj0
= 0 ;
22424 PyObject
* obj1
= 0 ;
22425 PyObject
* obj2
= 0 ;
22426 PyObject
* obj3
= 0 ;
22427 PyObject
* obj4
= 0 ;
22428 PyObject
* obj5
= 0 ;
22429 char * kwnames
[] = {
22430 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22435 if (!SWIG_IsOK(res1
)) {
22436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22438 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22441 if (!SWIG_IsOK(ecode2
)) {
22442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22444 arg2
= static_cast< int >(val2
);
22449 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22455 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22459 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22460 if (!SWIG_IsOK(ecode5
)) {
22461 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22463 arg5
= static_cast< long >(val5
);
22467 arg6
= wxString_in_helper(obj5
);
22468 if (arg6
== NULL
) SWIG_fail
;
22473 if (!wxPyCheckForApp()) SWIG_fail
;
22474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22475 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22476 wxPyEndAllowThreads(__tstate
);
22477 if (PyErr_Occurred()) SWIG_fail
;
22479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22494 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22495 PyObject
*resultobj
= 0;
22496 wxPyScrolledWindow
*result
= 0 ;
22498 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22500 if (!wxPyCheckForApp()) SWIG_fail
;
22501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22502 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22503 wxPyEndAllowThreads(__tstate
);
22504 if (PyErr_Occurred()) SWIG_fail
;
22506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22513 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22514 PyObject
*resultobj
= 0;
22515 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22516 PyObject
*arg2
= (PyObject
*) 0 ;
22517 PyObject
*arg3
= (PyObject
*) 0 ;
22520 PyObject
* obj0
= 0 ;
22521 PyObject
* obj1
= 0 ;
22522 PyObject
* obj2
= 0 ;
22523 char * kwnames
[] = {
22524 (char *) "self",(char *) "self",(char *) "_class", NULL
22527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22529 if (!SWIG_IsOK(res1
)) {
22530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22532 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22537 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22538 wxPyEndAllowThreads(__tstate
);
22539 if (PyErr_Occurred()) SWIG_fail
;
22541 resultobj
= SWIG_Py_Void();
22548 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22549 PyObject
*resultobj
= 0;
22550 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22555 PyObject
* obj0
= 0 ;
22556 PyObject
* obj1
= 0 ;
22557 char * kwnames
[] = {
22558 (char *) "self",(char *) "size", NULL
22561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22563 if (!SWIG_IsOK(res1
)) {
22564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22566 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22569 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22573 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22574 wxPyEndAllowThreads(__tstate
);
22575 if (PyErr_Occurred()) SWIG_fail
;
22577 resultobj
= SWIG_Py_Void();
22584 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22585 PyObject
*resultobj
= 0;
22586 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22587 wxDC
*arg2
= (wxDC
*) 0 ;
22593 PyObject
* obj0
= 0 ;
22594 PyObject
* obj1
= 0 ;
22595 char * kwnames
[] = {
22596 (char *) "self",(char *) "dc", NULL
22599 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22600 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22601 if (!SWIG_IsOK(res1
)) {
22602 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22604 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22605 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22606 if (!SWIG_IsOK(res2
)) {
22607 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22609 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22612 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22613 wxPyEndAllowThreads(__tstate
);
22614 if (PyErr_Occurred()) SWIG_fail
;
22617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22625 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22626 PyObject
*resultobj
= 0;
22627 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22642 PyObject
* obj0
= 0 ;
22643 PyObject
* obj1
= 0 ;
22644 PyObject
* obj2
= 0 ;
22645 PyObject
* obj3
= 0 ;
22646 PyObject
* obj4
= 0 ;
22647 char * kwnames
[] = {
22648 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22653 if (!SWIG_IsOK(res1
)) {
22654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22656 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22658 if (!SWIG_IsOK(ecode2
)) {
22659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22661 arg2
= static_cast< int >(val2
);
22662 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22663 if (!SWIG_IsOK(ecode3
)) {
22664 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22666 arg3
= static_cast< int >(val3
);
22667 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22668 if (!SWIG_IsOK(ecode4
)) {
22669 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22671 arg4
= static_cast< int >(val4
);
22672 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22673 if (!SWIG_IsOK(ecode5
)) {
22674 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22676 arg5
= static_cast< int >(val5
);
22678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22679 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22680 wxPyEndAllowThreads(__tstate
);
22681 if (PyErr_Occurred()) SWIG_fail
;
22683 resultobj
= SWIG_Py_Void();
22690 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22691 PyObject
*resultobj
= 0;
22692 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22697 int arg6
= (int) wxSIZE_AUTO
;
22710 PyObject
* obj0
= 0 ;
22711 PyObject
* obj1
= 0 ;
22712 PyObject
* obj2
= 0 ;
22713 PyObject
* obj3
= 0 ;
22714 PyObject
* obj4
= 0 ;
22715 PyObject
* obj5
= 0 ;
22716 char * kwnames
[] = {
22717 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22722 if (!SWIG_IsOK(res1
)) {
22723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22725 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22726 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22727 if (!SWIG_IsOK(ecode2
)) {
22728 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22730 arg2
= static_cast< int >(val2
);
22731 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22732 if (!SWIG_IsOK(ecode3
)) {
22733 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22735 arg3
= static_cast< int >(val3
);
22736 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22737 if (!SWIG_IsOK(ecode4
)) {
22738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22740 arg4
= static_cast< int >(val4
);
22741 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22742 if (!SWIG_IsOK(ecode5
)) {
22743 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22745 arg5
= static_cast< int >(val5
);
22747 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22748 if (!SWIG_IsOK(ecode6
)) {
22749 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22751 arg6
= static_cast< int >(val6
);
22754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22755 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22756 wxPyEndAllowThreads(__tstate
);
22757 if (PyErr_Occurred()) SWIG_fail
;
22759 resultobj
= SWIG_Py_Void();
22766 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22767 PyObject
*resultobj
= 0;
22768 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22777 PyObject
* obj0
= 0 ;
22778 PyObject
* obj1
= 0 ;
22779 PyObject
* obj2
= 0 ;
22780 char * kwnames
[] = {
22781 (char *) "self",(char *) "width",(char *) "height", NULL
22784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22786 if (!SWIG_IsOK(res1
)) {
22787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22789 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22791 if (!SWIG_IsOK(ecode2
)) {
22792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22794 arg2
= static_cast< int >(val2
);
22795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22796 if (!SWIG_IsOK(ecode3
)) {
22797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22799 arg3
= static_cast< int >(val3
);
22801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22802 (arg1
)->DoSetClientSize(arg2
,arg3
);
22803 wxPyEndAllowThreads(__tstate
);
22804 if (PyErr_Occurred()) SWIG_fail
;
22806 resultobj
= SWIG_Py_Void();
22813 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22814 PyObject
*resultobj
= 0;
22815 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22824 PyObject
* obj0
= 0 ;
22825 PyObject
* obj1
= 0 ;
22826 PyObject
* obj2
= 0 ;
22827 char * kwnames
[] = {
22828 (char *) "self",(char *) "x",(char *) "y", NULL
22831 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22832 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22833 if (!SWIG_IsOK(res1
)) {
22834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22836 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22837 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22838 if (!SWIG_IsOK(ecode2
)) {
22839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22841 arg2
= static_cast< int >(val2
);
22842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22843 if (!SWIG_IsOK(ecode3
)) {
22844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22846 arg3
= static_cast< int >(val3
);
22848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22849 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22850 wxPyEndAllowThreads(__tstate
);
22851 if (PyErr_Occurred()) SWIG_fail
;
22853 resultobj
= SWIG_Py_Void();
22860 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22861 PyObject
*resultobj
= 0;
22862 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22863 int *arg2
= (int *) 0 ;
22864 int *arg3
= (int *) 0 ;
22868 int res2
= SWIG_TMPOBJ
;
22870 int res3
= SWIG_TMPOBJ
;
22871 PyObject
*swig_obj
[1] ;
22875 if (!args
) SWIG_fail
;
22876 swig_obj
[0] = args
;
22877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22878 if (!SWIG_IsOK(res1
)) {
22879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22881 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22884 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22885 wxPyEndAllowThreads(__tstate
);
22886 if (PyErr_Occurred()) SWIG_fail
;
22888 resultobj
= SWIG_Py_Void();
22889 if (SWIG_IsTmpObj(res2
)) {
22890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22892 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22895 if (SWIG_IsTmpObj(res3
)) {
22896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22898 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22899 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22907 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22908 PyObject
*resultobj
= 0;
22909 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22910 int *arg2
= (int *) 0 ;
22911 int *arg3
= (int *) 0 ;
22915 int res2
= SWIG_TMPOBJ
;
22917 int res3
= SWIG_TMPOBJ
;
22918 PyObject
*swig_obj
[1] ;
22922 if (!args
) SWIG_fail
;
22923 swig_obj
[0] = args
;
22924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22925 if (!SWIG_IsOK(res1
)) {
22926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22928 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22931 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22932 wxPyEndAllowThreads(__tstate
);
22933 if (PyErr_Occurred()) SWIG_fail
;
22935 resultobj
= SWIG_Py_Void();
22936 if (SWIG_IsTmpObj(res2
)) {
22937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22939 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22942 if (SWIG_IsTmpObj(res3
)) {
22943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22945 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22954 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22955 PyObject
*resultobj
= 0;
22956 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22957 int *arg2
= (int *) 0 ;
22958 int *arg3
= (int *) 0 ;
22962 int res2
= SWIG_TMPOBJ
;
22964 int res3
= SWIG_TMPOBJ
;
22965 PyObject
*swig_obj
[1] ;
22969 if (!args
) SWIG_fail
;
22970 swig_obj
[0] = args
;
22971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22972 if (!SWIG_IsOK(res1
)) {
22973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22975 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22978 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22979 wxPyEndAllowThreads(__tstate
);
22980 if (PyErr_Occurred()) SWIG_fail
;
22982 resultobj
= SWIG_Py_Void();
22983 if (SWIG_IsTmpObj(res2
)) {
22984 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22986 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22987 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22989 if (SWIG_IsTmpObj(res3
)) {
22990 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22992 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22993 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23001 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23002 PyObject
*resultobj
= 0;
23003 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23007 PyObject
*swig_obj
[1] ;
23009 if (!args
) SWIG_fail
;
23010 swig_obj
[0] = args
;
23011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23012 if (!SWIG_IsOK(res1
)) {
23013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23015 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23029 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23030 PyObject
*resultobj
= 0;
23031 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23035 PyObject
*swig_obj
[1] ;
23037 if (!args
) SWIG_fail
;
23038 swig_obj
[0] = args
;
23039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23040 if (!SWIG_IsOK(res1
)) {
23041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23043 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23046 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23047 wxPyEndAllowThreads(__tstate
);
23048 if (PyErr_Occurred()) SWIG_fail
;
23050 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23057 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23058 PyObject
*resultobj
= 0;
23059 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23060 SwigValueWrapper
<wxVisualAttributes
> result
;
23063 PyObject
*swig_obj
[1] ;
23065 if (!args
) SWIG_fail
;
23066 swig_obj
[0] = args
;
23067 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23068 if (!SWIG_IsOK(res1
)) {
23069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23071 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23074 result
= (arg1
)->GetDefaultAttributes();
23075 wxPyEndAllowThreads(__tstate
);
23076 if (PyErr_Occurred()) SWIG_fail
;
23078 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23085 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23086 PyObject
*resultobj
= 0;
23087 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23090 PyObject
*swig_obj
[1] ;
23092 if (!args
) SWIG_fail
;
23093 swig_obj
[0] = args
;
23094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23095 if (!SWIG_IsOK(res1
)) {
23096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23098 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23101 (arg1
)->OnInternalIdle();
23102 wxPyEndAllowThreads(__tstate
);
23103 if (PyErr_Occurred()) SWIG_fail
;
23105 resultobj
= SWIG_Py_Void();
23112 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23115 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23116 return SWIG_Py_Void();
23119 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23120 return SWIG_Python_InitShadowInstance(args
);
23123 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23124 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23129 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23130 PyObject
*pyobj
= 0;
23134 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23136 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23143 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23144 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23149 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23150 PyObject
*pyobj
= 0;
23154 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23156 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23163 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23164 PyObject
*resultobj
= 0;
23165 wxPrintData
*result
= 0 ;
23167 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23170 result
= (wxPrintData
*)new wxPrintData();
23171 wxPyEndAllowThreads(__tstate
);
23172 if (PyErr_Occurred()) SWIG_fail
;
23174 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23181 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23182 PyObject
*resultobj
= 0;
23183 wxPrintData
*arg1
= 0 ;
23184 wxPrintData
*result
= 0 ;
23188 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23190 if (!SWIG_IsOK(res1
)) {
23191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23194 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23196 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23199 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23200 wxPyEndAllowThreads(__tstate
);
23201 if (PyErr_Occurred()) SWIG_fail
;
23203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23210 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23214 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23217 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23220 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23224 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23229 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23230 PyObject
*resultobj
= 0;
23231 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23234 PyObject
*swig_obj
[1] ;
23236 if (!args
) SWIG_fail
;
23237 swig_obj
[0] = args
;
23238 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23239 if (!SWIG_IsOK(res1
)) {
23240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23242 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23247 wxPyEndAllowThreads(__tstate
);
23248 if (PyErr_Occurred()) SWIG_fail
;
23250 resultobj
= SWIG_Py_Void();
23257 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23258 PyObject
*resultobj
= 0;
23259 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23263 PyObject
*swig_obj
[1] ;
23265 if (!args
) SWIG_fail
;
23266 swig_obj
[0] = args
;
23267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23268 if (!SWIG_IsOK(res1
)) {
23269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23271 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23274 result
= (int)(arg1
)->GetNoCopies();
23275 wxPyEndAllowThreads(__tstate
);
23276 if (PyErr_Occurred()) SWIG_fail
;
23278 resultobj
= SWIG_From_int(static_cast< int >(result
));
23285 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23286 PyObject
*resultobj
= 0;
23287 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23291 PyObject
*swig_obj
[1] ;
23293 if (!args
) SWIG_fail
;
23294 swig_obj
[0] = args
;
23295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23296 if (!SWIG_IsOK(res1
)) {
23297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23299 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23302 result
= (bool)(arg1
)->GetCollate();
23303 wxPyEndAllowThreads(__tstate
);
23304 if (PyErr_Occurred()) SWIG_fail
;
23307 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23315 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23316 PyObject
*resultobj
= 0;
23317 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23321 PyObject
*swig_obj
[1] ;
23323 if (!args
) SWIG_fail
;
23324 swig_obj
[0] = args
;
23325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23326 if (!SWIG_IsOK(res1
)) {
23327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23329 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23332 result
= (int)(arg1
)->GetOrientation();
23333 wxPyEndAllowThreads(__tstate
);
23334 if (PyErr_Occurred()) SWIG_fail
;
23336 resultobj
= SWIG_From_int(static_cast< int >(result
));
23343 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23344 PyObject
*resultobj
= 0;
23345 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23349 PyObject
*swig_obj
[1] ;
23351 if (!args
) SWIG_fail
;
23352 swig_obj
[0] = args
;
23353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23354 if (!SWIG_IsOK(res1
)) {
23355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23357 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23360 result
= (bool)(arg1
)->Ok();
23361 wxPyEndAllowThreads(__tstate
);
23362 if (PyErr_Occurred()) SWIG_fail
;
23365 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23373 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23374 PyObject
*resultobj
= 0;
23375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23376 wxString
*result
= 0 ;
23379 PyObject
*swig_obj
[1] ;
23381 if (!args
) SWIG_fail
;
23382 swig_obj
[0] = args
;
23383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23384 if (!SWIG_IsOK(res1
)) {
23385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23387 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23392 result
= (wxString
*) &_result_ref
;
23394 wxPyEndAllowThreads(__tstate
);
23395 if (PyErr_Occurred()) SWIG_fail
;
23399 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23401 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23410 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23411 PyObject
*resultobj
= 0;
23412 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23416 PyObject
*swig_obj
[1] ;
23418 if (!args
) SWIG_fail
;
23419 swig_obj
[0] = args
;
23420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23421 if (!SWIG_IsOK(res1
)) {
23422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23424 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23427 result
= (bool)(arg1
)->GetColour();
23428 wxPyEndAllowThreads(__tstate
);
23429 if (PyErr_Occurred()) SWIG_fail
;
23432 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23440 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23441 PyObject
*resultobj
= 0;
23442 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23443 wxDuplexMode result
;
23446 PyObject
*swig_obj
[1] ;
23448 if (!args
) SWIG_fail
;
23449 swig_obj
[0] = args
;
23450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23451 if (!SWIG_IsOK(res1
)) {
23452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23454 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23457 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23458 wxPyEndAllowThreads(__tstate
);
23459 if (PyErr_Occurred()) SWIG_fail
;
23461 resultobj
= SWIG_From_int(static_cast< int >(result
));
23468 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23469 PyObject
*resultobj
= 0;
23470 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23471 wxPaperSize result
;
23474 PyObject
*swig_obj
[1] ;
23476 if (!args
) SWIG_fail
;
23477 swig_obj
[0] = args
;
23478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23482 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_From_int(static_cast< int >(result
));
23496 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23497 PyObject
*resultobj
= 0;
23498 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23499 wxSize
*result
= 0 ;
23502 PyObject
*swig_obj
[1] ;
23504 if (!args
) SWIG_fail
;
23505 swig_obj
[0] = args
;
23506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23507 if (!SWIG_IsOK(res1
)) {
23508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23510 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23514 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23515 result
= (wxSize
*) &_result_ref
;
23517 wxPyEndAllowThreads(__tstate
);
23518 if (PyErr_Occurred()) SWIG_fail
;
23520 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23527 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23528 PyObject
*resultobj
= 0;
23529 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23533 PyObject
*swig_obj
[1] ;
23535 if (!args
) SWIG_fail
;
23536 swig_obj
[0] = args
;
23537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23538 if (!SWIG_IsOK(res1
)) {
23539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23541 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23544 result
= (int)(arg1
)->GetQuality();
23545 wxPyEndAllowThreads(__tstate
);
23546 if (PyErr_Occurred()) SWIG_fail
;
23548 resultobj
= SWIG_From_int(static_cast< int >(result
));
23555 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23556 PyObject
*resultobj
= 0;
23557 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23561 PyObject
*swig_obj
[1] ;
23563 if (!args
) SWIG_fail
;
23564 swig_obj
[0] = args
;
23565 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23566 if (!SWIG_IsOK(res1
)) {
23567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23569 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23572 result
= (wxPrintBin
)(arg1
)->GetBin();
23573 wxPyEndAllowThreads(__tstate
);
23574 if (PyErr_Occurred()) SWIG_fail
;
23576 resultobj
= SWIG_From_int(static_cast< int >(result
));
23583 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23584 PyObject
*resultobj
= 0;
23585 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23586 wxPrintMode result
;
23589 PyObject
*swig_obj
[1] ;
23591 if (!args
) SWIG_fail
;
23592 swig_obj
[0] = args
;
23593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23594 if (!SWIG_IsOK(res1
)) {
23595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23597 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23600 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23601 wxPyEndAllowThreads(__tstate
);
23602 if (PyErr_Occurred()) SWIG_fail
;
23604 resultobj
= SWIG_From_int(static_cast< int >(result
));
23611 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23612 PyObject
*resultobj
= 0;
23613 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23619 PyObject
* obj0
= 0 ;
23620 PyObject
* obj1
= 0 ;
23621 char * kwnames
[] = {
23622 (char *) "self",(char *) "v", NULL
23625 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23626 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23627 if (!SWIG_IsOK(res1
)) {
23628 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23630 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23631 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23632 if (!SWIG_IsOK(ecode2
)) {
23633 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23635 arg2
= static_cast< int >(val2
);
23637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23638 (arg1
)->SetNoCopies(arg2
);
23639 wxPyEndAllowThreads(__tstate
);
23640 if (PyErr_Occurred()) SWIG_fail
;
23642 resultobj
= SWIG_Py_Void();
23649 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23650 PyObject
*resultobj
= 0;
23651 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23657 PyObject
* obj0
= 0 ;
23658 PyObject
* obj1
= 0 ;
23659 char * kwnames
[] = {
23660 (char *) "self",(char *) "flag", NULL
23663 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23664 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23665 if (!SWIG_IsOK(res1
)) {
23666 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23668 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23669 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23670 if (!SWIG_IsOK(ecode2
)) {
23671 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23673 arg2
= static_cast< bool >(val2
);
23675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23676 (arg1
)->SetCollate(arg2
);
23677 wxPyEndAllowThreads(__tstate
);
23678 if (PyErr_Occurred()) SWIG_fail
;
23680 resultobj
= SWIG_Py_Void();
23687 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23688 PyObject
*resultobj
= 0;
23689 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23695 PyObject
* obj0
= 0 ;
23696 PyObject
* obj1
= 0 ;
23697 char * kwnames
[] = {
23698 (char *) "self",(char *) "orient", NULL
23701 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23702 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23703 if (!SWIG_IsOK(res1
)) {
23704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23706 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23707 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23708 if (!SWIG_IsOK(ecode2
)) {
23709 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23711 arg2
= static_cast< int >(val2
);
23713 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23714 (arg1
)->SetOrientation(arg2
);
23715 wxPyEndAllowThreads(__tstate
);
23716 if (PyErr_Occurred()) SWIG_fail
;
23718 resultobj
= SWIG_Py_Void();
23725 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23726 PyObject
*resultobj
= 0;
23727 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23728 wxString
*arg2
= 0 ;
23731 bool temp2
= false ;
23732 PyObject
* obj0
= 0 ;
23733 PyObject
* obj1
= 0 ;
23734 char * kwnames
[] = {
23735 (char *) "self",(char *) "name", NULL
23738 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23739 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23740 if (!SWIG_IsOK(res1
)) {
23741 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23743 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23745 arg2
= wxString_in_helper(obj1
);
23746 if (arg2
== NULL
) SWIG_fail
;
23750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23751 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23752 wxPyEndAllowThreads(__tstate
);
23753 if (PyErr_Occurred()) SWIG_fail
;
23755 resultobj
= SWIG_Py_Void();
23770 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23771 PyObject
*resultobj
= 0;
23772 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23778 PyObject
* obj0
= 0 ;
23779 PyObject
* obj1
= 0 ;
23780 char * kwnames
[] = {
23781 (char *) "self",(char *) "colour", NULL
23784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23786 if (!SWIG_IsOK(res1
)) {
23787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23789 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23790 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23791 if (!SWIG_IsOK(ecode2
)) {
23792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23794 arg2
= static_cast< bool >(val2
);
23796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23797 (arg1
)->SetColour(arg2
);
23798 wxPyEndAllowThreads(__tstate
);
23799 if (PyErr_Occurred()) SWIG_fail
;
23801 resultobj
= SWIG_Py_Void();
23808 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23809 PyObject
*resultobj
= 0;
23810 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23811 wxDuplexMode arg2
;
23816 PyObject
* obj0
= 0 ;
23817 PyObject
* obj1
= 0 ;
23818 char * kwnames
[] = {
23819 (char *) "self",(char *) "duplex", NULL
23822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23824 if (!SWIG_IsOK(res1
)) {
23825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23827 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23829 if (!SWIG_IsOK(ecode2
)) {
23830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23832 arg2
= static_cast< wxDuplexMode
>(val2
);
23834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23835 (arg1
)->SetDuplex(arg2
);
23836 wxPyEndAllowThreads(__tstate
);
23837 if (PyErr_Occurred()) SWIG_fail
;
23839 resultobj
= SWIG_Py_Void();
23846 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23847 PyObject
*resultobj
= 0;
23848 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23854 PyObject
* obj0
= 0 ;
23855 PyObject
* obj1
= 0 ;
23856 char * kwnames
[] = {
23857 (char *) "self",(char *) "sizeId", NULL
23860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23862 if (!SWIG_IsOK(res1
)) {
23863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23865 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23867 if (!SWIG_IsOK(ecode2
)) {
23868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23870 arg2
= static_cast< wxPaperSize
>(val2
);
23872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23873 (arg1
)->SetPaperId(arg2
);
23874 wxPyEndAllowThreads(__tstate
);
23875 if (PyErr_Occurred()) SWIG_fail
;
23877 resultobj
= SWIG_Py_Void();
23884 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23885 PyObject
*resultobj
= 0;
23886 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23891 PyObject
* obj0
= 0 ;
23892 PyObject
* obj1
= 0 ;
23893 char * kwnames
[] = {
23894 (char *) "self",(char *) "sz", NULL
23897 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23898 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23899 if (!SWIG_IsOK(res1
)) {
23900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23902 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23905 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23909 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23910 wxPyEndAllowThreads(__tstate
);
23911 if (PyErr_Occurred()) SWIG_fail
;
23913 resultobj
= SWIG_Py_Void();
23920 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23921 PyObject
*resultobj
= 0;
23922 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23928 PyObject
* obj0
= 0 ;
23929 PyObject
* obj1
= 0 ;
23930 char * kwnames
[] = {
23931 (char *) "self",(char *) "quality", NULL
23934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23936 if (!SWIG_IsOK(res1
)) {
23937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23939 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23940 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23941 if (!SWIG_IsOK(ecode2
)) {
23942 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23944 arg2
= static_cast< int >(val2
);
23946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23947 (arg1
)->SetQuality(arg2
);
23948 wxPyEndAllowThreads(__tstate
);
23949 if (PyErr_Occurred()) SWIG_fail
;
23951 resultobj
= SWIG_Py_Void();
23958 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23959 PyObject
*resultobj
= 0;
23960 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23966 PyObject
* obj0
= 0 ;
23967 PyObject
* obj1
= 0 ;
23968 char * kwnames
[] = {
23969 (char *) "self",(char *) "bin", NULL
23972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23974 if (!SWIG_IsOK(res1
)) {
23975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23977 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23979 if (!SWIG_IsOK(ecode2
)) {
23980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
23982 arg2
= static_cast< wxPrintBin
>(val2
);
23984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23985 (arg1
)->SetBin(arg2
);
23986 wxPyEndAllowThreads(__tstate
);
23987 if (PyErr_Occurred()) SWIG_fail
;
23989 resultobj
= SWIG_Py_Void();
23996 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23997 PyObject
*resultobj
= 0;
23998 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24004 PyObject
* obj0
= 0 ;
24005 PyObject
* obj1
= 0 ;
24006 char * kwnames
[] = {
24007 (char *) "self",(char *) "printMode", NULL
24010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24012 if (!SWIG_IsOK(res1
)) {
24013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24015 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24016 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24017 if (!SWIG_IsOK(ecode2
)) {
24018 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24020 arg2
= static_cast< wxPrintMode
>(val2
);
24022 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24023 (arg1
)->SetPrintMode(arg2
);
24024 wxPyEndAllowThreads(__tstate
);
24025 if (PyErr_Occurred()) SWIG_fail
;
24027 resultobj
= SWIG_Py_Void();
24034 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24035 PyObject
*resultobj
= 0;
24036 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24040 PyObject
*swig_obj
[1] ;
24042 if (!args
) SWIG_fail
;
24043 swig_obj
[0] = args
;
24044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24045 if (!SWIG_IsOK(res1
)) {
24046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24048 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24052 wxPyEndAllowThreads(__tstate
);
24053 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24059 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24068 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24069 PyObject
*resultobj
= 0;
24070 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24071 wxString
*arg2
= 0 ;
24074 bool temp2
= false ;
24075 PyObject
* obj0
= 0 ;
24076 PyObject
* obj1
= 0 ;
24077 char * kwnames
[] = {
24078 (char *) "self",(char *) "filename", NULL
24081 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24082 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24083 if (!SWIG_IsOK(res1
)) {
24084 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24086 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24088 arg2
= wxString_in_helper(obj1
);
24089 if (arg2
== NULL
) SWIG_fail
;
24093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24094 (arg1
)->SetFilename((wxString
const &)*arg2
);
24095 wxPyEndAllowThreads(__tstate
);
24096 if (PyErr_Occurred()) SWIG_fail
;
24098 resultobj
= SWIG_Py_Void();
24113 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24114 PyObject
*resultobj
= 0;
24115 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24116 PyObject
*result
= 0 ;
24119 PyObject
*swig_obj
[1] ;
24121 if (!args
) SWIG_fail
;
24122 swig_obj
[0] = args
;
24123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24124 if (!SWIG_IsOK(res1
)) {
24125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24127 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24130 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24131 wxPyEndAllowThreads(__tstate
);
24132 if (PyErr_Occurred()) SWIG_fail
;
24134 resultobj
= result
;
24141 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24142 PyObject
*resultobj
= 0;
24143 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24144 PyObject
*arg2
= (PyObject
*) 0 ;
24147 PyObject
* obj0
= 0 ;
24148 PyObject
* obj1
= 0 ;
24149 char * kwnames
[] = {
24150 (char *) "self",(char *) "data", NULL
24153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24155 if (!SWIG_IsOK(res1
)) {
24156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24158 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24162 wxPrintData_SetPrivData(arg1
,arg2
);
24163 wxPyEndAllowThreads(__tstate
);
24164 if (PyErr_Occurred()) SWIG_fail
;
24166 resultobj
= SWIG_Py_Void();
24173 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24175 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24176 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24177 return SWIG_Py_Void();
24180 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24181 return SWIG_Python_InitShadowInstance(args
);
24184 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24185 PyObject
*resultobj
= 0;
24186 wxPageSetupDialogData
*result
= 0 ;
24188 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24190 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24191 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24192 wxPyEndAllowThreads(__tstate
);
24193 if (PyErr_Occurred()) SWIG_fail
;
24195 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24202 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24203 PyObject
*resultobj
= 0;
24204 wxPageSetupDialogData
*arg1
= 0 ;
24205 wxPageSetupDialogData
*result
= 0 ;
24209 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24210 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24211 if (!SWIG_IsOK(res1
)) {
24212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24215 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24217 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24220 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24221 wxPyEndAllowThreads(__tstate
);
24222 if (PyErr_Occurred()) SWIG_fail
;
24224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24231 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24232 PyObject
*resultobj
= 0;
24233 wxPrintData
*arg1
= 0 ;
24234 wxPageSetupDialogData
*result
= 0 ;
24238 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24239 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24240 if (!SWIG_IsOK(res1
)) {
24241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24244 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24246 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24249 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24250 wxPyEndAllowThreads(__tstate
);
24251 if (PyErr_Occurred()) SWIG_fail
;
24253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24260 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24264 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24267 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24272 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24273 _v
= SWIG_CheckState(res
);
24275 if (!_v
) goto check_2
;
24276 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24281 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24285 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24290 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24291 PyObject
*resultobj
= 0;
24292 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24295 PyObject
*swig_obj
[1] ;
24297 if (!args
) SWIG_fail
;
24298 swig_obj
[0] = args
;
24299 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24300 if (!SWIG_IsOK(res1
)) {
24301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24303 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24308 wxPyEndAllowThreads(__tstate
);
24309 if (PyErr_Occurred()) SWIG_fail
;
24311 resultobj
= SWIG_Py_Void();
24318 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24319 PyObject
*resultobj
= 0;
24320 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24326 PyObject
* obj0
= 0 ;
24327 PyObject
* obj1
= 0 ;
24328 char * kwnames
[] = {
24329 (char *) "self",(char *) "flag", NULL
24332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24334 if (!SWIG_IsOK(res1
)) {
24335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24337 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24338 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24339 if (!SWIG_IsOK(ecode2
)) {
24340 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24342 arg2
= static_cast< bool >(val2
);
24344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24345 (arg1
)->EnableHelp(arg2
);
24346 wxPyEndAllowThreads(__tstate
);
24347 if (PyErr_Occurred()) SWIG_fail
;
24349 resultobj
= SWIG_Py_Void();
24356 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24357 PyObject
*resultobj
= 0;
24358 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24364 PyObject
* obj0
= 0 ;
24365 PyObject
* obj1
= 0 ;
24366 char * kwnames
[] = {
24367 (char *) "self",(char *) "flag", NULL
24370 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24371 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24372 if (!SWIG_IsOK(res1
)) {
24373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24375 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24376 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24377 if (!SWIG_IsOK(ecode2
)) {
24378 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24380 arg2
= static_cast< bool >(val2
);
24382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24383 (arg1
)->EnableMargins(arg2
);
24384 wxPyEndAllowThreads(__tstate
);
24385 if (PyErr_Occurred()) SWIG_fail
;
24387 resultobj
= SWIG_Py_Void();
24394 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24395 PyObject
*resultobj
= 0;
24396 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24402 PyObject
* obj0
= 0 ;
24403 PyObject
* obj1
= 0 ;
24404 char * kwnames
[] = {
24405 (char *) "self",(char *) "flag", NULL
24408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24410 if (!SWIG_IsOK(res1
)) {
24411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24413 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24414 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24415 if (!SWIG_IsOK(ecode2
)) {
24416 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24418 arg2
= static_cast< bool >(val2
);
24420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24421 (arg1
)->EnableOrientation(arg2
);
24422 wxPyEndAllowThreads(__tstate
);
24423 if (PyErr_Occurred()) SWIG_fail
;
24425 resultobj
= SWIG_Py_Void();
24432 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24433 PyObject
*resultobj
= 0;
24434 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24440 PyObject
* obj0
= 0 ;
24441 PyObject
* obj1
= 0 ;
24442 char * kwnames
[] = {
24443 (char *) "self",(char *) "flag", NULL
24446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24448 if (!SWIG_IsOK(res1
)) {
24449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24451 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24452 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24453 if (!SWIG_IsOK(ecode2
)) {
24454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24456 arg2
= static_cast< bool >(val2
);
24458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24459 (arg1
)->EnablePaper(arg2
);
24460 wxPyEndAllowThreads(__tstate
);
24461 if (PyErr_Occurred()) SWIG_fail
;
24463 resultobj
= SWIG_Py_Void();
24470 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24471 PyObject
*resultobj
= 0;
24472 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24478 PyObject
* obj0
= 0 ;
24479 PyObject
* obj1
= 0 ;
24480 char * kwnames
[] = {
24481 (char *) "self",(char *) "flag", NULL
24484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24486 if (!SWIG_IsOK(res1
)) {
24487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24489 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24490 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24491 if (!SWIG_IsOK(ecode2
)) {
24492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24494 arg2
= static_cast< bool >(val2
);
24496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24497 (arg1
)->EnablePrinter(arg2
);
24498 wxPyEndAllowThreads(__tstate
);
24499 if (PyErr_Occurred()) SWIG_fail
;
24501 resultobj
= SWIG_Py_Void();
24508 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24509 PyObject
*resultobj
= 0;
24510 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24514 PyObject
*swig_obj
[1] ;
24516 if (!args
) SWIG_fail
;
24517 swig_obj
[0] = args
;
24518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24519 if (!SWIG_IsOK(res1
)) {
24520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24522 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24525 result
= (bool)(arg1
)->GetDefaultMinMargins();
24526 wxPyEndAllowThreads(__tstate
);
24527 if (PyErr_Occurred()) SWIG_fail
;
24530 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24538 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24539 PyObject
*resultobj
= 0;
24540 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24544 PyObject
*swig_obj
[1] ;
24546 if (!args
) SWIG_fail
;
24547 swig_obj
[0] = args
;
24548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24549 if (!SWIG_IsOK(res1
)) {
24550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24552 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24555 result
= (bool)(arg1
)->GetEnableMargins();
24556 wxPyEndAllowThreads(__tstate
);
24557 if (PyErr_Occurred()) SWIG_fail
;
24560 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24568 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24569 PyObject
*resultobj
= 0;
24570 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24574 PyObject
*swig_obj
[1] ;
24576 if (!args
) SWIG_fail
;
24577 swig_obj
[0] = args
;
24578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24579 if (!SWIG_IsOK(res1
)) {
24580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24582 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24585 result
= (bool)(arg1
)->GetEnableOrientation();
24586 wxPyEndAllowThreads(__tstate
);
24587 if (PyErr_Occurred()) SWIG_fail
;
24590 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24598 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24599 PyObject
*resultobj
= 0;
24600 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24604 PyObject
*swig_obj
[1] ;
24606 if (!args
) SWIG_fail
;
24607 swig_obj
[0] = args
;
24608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24609 if (!SWIG_IsOK(res1
)) {
24610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24612 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24615 result
= (bool)(arg1
)->GetEnablePaper();
24616 wxPyEndAllowThreads(__tstate
);
24617 if (PyErr_Occurred()) SWIG_fail
;
24620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24628 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24629 PyObject
*resultobj
= 0;
24630 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24634 PyObject
*swig_obj
[1] ;
24636 if (!args
) SWIG_fail
;
24637 swig_obj
[0] = args
;
24638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24639 if (!SWIG_IsOK(res1
)) {
24640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24642 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24645 result
= (bool)(arg1
)->GetEnablePrinter();
24646 wxPyEndAllowThreads(__tstate
);
24647 if (PyErr_Occurred()) SWIG_fail
;
24650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24658 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24659 PyObject
*resultobj
= 0;
24660 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24664 PyObject
*swig_obj
[1] ;
24666 if (!args
) SWIG_fail
;
24667 swig_obj
[0] = args
;
24668 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24669 if (!SWIG_IsOK(res1
)) {
24670 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24672 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24675 result
= (bool)(arg1
)->GetEnableHelp();
24676 wxPyEndAllowThreads(__tstate
);
24677 if (PyErr_Occurred()) SWIG_fail
;
24680 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24688 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24689 PyObject
*resultobj
= 0;
24690 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24694 PyObject
*swig_obj
[1] ;
24696 if (!args
) SWIG_fail
;
24697 swig_obj
[0] = args
;
24698 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24699 if (!SWIG_IsOK(res1
)) {
24700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24702 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24704 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24705 result
= (bool)(arg1
)->GetDefaultInfo();
24706 wxPyEndAllowThreads(__tstate
);
24707 if (PyErr_Occurred()) SWIG_fail
;
24710 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24718 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24719 PyObject
*resultobj
= 0;
24720 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24724 PyObject
*swig_obj
[1] ;
24726 if (!args
) SWIG_fail
;
24727 swig_obj
[0] = args
;
24728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24729 if (!SWIG_IsOK(res1
)) {
24730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24732 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 result
= (arg1
)->GetMarginTopLeft();
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24746 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24747 PyObject
*resultobj
= 0;
24748 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24752 PyObject
*swig_obj
[1] ;
24754 if (!args
) SWIG_fail
;
24755 swig_obj
[0] = args
;
24756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24757 if (!SWIG_IsOK(res1
)) {
24758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24760 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24763 result
= (arg1
)->GetMarginBottomRight();
24764 wxPyEndAllowThreads(__tstate
);
24765 if (PyErr_Occurred()) SWIG_fail
;
24767 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24774 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24775 PyObject
*resultobj
= 0;
24776 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24780 PyObject
*swig_obj
[1] ;
24782 if (!args
) SWIG_fail
;
24783 swig_obj
[0] = args
;
24784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24785 if (!SWIG_IsOK(res1
)) {
24786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24788 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24791 result
= (arg1
)->GetMinMarginTopLeft();
24792 wxPyEndAllowThreads(__tstate
);
24793 if (PyErr_Occurred()) SWIG_fail
;
24795 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24802 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24803 PyObject
*resultobj
= 0;
24804 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24808 PyObject
*swig_obj
[1] ;
24810 if (!args
) SWIG_fail
;
24811 swig_obj
[0] = args
;
24812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24813 if (!SWIG_IsOK(res1
)) {
24814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24816 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24819 result
= (arg1
)->GetMinMarginBottomRight();
24820 wxPyEndAllowThreads(__tstate
);
24821 if (PyErr_Occurred()) SWIG_fail
;
24823 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24830 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24831 PyObject
*resultobj
= 0;
24832 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24833 wxPaperSize result
;
24836 PyObject
*swig_obj
[1] ;
24838 if (!args
) SWIG_fail
;
24839 swig_obj
[0] = args
;
24840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24841 if (!SWIG_IsOK(res1
)) {
24842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24844 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24847 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24848 wxPyEndAllowThreads(__tstate
);
24849 if (PyErr_Occurred()) SWIG_fail
;
24851 resultobj
= SWIG_From_int(static_cast< int >(result
));
24858 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24859 PyObject
*resultobj
= 0;
24860 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24864 PyObject
*swig_obj
[1] ;
24866 if (!args
) SWIG_fail
;
24867 swig_obj
[0] = args
;
24868 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24869 if (!SWIG_IsOK(res1
)) {
24870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24872 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24875 result
= (arg1
)->GetPaperSize();
24876 wxPyEndAllowThreads(__tstate
);
24877 if (PyErr_Occurred()) SWIG_fail
;
24879 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24886 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24887 PyObject
*resultobj
= 0;
24888 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24889 wxPrintData
*result
= 0 ;
24892 PyObject
*swig_obj
[1] ;
24894 if (!args
) SWIG_fail
;
24895 swig_obj
[0] = args
;
24896 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24897 if (!SWIG_IsOK(res1
)) {
24898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24900 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24904 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24905 result
= (wxPrintData
*) &_result_ref
;
24907 wxPyEndAllowThreads(__tstate
);
24908 if (PyErr_Occurred()) SWIG_fail
;
24910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24917 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24918 PyObject
*resultobj
= 0;
24919 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24923 PyObject
*swig_obj
[1] ;
24925 if (!args
) SWIG_fail
;
24926 swig_obj
[0] = args
;
24927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24928 if (!SWIG_IsOK(res1
)) {
24929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24931 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24934 result
= (bool)(arg1
)->Ok();
24935 wxPyEndAllowThreads(__tstate
);
24936 if (PyErr_Occurred()) SWIG_fail
;
24939 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24947 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(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_SetDefaultInfo",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_SetDefaultInfo" "', 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_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
24971 arg2
= static_cast< bool >(val2
);
24973 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24974 (arg1
)->SetDefaultInfo(arg2
);
24975 wxPyEndAllowThreads(__tstate
);
24976 if (PyErr_Occurred()) SWIG_fail
;
24978 resultobj
= SWIG_Py_Void();
24985 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(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_SetDefaultMinMargins",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_SetDefaultMinMargins" "', 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_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25009 arg2
= static_cast< bool >(val2
);
25011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25012 (arg1
)->SetDefaultMinMargins(arg2
);
25013 wxPyEndAllowThreads(__tstate
);
25014 if (PyErr_Occurred()) SWIG_fail
;
25016 resultobj
= SWIG_Py_Void();
25023 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25024 PyObject
*resultobj
= 0;
25025 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25026 wxPoint
*arg2
= 0 ;
25030 PyObject
* obj0
= 0 ;
25031 PyObject
* obj1
= 0 ;
25032 char * kwnames
[] = {
25033 (char *) "self",(char *) "pt", NULL
25036 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25037 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25038 if (!SWIG_IsOK(res1
)) {
25039 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25041 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25044 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_Py_Void();
25059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25060 PyObject
*resultobj
= 0;
25061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25062 wxPoint
*arg2
= 0 ;
25066 PyObject
* obj0
= 0 ;
25067 PyObject
* obj1
= 0 ;
25068 char * kwnames
[] = {
25069 (char *) "self",(char *) "pt", NULL
25072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25074 if (!SWIG_IsOK(res1
)) {
25075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25077 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25080 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25084 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25085 wxPyEndAllowThreads(__tstate
);
25086 if (PyErr_Occurred()) SWIG_fail
;
25088 resultobj
= SWIG_Py_Void();
25095 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25096 PyObject
*resultobj
= 0;
25097 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25098 wxPoint
*arg2
= 0 ;
25102 PyObject
* obj0
= 0 ;
25103 PyObject
* obj1
= 0 ;
25104 char * kwnames
[] = {
25105 (char *) "self",(char *) "pt", NULL
25108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25110 if (!SWIG_IsOK(res1
)) {
25111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25113 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25116 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25120 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25121 wxPyEndAllowThreads(__tstate
);
25122 if (PyErr_Occurred()) SWIG_fail
;
25124 resultobj
= SWIG_Py_Void();
25131 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25132 PyObject
*resultobj
= 0;
25133 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25134 wxPoint
*arg2
= 0 ;
25138 PyObject
* obj0
= 0 ;
25139 PyObject
* obj1
= 0 ;
25140 char * kwnames
[] = {
25141 (char *) "self",(char *) "pt", NULL
25144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25146 if (!SWIG_IsOK(res1
)) {
25147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25149 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25152 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25156 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25157 wxPyEndAllowThreads(__tstate
);
25158 if (PyErr_Occurred()) SWIG_fail
;
25160 resultobj
= SWIG_Py_Void();
25167 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25168 PyObject
*resultobj
= 0;
25169 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25175 PyObject
* obj0
= 0 ;
25176 PyObject
* obj1
= 0 ;
25177 char * kwnames
[] = {
25178 (char *) "self",(char *) "id", NULL
25181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25183 if (!SWIG_IsOK(res1
)) {
25184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25186 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25187 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25188 if (!SWIG_IsOK(ecode2
)) {
25189 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25191 arg2
= static_cast< wxPaperSize
>(val2
);
25193 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25194 (arg1
)->SetPaperId(arg2
);
25195 wxPyEndAllowThreads(__tstate
);
25196 if (PyErr_Occurred()) SWIG_fail
;
25198 resultobj
= SWIG_Py_Void();
25205 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25206 PyObject
*resultobj
= 0;
25207 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25212 PyObject
* obj0
= 0 ;
25213 PyObject
* obj1
= 0 ;
25214 char * kwnames
[] = {
25215 (char *) "self",(char *) "size", NULL
25218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25223 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25226 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25230 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25231 wxPyEndAllowThreads(__tstate
);
25232 if (PyErr_Occurred()) SWIG_fail
;
25234 resultobj
= SWIG_Py_Void();
25241 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25242 PyObject
*resultobj
= 0;
25243 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25244 wxPrintData
*arg2
= 0 ;
25249 PyObject
* obj0
= 0 ;
25250 PyObject
* obj1
= 0 ;
25251 char * kwnames
[] = {
25252 (char *) "self",(char *) "printData", NULL
25255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25257 if (!SWIG_IsOK(res1
)) {
25258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25260 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25261 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25262 if (!SWIG_IsOK(res2
)) {
25263 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25268 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25271 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25272 wxPyEndAllowThreads(__tstate
);
25273 if (PyErr_Occurred()) SWIG_fail
;
25275 resultobj
= SWIG_Py_Void();
25282 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25283 PyObject
*resultobj
= 0;
25284 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25287 PyObject
*swig_obj
[1] ;
25289 if (!args
) SWIG_fail
;
25290 swig_obj
[0] = args
;
25291 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25292 if (!SWIG_IsOK(res1
)) {
25293 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25295 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25298 (arg1
)->CalculateIdFromPaperSize();
25299 wxPyEndAllowThreads(__tstate
);
25300 if (PyErr_Occurred()) SWIG_fail
;
25302 resultobj
= SWIG_Py_Void();
25309 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25310 PyObject
*resultobj
= 0;
25311 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25314 PyObject
*swig_obj
[1] ;
25316 if (!args
) SWIG_fail
;
25317 swig_obj
[0] = args
;
25318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25319 if (!SWIG_IsOK(res1
)) {
25320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25322 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 (arg1
)->CalculatePaperSizeFromId();
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_Py_Void();
25336 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25338 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25339 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25340 return SWIG_Py_Void();
25343 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25344 return SWIG_Python_InitShadowInstance(args
);
25347 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25348 PyObject
*resultobj
= 0;
25349 wxWindow
*arg1
= (wxWindow
*) 0 ;
25350 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25351 wxPageSetupDialog
*result
= 0 ;
25356 PyObject
* obj0
= 0 ;
25357 PyObject
* obj1
= 0 ;
25358 char * kwnames
[] = {
25359 (char *) "parent",(char *) "data", NULL
25362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25364 if (!SWIG_IsOK(res1
)) {
25365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25367 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25369 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 if (!SWIG_IsOK(res2
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25373 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25376 if (!wxPyCheckForApp()) SWIG_fail
;
25377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25378 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25379 wxPyEndAllowThreads(__tstate
);
25380 if (PyErr_Occurred()) SWIG_fail
;
25382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25389 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25390 PyObject
*resultobj
= 0;
25391 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25392 wxPageSetupDialogData
*result
= 0 ;
25395 PyObject
*swig_obj
[1] ;
25397 if (!args
) SWIG_fail
;
25398 swig_obj
[0] = args
;
25399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25400 if (!SWIG_IsOK(res1
)) {
25401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25403 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25407 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25408 result
= (wxPageSetupDialogData
*) &_result_ref
;
25410 wxPyEndAllowThreads(__tstate
);
25411 if (PyErr_Occurred()) SWIG_fail
;
25413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25420 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25421 PyObject
*resultobj
= 0;
25422 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25423 wxPageSetupDialogData
*result
= 0 ;
25426 PyObject
*swig_obj
[1] ;
25428 if (!args
) SWIG_fail
;
25429 swig_obj
[0] = args
;
25430 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25431 if (!SWIG_IsOK(res1
)) {
25432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25434 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25438 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25439 result
= (wxPageSetupDialogData
*) &_result_ref
;
25441 wxPyEndAllowThreads(__tstate
);
25442 if (PyErr_Occurred()) SWIG_fail
;
25444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25451 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25452 PyObject
*resultobj
= 0;
25453 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25457 PyObject
*swig_obj
[1] ;
25459 if (!args
) SWIG_fail
;
25460 swig_obj
[0] = args
;
25461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25462 if (!SWIG_IsOK(res1
)) {
25463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25465 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25468 result
= (int)(arg1
)->ShowModal();
25469 wxPyEndAllowThreads(__tstate
);
25470 if (PyErr_Occurred()) SWIG_fail
;
25472 resultobj
= SWIG_From_int(static_cast< int >(result
));
25479 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25481 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25482 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25483 return SWIG_Py_Void();
25486 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25487 return SWIG_Python_InitShadowInstance(args
);
25490 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25491 PyObject
*resultobj
= 0;
25492 wxPrintDialogData
*result
= 0 ;
25494 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25497 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25498 wxPyEndAllowThreads(__tstate
);
25499 if (PyErr_Occurred()) SWIG_fail
;
25501 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25508 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25509 PyObject
*resultobj
= 0;
25510 wxPrintData
*arg1
= 0 ;
25511 wxPrintDialogData
*result
= 0 ;
25515 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25517 if (!SWIG_IsOK(res1
)) {
25518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25521 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25523 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25526 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25527 wxPyEndAllowThreads(__tstate
);
25528 if (PyErr_Occurred()) SWIG_fail
;
25530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25537 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25538 PyObject
*resultobj
= 0;
25539 wxPrintDialogData
*arg1
= 0 ;
25540 wxPrintDialogData
*result
= 0 ;
25544 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25545 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25546 if (!SWIG_IsOK(res1
)) {
25547 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25550 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25552 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25555 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25556 wxPyEndAllowThreads(__tstate
);
25557 if (PyErr_Occurred()) SWIG_fail
;
25559 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25566 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25570 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25573 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25578 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25579 _v
= SWIG_CheckState(res
);
25581 if (!_v
) goto check_2
;
25582 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25587 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25591 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25596 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25597 PyObject
*resultobj
= 0;
25598 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25601 PyObject
*swig_obj
[1] ;
25603 if (!args
) SWIG_fail
;
25604 swig_obj
[0] = args
;
25605 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25606 if (!SWIG_IsOK(res1
)) {
25607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25609 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25614 wxPyEndAllowThreads(__tstate
);
25615 if (PyErr_Occurred()) SWIG_fail
;
25617 resultobj
= SWIG_Py_Void();
25624 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25625 PyObject
*resultobj
= 0;
25626 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25630 PyObject
*swig_obj
[1] ;
25632 if (!args
) SWIG_fail
;
25633 swig_obj
[0] = args
;
25634 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25635 if (!SWIG_IsOK(res1
)) {
25636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25638 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25640 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25641 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25642 wxPyEndAllowThreads(__tstate
);
25643 if (PyErr_Occurred()) SWIG_fail
;
25645 resultobj
= SWIG_From_int(static_cast< int >(result
));
25652 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25653 PyObject
*resultobj
= 0;
25654 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25658 PyObject
*swig_obj
[1] ;
25660 if (!args
) SWIG_fail
;
25661 swig_obj
[0] = args
;
25662 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25663 if (!SWIG_IsOK(res1
)) {
25664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25666 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25669 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25670 wxPyEndAllowThreads(__tstate
);
25671 if (PyErr_Occurred()) SWIG_fail
;
25673 resultobj
= SWIG_From_int(static_cast< int >(result
));
25680 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25681 PyObject
*resultobj
= 0;
25682 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25686 PyObject
*swig_obj
[1] ;
25688 if (!args
) SWIG_fail
;
25689 swig_obj
[0] = args
;
25690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25691 if (!SWIG_IsOK(res1
)) {
25692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25694 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25697 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25698 wxPyEndAllowThreads(__tstate
);
25699 if (PyErr_Occurred()) SWIG_fail
;
25701 resultobj
= SWIG_From_int(static_cast< int >(result
));
25708 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25709 PyObject
*resultobj
= 0;
25710 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25714 PyObject
*swig_obj
[1] ;
25716 if (!args
) SWIG_fail
;
25717 swig_obj
[0] = args
;
25718 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25719 if (!SWIG_IsOK(res1
)) {
25720 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25722 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_From_int(static_cast< int >(result
));
25736 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25737 PyObject
*resultobj
= 0;
25738 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25742 PyObject
*swig_obj
[1] ;
25744 if (!args
) SWIG_fail
;
25745 swig_obj
[0] = args
;
25746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25747 if (!SWIG_IsOK(res1
)) {
25748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25750 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25753 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25754 wxPyEndAllowThreads(__tstate
);
25755 if (PyErr_Occurred()) SWIG_fail
;
25757 resultobj
= SWIG_From_int(static_cast< int >(result
));
25764 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25765 PyObject
*resultobj
= 0;
25766 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25770 PyObject
*swig_obj
[1] ;
25772 if (!args
) SWIG_fail
;
25773 swig_obj
[0] = args
;
25774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25775 if (!SWIG_IsOK(res1
)) {
25776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25778 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25781 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25794 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25795 PyObject
*resultobj
= 0;
25796 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25800 PyObject
*swig_obj
[1] ;
25802 if (!args
) SWIG_fail
;
25803 swig_obj
[0] = args
;
25804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25805 if (!SWIG_IsOK(res1
)) {
25806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25808 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25811 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25812 wxPyEndAllowThreads(__tstate
);
25813 if (PyErr_Occurred()) SWIG_fail
;
25816 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25824 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25825 PyObject
*resultobj
= 0;
25826 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25830 PyObject
*swig_obj
[1] ;
25832 if (!args
) SWIG_fail
;
25833 swig_obj
[0] = args
;
25834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25835 if (!SWIG_IsOK(res1
)) {
25836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25838 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25841 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25842 wxPyEndAllowThreads(__tstate
);
25843 if (PyErr_Occurred()) SWIG_fail
;
25846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25854 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25855 PyObject
*resultobj
= 0;
25856 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25860 PyObject
*swig_obj
[1] ;
25862 if (!args
) SWIG_fail
;
25863 swig_obj
[0] = args
;
25864 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25865 if (!SWIG_IsOK(res1
)) {
25866 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25868 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25876 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25884 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25885 PyObject
*resultobj
= 0;
25886 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25892 PyObject
* obj0
= 0 ;
25893 PyObject
* obj1
= 0 ;
25894 char * kwnames
[] = {
25895 (char *) "self",(char *) "v", NULL
25898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25900 if (!SWIG_IsOK(res1
)) {
25901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25903 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25904 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25905 if (!SWIG_IsOK(ecode2
)) {
25906 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25908 arg2
= static_cast< int >(val2
);
25910 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25911 (arg1
)->SetFromPage(arg2
);
25912 wxPyEndAllowThreads(__tstate
);
25913 if (PyErr_Occurred()) SWIG_fail
;
25915 resultobj
= SWIG_Py_Void();
25922 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25923 PyObject
*resultobj
= 0;
25924 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25930 PyObject
* obj0
= 0 ;
25931 PyObject
* obj1
= 0 ;
25932 char * kwnames
[] = {
25933 (char *) "self",(char *) "v", NULL
25936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25938 if (!SWIG_IsOK(res1
)) {
25939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25941 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25942 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25943 if (!SWIG_IsOK(ecode2
)) {
25944 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25946 arg2
= static_cast< int >(val2
);
25948 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25949 (arg1
)->SetToPage(arg2
);
25950 wxPyEndAllowThreads(__tstate
);
25951 if (PyErr_Occurred()) SWIG_fail
;
25953 resultobj
= SWIG_Py_Void();
25960 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25961 PyObject
*resultobj
= 0;
25962 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25968 PyObject
* obj0
= 0 ;
25969 PyObject
* obj1
= 0 ;
25970 char * kwnames
[] = {
25971 (char *) "self",(char *) "v", NULL
25974 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25975 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25980 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25981 if (!SWIG_IsOK(ecode2
)) {
25982 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
25984 arg2
= static_cast< int >(val2
);
25986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25987 (arg1
)->SetMinPage(arg2
);
25988 wxPyEndAllowThreads(__tstate
);
25989 if (PyErr_Occurred()) SWIG_fail
;
25991 resultobj
= SWIG_Py_Void();
25998 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25999 PyObject
*resultobj
= 0;
26000 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26006 PyObject
* obj0
= 0 ;
26007 PyObject
* obj1
= 0 ;
26008 char * kwnames
[] = {
26009 (char *) "self",(char *) "v", NULL
26012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26014 if (!SWIG_IsOK(res1
)) {
26015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26017 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26018 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26019 if (!SWIG_IsOK(ecode2
)) {
26020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26022 arg2
= static_cast< int >(val2
);
26024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26025 (arg1
)->SetMaxPage(arg2
);
26026 wxPyEndAllowThreads(__tstate
);
26027 if (PyErr_Occurred()) SWIG_fail
;
26029 resultobj
= SWIG_Py_Void();
26036 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26037 PyObject
*resultobj
= 0;
26038 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26044 PyObject
* obj0
= 0 ;
26045 PyObject
* obj1
= 0 ;
26046 char * kwnames
[] = {
26047 (char *) "self",(char *) "v", NULL
26050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26052 if (!SWIG_IsOK(res1
)) {
26053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26055 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26057 if (!SWIG_IsOK(ecode2
)) {
26058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26060 arg2
= static_cast< int >(val2
);
26062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26063 (arg1
)->SetNoCopies(arg2
);
26064 wxPyEndAllowThreads(__tstate
);
26065 if (PyErr_Occurred()) SWIG_fail
;
26067 resultobj
= SWIG_Py_Void();
26074 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26075 PyObject
*resultobj
= 0;
26076 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26082 PyObject
* obj0
= 0 ;
26083 PyObject
* obj1
= 0 ;
26084 char * kwnames
[] = {
26085 (char *) "self",(char *) "flag", NULL
26088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26089 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26090 if (!SWIG_IsOK(res1
)) {
26091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26093 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26094 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26095 if (!SWIG_IsOK(ecode2
)) {
26096 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26098 arg2
= static_cast< bool >(val2
);
26100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26101 (arg1
)->SetAllPages(arg2
);
26102 wxPyEndAllowThreads(__tstate
);
26103 if (PyErr_Occurred()) SWIG_fail
;
26105 resultobj
= SWIG_Py_Void();
26112 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26113 PyObject
*resultobj
= 0;
26114 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26120 PyObject
* obj0
= 0 ;
26121 PyObject
* obj1
= 0 ;
26122 char * kwnames
[] = {
26123 (char *) "self",(char *) "flag", NULL
26126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26128 if (!SWIG_IsOK(res1
)) {
26129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26131 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26132 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26133 if (!SWIG_IsOK(ecode2
)) {
26134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26136 arg2
= static_cast< bool >(val2
);
26138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26139 (arg1
)->SetSelection(arg2
);
26140 wxPyEndAllowThreads(__tstate
);
26141 if (PyErr_Occurred()) SWIG_fail
;
26143 resultobj
= SWIG_Py_Void();
26150 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26151 PyObject
*resultobj
= 0;
26152 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26158 PyObject
* obj0
= 0 ;
26159 PyObject
* obj1
= 0 ;
26160 char * kwnames
[] = {
26161 (char *) "self",(char *) "flag", NULL
26164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26166 if (!SWIG_IsOK(res1
)) {
26167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26169 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26170 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26171 if (!SWIG_IsOK(ecode2
)) {
26172 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26174 arg2
= static_cast< bool >(val2
);
26176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26177 (arg1
)->SetCollate(arg2
);
26178 wxPyEndAllowThreads(__tstate
);
26179 if (PyErr_Occurred()) SWIG_fail
;
26181 resultobj
= SWIG_Py_Void();
26188 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26189 PyObject
*resultobj
= 0;
26190 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26196 PyObject
* obj0
= 0 ;
26197 PyObject
* obj1
= 0 ;
26198 char * kwnames
[] = {
26199 (char *) "self",(char *) "flag", NULL
26202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26203 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26204 if (!SWIG_IsOK(res1
)) {
26205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26207 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26208 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26209 if (!SWIG_IsOK(ecode2
)) {
26210 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26212 arg2
= static_cast< bool >(val2
);
26214 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26215 (arg1
)->SetPrintToFile(arg2
);
26216 wxPyEndAllowThreads(__tstate
);
26217 if (PyErr_Occurred()) SWIG_fail
;
26219 resultobj
= SWIG_Py_Void();
26226 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26227 PyObject
*resultobj
= 0;
26228 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26234 PyObject
* obj0
= 0 ;
26235 PyObject
* obj1
= 0 ;
26236 char * kwnames
[] = {
26237 (char *) "self",(char *) "flag", NULL
26240 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26241 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26242 if (!SWIG_IsOK(res1
)) {
26243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26245 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26246 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26247 if (!SWIG_IsOK(ecode2
)) {
26248 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26250 arg2
= static_cast< bool >(val2
);
26252 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26253 (arg1
)->EnablePrintToFile(arg2
);
26254 wxPyEndAllowThreads(__tstate
);
26255 if (PyErr_Occurred()) SWIG_fail
;
26257 resultobj
= SWIG_Py_Void();
26264 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26265 PyObject
*resultobj
= 0;
26266 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26272 PyObject
* obj0
= 0 ;
26273 PyObject
* obj1
= 0 ;
26274 char * kwnames
[] = {
26275 (char *) "self",(char *) "flag", NULL
26278 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26279 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26280 if (!SWIG_IsOK(res1
)) {
26281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26283 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26284 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26285 if (!SWIG_IsOK(ecode2
)) {
26286 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26288 arg2
= static_cast< bool >(val2
);
26290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26291 (arg1
)->EnableSelection(arg2
);
26292 wxPyEndAllowThreads(__tstate
);
26293 if (PyErr_Occurred()) SWIG_fail
;
26295 resultobj
= SWIG_Py_Void();
26302 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26303 PyObject
*resultobj
= 0;
26304 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26310 PyObject
* obj0
= 0 ;
26311 PyObject
* obj1
= 0 ;
26312 char * kwnames
[] = {
26313 (char *) "self",(char *) "flag", NULL
26316 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26317 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26318 if (!SWIG_IsOK(res1
)) {
26319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26321 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26322 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26323 if (!SWIG_IsOK(ecode2
)) {
26324 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26326 arg2
= static_cast< bool >(val2
);
26328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26329 (arg1
)->EnablePageNumbers(arg2
);
26330 wxPyEndAllowThreads(__tstate
);
26331 if (PyErr_Occurred()) SWIG_fail
;
26333 resultobj
= SWIG_Py_Void();
26340 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26341 PyObject
*resultobj
= 0;
26342 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26348 PyObject
* obj0
= 0 ;
26349 PyObject
* obj1
= 0 ;
26350 char * kwnames
[] = {
26351 (char *) "self",(char *) "flag", NULL
26354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26356 if (!SWIG_IsOK(res1
)) {
26357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26359 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26360 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26361 if (!SWIG_IsOK(ecode2
)) {
26362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26364 arg2
= static_cast< bool >(val2
);
26366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26367 (arg1
)->EnableHelp(arg2
);
26368 wxPyEndAllowThreads(__tstate
);
26369 if (PyErr_Occurred()) SWIG_fail
;
26371 resultobj
= SWIG_Py_Void();
26378 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26379 PyObject
*resultobj
= 0;
26380 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26384 PyObject
*swig_obj
[1] ;
26386 if (!args
) SWIG_fail
;
26387 swig_obj
[0] = args
;
26388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26389 if (!SWIG_IsOK(res1
)) {
26390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26392 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26395 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26396 wxPyEndAllowThreads(__tstate
);
26397 if (PyErr_Occurred()) SWIG_fail
;
26400 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26408 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26409 PyObject
*resultobj
= 0;
26410 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26414 PyObject
*swig_obj
[1] ;
26416 if (!args
) SWIG_fail
;
26417 swig_obj
[0] = args
;
26418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26419 if (!SWIG_IsOK(res1
)) {
26420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26422 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26425 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26426 wxPyEndAllowThreads(__tstate
);
26427 if (PyErr_Occurred()) SWIG_fail
;
26430 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26438 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26439 PyObject
*resultobj
= 0;
26440 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26444 PyObject
*swig_obj
[1] ;
26446 if (!args
) SWIG_fail
;
26447 swig_obj
[0] = args
;
26448 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26449 if (!SWIG_IsOK(res1
)) {
26450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26452 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26454 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26455 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26456 wxPyEndAllowThreads(__tstate
);
26457 if (PyErr_Occurred()) SWIG_fail
;
26460 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26468 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26469 PyObject
*resultobj
= 0;
26470 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26474 PyObject
*swig_obj
[1] ;
26476 if (!args
) SWIG_fail
;
26477 swig_obj
[0] = args
;
26478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26479 if (!SWIG_IsOK(res1
)) {
26480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26482 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26485 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26486 wxPyEndAllowThreads(__tstate
);
26487 if (PyErr_Occurred()) SWIG_fail
;
26490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26498 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26499 PyObject
*resultobj
= 0;
26500 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26504 PyObject
*swig_obj
[1] ;
26506 if (!args
) SWIG_fail
;
26507 swig_obj
[0] = args
;
26508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26509 if (!SWIG_IsOK(res1
)) {
26510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26512 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26515 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26516 wxPyEndAllowThreads(__tstate
);
26517 if (PyErr_Occurred()) SWIG_fail
;
26520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26528 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26529 PyObject
*resultobj
= 0;
26530 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26531 wxPrintData
*result
= 0 ;
26534 PyObject
*swig_obj
[1] ;
26536 if (!args
) SWIG_fail
;
26537 swig_obj
[0] = args
;
26538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26539 if (!SWIG_IsOK(res1
)) {
26540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26542 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26546 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26547 result
= (wxPrintData
*) &_result_ref
;
26549 wxPyEndAllowThreads(__tstate
);
26550 if (PyErr_Occurred()) SWIG_fail
;
26552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26559 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26560 PyObject
*resultobj
= 0;
26561 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26562 wxPrintData
*arg2
= 0 ;
26567 PyObject
* obj0
= 0 ;
26568 PyObject
* obj1
= 0 ;
26569 char * kwnames
[] = {
26570 (char *) "self",(char *) "printData", NULL
26573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26575 if (!SWIG_IsOK(res1
)) {
26576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26578 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26579 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26580 if (!SWIG_IsOK(res2
)) {
26581 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26584 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26586 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26588 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26589 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26590 wxPyEndAllowThreads(__tstate
);
26591 if (PyErr_Occurred()) SWIG_fail
;
26593 resultobj
= SWIG_Py_Void();
26600 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26602 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26603 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26604 return SWIG_Py_Void();
26607 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26608 return SWIG_Python_InitShadowInstance(args
);
26611 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26612 PyObject
*resultobj
= 0;
26613 wxWindow
*arg1
= (wxWindow
*) 0 ;
26614 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26615 wxPrintDialog
*result
= 0 ;
26620 PyObject
* obj0
= 0 ;
26621 PyObject
* obj1
= 0 ;
26622 char * kwnames
[] = {
26623 (char *) "parent",(char *) "data", NULL
26626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26628 if (!SWIG_IsOK(res1
)) {
26629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26631 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26633 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26634 if (!SWIG_IsOK(res2
)) {
26635 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26637 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26640 if (!wxPyCheckForApp()) SWIG_fail
;
26641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26642 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26643 wxPyEndAllowThreads(__tstate
);
26644 if (PyErr_Occurred()) SWIG_fail
;
26646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26653 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26654 PyObject
*resultobj
= 0;
26655 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26659 PyObject
*swig_obj
[1] ;
26661 if (!args
) SWIG_fail
;
26662 swig_obj
[0] = args
;
26663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26664 if (!SWIG_IsOK(res1
)) {
26665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26667 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 result
= (int)(arg1
)->ShowModal();
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_From_int(static_cast< int >(result
));
26681 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26682 PyObject
*resultobj
= 0;
26683 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26684 wxPrintDialogData
*result
= 0 ;
26687 PyObject
*swig_obj
[1] ;
26689 if (!args
) SWIG_fail
;
26690 swig_obj
[0] = args
;
26691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26692 if (!SWIG_IsOK(res1
)) {
26693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26695 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26699 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26700 result
= (wxPrintDialogData
*) &_result_ref
;
26702 wxPyEndAllowThreads(__tstate
);
26703 if (PyErr_Occurred()) SWIG_fail
;
26705 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26712 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26713 PyObject
*resultobj
= 0;
26714 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26715 wxPrintData
*result
= 0 ;
26718 PyObject
*swig_obj
[1] ;
26720 if (!args
) SWIG_fail
;
26721 swig_obj
[0] = args
;
26722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26723 if (!SWIG_IsOK(res1
)) {
26724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26726 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26730 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26731 result
= (wxPrintData
*) &_result_ref
;
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26743 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26744 PyObject
*resultobj
= 0;
26745 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26749 PyObject
*swig_obj
[1] ;
26751 if (!args
) SWIG_fail
;
26752 swig_obj
[0] = args
;
26753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26754 if (!SWIG_IsOK(res1
)) {
26755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26757 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26760 result
= (wxDC
*)(arg1
)->GetPrintDC();
26761 wxPyEndAllowThreads(__tstate
);
26762 if (PyErr_Occurred()) SWIG_fail
;
26765 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26773 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26775 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26776 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26777 return SWIG_Py_Void();
26780 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26781 return SWIG_Python_InitShadowInstance(args
);
26784 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26785 PyObject
*resultobj
= 0;
26786 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26787 wxPrinter
*result
= 0 ;
26790 PyObject
* obj0
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "data", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26798 if (!SWIG_IsOK(res1
)) {
26799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26801 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26804 if (!wxPyCheckForApp()) SWIG_fail
;
26805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26806 result
= (wxPrinter
*)new wxPrinter(arg1
);
26807 wxPyEndAllowThreads(__tstate
);
26808 if (PyErr_Occurred()) SWIG_fail
;
26810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26817 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26818 PyObject
*resultobj
= 0;
26819 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26822 PyObject
*swig_obj
[1] ;
26824 if (!args
) SWIG_fail
;
26825 swig_obj
[0] = args
;
26826 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26827 if (!SWIG_IsOK(res1
)) {
26828 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26830 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26835 wxPyEndAllowThreads(__tstate
);
26836 if (PyErr_Occurred()) SWIG_fail
;
26838 resultobj
= SWIG_Py_Void();
26845 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26846 PyObject
*resultobj
= 0;
26847 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26848 wxWindow
*arg2
= (wxWindow
*) 0 ;
26849 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26850 wxWindow
*result
= 0 ;
26857 PyObject
* obj0
= 0 ;
26858 PyObject
* obj1
= 0 ;
26859 PyObject
* obj2
= 0 ;
26860 char * kwnames
[] = {
26861 (char *) "self",(char *) "parent",(char *) "printout", NULL
26864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26866 if (!SWIG_IsOK(res1
)) {
26867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26869 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26870 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26871 if (!SWIG_IsOK(res2
)) {
26872 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26874 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26875 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26876 if (!SWIG_IsOK(res3
)) {
26877 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26879 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26882 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26883 wxPyEndAllowThreads(__tstate
);
26884 if (PyErr_Occurred()) SWIG_fail
;
26887 resultobj
= wxPyMake_wxObject(result
, 0);
26895 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
= 0;
26897 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26898 wxWindow
*arg2
= (wxWindow
*) 0 ;
26899 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26900 wxString
*arg4
= 0 ;
26907 bool temp4
= false ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26911 PyObject
* obj3
= 0 ;
26912 char * kwnames
[] = {
26913 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26918 if (!SWIG_IsOK(res1
)) {
26919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26921 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26922 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26923 if (!SWIG_IsOK(res2
)) {
26924 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26926 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26927 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26928 if (!SWIG_IsOK(res3
)) {
26929 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26931 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26933 arg4
= wxString_in_helper(obj3
);
26934 if (arg4
== NULL
) SWIG_fail
;
26938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26939 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26940 wxPyEndAllowThreads(__tstate
);
26941 if (PyErr_Occurred()) SWIG_fail
;
26943 resultobj
= SWIG_Py_Void();
26958 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26959 PyObject
*resultobj
= 0;
26960 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26961 wxWindow
*arg2
= (wxWindow
*) 0 ;
26967 PyObject
* obj0
= 0 ;
26968 PyObject
* obj1
= 0 ;
26969 char * kwnames
[] = {
26970 (char *) "self",(char *) "parent", NULL
26973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26975 if (!SWIG_IsOK(res1
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
26978 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26979 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26980 if (!SWIG_IsOK(res2
)) {
26981 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
26983 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26986 result
= (bool)(arg1
)->Setup(arg2
);
26987 wxPyEndAllowThreads(__tstate
);
26988 if (PyErr_Occurred()) SWIG_fail
;
26991 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26999 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27000 PyObject
*resultobj
= 0;
27001 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27002 wxWindow
*arg2
= (wxWindow
*) 0 ;
27003 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27004 bool arg4
= (bool) true ;
27014 PyObject
* obj0
= 0 ;
27015 PyObject
* obj1
= 0 ;
27016 PyObject
* obj2
= 0 ;
27017 PyObject
* obj3
= 0 ;
27018 char * kwnames
[] = {
27019 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27024 if (!SWIG_IsOK(res1
)) {
27025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27027 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27028 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27029 if (!SWIG_IsOK(res2
)) {
27030 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27032 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27033 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27034 if (!SWIG_IsOK(res3
)) {
27035 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27037 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27039 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27040 if (!SWIG_IsOK(ecode4
)) {
27041 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27043 arg4
= static_cast< bool >(val4
);
27046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27047 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27048 wxPyEndAllowThreads(__tstate
);
27049 if (PyErr_Occurred()) SWIG_fail
;
27052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27060 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27061 PyObject
*resultobj
= 0;
27062 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27063 wxWindow
*arg2
= (wxWindow
*) 0 ;
27069 PyObject
* obj0
= 0 ;
27070 PyObject
* obj1
= 0 ;
27071 char * kwnames
[] = {
27072 (char *) "self",(char *) "parent", NULL
27075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27077 if (!SWIG_IsOK(res1
)) {
27078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27080 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27081 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27082 if (!SWIG_IsOK(res2
)) {
27083 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27085 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27087 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27088 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27089 wxPyEndAllowThreads(__tstate
);
27090 if (PyErr_Occurred()) SWIG_fail
;
27093 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27101 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27102 PyObject
*resultobj
= 0;
27103 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27104 wxPrintDialogData
*result
= 0 ;
27107 PyObject
*swig_obj
[1] ;
27109 if (!args
) SWIG_fail
;
27110 swig_obj
[0] = args
;
27111 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27112 if (!SWIG_IsOK(res1
)) {
27113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27115 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27119 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27120 result
= (wxPrintDialogData
*) &_result_ref
;
27122 wxPyEndAllowThreads(__tstate
);
27123 if (PyErr_Occurred()) SWIG_fail
;
27125 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27132 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27133 PyObject
*resultobj
= 0;
27134 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27138 PyObject
*swig_obj
[1] ;
27140 if (!args
) SWIG_fail
;
27141 swig_obj
[0] = args
;
27142 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27143 if (!SWIG_IsOK(res1
)) {
27144 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27146 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27149 result
= (bool)(arg1
)->GetAbort();
27150 wxPyEndAllowThreads(__tstate
);
27151 if (PyErr_Occurred()) SWIG_fail
;
27154 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27162 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27163 PyObject
*resultobj
= 0;
27164 wxPrinterError result
;
27166 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27169 result
= (wxPrinterError
)wxPrinter::GetLastError();
27170 wxPyEndAllowThreads(__tstate
);
27171 if (PyErr_Occurred()) SWIG_fail
;
27173 resultobj
= SWIG_From_int(static_cast< int >(result
));
27180 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27182 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27183 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27184 return SWIG_Py_Void();
27187 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27188 return SWIG_Python_InitShadowInstance(args
);
27191 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27192 PyObject
*resultobj
= 0;
27193 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27194 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27195 wxPyPrintout
*result
= 0 ;
27196 bool temp1
= false ;
27197 PyObject
* obj0
= 0 ;
27198 char * kwnames
[] = {
27199 (char *) "title", NULL
27202 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27205 arg1
= wxString_in_helper(obj0
);
27206 if (arg1
== NULL
) SWIG_fail
;
27211 if (!wxPyCheckForApp()) SWIG_fail
;
27212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27213 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27214 wxPyEndAllowThreads(__tstate
);
27215 if (PyErr_Occurred()) SWIG_fail
;
27217 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27232 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 PyObject
*resultobj
= 0;
27234 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27237 PyObject
*swig_obj
[1] ;
27239 if (!args
) SWIG_fail
;
27240 swig_obj
[0] = args
;
27241 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27242 if (!SWIG_IsOK(res1
)) {
27243 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27245 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27247 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27250 wxPyEndAllowThreads(__tstate
);
27251 if (PyErr_Occurred()) SWIG_fail
;
27253 resultobj
= SWIG_Py_Void();
27260 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27261 PyObject
*resultobj
= 0;
27262 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27263 PyObject
*arg2
= (PyObject
*) 0 ;
27264 PyObject
*arg3
= (PyObject
*) 0 ;
27267 PyObject
* obj0
= 0 ;
27268 PyObject
* obj1
= 0 ;
27269 PyObject
* obj2
= 0 ;
27270 char * kwnames
[] = {
27271 (char *) "self",(char *) "self",(char *) "_class", NULL
27274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27276 if (!SWIG_IsOK(res1
)) {
27277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27279 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27284 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27285 wxPyEndAllowThreads(__tstate
);
27286 if (PyErr_Occurred()) SWIG_fail
;
27288 resultobj
= SWIG_Py_Void();
27295 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27296 PyObject
*resultobj
= 0;
27297 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27301 PyObject
*swig_obj
[1] ;
27303 if (!args
) SWIG_fail
;
27304 swig_obj
[0] = args
;
27305 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27306 if (!SWIG_IsOK(res1
)) {
27307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27309 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27312 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27313 wxPyEndAllowThreads(__tstate
);
27314 if (PyErr_Occurred()) SWIG_fail
;
27318 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27320 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27329 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27330 PyObject
*resultobj
= 0;
27331 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27335 PyObject
*swig_obj
[1] ;
27337 if (!args
) SWIG_fail
;
27338 swig_obj
[0] = args
;
27339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27340 if (!SWIG_IsOK(res1
)) {
27341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27343 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27346 result
= (wxDC
*)(arg1
)->GetDC();
27347 wxPyEndAllowThreads(__tstate
);
27348 if (PyErr_Occurred()) SWIG_fail
;
27351 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27359 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27360 PyObject
*resultobj
= 0;
27361 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27362 wxDC
*arg2
= (wxDC
*) 0 ;
27367 PyObject
* obj0
= 0 ;
27368 PyObject
* obj1
= 0 ;
27369 char * kwnames
[] = {
27370 (char *) "self",(char *) "dc", NULL
27373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27375 if (!SWIG_IsOK(res1
)) {
27376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27378 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27379 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27380 if (!SWIG_IsOK(res2
)) {
27381 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27383 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27386 (arg1
)->SetDC(arg2
);
27387 wxPyEndAllowThreads(__tstate
);
27388 if (PyErr_Occurred()) SWIG_fail
;
27390 resultobj
= SWIG_Py_Void();
27397 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27398 PyObject
*resultobj
= 0;
27399 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27408 PyObject
* obj0
= 0 ;
27409 PyObject
* obj1
= 0 ;
27410 PyObject
* obj2
= 0 ;
27411 char * kwnames
[] = {
27412 (char *) "self",(char *) "w",(char *) "h", NULL
27415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27417 if (!SWIG_IsOK(res1
)) {
27418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27420 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27421 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27422 if (!SWIG_IsOK(ecode2
)) {
27423 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27425 arg2
= static_cast< int >(val2
);
27426 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27427 if (!SWIG_IsOK(ecode3
)) {
27428 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27430 arg3
= static_cast< int >(val3
);
27432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27433 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27434 wxPyEndAllowThreads(__tstate
);
27435 if (PyErr_Occurred()) SWIG_fail
;
27437 resultobj
= SWIG_Py_Void();
27444 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27445 PyObject
*resultobj
= 0;
27446 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27447 int *arg2
= (int *) 0 ;
27448 int *arg3
= (int *) 0 ;
27452 int res2
= SWIG_TMPOBJ
;
27454 int res3
= SWIG_TMPOBJ
;
27455 PyObject
*swig_obj
[1] ;
27459 if (!args
) SWIG_fail
;
27460 swig_obj
[0] = args
;
27461 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27462 if (!SWIG_IsOK(res1
)) {
27463 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27465 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27468 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27469 wxPyEndAllowThreads(__tstate
);
27470 if (PyErr_Occurred()) SWIG_fail
;
27472 resultobj
= SWIG_Py_Void();
27473 if (SWIG_IsTmpObj(res2
)) {
27474 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27476 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27477 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27479 if (SWIG_IsTmpObj(res3
)) {
27480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27491 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27492 PyObject
*resultobj
= 0;
27493 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27502 PyObject
* obj0
= 0 ;
27503 PyObject
* obj1
= 0 ;
27504 PyObject
* obj2
= 0 ;
27505 char * kwnames
[] = {
27506 (char *) "self",(char *) "w",(char *) "h", NULL
27509 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27510 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27511 if (!SWIG_IsOK(res1
)) {
27512 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27514 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27515 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27516 if (!SWIG_IsOK(ecode2
)) {
27517 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27519 arg2
= static_cast< int >(val2
);
27520 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27521 if (!SWIG_IsOK(ecode3
)) {
27522 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27524 arg3
= static_cast< int >(val3
);
27526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27527 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27528 wxPyEndAllowThreads(__tstate
);
27529 if (PyErr_Occurred()) SWIG_fail
;
27531 resultobj
= SWIG_Py_Void();
27538 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27539 PyObject
*resultobj
= 0;
27540 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27541 int *arg2
= (int *) 0 ;
27542 int *arg3
= (int *) 0 ;
27546 int res2
= SWIG_TMPOBJ
;
27548 int res3
= SWIG_TMPOBJ
;
27549 PyObject
*swig_obj
[1] ;
27553 if (!args
) SWIG_fail
;
27554 swig_obj
[0] = args
;
27555 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27556 if (!SWIG_IsOK(res1
)) {
27557 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27559 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27562 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27563 wxPyEndAllowThreads(__tstate
);
27564 if (PyErr_Occurred()) SWIG_fail
;
27566 resultobj
= SWIG_Py_Void();
27567 if (SWIG_IsTmpObj(res2
)) {
27568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27570 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27573 if (SWIG_IsTmpObj(res3
)) {
27574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27576 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27577 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27585 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27586 PyObject
*resultobj
= 0;
27587 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27596 PyObject
* obj0
= 0 ;
27597 PyObject
* obj1
= 0 ;
27598 PyObject
* obj2
= 0 ;
27599 char * kwnames
[] = {
27600 (char *) "self",(char *) "x",(char *) "y", NULL
27603 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27604 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27605 if (!SWIG_IsOK(res1
)) {
27606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27608 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27609 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27610 if (!SWIG_IsOK(ecode2
)) {
27611 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27613 arg2
= static_cast< int >(val2
);
27614 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27615 if (!SWIG_IsOK(ecode3
)) {
27616 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27618 arg3
= static_cast< int >(val3
);
27620 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27621 (arg1
)->SetPPIScreen(arg2
,arg3
);
27622 wxPyEndAllowThreads(__tstate
);
27623 if (PyErr_Occurred()) SWIG_fail
;
27625 resultobj
= SWIG_Py_Void();
27632 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27633 PyObject
*resultobj
= 0;
27634 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27635 int *arg2
= (int *) 0 ;
27636 int *arg3
= (int *) 0 ;
27640 int res2
= SWIG_TMPOBJ
;
27642 int res3
= SWIG_TMPOBJ
;
27643 PyObject
*swig_obj
[1] ;
27647 if (!args
) SWIG_fail
;
27648 swig_obj
[0] = args
;
27649 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27650 if (!SWIG_IsOK(res1
)) {
27651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27653 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27656 (arg1
)->GetPPIScreen(arg2
,arg3
);
27657 wxPyEndAllowThreads(__tstate
);
27658 if (PyErr_Occurred()) SWIG_fail
;
27660 resultobj
= SWIG_Py_Void();
27661 if (SWIG_IsTmpObj(res2
)) {
27662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27664 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27667 if (SWIG_IsTmpObj(res3
)) {
27668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27670 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27671 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27679 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27680 PyObject
*resultobj
= 0;
27681 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27690 PyObject
* obj0
= 0 ;
27691 PyObject
* obj1
= 0 ;
27692 PyObject
* obj2
= 0 ;
27693 char * kwnames
[] = {
27694 (char *) "self",(char *) "x",(char *) "y", NULL
27697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27699 if (!SWIG_IsOK(res1
)) {
27700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27702 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27704 if (!SWIG_IsOK(ecode2
)) {
27705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27707 arg2
= static_cast< int >(val2
);
27708 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27709 if (!SWIG_IsOK(ecode3
)) {
27710 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27712 arg3
= static_cast< int >(val3
);
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27719 resultobj
= SWIG_Py_Void();
27726 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27727 PyObject
*resultobj
= 0;
27728 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27729 int *arg2
= (int *) 0 ;
27730 int *arg3
= (int *) 0 ;
27734 int res2
= SWIG_TMPOBJ
;
27736 int res3
= SWIG_TMPOBJ
;
27737 PyObject
*swig_obj
[1] ;
27741 if (!args
) SWIG_fail
;
27742 swig_obj
[0] = args
;
27743 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27747 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27750 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27751 wxPyEndAllowThreads(__tstate
);
27752 if (PyErr_Occurred()) SWIG_fail
;
27754 resultobj
= SWIG_Py_Void();
27755 if (SWIG_IsTmpObj(res2
)) {
27756 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27758 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27761 if (SWIG_IsTmpObj(res3
)) {
27762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27764 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27773 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27774 PyObject
*resultobj
= 0;
27775 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27779 PyObject
*swig_obj
[1] ;
27781 if (!args
) SWIG_fail
;
27782 swig_obj
[0] = args
;
27783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27784 if (!SWIG_IsOK(res1
)) {
27785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27787 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27790 result
= (bool)(arg1
)->IsPreview();
27791 wxPyEndAllowThreads(__tstate
);
27792 if (PyErr_Occurred()) SWIG_fail
;
27795 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27803 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27804 PyObject
*resultobj
= 0;
27805 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27811 PyObject
* obj0
= 0 ;
27812 PyObject
* obj1
= 0 ;
27813 char * kwnames
[] = {
27814 (char *) "self",(char *) "p", NULL
27817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27819 if (!SWIG_IsOK(res1
)) {
27820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27822 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27823 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27824 if (!SWIG_IsOK(ecode2
)) {
27825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27827 arg2
= static_cast< bool >(val2
);
27829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27830 (arg1
)->SetIsPreview(arg2
);
27831 wxPyEndAllowThreads(__tstate
);
27832 if (PyErr_Occurred()) SWIG_fail
;
27834 resultobj
= SWIG_Py_Void();
27841 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27842 PyObject
*resultobj
= 0;
27843 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27853 PyObject
* obj0
= 0 ;
27854 PyObject
* obj1
= 0 ;
27855 PyObject
* obj2
= 0 ;
27856 char * kwnames
[] = {
27857 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27862 if (!SWIG_IsOK(res1
)) {
27863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27865 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27866 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27867 if (!SWIG_IsOK(ecode2
)) {
27868 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27870 arg2
= static_cast< int >(val2
);
27871 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27872 if (!SWIG_IsOK(ecode3
)) {
27873 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27875 arg3
= static_cast< int >(val3
);
27877 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27878 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27879 wxPyEndAllowThreads(__tstate
);
27880 if (PyErr_Occurred()) SWIG_fail
;
27883 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27891 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27892 PyObject
*resultobj
= 0;
27893 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27896 PyObject
*swig_obj
[1] ;
27898 if (!args
) SWIG_fail
;
27899 swig_obj
[0] = args
;
27900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27901 if (!SWIG_IsOK(res1
)) {
27902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27904 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27907 (arg1
)->OnEndDocument();
27908 wxPyEndAllowThreads(__tstate
);
27909 if (PyErr_Occurred()) SWIG_fail
;
27911 resultobj
= SWIG_Py_Void();
27918 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27919 PyObject
*resultobj
= 0;
27920 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27923 PyObject
*swig_obj
[1] ;
27925 if (!args
) SWIG_fail
;
27926 swig_obj
[0] = args
;
27927 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27928 if (!SWIG_IsOK(res1
)) {
27929 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27931 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27933 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27934 (arg1
)->OnBeginPrinting();
27935 wxPyEndAllowThreads(__tstate
);
27936 if (PyErr_Occurred()) SWIG_fail
;
27938 resultobj
= SWIG_Py_Void();
27945 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27946 PyObject
*resultobj
= 0;
27947 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27950 PyObject
*swig_obj
[1] ;
27952 if (!args
) SWIG_fail
;
27953 swig_obj
[0] = args
;
27954 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27955 if (!SWIG_IsOK(res1
)) {
27956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27958 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27961 (arg1
)->OnEndPrinting();
27962 wxPyEndAllowThreads(__tstate
);
27963 if (PyErr_Occurred()) SWIG_fail
;
27965 resultobj
= SWIG_Py_Void();
27972 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27973 PyObject
*resultobj
= 0;
27974 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27977 PyObject
*swig_obj
[1] ;
27979 if (!args
) SWIG_fail
;
27980 swig_obj
[0] = args
;
27981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27982 if (!SWIG_IsOK(res1
)) {
27983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27985 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27988 (arg1
)->OnPreparePrinting();
27989 wxPyEndAllowThreads(__tstate
);
27990 if (PyErr_Occurred()) SWIG_fail
;
27992 resultobj
= SWIG_Py_Void();
27999 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28000 PyObject
*resultobj
= 0;
28001 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28008 PyObject
* obj0
= 0 ;
28009 PyObject
* obj1
= 0 ;
28010 char * kwnames
[] = {
28011 (char *) "self",(char *) "page", NULL
28014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28016 if (!SWIG_IsOK(res1
)) {
28017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28019 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28021 if (!SWIG_IsOK(ecode2
)) {
28022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28024 arg2
= static_cast< int >(val2
);
28026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28027 result
= (bool)(arg1
)->HasPage(arg2
);
28028 wxPyEndAllowThreads(__tstate
);
28029 if (PyErr_Occurred()) SWIG_fail
;
28032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28040 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28041 PyObject
*resultobj
= 0;
28042 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28043 int *arg2
= (int *) 0 ;
28044 int *arg3
= (int *) 0 ;
28045 int *arg4
= (int *) 0 ;
28046 int *arg5
= (int *) 0 ;
28050 int res2
= SWIG_TMPOBJ
;
28052 int res3
= SWIG_TMPOBJ
;
28054 int res4
= SWIG_TMPOBJ
;
28056 int res5
= SWIG_TMPOBJ
;
28057 PyObject
*swig_obj
[1] ;
28063 if (!args
) SWIG_fail
;
28064 swig_obj
[0] = args
;
28065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28066 if (!SWIG_IsOK(res1
)) {
28067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28069 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28072 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28073 wxPyEndAllowThreads(__tstate
);
28074 if (PyErr_Occurred()) SWIG_fail
;
28076 resultobj
= SWIG_Py_Void();
28077 if (SWIG_IsTmpObj(res2
)) {
28078 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28080 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28081 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28083 if (SWIG_IsTmpObj(res3
)) {
28084 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28086 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28087 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28089 if (SWIG_IsTmpObj(res4
)) {
28090 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28092 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28093 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28095 if (SWIG_IsTmpObj(res5
)) {
28096 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28098 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28099 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28107 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28109 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28110 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28111 return SWIG_Py_Void();
28114 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28115 return SWIG_Python_InitShadowInstance(args
);
28118 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28119 PyObject
*resultobj
= 0;
28120 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28121 wxWindow
*arg2
= (wxWindow
*) 0 ;
28122 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28123 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28124 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28125 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28126 long arg5
= (long) 0 ;
28127 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28128 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28129 wxPreviewCanvas
*result
= 0 ;
28138 bool temp6
= false ;
28139 PyObject
* obj0
= 0 ;
28140 PyObject
* obj1
= 0 ;
28141 PyObject
* obj2
= 0 ;
28142 PyObject
* obj3
= 0 ;
28143 PyObject
* obj4
= 0 ;
28144 PyObject
* obj5
= 0 ;
28145 char * kwnames
[] = {
28146 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28149 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28150 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28151 if (!SWIG_IsOK(res1
)) {
28152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28154 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28155 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28156 if (!SWIG_IsOK(res2
)) {
28157 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28159 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28163 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28169 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28173 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28174 if (!SWIG_IsOK(ecode5
)) {
28175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28177 arg5
= static_cast< long >(val5
);
28181 arg6
= wxString_in_helper(obj5
);
28182 if (arg6
== NULL
) SWIG_fail
;
28187 if (!wxPyCheckForApp()) SWIG_fail
;
28188 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28189 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28190 wxPyEndAllowThreads(__tstate
);
28191 if (PyErr_Occurred()) SWIG_fail
;
28193 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28208 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28210 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28211 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28212 return SWIG_Py_Void();
28215 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28216 return SWIG_Python_InitShadowInstance(args
);
28219 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28220 PyObject
*resultobj
= 0;
28221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28222 wxFrame
*arg2
= (wxFrame
*) 0 ;
28223 wxString
*arg3
= 0 ;
28224 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28225 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28226 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28227 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28228 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28229 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28230 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28231 wxPreviewFrame
*result
= 0 ;
28235 bool temp3
= false ;
28240 bool temp7
= false ;
28241 PyObject
* obj0
= 0 ;
28242 PyObject
* obj1
= 0 ;
28243 PyObject
* obj2
= 0 ;
28244 PyObject
* obj3
= 0 ;
28245 PyObject
* obj4
= 0 ;
28246 PyObject
* obj5
= 0 ;
28247 PyObject
* obj6
= 0 ;
28248 char * kwnames
[] = {
28249 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28253 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28254 if (!SWIG_IsOK(res1
)) {
28255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28257 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28258 if (!SWIG_IsOK(res2
)) {
28259 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28261 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28263 arg3
= wxString_in_helper(obj2
);
28264 if (arg3
== NULL
) SWIG_fail
;
28270 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28276 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28280 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28281 if (!SWIG_IsOK(ecode6
)) {
28282 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28284 arg6
= static_cast< long >(val6
);
28288 arg7
= wxString_in_helper(obj6
);
28289 if (arg7
== NULL
) SWIG_fail
;
28294 if (!wxPyCheckForApp()) SWIG_fail
;
28295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28296 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28297 wxPyEndAllowThreads(__tstate
);
28298 if (PyErr_Occurred()) SWIG_fail
;
28300 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28323 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28324 PyObject
*resultobj
= 0;
28325 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28328 PyObject
*swig_obj
[1] ;
28330 if (!args
) SWIG_fail
;
28331 swig_obj
[0] = args
;
28332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28333 if (!SWIG_IsOK(res1
)) {
28334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28336 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28339 (arg1
)->Initialize();
28340 wxPyEndAllowThreads(__tstate
);
28341 if (PyErr_Occurred()) SWIG_fail
;
28343 resultobj
= SWIG_Py_Void();
28350 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28351 PyObject
*resultobj
= 0;
28352 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28355 PyObject
*swig_obj
[1] ;
28357 if (!args
) SWIG_fail
;
28358 swig_obj
[0] = args
;
28359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28360 if (!SWIG_IsOK(res1
)) {
28361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28363 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28366 (arg1
)->CreateControlBar();
28367 wxPyEndAllowThreads(__tstate
);
28368 if (PyErr_Occurred()) SWIG_fail
;
28370 resultobj
= SWIG_Py_Void();
28377 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28378 PyObject
*resultobj
= 0;
28379 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28382 PyObject
*swig_obj
[1] ;
28384 if (!args
) SWIG_fail
;
28385 swig_obj
[0] = args
;
28386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28387 if (!SWIG_IsOK(res1
)) {
28388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28390 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28393 (arg1
)->CreateCanvas();
28394 wxPyEndAllowThreads(__tstate
);
28395 if (PyErr_Occurred()) SWIG_fail
;
28397 resultobj
= SWIG_Py_Void();
28404 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28405 PyObject
*resultobj
= 0;
28406 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28407 wxPreviewControlBar
*result
= 0 ;
28410 PyObject
*swig_obj
[1] ;
28412 if (!args
) SWIG_fail
;
28413 swig_obj
[0] = args
;
28414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28415 if (!SWIG_IsOK(res1
)) {
28416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28418 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28421 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28422 wxPyEndAllowThreads(__tstate
);
28423 if (PyErr_Occurred()) SWIG_fail
;
28425 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28432 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28434 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28435 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28436 return SWIG_Py_Void();
28439 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28440 return SWIG_Python_InitShadowInstance(args
);
28443 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28444 PyObject
*resultobj
= 0;
28445 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28447 wxWindow
*arg3
= (wxWindow
*) 0 ;
28448 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28449 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28450 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28451 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28452 long arg6
= (long) wxTAB_TRAVERSAL
;
28453 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28454 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28455 wxPreviewControlBar
*result
= 0 ;
28466 bool temp7
= false ;
28467 PyObject
* obj0
= 0 ;
28468 PyObject
* obj1
= 0 ;
28469 PyObject
* obj2
= 0 ;
28470 PyObject
* obj3
= 0 ;
28471 PyObject
* obj4
= 0 ;
28472 PyObject
* obj5
= 0 ;
28473 PyObject
* obj6
= 0 ;
28474 char * kwnames
[] = {
28475 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28478 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28479 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28480 if (!SWIG_IsOK(res1
)) {
28481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28483 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28484 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28485 if (!SWIG_IsOK(ecode2
)) {
28486 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28488 arg2
= static_cast< long >(val2
);
28489 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28490 if (!SWIG_IsOK(res3
)) {
28491 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28493 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28497 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28503 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28507 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28508 if (!SWIG_IsOK(ecode6
)) {
28509 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28511 arg6
= static_cast< long >(val6
);
28515 arg7
= wxString_in_helper(obj6
);
28516 if (arg7
== NULL
) SWIG_fail
;
28521 if (!wxPyCheckForApp()) SWIG_fail
;
28522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28523 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28524 wxPyEndAllowThreads(__tstate
);
28525 if (PyErr_Occurred()) SWIG_fail
;
28527 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28542 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28543 PyObject
*resultobj
= 0;
28544 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28548 PyObject
*swig_obj
[1] ;
28550 if (!args
) SWIG_fail
;
28551 swig_obj
[0] = args
;
28552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28553 if (!SWIG_IsOK(res1
)) {
28554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28556 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28559 result
= (int)(arg1
)->GetZoomControl();
28560 wxPyEndAllowThreads(__tstate
);
28561 if (PyErr_Occurred()) SWIG_fail
;
28563 resultobj
= SWIG_From_int(static_cast< int >(result
));
28570 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28571 PyObject
*resultobj
= 0;
28572 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28578 PyObject
* obj0
= 0 ;
28579 PyObject
* obj1
= 0 ;
28580 char * kwnames
[] = {
28581 (char *) "self",(char *) "zoom", NULL
28584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28586 if (!SWIG_IsOK(res1
)) {
28587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28589 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28591 if (!SWIG_IsOK(ecode2
)) {
28592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28594 arg2
= static_cast< int >(val2
);
28596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28597 (arg1
)->SetZoomControl(arg2
);
28598 wxPyEndAllowThreads(__tstate
);
28599 if (PyErr_Occurred()) SWIG_fail
;
28601 resultobj
= SWIG_Py_Void();
28608 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28609 PyObject
*resultobj
= 0;
28610 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28611 wxPrintPreview
*result
= 0 ;
28614 PyObject
*swig_obj
[1] ;
28616 if (!args
) SWIG_fail
;
28617 swig_obj
[0] = args
;
28618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28619 if (!SWIG_IsOK(res1
)) {
28620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28622 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28625 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28626 wxPyEndAllowThreads(__tstate
);
28627 if (PyErr_Occurred()) SWIG_fail
;
28629 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28636 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28637 PyObject
*resultobj
= 0;
28638 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28641 PyObject
*swig_obj
[1] ;
28643 if (!args
) SWIG_fail
;
28644 swig_obj
[0] = args
;
28645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28646 if (!SWIG_IsOK(res1
)) {
28647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28649 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28653 wxPyEndAllowThreads(__tstate
);
28654 if (PyErr_Occurred()) SWIG_fail
;
28656 resultobj
= SWIG_Py_Void();
28663 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28664 PyObject
*resultobj
= 0;
28665 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28668 PyObject
*swig_obj
[1] ;
28670 if (!args
) SWIG_fail
;
28671 swig_obj
[0] = args
;
28672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28673 if (!SWIG_IsOK(res1
)) {
28674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28676 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28679 (arg1
)->OnPrevious();
28680 wxPyEndAllowThreads(__tstate
);
28681 if (PyErr_Occurred()) SWIG_fail
;
28683 resultobj
= SWIG_Py_Void();
28690 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28691 PyObject
*resultobj
= 0;
28692 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28695 PyObject
*swig_obj
[1] ;
28697 if (!args
) SWIG_fail
;
28698 swig_obj
[0] = args
;
28699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28700 if (!SWIG_IsOK(res1
)) {
28701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28703 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28707 wxPyEndAllowThreads(__tstate
);
28708 if (PyErr_Occurred()) SWIG_fail
;
28710 resultobj
= SWIG_Py_Void();
28717 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28718 PyObject
*resultobj
= 0;
28719 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28722 PyObject
*swig_obj
[1] ;
28724 if (!args
) SWIG_fail
;
28725 swig_obj
[0] = args
;
28726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28727 if (!SWIG_IsOK(res1
)) {
28728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28730 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28734 wxPyEndAllowThreads(__tstate
);
28735 if (PyErr_Occurred()) SWIG_fail
;
28737 resultobj
= SWIG_Py_Void();
28744 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28745 PyObject
*resultobj
= 0;
28746 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28749 PyObject
*swig_obj
[1] ;
28751 if (!args
) SWIG_fail
;
28752 swig_obj
[0] = args
;
28753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28754 if (!SWIG_IsOK(res1
)) {
28755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28757 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28761 wxPyEndAllowThreads(__tstate
);
28762 if (PyErr_Occurred()) SWIG_fail
;
28764 resultobj
= SWIG_Py_Void();
28771 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28773 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28774 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28775 return SWIG_Py_Void();
28778 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28779 return SWIG_Python_InitShadowInstance(args
);
28782 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28783 PyObject
*resultobj
= 0;
28784 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28785 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28786 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28787 wxPrintPreview
*result
= 0 ;
28793 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28794 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28795 if (!SWIG_IsOK(res1
)) {
28796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28798 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28799 if (!SWIG_IsOK(res2
)) {
28800 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28803 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28804 if (!SWIG_IsOK(res3
)) {
28805 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28807 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28810 if (!wxPyCheckForApp()) SWIG_fail
;
28811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28813 wxPyEndAllowThreads(__tstate
);
28814 if (PyErr_Occurred()) SWIG_fail
;
28816 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28823 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28824 PyObject
*resultobj
= 0;
28825 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28826 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28827 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28828 wxPrintPreview
*result
= 0 ;
28834 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28835 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28836 if (!SWIG_IsOK(res1
)) {
28837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28839 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28840 if (!SWIG_IsOK(res2
)) {
28841 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28843 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28844 if (!SWIG_IsOK(res3
)) {
28845 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28847 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28849 if (!wxPyCheckForApp()) SWIG_fail
;
28850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28851 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28852 wxPyEndAllowThreads(__tstate
);
28853 if (PyErr_Occurred()) SWIG_fail
;
28855 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28862 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28866 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28868 if ((argc
>= 2) && (argc
<= 3)) {
28873 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28874 _v
= SWIG_CheckState(res
);
28876 if (!_v
) goto check_1
;
28878 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28883 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28887 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28892 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28893 PyObject
*resultobj
= 0;
28894 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28897 PyObject
*swig_obj
[1] ;
28899 if (!args
) SWIG_fail
;
28900 swig_obj
[0] = args
;
28901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28902 if (!SWIG_IsOK(res1
)) {
28903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28905 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28907 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28910 wxPyEndAllowThreads(__tstate
);
28911 if (PyErr_Occurred()) SWIG_fail
;
28913 resultobj
= SWIG_Py_Void();
28920 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28921 PyObject
*resultobj
= 0;
28922 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28929 PyObject
* obj0
= 0 ;
28930 PyObject
* obj1
= 0 ;
28931 char * kwnames
[] = {
28932 (char *) "self",(char *) "pageNum", NULL
28935 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28936 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28937 if (!SWIG_IsOK(res1
)) {
28938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28940 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28941 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28942 if (!SWIG_IsOK(ecode2
)) {
28943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28945 arg2
= static_cast< int >(val2
);
28947 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28948 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
28949 wxPyEndAllowThreads(__tstate
);
28950 if (PyErr_Occurred()) SWIG_fail
;
28953 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28961 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28962 PyObject
*resultobj
= 0;
28963 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28967 PyObject
*swig_obj
[1] ;
28969 if (!args
) SWIG_fail
;
28970 swig_obj
[0] = args
;
28971 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28972 if (!SWIG_IsOK(res1
)) {
28973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28975 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28977 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28978 result
= (int)(arg1
)->GetCurrentPage();
28979 wxPyEndAllowThreads(__tstate
);
28980 if (PyErr_Occurred()) SWIG_fail
;
28982 resultobj
= SWIG_From_int(static_cast< int >(result
));
28989 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28990 PyObject
*resultobj
= 0;
28991 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28992 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28996 PyObject
* obj0
= 0 ;
28997 PyObject
* obj1
= 0 ;
28998 char * kwnames
[] = {
28999 (char *) "self",(char *) "printout", NULL
29002 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29003 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29004 if (!SWIG_IsOK(res1
)) {
29005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29007 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29008 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29009 if (!SWIG_IsOK(res2
)) {
29010 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29014 (arg1
)->SetPrintout(arg2
);
29015 wxPyEndAllowThreads(__tstate
);
29016 if (PyErr_Occurred()) SWIG_fail
;
29018 resultobj
= SWIG_Py_Void();
29025 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29026 PyObject
*resultobj
= 0;
29027 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29028 wxPyPrintout
*result
= 0 ;
29031 PyObject
*swig_obj
[1] ;
29033 if (!args
) SWIG_fail
;
29034 swig_obj
[0] = args
;
29035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29036 if (!SWIG_IsOK(res1
)) {
29037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29039 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29042 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29043 wxPyEndAllowThreads(__tstate
);
29044 if (PyErr_Occurred()) SWIG_fail
;
29047 resultobj
= wxPyMake_wxObject(result
, 0);
29055 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29056 PyObject
*resultobj
= 0;
29057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29058 wxPyPrintout
*result
= 0 ;
29061 PyObject
*swig_obj
[1] ;
29063 if (!args
) SWIG_fail
;
29064 swig_obj
[0] = args
;
29065 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29066 if (!SWIG_IsOK(res1
)) {
29067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29069 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29072 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29073 wxPyEndAllowThreads(__tstate
);
29074 if (PyErr_Occurred()) SWIG_fail
;
29077 resultobj
= wxPyMake_wxObject(result
, 0);
29085 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29086 PyObject
*resultobj
= 0;
29087 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29088 wxFrame
*arg2
= (wxFrame
*) 0 ;
29093 PyObject
* obj0
= 0 ;
29094 PyObject
* obj1
= 0 ;
29095 char * kwnames
[] = {
29096 (char *) "self",(char *) "frame", NULL
29099 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29100 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29101 if (!SWIG_IsOK(res1
)) {
29102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29104 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29105 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29106 if (!SWIG_IsOK(res2
)) {
29107 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29109 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29111 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29112 (arg1
)->SetFrame(arg2
);
29113 wxPyEndAllowThreads(__tstate
);
29114 if (PyErr_Occurred()) SWIG_fail
;
29116 resultobj
= SWIG_Py_Void();
29123 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29124 PyObject
*resultobj
= 0;
29125 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29126 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29131 PyObject
* obj0
= 0 ;
29132 PyObject
* obj1
= 0 ;
29133 char * kwnames
[] = {
29134 (char *) "self",(char *) "canvas", NULL
29137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29138 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29139 if (!SWIG_IsOK(res1
)) {
29140 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29142 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29143 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29144 if (!SWIG_IsOK(res2
)) {
29145 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29147 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29150 (arg1
)->SetCanvas(arg2
);
29151 wxPyEndAllowThreads(__tstate
);
29152 if (PyErr_Occurred()) SWIG_fail
;
29154 resultobj
= SWIG_Py_Void();
29161 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29162 PyObject
*resultobj
= 0;
29163 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29164 wxFrame
*result
= 0 ;
29167 PyObject
*swig_obj
[1] ;
29169 if (!args
) SWIG_fail
;
29170 swig_obj
[0] = args
;
29171 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29172 if (!SWIG_IsOK(res1
)) {
29173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29175 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29178 result
= (wxFrame
*)(arg1
)->GetFrame();
29179 wxPyEndAllowThreads(__tstate
);
29180 if (PyErr_Occurred()) SWIG_fail
;
29183 resultobj
= wxPyMake_wxObject(result
, 0);
29191 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29192 PyObject
*resultobj
= 0;
29193 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29194 wxPreviewCanvas
*result
= 0 ;
29197 PyObject
*swig_obj
[1] ;
29199 if (!args
) SWIG_fail
;
29200 swig_obj
[0] = args
;
29201 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29202 if (!SWIG_IsOK(res1
)) {
29203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29205 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29207 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29208 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29209 wxPyEndAllowThreads(__tstate
);
29210 if (PyErr_Occurred()) SWIG_fail
;
29212 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29219 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29220 PyObject
*resultobj
= 0;
29221 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29222 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29231 PyObject
* obj0
= 0 ;
29232 PyObject
* obj1
= 0 ;
29233 PyObject
* obj2
= 0 ;
29234 char * kwnames
[] = {
29235 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29238 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29239 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29240 if (!SWIG_IsOK(res1
)) {
29241 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29243 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29244 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29245 if (!SWIG_IsOK(res2
)) {
29246 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29248 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29249 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29250 if (!SWIG_IsOK(res3
)) {
29251 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29254 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29256 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29264 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29272 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29273 PyObject
*resultobj
= 0;
29274 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29275 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29284 PyObject
* obj0
= 0 ;
29285 PyObject
* obj1
= 0 ;
29286 PyObject
* obj2
= 0 ;
29287 char * kwnames
[] = {
29288 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29293 if (!SWIG_IsOK(res1
)) {
29294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29296 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29298 if (!SWIG_IsOK(res2
)) {
29299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29301 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29302 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29303 if (!SWIG_IsOK(res3
)) {
29304 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29309 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29312 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29313 wxPyEndAllowThreads(__tstate
);
29314 if (PyErr_Occurred()) SWIG_fail
;
29317 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29325 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29326 PyObject
*resultobj
= 0;
29327 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 char * kwnames
[] = {
29337 (char *) "self",(char *) "pageNum", NULL
29340 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29341 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29342 if (!SWIG_IsOK(res1
)) {
29343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29345 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29346 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29347 if (!SWIG_IsOK(ecode2
)) {
29348 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29350 arg2
= static_cast< int >(val2
);
29352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29353 result
= (bool)(arg1
)->RenderPage(arg2
);
29354 wxPyEndAllowThreads(__tstate
);
29355 if (PyErr_Occurred()) SWIG_fail
;
29358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29366 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29367 PyObject
*resultobj
= 0;
29368 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29369 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29374 PyObject
* obj0
= 0 ;
29375 PyObject
* obj1
= 0 ;
29376 char * kwnames
[] = {
29377 (char *) "self",(char *) "canvas", NULL
29380 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29381 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29382 if (!SWIG_IsOK(res1
)) {
29383 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29385 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29386 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29387 if (!SWIG_IsOK(res2
)) {
29388 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29390 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29393 (arg1
)->AdjustScrollbars(arg2
);
29394 wxPyEndAllowThreads(__tstate
);
29395 if (PyErr_Occurred()) SWIG_fail
;
29397 resultobj
= SWIG_Py_Void();
29404 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29405 PyObject
*resultobj
= 0;
29406 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29407 wxPrintDialogData
*result
= 0 ;
29410 PyObject
*swig_obj
[1] ;
29412 if (!args
) SWIG_fail
;
29413 swig_obj
[0] = args
;
29414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29415 if (!SWIG_IsOK(res1
)) {
29416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29418 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29422 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29423 result
= (wxPrintDialogData
*) &_result_ref
;
29425 wxPyEndAllowThreads(__tstate
);
29426 if (PyErr_Occurred()) SWIG_fail
;
29428 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29435 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29436 PyObject
*resultobj
= 0;
29437 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29443 PyObject
* obj0
= 0 ;
29444 PyObject
* obj1
= 0 ;
29445 char * kwnames
[] = {
29446 (char *) "self",(char *) "percent", NULL
29449 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29450 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29451 if (!SWIG_IsOK(res1
)) {
29452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29454 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29455 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29456 if (!SWIG_IsOK(ecode2
)) {
29457 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29459 arg2
= static_cast< int >(val2
);
29461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29462 (arg1
)->SetZoom(arg2
);
29463 wxPyEndAllowThreads(__tstate
);
29464 if (PyErr_Occurred()) SWIG_fail
;
29466 resultobj
= SWIG_Py_Void();
29473 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29474 PyObject
*resultobj
= 0;
29475 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29479 PyObject
*swig_obj
[1] ;
29481 if (!args
) SWIG_fail
;
29482 swig_obj
[0] = args
;
29483 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29484 if (!SWIG_IsOK(res1
)) {
29485 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29487 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29489 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29490 result
= (int)(arg1
)->GetZoom();
29491 wxPyEndAllowThreads(__tstate
);
29492 if (PyErr_Occurred()) SWIG_fail
;
29494 resultobj
= SWIG_From_int(static_cast< int >(result
));
29501 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29502 PyObject
*resultobj
= 0;
29503 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29507 PyObject
*swig_obj
[1] ;
29509 if (!args
) SWIG_fail
;
29510 swig_obj
[0] = args
;
29511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29512 if (!SWIG_IsOK(res1
)) {
29513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29515 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29518 result
= (int)(arg1
)->GetMaxPage();
29519 wxPyEndAllowThreads(__tstate
);
29520 if (PyErr_Occurred()) SWIG_fail
;
29522 resultobj
= SWIG_From_int(static_cast< int >(result
));
29529 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29530 PyObject
*resultobj
= 0;
29531 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29535 PyObject
*swig_obj
[1] ;
29537 if (!args
) SWIG_fail
;
29538 swig_obj
[0] = args
;
29539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29540 if (!SWIG_IsOK(res1
)) {
29541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29543 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29546 result
= (int)(arg1
)->GetMinPage();
29547 wxPyEndAllowThreads(__tstate
);
29548 if (PyErr_Occurred()) SWIG_fail
;
29550 resultobj
= SWIG_From_int(static_cast< int >(result
));
29557 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29558 PyObject
*resultobj
= 0;
29559 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29563 PyObject
*swig_obj
[1] ;
29565 if (!args
) SWIG_fail
;
29566 swig_obj
[0] = args
;
29567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29568 if (!SWIG_IsOK(res1
)) {
29569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29571 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29574 result
= (bool)(arg1
)->Ok();
29575 wxPyEndAllowThreads(__tstate
);
29576 if (PyErr_Occurred()) SWIG_fail
;
29579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29587 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29588 PyObject
*resultobj
= 0;
29589 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29595 PyObject
* obj0
= 0 ;
29596 PyObject
* obj1
= 0 ;
29597 char * kwnames
[] = {
29598 (char *) "self",(char *) "ok", NULL
29601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29603 if (!SWIG_IsOK(res1
)) {
29604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29606 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29607 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29608 if (!SWIG_IsOK(ecode2
)) {
29609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29611 arg2
= static_cast< bool >(val2
);
29613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29614 (arg1
)->SetOk(arg2
);
29615 wxPyEndAllowThreads(__tstate
);
29616 if (PyErr_Occurred()) SWIG_fail
;
29618 resultobj
= SWIG_Py_Void();
29625 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29626 PyObject
*resultobj
= 0;
29627 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29634 PyObject
* obj0
= 0 ;
29635 PyObject
* obj1
= 0 ;
29636 char * kwnames
[] = {
29637 (char *) "self",(char *) "interactive", NULL
29640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29642 if (!SWIG_IsOK(res1
)) {
29643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29645 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29646 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29647 if (!SWIG_IsOK(ecode2
)) {
29648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29650 arg2
= static_cast< bool >(val2
);
29652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29653 result
= (bool)(arg1
)->Print(arg2
);
29654 wxPyEndAllowThreads(__tstate
);
29655 if (PyErr_Occurred()) SWIG_fail
;
29658 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29666 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29667 PyObject
*resultobj
= 0;
29668 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29671 PyObject
*swig_obj
[1] ;
29673 if (!args
) SWIG_fail
;
29674 swig_obj
[0] = args
;
29675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29676 if (!SWIG_IsOK(res1
)) {
29677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29679 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29682 (arg1
)->DetermineScaling();
29683 wxPyEndAllowThreads(__tstate
);
29684 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= SWIG_Py_Void();
29693 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29696 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29697 return SWIG_Py_Void();
29700 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29701 return SWIG_Python_InitShadowInstance(args
);
29704 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29705 PyObject
*resultobj
= 0;
29706 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29707 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29708 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29709 wxPyPrintPreview
*result
= 0 ;
29715 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29716 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29717 if (!SWIG_IsOK(res1
)) {
29718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29720 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29721 if (!SWIG_IsOK(res2
)) {
29722 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29725 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29726 if (!SWIG_IsOK(res3
)) {
29727 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29729 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29732 if (!wxPyCheckForApp()) SWIG_fail
;
29733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29734 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29735 wxPyEndAllowThreads(__tstate
);
29736 if (PyErr_Occurred()) SWIG_fail
;
29738 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29745 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29746 PyObject
*resultobj
= 0;
29747 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29748 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29749 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29750 wxPyPrintPreview
*result
= 0 ;
29756 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29757 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29758 if (!SWIG_IsOK(res1
)) {
29759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29761 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29762 if (!SWIG_IsOK(res2
)) {
29763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29765 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29766 if (!SWIG_IsOK(res3
)) {
29767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29769 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29771 if (!wxPyCheckForApp()) SWIG_fail
;
29772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29773 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29774 wxPyEndAllowThreads(__tstate
);
29775 if (PyErr_Occurred()) SWIG_fail
;
29777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29784 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29788 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29790 if ((argc
>= 2) && (argc
<= 3)) {
29795 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29796 _v
= SWIG_CheckState(res
);
29798 if (!_v
) goto check_1
;
29800 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29805 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29809 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29814 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29815 PyObject
*resultobj
= 0;
29816 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29817 PyObject
*arg2
= (PyObject
*) 0 ;
29818 PyObject
*arg3
= (PyObject
*) 0 ;
29821 PyObject
* obj0
= 0 ;
29822 PyObject
* obj1
= 0 ;
29823 PyObject
* obj2
= 0 ;
29824 char * kwnames
[] = {
29825 (char *) "self",(char *) "self",(char *) "_class", NULL
29828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29830 if (!SWIG_IsOK(res1
)) {
29831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29833 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29838 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29839 wxPyEndAllowThreads(__tstate
);
29840 if (PyErr_Occurred()) SWIG_fail
;
29842 resultobj
= SWIG_Py_Void();
29849 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29852 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29853 return SWIG_Py_Void();
29856 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29857 return SWIG_Python_InitShadowInstance(args
);
29860 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29861 PyObject
*resultobj
= 0;
29862 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29863 wxFrame
*arg2
= (wxFrame
*) 0 ;
29864 wxString
*arg3
= 0 ;
29865 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29866 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29867 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29868 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29869 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29870 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29871 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29872 wxPyPreviewFrame
*result
= 0 ;
29877 bool temp3
= false ;
29882 bool temp7
= false ;
29883 PyObject
* obj0
= 0 ;
29884 PyObject
* obj1
= 0 ;
29885 PyObject
* obj2
= 0 ;
29886 PyObject
* obj3
= 0 ;
29887 PyObject
* obj4
= 0 ;
29888 PyObject
* obj5
= 0 ;
29889 PyObject
* obj6
= 0 ;
29890 char * kwnames
[] = {
29891 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29896 if (!SWIG_IsOK(res1
)) {
29897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29899 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29900 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29901 if (!SWIG_IsOK(res2
)) {
29902 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29904 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29906 arg3
= wxString_in_helper(obj2
);
29907 if (arg3
== NULL
) SWIG_fail
;
29913 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29919 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29923 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29924 if (!SWIG_IsOK(ecode6
)) {
29925 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29927 arg6
= static_cast< long >(val6
);
29931 arg7
= wxString_in_helper(obj6
);
29932 if (arg7
== NULL
) SWIG_fail
;
29937 if (!wxPyCheckForApp()) SWIG_fail
;
29938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29939 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29940 wxPyEndAllowThreads(__tstate
);
29941 if (PyErr_Occurred()) SWIG_fail
;
29943 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29966 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29967 PyObject
*resultobj
= 0;
29968 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
29969 PyObject
*arg2
= (PyObject
*) 0 ;
29970 PyObject
*arg3
= (PyObject
*) 0 ;
29973 PyObject
* obj0
= 0 ;
29974 PyObject
* obj1
= 0 ;
29975 PyObject
* obj2
= 0 ;
29976 char * kwnames
[] = {
29977 (char *) "self",(char *) "self",(char *) "_class", NULL
29980 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29981 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
29982 if (!SWIG_IsOK(res1
)) {
29983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
29985 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= SWIG_Py_Void();
30001 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30002 PyObject
*resultobj
= 0;
30003 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30004 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30009 PyObject
* obj0
= 0 ;
30010 PyObject
* obj1
= 0 ;
30011 char * kwnames
[] = {
30012 (char *) "self",(char *) "canvas", NULL
30015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30017 if (!SWIG_IsOK(res1
)) {
30018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30020 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30021 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30022 if (!SWIG_IsOK(res2
)) {
30023 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30025 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30028 (arg1
)->SetPreviewCanvas(arg2
);
30029 wxPyEndAllowThreads(__tstate
);
30030 if (PyErr_Occurred()) SWIG_fail
;
30032 resultobj
= SWIG_Py_Void();
30039 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30040 PyObject
*resultobj
= 0;
30041 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30042 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30047 PyObject
* obj0
= 0 ;
30048 PyObject
* obj1
= 0 ;
30049 char * kwnames
[] = {
30050 (char *) "self",(char *) "bar", NULL
30053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30055 if (!SWIG_IsOK(res1
)) {
30056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30058 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30059 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30060 if (!SWIG_IsOK(res2
)) {
30061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30063 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30066 (arg1
)->SetControlBar(arg2
);
30067 wxPyEndAllowThreads(__tstate
);
30068 if (PyErr_Occurred()) SWIG_fail
;
30070 resultobj
= SWIG_Py_Void();
30077 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30078 PyObject
*resultobj
= 0;
30079 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30082 PyObject
*swig_obj
[1] ;
30084 if (!args
) SWIG_fail
;
30085 swig_obj
[0] = args
;
30086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30087 if (!SWIG_IsOK(res1
)) {
30088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30090 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30093 (arg1
)->Initialize();
30094 wxPyEndAllowThreads(__tstate
);
30095 if (PyErr_Occurred()) SWIG_fail
;
30097 resultobj
= SWIG_Py_Void();
30104 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30105 PyObject
*resultobj
= 0;
30106 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30109 PyObject
*swig_obj
[1] ;
30111 if (!args
) SWIG_fail
;
30112 swig_obj
[0] = args
;
30113 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30114 if (!SWIG_IsOK(res1
)) {
30115 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30117 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30120 (arg1
)->CreateCanvas();
30121 wxPyEndAllowThreads(__tstate
);
30122 if (PyErr_Occurred()) SWIG_fail
;
30124 resultobj
= SWIG_Py_Void();
30131 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30132 PyObject
*resultobj
= 0;
30133 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30136 PyObject
*swig_obj
[1] ;
30138 if (!args
) SWIG_fail
;
30139 swig_obj
[0] = args
;
30140 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30141 if (!SWIG_IsOK(res1
)) {
30142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30144 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30146 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30147 (arg1
)->CreateControlBar();
30148 wxPyEndAllowThreads(__tstate
);
30149 if (PyErr_Occurred()) SWIG_fail
;
30151 resultobj
= SWIG_Py_Void();
30158 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30162 return SWIG_Py_Void();
30165 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30166 return SWIG_Python_InitShadowInstance(args
);
30169 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30170 PyObject
*resultobj
= 0;
30171 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30173 wxWindow
*arg3
= (wxWindow
*) 0 ;
30174 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30175 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30176 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30177 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30178 long arg6
= (long) 0 ;
30179 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30180 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30181 wxPyPreviewControlBar
*result
= 0 ;
30192 bool temp7
= false ;
30193 PyObject
* obj0
= 0 ;
30194 PyObject
* obj1
= 0 ;
30195 PyObject
* obj2
= 0 ;
30196 PyObject
* obj3
= 0 ;
30197 PyObject
* obj4
= 0 ;
30198 PyObject
* obj5
= 0 ;
30199 PyObject
* obj6
= 0 ;
30200 char * kwnames
[] = {
30201 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30206 if (!SWIG_IsOK(res1
)) {
30207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30209 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30210 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30211 if (!SWIG_IsOK(ecode2
)) {
30212 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30214 arg2
= static_cast< long >(val2
);
30215 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30216 if (!SWIG_IsOK(res3
)) {
30217 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30219 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30223 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30229 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30233 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30234 if (!SWIG_IsOK(ecode6
)) {
30235 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30237 arg6
= static_cast< long >(val6
);
30241 arg7
= wxString_in_helper(obj6
);
30242 if (arg7
== NULL
) SWIG_fail
;
30247 if (!wxPyCheckForApp()) SWIG_fail
;
30248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30249 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30250 wxPyEndAllowThreads(__tstate
);
30251 if (PyErr_Occurred()) SWIG_fail
;
30253 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30268 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30269 PyObject
*resultobj
= 0;
30270 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30271 PyObject
*arg2
= (PyObject
*) 0 ;
30272 PyObject
*arg3
= (PyObject
*) 0 ;
30275 PyObject
* obj0
= 0 ;
30276 PyObject
* obj1
= 0 ;
30277 PyObject
* obj2
= 0 ;
30278 char * kwnames
[] = {
30279 (char *) "self",(char *) "self",(char *) "_class", NULL
30282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30284 if (!SWIG_IsOK(res1
)) {
30285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30287 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30292 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30293 wxPyEndAllowThreads(__tstate
);
30294 if (PyErr_Occurred()) SWIG_fail
;
30296 resultobj
= SWIG_Py_Void();
30303 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30304 PyObject
*resultobj
= 0;
30305 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30306 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30311 PyObject
* obj0
= 0 ;
30312 PyObject
* obj1
= 0 ;
30313 char * kwnames
[] = {
30314 (char *) "self",(char *) "preview", NULL
30317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30319 if (!SWIG_IsOK(res1
)) {
30320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30322 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30323 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30324 if (!SWIG_IsOK(res2
)) {
30325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30327 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30330 (arg1
)->SetPrintPreview(arg2
);
30331 wxPyEndAllowThreads(__tstate
);
30332 if (PyErr_Occurred()) SWIG_fail
;
30334 resultobj
= SWIG_Py_Void();
30341 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30342 PyObject
*resultobj
= 0;
30343 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30346 PyObject
*swig_obj
[1] ;
30348 if (!args
) SWIG_fail
;
30349 swig_obj
[0] = args
;
30350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30354 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30357 (arg1
)->CreateButtons();
30358 wxPyEndAllowThreads(__tstate
);
30359 if (PyErr_Occurred()) SWIG_fail
;
30361 resultobj
= SWIG_Py_Void();
30368 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30369 PyObject
*resultobj
= 0;
30370 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30376 PyObject
* obj0
= 0 ;
30377 PyObject
* obj1
= 0 ;
30378 char * kwnames
[] = {
30379 (char *) "self",(char *) "zoom", NULL
30382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30383 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30384 if (!SWIG_IsOK(res1
)) {
30385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30387 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30388 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30389 if (!SWIG_IsOK(ecode2
)) {
30390 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30392 arg2
= static_cast< int >(val2
);
30394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30395 (arg1
)->SetZoomControl(arg2
);
30396 wxPyEndAllowThreads(__tstate
);
30397 if (PyErr_Occurred()) SWIG_fail
;
30399 resultobj
= SWIG_Py_Void();
30406 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30408 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30409 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30410 return SWIG_Py_Void();
30413 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30414 return SWIG_Python_InitShadowInstance(args
);
30417 static PyMethodDef SwigMethods
[] = {
30418 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30419 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30420 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30421 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30422 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30423 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30424 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30425 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30426 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30427 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30428 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30429 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30430 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30431 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30432 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30433 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30434 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30435 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30436 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30437 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30438 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30439 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30440 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30441 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30442 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30443 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30444 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30445 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30446 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30447 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30448 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30449 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30450 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30451 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30452 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30453 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30454 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30455 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30456 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30457 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30458 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30459 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30460 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30461 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30462 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30463 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30464 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30465 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30466 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30467 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30468 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30469 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30471 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30473 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30475 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30476 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30477 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30478 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30480 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30485 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30487 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30489 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30490 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30491 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30492 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30493 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30494 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30495 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30496 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30497 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30498 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30500 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30501 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30502 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30504 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30506 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30507 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30508 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30509 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30512 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30513 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30514 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30515 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30517 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30518 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30519 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30521 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30522 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30523 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30525 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30526 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30527 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30528 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30529 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30530 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30531 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30534 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30537 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30539 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30543 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30544 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30545 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30546 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30547 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30549 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30550 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30551 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30552 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30554 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30558 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30559 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30560 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30561 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30562 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30563 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30564 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30565 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30567 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30568 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30569 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30571 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30572 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30573 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30575 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30576 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30577 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30578 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30579 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30581 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30582 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30583 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30584 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30585 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30586 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30588 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30593 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30594 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30596 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30597 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30598 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30599 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30601 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30602 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30604 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30605 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30606 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30608 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30609 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30610 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30611 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30613 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30614 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30615 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30617 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30618 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30619 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30621 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30622 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30623 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30624 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30625 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30626 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30627 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30628 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30630 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30631 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30632 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30633 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30634 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30635 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30636 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30637 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30638 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30639 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30641 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30643 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30644 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30646 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30648 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30649 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30650 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30651 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30652 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30655 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30656 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30658 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30659 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30660 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30662 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30663 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30664 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30665 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30667 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30668 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30669 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30671 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30672 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30674 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30676 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30678 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30680 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30681 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30682 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30683 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30685 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30686 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30687 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30688 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30689 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30690 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30691 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30692 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30693 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30694 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30695 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30696 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30697 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30698 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30699 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30700 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30701 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30703 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30704 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30705 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30706 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30708 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30711 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30712 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30714 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30717 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30718 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30719 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30721 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30722 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30723 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30724 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30725 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30726 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30727 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30728 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30729 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30730 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30732 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30733 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30734 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30735 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30736 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30737 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30738 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30739 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30740 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30741 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30742 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30743 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30744 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30745 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30746 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30747 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30750 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30751 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30752 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30754 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30755 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30756 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30758 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30759 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30760 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30761 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30763 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30764 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30766 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30767 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30771 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30772 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30773 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30774 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30775 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30776 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30777 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30778 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30779 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30780 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30781 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30782 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30783 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30784 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30785 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30786 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30787 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30788 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30790 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30791 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30793 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30794 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30796 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30798 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30799 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30801 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30802 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30803 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30804 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30806 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30807 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30808 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30809 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30810 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30811 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30816 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30818 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30819 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30821 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30822 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30823 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30826 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30827 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30830 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30831 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30832 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30833 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30834 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30835 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30836 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30837 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30841 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30842 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30844 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30845 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30846 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30847 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30849 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30851 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30852 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30854 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30856 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30858 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30859 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30861 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30863 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30864 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30865 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30866 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30867 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30868 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30869 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30871 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30872 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30874 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30876 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30877 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30878 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30880 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30882 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30883 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30885 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30887 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30889 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30893 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30894 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30895 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30896 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30897 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30898 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30899 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30900 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30901 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30903 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30905 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30911 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30912 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30913 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30914 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30915 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30916 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30917 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30918 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30919 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30920 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30921 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30923 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30926 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30929 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30930 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30931 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30932 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30933 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30934 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30935 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30936 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30937 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30938 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30939 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30940 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30941 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30942 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30943 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30944 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
30945 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
30946 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
30947 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
30948 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
30949 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
30950 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
30951 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30952 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30955 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30956 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30958 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
30963 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
30965 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
30967 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
30968 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
30969 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
30970 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30972 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
30976 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
30977 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
30978 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
30979 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
30980 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
30981 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
30982 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
30983 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
30984 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
30985 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
30986 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
30987 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
30988 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
30989 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
30990 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30991 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30992 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30993 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30996 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30998 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31000 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31001 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31002 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31003 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31004 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31005 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31006 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31007 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31008 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31009 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31010 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31011 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31012 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31013 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31014 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31015 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31016 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31017 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31018 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31019 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31020 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31022 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31023 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31024 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31025 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31032 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31033 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31034 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31035 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31036 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31037 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31038 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31039 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31041 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31042 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31043 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31044 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31045 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31046 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31047 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31048 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31049 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31051 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31055 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31056 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31057 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31058 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31059 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31060 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31061 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31063 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31064 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31065 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31066 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31069 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31070 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31071 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31073 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31074 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31075 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31076 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31079 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31080 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31081 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31082 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31084 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31085 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31086 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31088 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31089 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31091 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31092 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31093 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31094 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31095 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31096 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31098 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31099 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31100 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31101 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31102 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31103 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31104 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31105 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31106 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31107 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31108 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31109 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31111 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31112 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31113 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31114 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31115 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31116 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31117 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31118 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31120 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31123 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31125 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31126 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31127 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31128 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31130 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31131 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31132 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31133 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31134 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31136 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31137 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31142 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31143 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31144 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31145 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31146 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31147 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31148 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31149 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31150 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31151 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31152 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31153 { NULL
, NULL
, 0, NULL
}
31157 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31159 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31160 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31162 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31163 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31165 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31166 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31168 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31169 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31171 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31172 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31174 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31175 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31177 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31178 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31180 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31181 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31183 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31184 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31186 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31187 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31189 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31190 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31192 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31193 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31195 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31196 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31198 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31199 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31201 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31202 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31204 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31205 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31207 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31208 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31210 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31211 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31213 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31214 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31216 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31217 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31219 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31220 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31222 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31223 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31225 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31226 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31228 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31229 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31231 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31232 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31234 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31235 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31237 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31238 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31240 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31241 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31243 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31244 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31246 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31247 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31249 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31250 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31252 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31253 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31255 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31256 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31258 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31259 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31261 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31262 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31264 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31265 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31267 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31268 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31270 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31271 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31273 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31274 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31276 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31277 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31279 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31280 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31282 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31283 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31285 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31286 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31288 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31289 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31291 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31292 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31294 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31295 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31297 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31298 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31300 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31301 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31303 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31304 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31306 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31307 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31309 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31310 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31312 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31313 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31315 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31316 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31318 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31319 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31321 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31322 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31324 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31325 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31327 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31328 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31330 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31331 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31333 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31334 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31336 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31337 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31339 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31340 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31342 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31343 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31345 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31346 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31348 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31349 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31351 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31352 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31354 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31355 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31357 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31358 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31360 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31361 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31363 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31364 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31366 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31367 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31369 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31370 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31372 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31373 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31375 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31376 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31378 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31379 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31381 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31382 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31384 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31385 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31387 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31388 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31390 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31391 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31393 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31394 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31396 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31397 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31399 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31400 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31402 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31403 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31405 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31406 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31408 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31409 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31411 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31412 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31414 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31415 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31417 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31418 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31420 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31421 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31423 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31424 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31426 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31427 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31429 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31430 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31432 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31433 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31435 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31436 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31438 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31439 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31441 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31442 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31444 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31445 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31447 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31448 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31450 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31451 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31453 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31454 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31456 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31457 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31459 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31460 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31462 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31463 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31465 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31466 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31468 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31469 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31471 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31472 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31474 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31475 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31477 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31478 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31480 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31481 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31483 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31484 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31486 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31487 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31489 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31490 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31492 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31493 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31495 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31496 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31498 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31499 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31501 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31502 return (void *)((wxObject
*) ((wxSizer
*) x
));
31504 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31505 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31507 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31508 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31510 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31511 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31513 static void *_p_wxEventTo_p_wxObject(void *x
) {
31514 return (void *)((wxObject
*) ((wxEvent
*) x
));
31516 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31517 return (void *)((wxObject
*) ((wxFontData
*) x
));
31519 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31520 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31522 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31523 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31525 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31526 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31528 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31529 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31531 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31532 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31534 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31535 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31537 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31538 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31540 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31541 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31543 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31544 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31546 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31547 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31549 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31550 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31552 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31553 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31555 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31556 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31558 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31559 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31561 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31562 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31564 static void *_p_wxControlTo_p_wxObject(void *x
) {
31565 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31567 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31568 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31570 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31571 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31573 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31574 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31576 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31577 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31579 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31580 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31582 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31583 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31585 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31586 return (void *)((wxObject
*) ((wxColourData
*) x
));
31588 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31589 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31591 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31592 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31594 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31595 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31597 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31598 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31600 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31601 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31603 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31604 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31606 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31607 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31609 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31610 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31612 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31613 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31615 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31616 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31618 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31619 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31621 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31622 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31624 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31625 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31627 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31628 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31630 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31631 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31633 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31634 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31636 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31637 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31639 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31640 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31642 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31643 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31645 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31646 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31648 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31649 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31651 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31652 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31654 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31655 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31657 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31658 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31660 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31661 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31663 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31664 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31666 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31667 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31669 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31670 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31672 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31673 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31675 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31676 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31678 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31679 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31681 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31682 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31684 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31685 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31687 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31688 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31690 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31691 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31693 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31694 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31696 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31697 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31699 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31700 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31702 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31703 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31705 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31706 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31708 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31709 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31711 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31712 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31714 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31715 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31717 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31718 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31720 static void *_p_wxImageTo_p_wxObject(void *x
) {
31721 return (void *)((wxObject
*) ((wxImage
*) x
));
31723 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31724 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31726 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31727 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31729 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31730 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31732 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31733 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31735 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31736 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31738 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31739 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31741 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31742 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31744 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31745 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31747 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31748 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31750 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31751 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31753 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31754 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31756 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31757 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31759 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31760 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31762 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31763 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31765 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31766 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31768 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31769 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31771 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31772 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31774 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31775 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31777 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31778 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31780 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31781 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31783 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31784 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31786 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31787 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31789 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31790 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31792 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31793 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31795 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31796 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31798 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31799 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31801 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31802 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31804 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31805 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31807 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31808 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31810 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31811 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31813 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31814 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31816 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31817 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31819 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31820 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31822 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31823 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31825 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31826 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31828 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31829 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31831 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31832 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31834 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31835 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31837 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31838 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31840 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31841 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31843 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31844 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31846 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31847 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31849 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31850 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31852 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31853 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31855 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31858 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31861 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31864 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31867 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31870 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31873 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31876 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31879 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31882 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31883 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31885 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31886 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31888 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31889 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31891 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31892 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31894 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31895 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31897 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31898 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31900 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31901 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31903 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31904 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31906 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31907 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31909 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31910 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31912 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31913 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31915 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
31916 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
31918 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31919 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31921 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31922 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31924 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31925 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31927 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31928 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31930 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31931 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31933 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31934 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31936 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31937 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31939 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31940 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31942 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31943 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31945 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31946 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31948 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31949 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
31951 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31952 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31954 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
31955 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31957 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
31958 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31960 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
31961 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
31963 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
31964 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
31966 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
31967 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31969 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
31970 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31972 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
31973 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31975 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
31976 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31978 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
31979 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31981 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
31982 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31984 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
31985 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31987 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
31988 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31990 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
31991 return (void *)((wxWindow
*) ((wxPanel
*) x
));
31993 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
31994 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
31996 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
31997 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31999 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32000 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32002 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32003 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32005 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32006 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32008 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32009 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32011 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32012 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32014 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32015 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32017 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32018 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32020 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32021 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32023 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32024 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32026 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32027 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32029 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32030 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32032 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32033 return (void *)((wxWindow
*) ((wxControl
*) x
));
32035 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32036 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32038 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32039 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32041 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32042 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32044 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32045 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32047 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32048 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32050 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32051 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32053 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32054 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32056 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32057 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32059 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32060 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32062 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32063 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32065 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32066 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32068 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32069 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32071 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32072 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32074 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32075 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32077 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32078 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32080 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32081 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32083 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32084 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32086 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32087 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32089 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32090 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32092 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32093 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32095 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32096 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32098 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32099 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32101 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32102 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32104 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32105 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32107 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32108 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32110 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32111 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32113 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32114 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32116 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32117 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32119 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32120 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32122 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32123 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32125 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32126 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32128 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32129 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32131 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32132 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32134 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32135 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32137 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32138 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32140 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32141 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32143 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32144 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32146 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32147 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32149 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32150 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32152 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32153 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32155 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32156 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32158 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32159 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32161 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32162 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32164 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32165 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32167 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32168 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32170 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32171 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32173 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32174 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32176 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32177 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32179 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32180 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32182 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32183 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32185 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32186 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32188 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32189 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32191 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32192 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32193 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};
32194 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32195 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32196 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32197 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32198 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32199 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32200 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32201 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32202 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32203 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32204 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32205 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32206 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32207 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32208 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32209 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32210 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32211 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32212 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32213 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32214 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32215 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32216 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32217 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32218 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32219 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32220 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32221 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32222 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32223 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32224 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32225 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32226 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32227 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32228 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32229 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32230 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32231 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32232 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32233 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32234 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32235 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32236 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32237 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32238 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32239 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32240 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32241 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32242 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32243 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32244 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32246 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32247 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32248 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32249 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32250 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32251 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32252 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32253 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32254 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32255 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32256 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32257 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32258 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32264 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32265 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32266 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32267 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32268 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32269 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32270 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32271 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32272 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32273 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32289 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32295 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32296 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32297 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32298 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32299 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32300 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32301 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32317 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32318 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32319 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32320 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32321 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32322 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32323 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32324 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32325 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32326 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32327 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32328 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32329 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32330 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32331 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32332 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32333 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32334 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32335 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32336 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32337 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32338 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32339 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32340 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32341 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32342 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32343 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32344 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32355 static swig_type_info
*swig_type_initial
[] = {
32358 &_swigt__p_form_ops_t
,
32360 &_swigt__p_unsigned_char
,
32361 &_swigt__p_unsigned_int
,
32362 &_swigt__p_unsigned_long
,
32363 &_swigt__p_wxANIHandler
,
32364 &_swigt__p_wxAcceleratorTable
,
32365 &_swigt__p_wxActivateEvent
,
32366 &_swigt__p_wxArrayInt
,
32367 &_swigt__p_wxBMPHandler
,
32368 &_swigt__p_wxBitmap
,
32369 &_swigt__p_wxBoxSizer
,
32370 &_swigt__p_wxCURHandler
,
32371 &_swigt__p_wxCalculateLayoutEvent
,
32372 &_swigt__p_wxChildFocusEvent
,
32373 &_swigt__p_wxClipboardTextEvent
,
32374 &_swigt__p_wxCloseEvent
,
32375 &_swigt__p_wxColour
,
32376 &_swigt__p_wxColourData
,
32377 &_swigt__p_wxColourDialog
,
32378 &_swigt__p_wxCommandEvent
,
32379 &_swigt__p_wxContextMenuEvent
,
32380 &_swigt__p_wxControl
,
32381 &_swigt__p_wxControlWithItems
,
32383 &_swigt__p_wxDateEvent
,
32384 &_swigt__p_wxDialog
,
32385 &_swigt__p_wxDirDialog
,
32386 &_swigt__p_wxDisplayChangedEvent
,
32387 &_swigt__p_wxDropFilesEvent
,
32388 &_swigt__p_wxDuplexMode
,
32389 &_swigt__p_wxEraseEvent
,
32390 &_swigt__p_wxEvent
,
32391 &_swigt__p_wxEvtHandler
,
32392 &_swigt__p_wxFSFile
,
32393 &_swigt__p_wxFileDialog
,
32394 &_swigt__p_wxFileSystem
,
32395 &_swigt__p_wxFindDialogEvent
,
32396 &_swigt__p_wxFindReplaceData
,
32397 &_swigt__p_wxFindReplaceDialog
,
32398 &_swigt__p_wxFlexGridSizer
,
32399 &_swigt__p_wxFocusEvent
,
32401 &_swigt__p_wxFontData
,
32402 &_swigt__p_wxFontDialog
,
32403 &_swigt__p_wxFrame
,
32404 &_swigt__p_wxGBSizerItem
,
32405 &_swigt__p_wxGIFHandler
,
32406 &_swigt__p_wxGridBagSizer
,
32407 &_swigt__p_wxGridSizer
,
32408 &_swigt__p_wxHtmlLinkInfo
,
32409 &_swigt__p_wxICOHandler
,
32411 &_swigt__p_wxIconBundle
,
32412 &_swigt__p_wxIconizeEvent
,
32413 &_swigt__p_wxIdleEvent
,
32414 &_swigt__p_wxImage
,
32415 &_swigt__p_wxImageHandler
,
32416 &_swigt__p_wxIndividualLayoutConstraint
,
32417 &_swigt__p_wxInitDialogEvent
,
32418 &_swigt__p_wxJPEGHandler
,
32419 &_swigt__p_wxKeyEvent
,
32420 &_swigt__p_wxLayoutAlgorithm
,
32421 &_swigt__p_wxLayoutConstraints
,
32422 &_swigt__p_wxMDIChildFrame
,
32423 &_swigt__p_wxMDIClientWindow
,
32424 &_swigt__p_wxMDIParentFrame
,
32425 &_swigt__p_wxMaximizeEvent
,
32427 &_swigt__p_wxMenuBar
,
32428 &_swigt__p_wxMenuEvent
,
32429 &_swigt__p_wxMenuItem
,
32430 &_swigt__p_wxMessageDialog
,
32431 &_swigt__p_wxMiniFrame
,
32432 &_swigt__p_wxMouseCaptureChangedEvent
,
32433 &_swigt__p_wxMouseEvent
,
32434 &_swigt__p_wxMoveEvent
,
32435 &_swigt__p_wxMultiChoiceDialog
,
32436 &_swigt__p_wxNavigationKeyEvent
,
32437 &_swigt__p_wxNcPaintEvent
,
32438 &_swigt__p_wxNotifyEvent
,
32439 &_swigt__p_wxObject
,
32440 &_swigt__p_wxPCXHandler
,
32441 &_swigt__p_wxPNGHandler
,
32442 &_swigt__p_wxPNMHandler
,
32443 &_swigt__p_wxPageSetupDialog
,
32444 &_swigt__p_wxPageSetupDialogData
,
32445 &_swigt__p_wxPaintEvent
,
32446 &_swigt__p_wxPaletteChangedEvent
,
32447 &_swigt__p_wxPanel
,
32448 &_swigt__p_wxPaperSize
,
32449 &_swigt__p_wxPasswordEntryDialog
,
32450 &_swigt__p_wxPoint
,
32451 &_swigt__p_wxPopupWindow
,
32452 &_swigt__p_wxPreviewCanvas
,
32453 &_swigt__p_wxPreviewControlBar
,
32454 &_swigt__p_wxPreviewFrame
,
32455 &_swigt__p_wxPrintData
,
32456 &_swigt__p_wxPrintDialog
,
32457 &_swigt__p_wxPrintDialogData
,
32458 &_swigt__p_wxPrintPreview
,
32459 &_swigt__p_wxPrinter
,
32460 &_swigt__p_wxProgressDialog
,
32461 &_swigt__p_wxPyApp
,
32462 &_swigt__p_wxPyCommandEvent
,
32463 &_swigt__p_wxPyEvent
,
32464 &_swigt__p_wxPyHtmlListBox
,
32465 &_swigt__p_wxPyImageHandler
,
32466 &_swigt__p_wxPyPanel
,
32467 &_swigt__p_wxPyPopupTransientWindow
,
32468 &_swigt__p_wxPyPreviewControlBar
,
32469 &_swigt__p_wxPyPreviewFrame
,
32470 &_swigt__p_wxPyPrintPreview
,
32471 &_swigt__p_wxPyPrintout
,
32472 &_swigt__p_wxPyScrolledWindow
,
32473 &_swigt__p_wxPySizer
,
32474 &_swigt__p_wxPyTaskBarIcon
,
32475 &_swigt__p_wxPyVListBox
,
32476 &_swigt__p_wxPyVScrolledWindow
,
32477 &_swigt__p_wxPyValidator
,
32478 &_swigt__p_wxPyWindow
,
32479 &_swigt__p_wxQueryLayoutInfoEvent
,
32480 &_swigt__p_wxQueryNewPaletteEvent
,
32482 &_swigt__p_wxRegion
,
32483 &_swigt__p_wxSashEvent
,
32484 &_swigt__p_wxSashLayoutWindow
,
32485 &_swigt__p_wxSashWindow
,
32486 &_swigt__p_wxScrollEvent
,
32487 &_swigt__p_wxScrollWinEvent
,
32488 &_swigt__p_wxScrolledWindow
,
32489 &_swigt__p_wxSetCursorEvent
,
32490 &_swigt__p_wxShowEvent
,
32491 &_swigt__p_wxSingleChoiceDialog
,
32493 &_swigt__p_wxSizeEvent
,
32494 &_swigt__p_wxSizer
,
32495 &_swigt__p_wxSizerItem
,
32496 &_swigt__p_wxSplashScreen
,
32497 &_swigt__p_wxSplashScreenWindow
,
32498 &_swigt__p_wxSplitterEvent
,
32499 &_swigt__p_wxSplitterWindow
,
32500 &_swigt__p_wxStaticBoxSizer
,
32501 &_swigt__p_wxStatusBar
,
32502 &_swigt__p_wxStdDialogButtonSizer
,
32503 &_swigt__p_wxString
,
32504 &_swigt__p_wxSysColourChangedEvent
,
32505 &_swigt__p_wxTIFFHandler
,
32506 &_swigt__p_wxTaskBarIcon
,
32507 &_swigt__p_wxTaskBarIconEvent
,
32508 &_swigt__p_wxTextEntryDialog
,
32509 &_swigt__p_wxTipWindow
,
32510 &_swigt__p_wxToolBar
,
32511 &_swigt__p_wxTopLevelWindow
,
32512 &_swigt__p_wxUpdateUIEvent
,
32513 &_swigt__p_wxValidator
,
32514 &_swigt__p_wxVisualAttributes
,
32515 &_swigt__p_wxWindow
,
32516 &_swigt__p_wxWindowCreateEvent
,
32517 &_swigt__p_wxWindowDestroyEvent
,
32518 &_swigt__p_wxXPMHandler
,
32521 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32522 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32523 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32524 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32525 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32526 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32527 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32528 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32529 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32530 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32531 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32532 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32533 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32534 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32535 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32536 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32537 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32538 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32539 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32540 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32541 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32542 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32543 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}};
32544 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32545 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
32546 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32547 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32548 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32549 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32550 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32551 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32552 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32553 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32554 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32555 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32556 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32557 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32558 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32559 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32560 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32561 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32579 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_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_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_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_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}};
32580 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32583 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32584 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32588 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_wxTipWindow
, _p_wxTipWindowTo_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}};
32589 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32601 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}};
32602 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32611 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32612 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32617 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32618 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_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_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_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_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32633 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}};
32634 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32638 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32639 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}};
32640 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}};
32641 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32644 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}};
32645 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32656 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}};
32657 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}};
32658 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32664 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}};
32665 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32666 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}};
32667 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32670 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32671 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32676 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32677 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32678 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}};
32679 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32681 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_wxTipWindow
, _p_wxTipWindowTo_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_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_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_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}};
32682 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32683 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_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_wxTipWindow
, _p_wxTipWindowTo_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_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}};
32685 static swig_cast_info
*swig_cast_initial
[] = {
32688 _swigc__p_form_ops_t
,
32690 _swigc__p_unsigned_char
,
32691 _swigc__p_unsigned_int
,
32692 _swigc__p_unsigned_long
,
32693 _swigc__p_wxANIHandler
,
32694 _swigc__p_wxAcceleratorTable
,
32695 _swigc__p_wxActivateEvent
,
32696 _swigc__p_wxArrayInt
,
32697 _swigc__p_wxBMPHandler
,
32698 _swigc__p_wxBitmap
,
32699 _swigc__p_wxBoxSizer
,
32700 _swigc__p_wxCURHandler
,
32701 _swigc__p_wxCalculateLayoutEvent
,
32702 _swigc__p_wxChildFocusEvent
,
32703 _swigc__p_wxClipboardTextEvent
,
32704 _swigc__p_wxCloseEvent
,
32705 _swigc__p_wxColour
,
32706 _swigc__p_wxColourData
,
32707 _swigc__p_wxColourDialog
,
32708 _swigc__p_wxCommandEvent
,
32709 _swigc__p_wxContextMenuEvent
,
32710 _swigc__p_wxControl
,
32711 _swigc__p_wxControlWithItems
,
32713 _swigc__p_wxDateEvent
,
32714 _swigc__p_wxDialog
,
32715 _swigc__p_wxDirDialog
,
32716 _swigc__p_wxDisplayChangedEvent
,
32717 _swigc__p_wxDropFilesEvent
,
32718 _swigc__p_wxDuplexMode
,
32719 _swigc__p_wxEraseEvent
,
32721 _swigc__p_wxEvtHandler
,
32722 _swigc__p_wxFSFile
,
32723 _swigc__p_wxFileDialog
,
32724 _swigc__p_wxFileSystem
,
32725 _swigc__p_wxFindDialogEvent
,
32726 _swigc__p_wxFindReplaceData
,
32727 _swigc__p_wxFindReplaceDialog
,
32728 _swigc__p_wxFlexGridSizer
,
32729 _swigc__p_wxFocusEvent
,
32731 _swigc__p_wxFontData
,
32732 _swigc__p_wxFontDialog
,
32734 _swigc__p_wxGBSizerItem
,
32735 _swigc__p_wxGIFHandler
,
32736 _swigc__p_wxGridBagSizer
,
32737 _swigc__p_wxGridSizer
,
32738 _swigc__p_wxHtmlLinkInfo
,
32739 _swigc__p_wxICOHandler
,
32741 _swigc__p_wxIconBundle
,
32742 _swigc__p_wxIconizeEvent
,
32743 _swigc__p_wxIdleEvent
,
32745 _swigc__p_wxImageHandler
,
32746 _swigc__p_wxIndividualLayoutConstraint
,
32747 _swigc__p_wxInitDialogEvent
,
32748 _swigc__p_wxJPEGHandler
,
32749 _swigc__p_wxKeyEvent
,
32750 _swigc__p_wxLayoutAlgorithm
,
32751 _swigc__p_wxLayoutConstraints
,
32752 _swigc__p_wxMDIChildFrame
,
32753 _swigc__p_wxMDIClientWindow
,
32754 _swigc__p_wxMDIParentFrame
,
32755 _swigc__p_wxMaximizeEvent
,
32757 _swigc__p_wxMenuBar
,
32758 _swigc__p_wxMenuEvent
,
32759 _swigc__p_wxMenuItem
,
32760 _swigc__p_wxMessageDialog
,
32761 _swigc__p_wxMiniFrame
,
32762 _swigc__p_wxMouseCaptureChangedEvent
,
32763 _swigc__p_wxMouseEvent
,
32764 _swigc__p_wxMoveEvent
,
32765 _swigc__p_wxMultiChoiceDialog
,
32766 _swigc__p_wxNavigationKeyEvent
,
32767 _swigc__p_wxNcPaintEvent
,
32768 _swigc__p_wxNotifyEvent
,
32769 _swigc__p_wxObject
,
32770 _swigc__p_wxPCXHandler
,
32771 _swigc__p_wxPNGHandler
,
32772 _swigc__p_wxPNMHandler
,
32773 _swigc__p_wxPageSetupDialog
,
32774 _swigc__p_wxPageSetupDialogData
,
32775 _swigc__p_wxPaintEvent
,
32776 _swigc__p_wxPaletteChangedEvent
,
32778 _swigc__p_wxPaperSize
,
32779 _swigc__p_wxPasswordEntryDialog
,
32781 _swigc__p_wxPopupWindow
,
32782 _swigc__p_wxPreviewCanvas
,
32783 _swigc__p_wxPreviewControlBar
,
32784 _swigc__p_wxPreviewFrame
,
32785 _swigc__p_wxPrintData
,
32786 _swigc__p_wxPrintDialog
,
32787 _swigc__p_wxPrintDialogData
,
32788 _swigc__p_wxPrintPreview
,
32789 _swigc__p_wxPrinter
,
32790 _swigc__p_wxProgressDialog
,
32792 _swigc__p_wxPyCommandEvent
,
32793 _swigc__p_wxPyEvent
,
32794 _swigc__p_wxPyHtmlListBox
,
32795 _swigc__p_wxPyImageHandler
,
32796 _swigc__p_wxPyPanel
,
32797 _swigc__p_wxPyPopupTransientWindow
,
32798 _swigc__p_wxPyPreviewControlBar
,
32799 _swigc__p_wxPyPreviewFrame
,
32800 _swigc__p_wxPyPrintPreview
,
32801 _swigc__p_wxPyPrintout
,
32802 _swigc__p_wxPyScrolledWindow
,
32803 _swigc__p_wxPySizer
,
32804 _swigc__p_wxPyTaskBarIcon
,
32805 _swigc__p_wxPyVListBox
,
32806 _swigc__p_wxPyVScrolledWindow
,
32807 _swigc__p_wxPyValidator
,
32808 _swigc__p_wxPyWindow
,
32809 _swigc__p_wxQueryLayoutInfoEvent
,
32810 _swigc__p_wxQueryNewPaletteEvent
,
32812 _swigc__p_wxRegion
,
32813 _swigc__p_wxSashEvent
,
32814 _swigc__p_wxSashLayoutWindow
,
32815 _swigc__p_wxSashWindow
,
32816 _swigc__p_wxScrollEvent
,
32817 _swigc__p_wxScrollWinEvent
,
32818 _swigc__p_wxScrolledWindow
,
32819 _swigc__p_wxSetCursorEvent
,
32820 _swigc__p_wxShowEvent
,
32821 _swigc__p_wxSingleChoiceDialog
,
32823 _swigc__p_wxSizeEvent
,
32825 _swigc__p_wxSizerItem
,
32826 _swigc__p_wxSplashScreen
,
32827 _swigc__p_wxSplashScreenWindow
,
32828 _swigc__p_wxSplitterEvent
,
32829 _swigc__p_wxSplitterWindow
,
32830 _swigc__p_wxStaticBoxSizer
,
32831 _swigc__p_wxStatusBar
,
32832 _swigc__p_wxStdDialogButtonSizer
,
32833 _swigc__p_wxString
,
32834 _swigc__p_wxSysColourChangedEvent
,
32835 _swigc__p_wxTIFFHandler
,
32836 _swigc__p_wxTaskBarIcon
,
32837 _swigc__p_wxTaskBarIconEvent
,
32838 _swigc__p_wxTextEntryDialog
,
32839 _swigc__p_wxTipWindow
,
32840 _swigc__p_wxToolBar
,
32841 _swigc__p_wxTopLevelWindow
,
32842 _swigc__p_wxUpdateUIEvent
,
32843 _swigc__p_wxValidator
,
32844 _swigc__p_wxVisualAttributes
,
32845 _swigc__p_wxWindow
,
32846 _swigc__p_wxWindowCreateEvent
,
32847 _swigc__p_wxWindowDestroyEvent
,
32848 _swigc__p_wxXPMHandler
,
32852 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32854 static swig_const_info swig_const_table
[] = {
32855 {0, 0, 0, 0.0, 0, 0}};
32860 /* -----------------------------------------------------------------------------
32861 * Type initialization:
32862 * This problem is tough by the requirement that no dynamic
32863 * memory is used. Also, since swig_type_info structures store pointers to
32864 * swig_cast_info structures and swig_cast_info structures store pointers back
32865 * to swig_type_info structures, we need some lookup code at initialization.
32866 * The idea is that swig generates all the structures that are needed.
32867 * The runtime then collects these partially filled structures.
32868 * The SWIG_InitializeModule function takes these initial arrays out of
32869 * swig_module, and does all the lookup, filling in the swig_module.types
32870 * array with the correct data and linking the correct swig_cast_info
32871 * structures together.
32873 * The generated swig_type_info structures are assigned staticly to an initial
32874 * array. We just loop though that array, and handle each type individually.
32875 * First we lookup if this type has been already loaded, and if so, use the
32876 * loaded structure instead of the generated one. Then we have to fill in the
32877 * cast linked list. The cast data is initially stored in something like a
32878 * two-dimensional array. Each row corresponds to a type (there are the same
32879 * number of rows as there are in the swig_type_initial array). Each entry in
32880 * a column is one of the swig_cast_info structures for that type.
32881 * The cast_initial array is actually an array of arrays, because each row has
32882 * a variable number of columns. So to actually build the cast linked list,
32883 * we find the array of casts associated with the type, and loop through it
32884 * adding the casts to the list. The one last trick we need to do is making
32885 * sure the type pointer in the swig_cast_info struct is correct.
32887 * First off, we lookup the cast->type name to see if it is already loaded.
32888 * There are three cases to handle:
32889 * 1) If the cast->type has already been loaded AND the type we are adding
32890 * casting info to has not been loaded (it is in this module), THEN we
32891 * replace the cast->type pointer with the type pointer that has already
32893 * 2) If BOTH types (the one we are adding casting info to, and the
32894 * cast->type) are loaded, THEN the cast info has already been loaded by
32895 * the previous module so we just ignore it.
32896 * 3) Finally, if cast->type has not already been loaded, then we add that
32897 * swig_cast_info to the linked list (because the cast->type) pointer will
32899 * ----------------------------------------------------------------------------- */
32909 #define SWIGRUNTIME_DEBUG
32913 SWIG_InitializeModule(void *clientdata
) {
32915 swig_module_info
*module_head
;
32916 static int init_run
= 0;
32918 clientdata
= clientdata
;
32920 if (init_run
) return;
32923 /* Initialize the swig_module */
32924 swig_module
.type_initial
= swig_type_initial
;
32925 swig_module
.cast_initial
= swig_cast_initial
;
32927 /* Try and load any already created modules */
32928 module_head
= SWIG_GetModule(clientdata
);
32930 swig_module
.next
= module_head
->next
;
32931 module_head
->next
= &swig_module
;
32933 /* This is the first module loaded */
32934 swig_module
.next
= &swig_module
;
32935 SWIG_SetModule(clientdata
, &swig_module
);
32938 /* Now work on filling in swig_module.types */
32939 #ifdef SWIGRUNTIME_DEBUG
32940 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32942 for (i
= 0; i
< swig_module
.size
; ++i
) {
32943 swig_type_info
*type
= 0;
32944 swig_type_info
*ret
;
32945 swig_cast_info
*cast
;
32947 #ifdef SWIGRUNTIME_DEBUG
32948 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32951 /* if there is another module already loaded */
32952 if (swig_module
.next
!= &swig_module
) {
32953 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32956 /* Overwrite clientdata field */
32957 #ifdef SWIGRUNTIME_DEBUG
32958 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32960 if (swig_module
.type_initial
[i
]->clientdata
) {
32961 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32962 #ifdef SWIGRUNTIME_DEBUG
32963 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
32967 type
= swig_module
.type_initial
[i
];
32970 /* Insert casting types */
32971 cast
= swig_module
.cast_initial
[i
];
32972 while (cast
->type
) {
32973 /* Don't need to add information already in the list */
32975 #ifdef SWIGRUNTIME_DEBUG
32976 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
32978 if (swig_module
.next
!= &swig_module
) {
32979 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
32980 #ifdef SWIGRUNTIME_DEBUG
32981 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
32985 if (type
== swig_module
.type_initial
[i
]) {
32986 #ifdef SWIGRUNTIME_DEBUG
32987 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
32992 /* Check for casting already in the list */
32993 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
32994 #ifdef SWIGRUNTIME_DEBUG
32995 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
32997 if (!ocast
) ret
= 0;
33002 #ifdef SWIGRUNTIME_DEBUG
33003 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33006 type
->cast
->prev
= cast
;
33007 cast
->next
= type
->cast
;
33013 /* Set entry in modules->types array equal to the type */
33014 swig_module
.types
[i
] = type
;
33016 swig_module
.types
[i
] = 0;
33018 #ifdef SWIGRUNTIME_DEBUG
33019 printf("**** SWIG_InitializeModule: Cast List ******\n");
33020 for (i
= 0; i
< swig_module
.size
; ++i
) {
33022 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33023 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33024 while (cast
->type
) {
33025 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33029 printf("---- Total casts: %d\n",j
);
33031 printf("**** SWIG_InitializeModule: Cast List ******\n");
33035 /* This function will propagate the clientdata field of type to
33036 * any new swig_type_info structures that have been added into the list
33037 * of equivalent types. It is like calling
33038 * SWIG_TypeClientData(type, clientdata) a second time.
33041 SWIG_PropagateClientData(void) {
33043 swig_cast_info
*equiv
;
33044 static int init_run
= 0;
33046 if (init_run
) return;
33049 for (i
= 0; i
< swig_module
.size
; i
++) {
33050 if (swig_module
.types
[i
]->clientdata
) {
33051 equiv
= swig_module
.types
[i
]->cast
;
33053 if (!equiv
->converter
) {
33054 if (equiv
->type
&& !equiv
->type
->clientdata
)
33055 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33057 equiv
= equiv
->next
;
33077 /* Python-specific SWIG API */
33078 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33079 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33080 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33082 /* -----------------------------------------------------------------------------
33083 * global variable support code.
33084 * ----------------------------------------------------------------------------- */
33086 typedef struct swig_globalvar
{
33087 char *name
; /* Name of global variable */
33088 PyObject
*(*get_attr
)(void); /* Return the current value */
33089 int (*set_attr
)(PyObject
*); /* Set the value */
33090 struct swig_globalvar
*next
;
33093 typedef struct swig_varlinkobject
{
33095 swig_globalvar
*vars
;
33096 } swig_varlinkobject
;
33098 SWIGINTERN PyObject
*
33099 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33100 return PyString_FromString("<Swig global variables>");
33103 SWIGINTERN PyObject
*
33104 swig_varlink_str(swig_varlinkobject
*v
) {
33105 PyObject
*str
= PyString_FromString("(");
33106 swig_globalvar
*var
;
33107 for (var
= v
->vars
; var
; var
=var
->next
) {
33108 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33109 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33111 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33116 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33117 PyObject
*str
= swig_varlink_str(v
);
33118 fprintf(fp
,"Swig global variables ");
33119 fprintf(fp
,"%s\n", PyString_AsString(str
));
33125 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33126 swig_globalvar
*var
= v
->vars
;
33128 swig_globalvar
*n
= var
->next
;
33135 SWIGINTERN PyObject
*
33136 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33137 PyObject
*res
= NULL
;
33138 swig_globalvar
*var
= v
->vars
;
33140 if (strcmp(var
->name
,n
) == 0) {
33141 res
= (*var
->get_attr
)();
33146 if (res
== NULL
&& !PyErr_Occurred()) {
33147 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33153 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33155 swig_globalvar
*var
= v
->vars
;
33157 if (strcmp(var
->name
,n
) == 0) {
33158 res
= (*var
->set_attr
)(p
);
33163 if (res
== 1 && !PyErr_Occurred()) {
33164 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33169 SWIGINTERN PyTypeObject
*
33170 swig_varlink_type(void) {
33171 static char varlink__doc__
[] = "Swig var link object";
33172 static PyTypeObject varlink_type
;
33173 static int type_init
= 0;
33175 const PyTypeObject tmp
33177 PyObject_HEAD_INIT(NULL
)
33178 0, /* Number of items in variable part (ob_size) */
33179 (char *)"swigvarlink", /* Type name (tp_name) */
33180 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33181 0, /* Itemsize (tp_itemsize) */
33182 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33183 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33184 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33185 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33186 0, /* tp_compare */
33187 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33188 0, /* tp_as_number */
33189 0, /* tp_as_sequence */
33190 0, /* tp_as_mapping */
33193 (reprfunc
)swig_varlink_str
, /* tp_str */
33194 0, /* tp_getattro */
33195 0, /* tp_setattro */
33196 0, /* tp_as_buffer */
33198 varlink__doc__
, /* tp_doc */
33199 0, /* tp_traverse */
33201 0, /* tp_richcompare */
33202 0, /* tp_weaklistoffset */
33203 #if PY_VERSION_HEX >= 0x02020000
33204 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33206 #if PY_VERSION_HEX >= 0x02030000
33209 #ifdef COUNT_ALLOCS
33210 0,0,0,0 /* tp_alloc -> tp_next */
33213 varlink_type
= tmp
;
33214 varlink_type
.ob_type
= &PyType_Type
;
33217 return &varlink_type
;
33220 /* Create a variable linking object for use later */
33221 SWIGINTERN PyObject
*
33222 SWIG_Python_newvarlink(void) {
33223 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33227 return ((PyObject
*) result
);
33231 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33232 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33233 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33235 size_t size
= strlen(name
)+1;
33236 gv
->name
= (char *)malloc(size
);
33238 strncpy(gv
->name
,name
,size
);
33239 gv
->get_attr
= get_attr
;
33240 gv
->set_attr
= set_attr
;
33241 gv
->next
= v
->vars
;
33247 SWIGINTERN PyObject
*
33249 static PyObject
*_SWIG_globals
= 0;
33250 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33251 return _SWIG_globals
;
33254 /* -----------------------------------------------------------------------------
33255 * constants/methods manipulation
33256 * ----------------------------------------------------------------------------- */
33258 /* Install Constants */
33260 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33263 for (i
= 0; constants
[i
].type
; ++i
) {
33264 switch(constants
[i
].type
) {
33265 case SWIG_PY_POINTER
:
33266 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33268 case SWIG_PY_BINARY
:
33269 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33276 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33282 /* -----------------------------------------------------------------------------*/
33283 /* Fix SwigMethods to carry the callback ptrs when needed */
33284 /* -----------------------------------------------------------------------------*/
33287 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33288 swig_const_info
*const_table
,
33289 swig_type_info
**types
,
33290 swig_type_info
**types_initial
) {
33292 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33293 char *c
= methods
[i
].ml_doc
;
33294 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33296 swig_const_info
*ci
= 0;
33297 char *name
= c
+ 10;
33298 for (j
= 0; const_table
[j
].type
; ++j
) {
33299 if (strncmp(const_table
[j
].name
, name
,
33300 strlen(const_table
[j
].name
)) == 0) {
33301 ci
= &(const_table
[j
]);
33306 size_t shift
= (ci
->ptype
) - types
;
33307 swig_type_info
*ty
= types_initial
[shift
];
33308 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33309 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33310 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33313 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33315 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33317 strncpy(buff
, "swig_ptr: ", 10);
33319 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33320 methods
[i
].ml_doc
= ndoc
;
33332 /* -----------------------------------------------------------------------------*
33333 * Partial Init method
33334 * -----------------------------------------------------------------------------*/
33339 SWIGEXPORT
void SWIG_init(void) {
33342 /* Fix SwigMethods to carry the callback ptrs when needed */
33343 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33345 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33346 d
= PyModule_GetDict(m
);
33348 SWIG_InitializeModule(0);
33349 SWIG_InstallConstants(d
,swig_const_table
);
33352 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33353 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33354 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33355 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33356 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33357 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33358 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33359 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33360 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33361 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33362 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33363 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33364 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33365 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33366 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33367 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33368 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33369 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33370 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33371 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33372 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33373 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33374 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33375 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33376 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33377 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33378 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33379 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33380 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33381 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33382 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33383 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33384 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33385 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33386 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33387 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33388 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33389 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33390 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33391 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33392 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33393 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33394 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33395 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33396 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33397 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33398 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33399 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33400 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33401 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33402 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33403 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33404 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33405 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33406 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33407 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33408 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33409 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33410 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33411 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33412 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33413 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33414 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33415 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33416 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33417 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33418 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33419 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33420 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33421 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33422 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33423 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33424 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33425 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33426 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33427 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33428 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33429 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33430 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33431 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33432 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33433 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33434 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33435 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33436 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33437 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33438 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33439 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33440 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33441 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33442 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33443 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33444 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33445 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33446 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33447 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33448 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33449 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33450 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33451 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33452 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33453 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33455 // Map renamed classes back to their common name for OOR
33456 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33457 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33458 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33460 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33461 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33462 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33463 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33464 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33465 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33466 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33467 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33468 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33469 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33470 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33471 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33472 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33473 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33474 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33475 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33476 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33477 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33478 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33479 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33480 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33481 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33482 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33483 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33484 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33485 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33486 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33487 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33488 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33489 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33490 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33491 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33492 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33493 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33494 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33495 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33496 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33497 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33498 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33499 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33500 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33501 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33502 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33503 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33504 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33505 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33506 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33507 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33508 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33509 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33510 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33511 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33512 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33513 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33514 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33515 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33516 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33517 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33518 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33519 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33520 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33521 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33522 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33523 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33524 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33525 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33526 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33527 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33528 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33529 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33530 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33531 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33532 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33533 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33534 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33535 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33536 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33537 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33539 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");