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_char swig_types[0]
2463 #define SWIGTYPE_p_form_ops_t swig_types[1]
2464 #define SWIGTYPE_p_int swig_types[2]
2465 #define SWIGTYPE_p_unsigned_char swig_types[3]
2466 #define SWIGTYPE_p_unsigned_int swig_types[4]
2467 #define SWIGTYPE_p_unsigned_long swig_types[5]
2468 #define SWIGTYPE_p_wxANIHandler swig_types[6]
2469 #define SWIGTYPE_p_wxAcceleratorTable swig_types[7]
2470 #define SWIGTYPE_p_wxActivateEvent swig_types[8]
2471 #define SWIGTYPE_p_wxArrayInt swig_types[9]
2472 #define SWIGTYPE_p_wxBMPHandler swig_types[10]
2473 #define SWIGTYPE_p_wxBitmap swig_types[11]
2474 #define SWIGTYPE_p_wxBoxSizer swig_types[12]
2475 #define SWIGTYPE_p_wxCURHandler swig_types[13]
2476 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[14]
2477 #define SWIGTYPE_p_wxChildFocusEvent swig_types[15]
2478 #define SWIGTYPE_p_wxCloseEvent swig_types[16]
2479 #define SWIGTYPE_p_wxColour swig_types[17]
2480 #define SWIGTYPE_p_wxColourData swig_types[18]
2481 #define SWIGTYPE_p_wxColourDialog swig_types[19]
2482 #define SWIGTYPE_p_wxCommandEvent swig_types[20]
2483 #define SWIGTYPE_p_wxContextMenuEvent swig_types[21]
2484 #define SWIGTYPE_p_wxControl swig_types[22]
2485 #define SWIGTYPE_p_wxControlWithItems swig_types[23]
2486 #define SWIGTYPE_p_wxDC swig_types[24]
2487 #define SWIGTYPE_p_wxDateEvent swig_types[25]
2488 #define SWIGTYPE_p_wxDialog swig_types[26]
2489 #define SWIGTYPE_p_wxDirDialog swig_types[27]
2490 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[28]
2491 #define SWIGTYPE_p_wxDropFilesEvent swig_types[29]
2492 #define SWIGTYPE_p_wxDuplexMode swig_types[30]
2493 #define SWIGTYPE_p_wxEraseEvent swig_types[31]
2494 #define SWIGTYPE_p_wxEvent swig_types[32]
2495 #define SWIGTYPE_p_wxEvtHandler swig_types[33]
2496 #define SWIGTYPE_p_wxFSFile swig_types[34]
2497 #define SWIGTYPE_p_wxFileDialog swig_types[35]
2498 #define SWIGTYPE_p_wxFileSystem swig_types[36]
2499 #define SWIGTYPE_p_wxFindDialogEvent swig_types[37]
2500 #define SWIGTYPE_p_wxFindReplaceData swig_types[38]
2501 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[39]
2502 #define SWIGTYPE_p_wxFlexGridSizer swig_types[40]
2503 #define SWIGTYPE_p_wxFocusEvent swig_types[41]
2504 #define SWIGTYPE_p_wxFont swig_types[42]
2505 #define SWIGTYPE_p_wxFontData swig_types[43]
2506 #define SWIGTYPE_p_wxFontDialog swig_types[44]
2507 #define SWIGTYPE_p_wxFrame swig_types[45]
2508 #define SWIGTYPE_p_wxGBSizerItem swig_types[46]
2509 #define SWIGTYPE_p_wxGIFHandler swig_types[47]
2510 #define SWIGTYPE_p_wxGridBagSizer swig_types[48]
2511 #define SWIGTYPE_p_wxGridSizer swig_types[49]
2512 #define SWIGTYPE_p_wxICOHandler swig_types[50]
2513 #define SWIGTYPE_p_wxIcon swig_types[51]
2514 #define SWIGTYPE_p_wxIconBundle swig_types[52]
2515 #define SWIGTYPE_p_wxIconizeEvent swig_types[53]
2516 #define SWIGTYPE_p_wxIdleEvent swig_types[54]
2517 #define SWIGTYPE_p_wxImage swig_types[55]
2518 #define SWIGTYPE_p_wxImageHandler swig_types[56]
2519 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[57]
2520 #define SWIGTYPE_p_wxInitDialogEvent swig_types[58]
2521 #define SWIGTYPE_p_wxJPEGHandler swig_types[59]
2522 #define SWIGTYPE_p_wxKeyEvent swig_types[60]
2523 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[61]
2524 #define SWIGTYPE_p_wxLayoutConstraints swig_types[62]
2525 #define SWIGTYPE_p_wxMDIChildFrame swig_types[63]
2526 #define SWIGTYPE_p_wxMDIClientWindow swig_types[64]
2527 #define SWIGTYPE_p_wxMDIParentFrame swig_types[65]
2528 #define SWIGTYPE_p_wxMaximizeEvent swig_types[66]
2529 #define SWIGTYPE_p_wxMenu swig_types[67]
2530 #define SWIGTYPE_p_wxMenuBar swig_types[68]
2531 #define SWIGTYPE_p_wxMenuEvent swig_types[69]
2532 #define SWIGTYPE_p_wxMenuItem swig_types[70]
2533 #define SWIGTYPE_p_wxMessageDialog swig_types[71]
2534 #define SWIGTYPE_p_wxMiniFrame swig_types[72]
2535 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[73]
2536 #define SWIGTYPE_p_wxMouseEvent swig_types[74]
2537 #define SWIGTYPE_p_wxMoveEvent swig_types[75]
2538 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[76]
2539 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[77]
2540 #define SWIGTYPE_p_wxNcPaintEvent swig_types[78]
2541 #define SWIGTYPE_p_wxNotifyEvent swig_types[79]
2542 #define SWIGTYPE_p_wxObject swig_types[80]
2543 #define SWIGTYPE_p_wxPCXHandler swig_types[81]
2544 #define SWIGTYPE_p_wxPNGHandler swig_types[82]
2545 #define SWIGTYPE_p_wxPNMHandler swig_types[83]
2546 #define SWIGTYPE_p_wxPageSetupDialog swig_types[84]
2547 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[85]
2548 #define SWIGTYPE_p_wxPaintEvent swig_types[86]
2549 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[87]
2550 #define SWIGTYPE_p_wxPanel swig_types[88]
2551 #define SWIGTYPE_p_wxPaperSize swig_types[89]
2552 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[90]
2553 #define SWIGTYPE_p_wxPoint swig_types[91]
2554 #define SWIGTYPE_p_wxPopupWindow swig_types[92]
2555 #define SWIGTYPE_p_wxPreviewCanvas swig_types[93]
2556 #define SWIGTYPE_p_wxPreviewControlBar swig_types[94]
2557 #define SWIGTYPE_p_wxPreviewFrame swig_types[95]
2558 #define SWIGTYPE_p_wxPrintData swig_types[96]
2559 #define SWIGTYPE_p_wxPrintDialog swig_types[97]
2560 #define SWIGTYPE_p_wxPrintDialogData swig_types[98]
2561 #define SWIGTYPE_p_wxPrintPreview swig_types[99]
2562 #define SWIGTYPE_p_wxPrinter swig_types[100]
2563 #define SWIGTYPE_p_wxProgressDialog swig_types[101]
2564 #define SWIGTYPE_p_wxPyApp swig_types[102]
2565 #define SWIGTYPE_p_wxPyCommandEvent swig_types[103]
2566 #define SWIGTYPE_p_wxPyEvent swig_types[104]
2567 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[105]
2568 #define SWIGTYPE_p_wxPyImageHandler swig_types[106]
2569 #define SWIGTYPE_p_wxPyPanel swig_types[107]
2570 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[108]
2571 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[109]
2572 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[110]
2573 #define SWIGTYPE_p_wxPyPrintPreview swig_types[111]
2574 #define SWIGTYPE_p_wxPyPrintout swig_types[112]
2575 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[113]
2576 #define SWIGTYPE_p_wxPySizer swig_types[114]
2577 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[115]
2578 #define SWIGTYPE_p_wxPyVListBox swig_types[116]
2579 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[117]
2580 #define SWIGTYPE_p_wxPyValidator swig_types[118]
2581 #define SWIGTYPE_p_wxPyWindow swig_types[119]
2582 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[120]
2583 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[121]
2584 #define SWIGTYPE_p_wxRect swig_types[122]
2585 #define SWIGTYPE_p_wxRegion swig_types[123]
2586 #define SWIGTYPE_p_wxSashEvent swig_types[124]
2587 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[125]
2588 #define SWIGTYPE_p_wxSashWindow swig_types[126]
2589 #define SWIGTYPE_p_wxScrollEvent swig_types[127]
2590 #define SWIGTYPE_p_wxScrollWinEvent swig_types[128]
2591 #define SWIGTYPE_p_wxScrolledWindow swig_types[129]
2592 #define SWIGTYPE_p_wxSetCursorEvent swig_types[130]
2593 #define SWIGTYPE_p_wxShowEvent swig_types[131]
2594 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[132]
2595 #define SWIGTYPE_p_wxSize swig_types[133]
2596 #define SWIGTYPE_p_wxSizeEvent swig_types[134]
2597 #define SWIGTYPE_p_wxSizer swig_types[135]
2598 #define SWIGTYPE_p_wxSizerItem swig_types[136]
2599 #define SWIGTYPE_p_wxSplashScreen swig_types[137]
2600 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[138]
2601 #define SWIGTYPE_p_wxSplitterEvent swig_types[139]
2602 #define SWIGTYPE_p_wxSplitterWindow swig_types[140]
2603 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[141]
2604 #define SWIGTYPE_p_wxStatusBar swig_types[142]
2605 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[143]
2606 #define SWIGTYPE_p_wxString swig_types[144]
2607 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[145]
2608 #define SWIGTYPE_p_wxTIFFHandler swig_types[146]
2609 #define SWIGTYPE_p_wxTaskBarIcon swig_types[147]
2610 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[148]
2611 #define SWIGTYPE_p_wxTextEntryDialog swig_types[149]
2612 #define SWIGTYPE_p_wxTipWindow swig_types[150]
2613 #define SWIGTYPE_p_wxToolBar swig_types[151]
2614 #define SWIGTYPE_p_wxTopLevelWindow swig_types[152]
2615 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[153]
2616 #define SWIGTYPE_p_wxValidator swig_types[154]
2617 #define SWIGTYPE_p_wxVisualAttributes swig_types[155]
2618 #define SWIGTYPE_p_wxWindow swig_types[156]
2619 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[157]
2620 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[158]
2621 #define SWIGTYPE_p_wxXPMHandler swig_types[159]
2622 static swig_type_info
*swig_types
[161];
2623 static swig_module_info swig_module
= {swig_types
, 160, 0, 0, 0, 0};
2624 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2625 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2627 /* -------- TYPES TABLE (END) -------- */
2629 #if (PY_VERSION_HEX <= 0x02000000)
2630 # if !defined(SWIG_PYTHON_CLASSIC)
2631 # error "This python version requires to use swig with the '-classic' option"
2634 #if (PY_VERSION_HEX <= 0x02020000)
2635 # error "This python version requires to use swig with the '-nomodern' option"
2637 #if (PY_VERSION_HEX <= 0x02020000)
2638 # error "This python version requires to use swig with the '-nomodernargs' option"
2641 # error "This python version requires to use swig with the '-nofastunpack' option"
2644 /*-----------------------------------------------
2645 @(target):= _windows_.so
2646 ------------------------------------------------*/
2647 #define SWIG_init init_windows_
2649 #define SWIG_name "_windows_"
2651 #define SWIGVERSION 0x010329
2654 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2655 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2658 #include <stdexcept>
2662 class PyObject_ptr
{
2667 PyObject_ptr() :_obj(0)
2671 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2676 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2678 if (initial_ref
) Py_XINCREF(_obj
);
2681 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2683 Py_XINCREF(item
._obj
);
2694 operator PyObject
*() const
2699 PyObject
*operator->() const
2708 struct PyObject_var
: PyObject_ptr
{
2709 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2711 PyObject_var
& operator = (PyObject
* obj
)
2721 #include "wx/wxPython/wxPython.h"
2722 #include "wx/wxPython/pyclasses.h"
2725 static const wxString
wxPyEmptyString(wxEmptyString
);
2726 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2732 # define LLONG_MIN LONG_LONG_MIN
2735 # define LLONG_MAX LONG_LONG_MAX
2738 # define ULLONG_MAX ULONG_LONG_MAX
2743 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2745 if (PyNumber_Check(obj
)) {
2746 if (val
) *val
= PyInt_AsLong(obj
);
2749 return SWIG_TypeError
;
2754 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2757 int res
= SWIG_AsVal_long (obj
, &v
);
2758 if (SWIG_IsOK(res
)) {
2759 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2760 return SWIG_OverflowError
;
2762 if (val
) *val
= static_cast< int >(v
);
2770 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2772 if (obj
== Py_True
) {
2773 if (val
) *val
= true;
2775 } else if (obj
== Py_False
) {
2776 if (val
) *val
= false;
2780 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2781 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2787 #define SWIG_From_long PyInt_FromLong
2790 SWIGINTERNINLINE PyObject
*
2791 SWIG_From_int (int value
)
2793 return SWIG_From_long (value
);
2798 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2800 if (PyNumber_Check(obj
)) {
2801 if (val
) *val
= PyFloat_AsDouble(obj
);
2804 return SWIG_TypeError
;
2808 #define SWIG_From_double PyFloat_FromDouble
2810 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2811 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2812 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2813 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2814 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){ /*wxPyRaiseNotImplemented();*/ }
2815 SWIGINTERN
bool wxTopLevelWindow_MacGetMetalAppearance(wxTopLevelWindow
const *self
){ /*wxPyRaiseNotImplemented();*/ return false; }
2818 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2820 self
->GetFieldRect(i
, r
);
2823 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2824 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2825 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2827 #include <wx/popupwin.h>
2830 class wxPyPopupTransientWindow
: public wxPopupTransientWindow
2833 wxPyPopupTransientWindow() : wxPopupTransientWindow() {}
2834 wxPyPopupTransientWindow(wxWindow
* parent
, int style
= wxBORDER_NONE
)
2835 : wxPopupTransientWindow(parent
, style
) {}
2837 DEC_PYCALLBACK_BOOL_ME(ProcessLeftDown
);
2838 DEC_PYCALLBACK__(OnDismiss
);
2839 DEC_PYCALLBACK_BOOL_(CanDismiss
);
2844 IMP_PYCALLBACK_BOOL_ME(wxPyPopupTransientWindow
, wxPopupTransientWindow
, ProcessLeftDown
);
2845 IMP_PYCALLBACK__(wxPyPopupTransientWindow
, wxPopupTransientWindow
, OnDismiss
);
2846 IMP_PYCALLBACK_BOOL_(wxPyPopupTransientWindow
, wxPopupTransientWindow
, CanDismiss
);
2849 #include <wx/tipwin.h>
2851 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2852 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2855 #include <wx/tipwin.h>
2858 #include <wx/vscroll.h>
2861 class wxPyVScrolledWindow
: public wxVScrolledWindow
2863 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2865 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2867 wxPyVScrolledWindow(wxWindow
*parent
,
2868 wxWindowID id
= wxID_ANY
,
2869 const wxPoint
& pos
= wxDefaultPosition
,
2870 const wxSize
& size
= wxDefaultSize
,
2872 const wxString
& name
= wxPyPanelNameStr
)
2873 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2876 // Overridable virtuals
2878 // this function must be overridden in the derived class and it should
2879 // return the height of the given line in pixels
2880 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2883 // this function doesn't have to be overridden but it may be useful to do
2884 // it if calculating the lines heights is a relatively expensive operation
2885 // as it gives the user code a possibility to calculate several of them at
2888 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2889 // shouldn't rely on the latter being called for all lines in the interval
2890 // specified here. It is also possible that OnGetLineHeight() will be
2891 // called for the lines outside of this interval, so this is really just a
2892 // hint, not a promise.
2894 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2896 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2899 // when the number of lines changes, we try to estimate the total height
2900 // of all lines which is a rather expensive operation in terms of lines
2901 // access, so if the user code may estimate the average height
2902 // better/faster than we do, it should override this function to implement
2905 // this function should return the best guess for the total height it may
2907 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2910 // Also expose some other interesting protected methods
2913 // find the index of the line we need to show at the top of the window such
2914 // that the last (fully or partially) visible line is the given one
2915 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2916 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2918 // get the total height of the lines between lineMin (inclusive) and
2919 // lineMax (exclusive)
2920 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2921 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2927 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2929 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2930 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2931 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2935 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2938 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2939 return SWIG_TypeError
;
2942 *val
= (unsigned long)v
;
2947 SWIGINTERNINLINE
int
2948 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2951 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2952 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2957 SWIGINTERNINLINE PyObject
*
2958 SWIG_From_unsigned_SS_long (unsigned long value
)
2960 return (value
> LONG_MAX
) ?
2961 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2965 SWIGINTERNINLINE PyObject
*
2966 SWIG_From_size_t (size_t value
)
2968 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2972 #include <wx/vlbox.h>
2974 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2976 class wxPyVListBox
: public wxVListBox
2978 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2980 wxPyVListBox() : wxVListBox() {}
2982 wxPyVListBox(wxWindow
*parent
,
2983 wxWindowID id
= wxID_ANY
,
2984 const wxPoint
& pos
= wxDefaultPosition
,
2985 const wxSize
& size
= wxDefaultSize
,
2987 const wxString
& name
= wxPyVListBoxNameStr
)
2988 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
2991 // Overridable virtuals
2993 // the derived class must implement this function to actually draw the item
2994 // with the given index on the provided DC
2995 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
2996 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
2999 // the derived class must implement this method to return the height of the
3001 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3002 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3005 // this method may be used to draw separators between the lines; note that
3006 // the rectangle may be modified, typically to deflate it a bit before
3007 // passing to OnDrawItem()
3009 // the base class version doesn't do anything
3010 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3011 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawSeparator
);
3014 // this method is used to draw the items background and, maybe, a border
3017 // the base class version implements a reasonable default behaviour which
3018 // consists in drawing the selected item with the standard background
3019 // colour and drawing a border around the item if it is either selected or
3021 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3022 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3028 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3030 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3031 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3032 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3033 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3036 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3037 unsigned long cookie
= 0;
3038 int selected
= self
->GetFirstSelected(cookie
);
3039 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3040 PyObject
* tup
= PyTuple_New(2);
3041 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3042 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3043 wxPyEndBlockThreads(blocked
);
3046 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3047 int selected
= self
->GetNextSelected(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
);
3056 #include <wx/htmllbox.h>
3059 class wxPyHtmlListBox
: public wxHtmlListBox
3061 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3063 wxPyHtmlListBox() : wxHtmlListBox() {}
3065 wxPyHtmlListBox(wxWindow
*parent
,
3066 wxWindowID id
= wxID_ANY
,
3067 const wxPoint
& pos
= wxDefaultPosition
,
3068 const wxSize
& size
= wxDefaultSize
,
3070 const wxString
& name
= wxPyVListBoxNameStr
)
3071 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3074 // Overridable virtuals
3076 // this method must be implemented in the derived class and should return
3077 // the body (i.e. without <html>) of the HTML for the given item
3078 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3080 // this function may be overridden to decorate HTML returned by OnGetItem()
3081 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3084 // // this method allows to customize the selection appearance: it may be used
3085 // // to specify the colour of the text which normally has the given colour
3086 // // colFg when it is inside the selection
3088 // // by default, the original colour is not used at all and all text has the
3089 // // same (default for this system) colour inside selection
3090 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3092 // // this is the same as GetSelectedTextColour() but allows to customize the
3093 // // background colour -- this is even more rarely used as you can change it
3094 // // globally using SetSelectionBackground()
3095 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3102 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3104 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3105 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3111 #ifndef wxHAS_TASK_BAR_ICON
3112 // implement dummy classes for platforms that don't have it
3114 class wxTaskBarIcon
: public wxEvtHandler
3117 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3121 class wxTaskBarIconEvent
: public wxEvent
3124 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3125 { wxPyRaiseNotImplemented(); }
3126 virtual wxEvent
* Clone() const { return NULL
; }
3127 bool IsOk() const { return false; }
3128 bool IsIconInstalled() const { return false; }
3129 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3130 bool RemoveIcon() { return false; }
3131 bool PopupMenu(wxMenu
*menu
) { return false; }
3135 wxEVT_TASKBAR_MOVE
= 0,
3136 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3137 wxEVT_TASKBAR_LEFT_UP
= 0,
3138 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3139 wxEVT_TASKBAR_RIGHT_UP
= 0,
3140 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3141 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3146 // Otherwise make a class that can virtualize CreatePopupMenu
3147 class wxPyTaskBarIcon
: public wxTaskBarIcon
3149 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3151 wxPyTaskBarIcon() : wxTaskBarIcon()
3154 wxMenu
* CreatePopupMenu() {
3155 wxMenu
*rval
= NULL
;
3157 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3158 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3161 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3163 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3168 wxPyEndBlockThreads(blocked
);
3170 rval
= wxTaskBarIcon::CreatePopupMenu();
3177 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3181 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3185 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3186 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3187 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3188 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3189 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3190 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3191 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3193 self
->GetFilenames(arr
);
3194 return wxArrayString2PyList_helper(arr
);
3196 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3198 self
->GetPaths(arr
);
3199 return wxArrayString2PyList_helper(arr
);
3201 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3202 return wxArrayInt2PyList_helper(self
->GetSelections());
3204 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
){
3205 return new wxSingleChoiceDialog(parent
, message
, caption
,
3206 choices
, choices_array
, NULL
, style
, pos
);
3208 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3212 // C++ version of Python aware wxWindow
3213 class wxPyWindow
: public wxWindow
3215 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3217 wxPyWindow() : wxWindow() {}
3218 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3219 const wxPoint
& pos
= wxDefaultPosition
,
3220 const wxSize
& size
= wxDefaultSize
,
3222 const wxString
& name
= wxPyPanelNameStr
)
3223 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3225 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3227 bool DoEraseBackground(wxDC
* dc
) {
3229 return wxWindow::DoEraseBackground(dc
->GetHDC());
3231 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3237 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3238 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3239 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3240 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3242 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3243 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3244 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3246 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3247 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3249 DEC_PYCALLBACK__(InitDialog
);
3250 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3251 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3252 DEC_PYCALLBACK_BOOL_(Validate
);
3254 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3255 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3256 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3258 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3259 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3261 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3262 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3264 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3266 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3271 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3273 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3274 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3275 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3276 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3278 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3279 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3280 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3282 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3283 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3285 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3286 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3287 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3288 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3290 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3291 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3292 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3294 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3295 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3297 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3298 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3300 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3302 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3304 // C++ version of Python aware wxPanel
3305 class wxPyPanel
: public wxPanel
3307 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3309 wxPyPanel() : wxPanel() {}
3310 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3311 const wxPoint
& pos
= wxDefaultPosition
,
3312 const wxSize
& size
= wxDefaultSize
,
3314 const wxString
& name
= wxPyPanelNameStr
)
3315 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3317 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3318 bool DoEraseBackground(wxDC
* dc
) {
3320 return wxWindow::DoEraseBackground(dc
->GetHDC());
3322 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3329 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3330 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3331 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3332 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3334 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3335 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3336 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3338 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3339 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3341 DEC_PYCALLBACK__(InitDialog
);
3342 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3343 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3344 DEC_PYCALLBACK_BOOL_(Validate
);
3346 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3347 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3348 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3350 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3351 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3353 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3354 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3356 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3358 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3363 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3365 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3366 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3367 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3368 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3370 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3371 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3372 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3374 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3375 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3377 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3378 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3379 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3380 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3382 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3383 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3384 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3386 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3387 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3389 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3390 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3392 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3394 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3396 // C++ version of Python aware wxScrolledWindow
3397 class wxPyScrolledWindow
: public wxScrolledWindow
3399 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3401 wxPyScrolledWindow() : wxScrolledWindow() {}
3402 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3403 const wxPoint
& pos
= wxDefaultPosition
,
3404 const wxSize
& size
= wxDefaultSize
,
3406 const wxString
& name
= wxPyPanelNameStr
)
3407 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3409 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3410 bool DoEraseBackground(wxDC
* dc
) {
3412 return wxWindow::DoEraseBackground(dc
->GetHDC());
3414 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3420 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3421 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3422 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3423 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3425 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3426 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3427 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3429 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3430 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3432 DEC_PYCALLBACK__(InitDialog
);
3433 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3434 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3435 DEC_PYCALLBACK_BOOL_(Validate
);
3437 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3438 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3439 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3441 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3442 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3444 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3445 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3447 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3449 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3454 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3456 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3457 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3458 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3459 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3461 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3462 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3463 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3465 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3466 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3468 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3469 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3470 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3471 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3473 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3474 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3475 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3477 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3478 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3480 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3481 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3483 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3485 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3488 #include "wx/wxPython/printfw.h"
3491 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3492 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3493 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3495 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3496 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3497 self
->GetPrivDataLen());
3498 wxPyEndBlockThreads(blocked
);
3501 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3502 if (! PyString_Check(data
)) {
3503 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3504 "Expected string object"));
3508 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3509 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3510 wxPyEndBlockThreads(blocked
);
3514 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3516 // Since this one would be tough and ugly to do with the Macros...
3517 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3518 bool hadErr
= false;
3521 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3522 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3523 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3524 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3527 val
= PyTuple_GetItem(result
, 0);
3528 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3531 val
= PyTuple_GetItem(result
, 1);
3532 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3535 val
= PyTuple_GetItem(result
, 2);
3536 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3539 val
= PyTuple_GetItem(result
, 3);
3540 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3547 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3552 wxPyEndBlockThreads(blocked
);
3554 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3559 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3560 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3561 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3562 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3563 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3564 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3565 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3571 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3572 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3575 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3576 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3579 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3580 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3581 PyObject* win = wxPyMake_wxObject(a,false); \
3582 PyObject* dc = wxPyMake_wxObject(&b,false); \
3583 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3587 wxPyEndBlockThreads(blocked); \
3589 rval = PCLASS::CBNAME(a, b); \
3596 class wxPyPrintPreview
: public wxPrintPreview
3598 DECLARE_CLASS(wxPyPrintPreview
)
3600 wxPyPrintPreview(wxPyPrintout
* printout
,
3601 wxPyPrintout
* printoutForPrinting
,
3602 wxPrintDialogData
* data
=NULL
)
3603 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3605 wxPyPrintPreview(wxPyPrintout
* printout
,
3606 wxPyPrintout
* printoutForPrinting
,
3608 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3611 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3612 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3613 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3614 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3615 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3616 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3617 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3622 // Stupid renamed classes... Fix this in 2.5...
3623 #if defined(__WXMSW__)
3624 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3625 #elif defined(__WXMAC__)
3626 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3628 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3631 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3632 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3633 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3634 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3635 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3636 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3637 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3640 class wxPyPreviewFrame
: public wxPreviewFrame
3642 DECLARE_CLASS(wxPyPreviewFrame
)
3644 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3645 const wxString
& title
,
3646 const wxPoint
& pos
= wxDefaultPosition
,
3647 const wxSize
& size
= wxDefaultSize
,
3648 long style
= wxDEFAULT_FRAME_STYLE
,
3649 const wxString
& name
= wxPyFrameNameStr
)
3650 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3653 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3654 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3656 DEC_PYCALLBACK_VOID_(Initialize
);
3657 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3658 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3663 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3665 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3666 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3667 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3670 class wxPyPreviewControlBar
: public wxPreviewControlBar
3672 DECLARE_CLASS(wxPyPreviewControlBar
)
3674 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3677 const wxPoint
& pos
= wxDefaultPosition
,
3678 const wxSize
& size
= wxDefaultSize
,
3680 const wxString
& name
= wxPyPanelNameStr
)
3681 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3684 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3686 DEC_PYCALLBACK_VOID_(CreateButtons
);
3687 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3692 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3693 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3694 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3699 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3700 PyObject
*resultobj
= 0;
3701 wxWindow
*arg1
= (wxWindow
*) 0 ;
3702 int arg2
= (int) (int)-1 ;
3703 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3704 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3705 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3706 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3707 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3708 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3709 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3710 wxPanel
*result
= 0 ;
3719 bool temp6
= false ;
3720 PyObject
* obj0
= 0 ;
3721 PyObject
* obj1
= 0 ;
3722 PyObject
* obj2
= 0 ;
3723 PyObject
* obj3
= 0 ;
3724 PyObject
* obj4
= 0 ;
3725 PyObject
* obj5
= 0 ;
3726 char * kwnames
[] = {
3727 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3730 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3731 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3732 if (!SWIG_IsOK(res1
)) {
3733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3735 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3737 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3738 if (!SWIG_IsOK(ecode2
)) {
3739 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3741 arg2
= static_cast< int >(val2
);
3746 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3752 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3756 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3757 if (!SWIG_IsOK(ecode5
)) {
3758 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3760 arg5
= static_cast< long >(val5
);
3764 arg6
= wxString_in_helper(obj5
);
3765 if (arg6
== NULL
) SWIG_fail
;
3770 if (!wxPyCheckForApp()) SWIG_fail
;
3771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3772 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3773 wxPyEndAllowThreads(__tstate
);
3774 if (PyErr_Occurred()) SWIG_fail
;
3776 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3791 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3792 PyObject
*resultobj
= 0;
3793 wxPanel
*result
= 0 ;
3795 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3797 if (!wxPyCheckForApp()) SWIG_fail
;
3798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3799 result
= (wxPanel
*)new wxPanel();
3800 wxPyEndAllowThreads(__tstate
);
3801 if (PyErr_Occurred()) SWIG_fail
;
3803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3810 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3811 PyObject
*resultobj
= 0;
3812 wxPanel
*arg1
= (wxPanel
*) 0 ;
3813 wxWindow
*arg2
= (wxWindow
*) 0 ;
3814 int arg3
= (int) (int)-1 ;
3815 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3816 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3817 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3818 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3819 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3820 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3821 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3833 bool temp7
= false ;
3834 PyObject
* obj0
= 0 ;
3835 PyObject
* obj1
= 0 ;
3836 PyObject
* obj2
= 0 ;
3837 PyObject
* obj3
= 0 ;
3838 PyObject
* obj4
= 0 ;
3839 PyObject
* obj5
= 0 ;
3840 PyObject
* obj6
= 0 ;
3841 char * kwnames
[] = {
3842 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3845 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3846 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3847 if (!SWIG_IsOK(res1
)) {
3848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3850 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3851 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3852 if (!SWIG_IsOK(res2
)) {
3853 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3855 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3857 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3858 if (!SWIG_IsOK(ecode3
)) {
3859 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3861 arg3
= static_cast< int >(val3
);
3866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3876 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3877 if (!SWIG_IsOK(ecode6
)) {
3878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3880 arg6
= static_cast< long >(val6
);
3884 arg7
= wxString_in_helper(obj6
);
3885 if (arg7
== NULL
) SWIG_fail
;
3890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3891 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3892 wxPyEndAllowThreads(__tstate
);
3893 if (PyErr_Occurred()) SWIG_fail
;
3896 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3912 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3913 PyObject
*resultobj
= 0;
3914 wxPanel
*arg1
= (wxPanel
*) 0 ;
3917 PyObject
*swig_obj
[1] ;
3919 if (!args
) SWIG_fail
;
3921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3922 if (!SWIG_IsOK(res1
)) {
3923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3925 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3928 (arg1
)->SetFocusIgnoringChildren();
3929 wxPyEndAllowThreads(__tstate
);
3930 if (PyErr_Occurred()) SWIG_fail
;
3932 resultobj
= SWIG_Py_Void();
3939 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3940 PyObject
*resultobj
= 0;
3941 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3942 SwigValueWrapper
<wxVisualAttributes
> result
;
3945 PyObject
* obj0
= 0 ;
3946 char * kwnames
[] = {
3947 (char *) "variant", NULL
3950 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
3952 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
3953 if (!SWIG_IsOK(ecode1
)) {
3954 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
3956 arg1
= static_cast< wxWindowVariant
>(val1
);
3959 if (!wxPyCheckForApp()) SWIG_fail
;
3960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3961 result
= wxPanel::GetClassDefaultAttributes(arg1
);
3962 wxPyEndAllowThreads(__tstate
);
3963 if (PyErr_Occurred()) SWIG_fail
;
3965 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
3972 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
3975 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
3976 return SWIG_Py_Void();
3979 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3980 return SWIG_Python_InitShadowInstance(args
);
3983 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3984 PyObject
*resultobj
= 0;
3985 wxWindow
*arg1
= (wxWindow
*) 0 ;
3986 int arg2
= (int) (int)-1 ;
3987 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3988 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3989 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3990 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3991 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
3992 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3993 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3994 wxScrolledWindow
*result
= 0 ;
4003 bool temp6
= false ;
4004 PyObject
* obj0
= 0 ;
4005 PyObject
* obj1
= 0 ;
4006 PyObject
* obj2
= 0 ;
4007 PyObject
* obj3
= 0 ;
4008 PyObject
* obj4
= 0 ;
4009 PyObject
* obj5
= 0 ;
4010 char * kwnames
[] = {
4011 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4016 if (!SWIG_IsOK(res1
)) {
4017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4019 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4022 if (!SWIG_IsOK(ecode2
)) {
4023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4025 arg2
= static_cast< int >(val2
);
4030 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4036 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4040 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4041 if (!SWIG_IsOK(ecode5
)) {
4042 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4044 arg5
= static_cast< long >(val5
);
4048 arg6
= wxString_in_helper(obj5
);
4049 if (arg6
== NULL
) SWIG_fail
;
4054 if (!wxPyCheckForApp()) SWIG_fail
;
4055 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4056 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4057 wxPyEndAllowThreads(__tstate
);
4058 if (PyErr_Occurred()) SWIG_fail
;
4060 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4075 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4076 PyObject
*resultobj
= 0;
4077 wxScrolledWindow
*result
= 0 ;
4079 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4081 if (!wxPyCheckForApp()) SWIG_fail
;
4082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4083 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4084 wxPyEndAllowThreads(__tstate
);
4085 if (PyErr_Occurred()) SWIG_fail
;
4087 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4094 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4095 PyObject
*resultobj
= 0;
4096 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4097 wxWindow
*arg2
= (wxWindow
*) 0 ;
4098 int arg3
= (int) (int)-1 ;
4099 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4100 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4101 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4102 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4103 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4104 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4105 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4117 bool temp7
= false ;
4118 PyObject
* obj0
= 0 ;
4119 PyObject
* obj1
= 0 ;
4120 PyObject
* obj2
= 0 ;
4121 PyObject
* obj3
= 0 ;
4122 PyObject
* obj4
= 0 ;
4123 PyObject
* obj5
= 0 ;
4124 PyObject
* obj6
= 0 ;
4125 char * kwnames
[] = {
4126 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4131 if (!SWIG_IsOK(res1
)) {
4132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4134 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4135 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4136 if (!SWIG_IsOK(res2
)) {
4137 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4139 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4141 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4142 if (!SWIG_IsOK(ecode3
)) {
4143 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4145 arg3
= static_cast< int >(val3
);
4150 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4156 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4160 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4161 if (!SWIG_IsOK(ecode6
)) {
4162 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4164 arg6
= static_cast< long >(val6
);
4168 arg7
= wxString_in_helper(obj6
);
4169 if (arg7
== NULL
) SWIG_fail
;
4174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4175 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4176 wxPyEndAllowThreads(__tstate
);
4177 if (PyErr_Occurred()) SWIG_fail
;
4180 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4197 PyObject
*resultobj
= 0;
4198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4203 int arg6
= (int) 0 ;
4204 int arg7
= (int) 0 ;
4205 bool arg8
= (bool) false ;
4222 PyObject
* obj0
= 0 ;
4223 PyObject
* obj1
= 0 ;
4224 PyObject
* obj2
= 0 ;
4225 PyObject
* obj3
= 0 ;
4226 PyObject
* obj4
= 0 ;
4227 PyObject
* obj5
= 0 ;
4228 PyObject
* obj6
= 0 ;
4229 PyObject
* obj7
= 0 ;
4230 char * kwnames
[] = {
4231 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4236 if (!SWIG_IsOK(res1
)) {
4237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4239 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4241 if (!SWIG_IsOK(ecode2
)) {
4242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4244 arg2
= static_cast< int >(val2
);
4245 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4246 if (!SWIG_IsOK(ecode3
)) {
4247 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4249 arg3
= static_cast< int >(val3
);
4250 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4251 if (!SWIG_IsOK(ecode4
)) {
4252 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4254 arg4
= static_cast< int >(val4
);
4255 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4256 if (!SWIG_IsOK(ecode5
)) {
4257 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4259 arg5
= static_cast< int >(val5
);
4261 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4262 if (!SWIG_IsOK(ecode6
)) {
4263 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4265 arg6
= static_cast< int >(val6
);
4268 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4269 if (!SWIG_IsOK(ecode7
)) {
4270 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4272 arg7
= static_cast< int >(val7
);
4275 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4276 if (!SWIG_IsOK(ecode8
)) {
4277 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4279 arg8
= static_cast< bool >(val8
);
4282 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4283 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4284 wxPyEndAllowThreads(__tstate
);
4285 if (PyErr_Occurred()) SWIG_fail
;
4287 resultobj
= SWIG_Py_Void();
4294 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4295 PyObject
*resultobj
= 0;
4296 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4305 PyObject
* obj0
= 0 ;
4306 PyObject
* obj1
= 0 ;
4307 PyObject
* obj2
= 0 ;
4308 char * kwnames
[] = {
4309 (char *) "self",(char *) "x",(char *) "y", NULL
4312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4314 if (!SWIG_IsOK(res1
)) {
4315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4317 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4319 if (!SWIG_IsOK(ecode2
)) {
4320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4322 arg2
= static_cast< int >(val2
);
4323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4324 if (!SWIG_IsOK(ecode3
)) {
4325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4327 arg3
= static_cast< int >(val3
);
4329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4330 (arg1
)->Scroll(arg2
,arg3
);
4331 wxPyEndAllowThreads(__tstate
);
4332 if (PyErr_Occurred()) SWIG_fail
;
4334 resultobj
= SWIG_Py_Void();
4341 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4342 PyObject
*resultobj
= 0;
4343 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4350 PyObject
* obj0
= 0 ;
4351 PyObject
* obj1
= 0 ;
4352 char * kwnames
[] = {
4353 (char *) "self",(char *) "orient", NULL
4356 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4357 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4358 if (!SWIG_IsOK(res1
)) {
4359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4361 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4362 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4363 if (!SWIG_IsOK(ecode2
)) {
4364 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4366 arg2
= static_cast< int >(val2
);
4368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4369 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4370 wxPyEndAllowThreads(__tstate
);
4371 if (PyErr_Occurred()) SWIG_fail
;
4373 resultobj
= SWIG_From_int(static_cast< int >(result
));
4380 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4381 PyObject
*resultobj
= 0;
4382 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4391 PyObject
* obj0
= 0 ;
4392 PyObject
* obj1
= 0 ;
4393 PyObject
* obj2
= 0 ;
4394 char * kwnames
[] = {
4395 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) 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_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
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_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4408 arg2
= static_cast< int >(val2
);
4409 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4410 if (!SWIG_IsOK(ecode3
)) {
4411 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4413 arg3
= static_cast< int >(val3
);
4415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4416 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4417 wxPyEndAllowThreads(__tstate
);
4418 if (PyErr_Occurred()) SWIG_fail
;
4420 resultobj
= SWIG_Py_Void();
4427 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4428 PyObject
*resultobj
= 0;
4429 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4438 PyObject
* obj0
= 0 ;
4439 PyObject
* obj1
= 0 ;
4440 PyObject
* obj2
= 0 ;
4441 char * kwnames
[] = {
4442 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4447 if (!SWIG_IsOK(res1
)) {
4448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4450 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4451 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4452 if (!SWIG_IsOK(ecode2
)) {
4453 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4455 arg2
= static_cast< int >(val2
);
4456 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4457 if (!SWIG_IsOK(ecode3
)) {
4458 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4460 arg3
= static_cast< int >(val3
);
4462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4463 (arg1
)->SetScrollRate(arg2
,arg3
);
4464 wxPyEndAllowThreads(__tstate
);
4465 if (PyErr_Occurred()) SWIG_fail
;
4467 resultobj
= SWIG_Py_Void();
4474 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4475 PyObject
*resultobj
= 0;
4476 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4477 int *arg2
= (int *) 0 ;
4478 int *arg3
= (int *) 0 ;
4482 int res2
= SWIG_TMPOBJ
;
4484 int res3
= SWIG_TMPOBJ
;
4485 PyObject
*swig_obj
[1] ;
4489 if (!args
) SWIG_fail
;
4491 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4492 if (!SWIG_IsOK(res1
)) {
4493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4495 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4497 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4498 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4499 wxPyEndAllowThreads(__tstate
);
4500 if (PyErr_Occurred()) SWIG_fail
;
4502 resultobj
= SWIG_Py_Void();
4503 if (SWIG_IsTmpObj(res2
)) {
4504 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4506 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4507 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4509 if (SWIG_IsTmpObj(res3
)) {
4510 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4512 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4513 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4521 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4522 PyObject
*resultobj
= 0;
4523 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4532 PyObject
* obj0
= 0 ;
4533 PyObject
* obj1
= 0 ;
4534 PyObject
* obj2
= 0 ;
4535 char * kwnames
[] = {
4536 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4539 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4540 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4541 if (!SWIG_IsOK(res1
)) {
4542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4544 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4545 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4546 if (!SWIG_IsOK(ecode2
)) {
4547 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4549 arg2
= static_cast< bool >(val2
);
4550 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4551 if (!SWIG_IsOK(ecode3
)) {
4552 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4554 arg3
= static_cast< bool >(val3
);
4556 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4557 (arg1
)->EnableScrolling(arg2
,arg3
);
4558 wxPyEndAllowThreads(__tstate
);
4559 if (PyErr_Occurred()) SWIG_fail
;
4561 resultobj
= SWIG_Py_Void();
4568 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4569 PyObject
*resultobj
= 0;
4570 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4571 int *arg2
= (int *) 0 ;
4572 int *arg3
= (int *) 0 ;
4576 int res2
= SWIG_TMPOBJ
;
4578 int res3
= SWIG_TMPOBJ
;
4579 PyObject
*swig_obj
[1] ;
4583 if (!args
) SWIG_fail
;
4585 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4586 if (!SWIG_IsOK(res1
)) {
4587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4589 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4592 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4593 wxPyEndAllowThreads(__tstate
);
4594 if (PyErr_Occurred()) SWIG_fail
;
4596 resultobj
= SWIG_Py_Void();
4597 if (SWIG_IsTmpObj(res2
)) {
4598 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4600 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4601 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4603 if (SWIG_IsTmpObj(res3
)) {
4604 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4606 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4607 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4615 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4616 PyObject
*resultobj
= 0;
4617 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4626 PyObject
* obj0
= 0 ;
4627 PyObject
* obj1
= 0 ;
4628 PyObject
* obj2
= 0 ;
4629 char * kwnames
[] = {
4630 (char *) "self",(char *) "xs",(char *) "ys", NULL
4633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4635 if (!SWIG_IsOK(res1
)) {
4636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4638 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4639 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4640 if (!SWIG_IsOK(ecode2
)) {
4641 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4643 arg2
= static_cast< double >(val2
);
4644 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4645 if (!SWIG_IsOK(ecode3
)) {
4646 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4648 arg3
= static_cast< double >(val3
);
4650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4651 (arg1
)->SetScale(arg2
,arg3
);
4652 wxPyEndAllowThreads(__tstate
);
4653 if (PyErr_Occurred()) SWIG_fail
;
4655 resultobj
= SWIG_Py_Void();
4662 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4663 PyObject
*resultobj
= 0;
4664 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4668 PyObject
*swig_obj
[1] ;
4670 if (!args
) SWIG_fail
;
4672 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4673 if (!SWIG_IsOK(res1
)) {
4674 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4676 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4678 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4679 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4680 wxPyEndAllowThreads(__tstate
);
4681 if (PyErr_Occurred()) SWIG_fail
;
4683 resultobj
= SWIG_From_double(static_cast< double >(result
));
4690 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4691 PyObject
*resultobj
= 0;
4692 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4696 PyObject
*swig_obj
[1] ;
4698 if (!args
) SWIG_fail
;
4700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4701 if (!SWIG_IsOK(res1
)) {
4702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4704 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4707 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4708 wxPyEndAllowThreads(__tstate
);
4709 if (PyErr_Occurred()) SWIG_fail
;
4711 resultobj
= SWIG_From_double(static_cast< double >(result
));
4718 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4719 PyObject
*resultobj
= 0;
4720 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4727 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4729 if (!SWIG_IsOK(res1
)) {
4730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4732 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4735 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4739 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4740 wxPyEndAllowThreads(__tstate
);
4741 if (PyErr_Occurred()) SWIG_fail
;
4743 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4750 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4751 PyObject
*resultobj
= 0;
4752 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4755 int *arg4
= (int *) 0 ;
4756 int *arg5
= (int *) 0 ;
4764 int res4
= SWIG_TMPOBJ
;
4766 int res5
= SWIG_TMPOBJ
;
4770 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4772 if (!SWIG_IsOK(res1
)) {
4773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4775 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4776 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4777 if (!SWIG_IsOK(ecode2
)) {
4778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4780 arg2
= static_cast< int >(val2
);
4781 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4782 if (!SWIG_IsOK(ecode3
)) {
4783 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4785 arg3
= static_cast< int >(val3
);
4787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4788 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4789 wxPyEndAllowThreads(__tstate
);
4790 if (PyErr_Occurred()) SWIG_fail
;
4792 resultobj
= SWIG_Py_Void();
4793 if (SWIG_IsTmpObj(res4
)) {
4794 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4796 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4797 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4799 if (SWIG_IsTmpObj(res5
)) {
4800 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4802 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4803 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4811 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4815 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4818 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4821 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4825 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4830 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4831 PyObject
*resultobj
= 0;
4832 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4839 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4841 if (!SWIG_IsOK(res1
)) {
4842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4844 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4847 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4851 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4852 wxPyEndAllowThreads(__tstate
);
4853 if (PyErr_Occurred()) SWIG_fail
;
4855 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4862 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4863 PyObject
*resultobj
= 0;
4864 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4867 int *arg4
= (int *) 0 ;
4868 int *arg5
= (int *) 0 ;
4876 int res4
= SWIG_TMPOBJ
;
4878 int res5
= SWIG_TMPOBJ
;
4882 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4883 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4884 if (!SWIG_IsOK(res1
)) {
4885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4887 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4888 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4889 if (!SWIG_IsOK(ecode2
)) {
4890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4892 arg2
= static_cast< int >(val2
);
4893 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4894 if (!SWIG_IsOK(ecode3
)) {
4895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4897 arg3
= static_cast< int >(val3
);
4899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4900 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4901 wxPyEndAllowThreads(__tstate
);
4902 if (PyErr_Occurred()) SWIG_fail
;
4904 resultobj
= SWIG_Py_Void();
4905 if (SWIG_IsTmpObj(res4
)) {
4906 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4908 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4909 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4911 if (SWIG_IsTmpObj(res5
)) {
4912 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4914 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4915 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4923 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4927 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4930 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4933 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4937 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4942 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4943 PyObject
*resultobj
= 0;
4944 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4947 PyObject
*swig_obj
[1] ;
4949 if (!args
) SWIG_fail
;
4951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4952 if (!SWIG_IsOK(res1
)) {
4953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4955 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4958 (arg1
)->AdjustScrollbars();
4959 wxPyEndAllowThreads(__tstate
);
4960 if (PyErr_Occurred()) SWIG_fail
;
4962 resultobj
= SWIG_Py_Void();
4969 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4970 PyObject
*resultobj
= 0;
4971 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4972 wxScrollWinEvent
*arg2
= 0 ;
4978 PyObject
* obj0
= 0 ;
4979 PyObject
* obj1
= 0 ;
4980 char * kwnames
[] = {
4981 (char *) "self",(char *) "event", NULL
4984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4986 if (!SWIG_IsOK(res1
)) {
4987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4989 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4990 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
4991 if (!SWIG_IsOK(res2
)) {
4992 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4995 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
4997 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
4999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5000 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5001 wxPyEndAllowThreads(__tstate
);
5002 if (PyErr_Occurred()) SWIG_fail
;
5004 resultobj
= SWIG_From_int(static_cast< int >(result
));
5011 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5012 PyObject
*resultobj
= 0;
5013 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5014 wxWindow
*arg2
= (wxWindow
*) 0 ;
5019 PyObject
* obj0
= 0 ;
5020 PyObject
* obj1
= 0 ;
5021 char * kwnames
[] = {
5022 (char *) "self",(char *) "target", NULL
5025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5027 if (!SWIG_IsOK(res1
)) {
5028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5030 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5031 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5032 if (!SWIG_IsOK(res2
)) {
5033 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5035 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5038 (arg1
)->SetTargetWindow(arg2
);
5039 wxPyEndAllowThreads(__tstate
);
5040 if (PyErr_Occurred()) SWIG_fail
;
5042 resultobj
= SWIG_Py_Void();
5049 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5050 PyObject
*resultobj
= 0;
5051 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5052 wxWindow
*result
= 0 ;
5055 PyObject
*swig_obj
[1] ;
5057 if (!args
) SWIG_fail
;
5059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5060 if (!SWIG_IsOK(res1
)) {
5061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5063 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5066 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5067 wxPyEndAllowThreads(__tstate
);
5068 if (PyErr_Occurred()) SWIG_fail
;
5071 resultobj
= wxPyMake_wxObject(result
, 0);
5079 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5080 PyObject
*resultobj
= 0;
5081 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5086 PyObject
* obj0
= 0 ;
5087 PyObject
* obj1
= 0 ;
5088 char * kwnames
[] = {
5089 (char *) "self",(char *) "rect", NULL
5092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5093 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5094 if (!SWIG_IsOK(res1
)) {
5095 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5097 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5100 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5104 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5105 wxPyEndAllowThreads(__tstate
);
5106 if (PyErr_Occurred()) SWIG_fail
;
5108 resultobj
= SWIG_Py_Void();
5115 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5116 PyObject
*resultobj
= 0;
5117 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5121 PyObject
*swig_obj
[1] ;
5123 if (!args
) SWIG_fail
;
5125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5126 if (!SWIG_IsOK(res1
)) {
5127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5129 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5132 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5133 wxPyEndAllowThreads(__tstate
);
5134 if (PyErr_Occurred()) SWIG_fail
;
5136 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5143 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5144 PyObject
*resultobj
= 0;
5145 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5151 PyObject
* obj0
= 0 ;
5152 PyObject
* obj1
= 0 ;
5153 char * kwnames
[] = {
5154 (char *) "self",(char *) "dc", NULL
5157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5159 if (!SWIG_IsOK(res1
)) {
5160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5162 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5163 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5164 if (!SWIG_IsOK(res2
)) {
5165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5168 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5170 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5173 (arg1
)->DoPrepareDC(*arg2
);
5174 wxPyEndAllowThreads(__tstate
);
5175 if (PyErr_Occurred()) SWIG_fail
;
5177 resultobj
= SWIG_Py_Void();
5184 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5185 PyObject
*resultobj
= 0;
5186 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5187 SwigValueWrapper
<wxVisualAttributes
> result
;
5190 PyObject
* obj0
= 0 ;
5191 char * kwnames
[] = {
5192 (char *) "variant", NULL
5195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5197 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5198 if (!SWIG_IsOK(ecode1
)) {
5199 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5201 arg1
= static_cast< wxWindowVariant
>(val1
);
5204 if (!wxPyCheckForApp()) SWIG_fail
;
5205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5206 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5207 wxPyEndAllowThreads(__tstate
);
5208 if (PyErr_Occurred()) SWIG_fail
;
5210 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5217 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5219 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5220 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5221 return SWIG_Py_Void();
5224 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5225 return SWIG_Python_InitShadowInstance(args
);
5228 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5229 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5234 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5235 PyObject
*pyobj
= 0;
5239 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5241 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5248 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5249 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5254 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5255 PyObject
*pyobj
= 0;
5259 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5261 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5268 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5269 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5274 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5275 PyObject
*pyobj
= 0;
5279 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5281 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5288 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5289 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5294 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5295 PyObject
*pyobj
= 0;
5299 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5301 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5308 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5309 PyObject
*resultobj
= 0;
5310 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5311 bool arg2
= (bool) true ;
5316 PyObject
* obj0
= 0 ;
5317 PyObject
* obj1
= 0 ;
5318 char * kwnames
[] = {
5319 (char *) "self",(char *) "maximize", NULL
5322 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5323 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5324 if (!SWIG_IsOK(res1
)) {
5325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5327 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5329 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5330 if (!SWIG_IsOK(ecode2
)) {
5331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5333 arg2
= static_cast< bool >(val2
);
5336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5337 (arg1
)->Maximize(arg2
);
5338 wxPyEndAllowThreads(__tstate
);
5339 if (PyErr_Occurred()) SWIG_fail
;
5341 resultobj
= SWIG_Py_Void();
5348 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5349 PyObject
*resultobj
= 0;
5350 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5353 PyObject
*swig_obj
[1] ;
5355 if (!args
) SWIG_fail
;
5357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5358 if (!SWIG_IsOK(res1
)) {
5359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5361 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5365 wxPyEndAllowThreads(__tstate
);
5366 if (PyErr_Occurred()) SWIG_fail
;
5368 resultobj
= SWIG_Py_Void();
5375 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5376 PyObject
*resultobj
= 0;
5377 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5378 bool arg2
= (bool) true ;
5383 PyObject
* obj0
= 0 ;
5384 PyObject
* obj1
= 0 ;
5385 char * kwnames
[] = {
5386 (char *) "self",(char *) "iconize", NULL
5389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5391 if (!SWIG_IsOK(res1
)) {
5392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5394 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5396 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5397 if (!SWIG_IsOK(ecode2
)) {
5398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5400 arg2
= static_cast< bool >(val2
);
5403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5404 (arg1
)->Iconize(arg2
);
5405 wxPyEndAllowThreads(__tstate
);
5406 if (PyErr_Occurred()) SWIG_fail
;
5408 resultobj
= SWIG_Py_Void();
5415 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5416 PyObject
*resultobj
= 0;
5417 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5421 PyObject
*swig_obj
[1] ;
5423 if (!args
) SWIG_fail
;
5425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5426 if (!SWIG_IsOK(res1
)) {
5427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5429 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5432 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5433 wxPyEndAllowThreads(__tstate
);
5434 if (PyErr_Occurred()) SWIG_fail
;
5437 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5445 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5446 PyObject
*resultobj
= 0;
5447 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5451 PyObject
*swig_obj
[1] ;
5453 if (!args
) SWIG_fail
;
5455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5456 if (!SWIG_IsOK(res1
)) {
5457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5459 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5462 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5463 wxPyEndAllowThreads(__tstate
);
5464 if (PyErr_Occurred()) SWIG_fail
;
5467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5475 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5476 PyObject
*resultobj
= 0;
5477 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5481 PyObject
*swig_obj
[1] ;
5483 if (!args
) SWIG_fail
;
5485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5486 if (!SWIG_IsOK(res1
)) {
5487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5489 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5492 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5493 wxPyEndAllowThreads(__tstate
);
5494 if (PyErr_Occurred()) SWIG_fail
;
5496 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5503 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5504 PyObject
*resultobj
= 0;
5505 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5511 PyObject
* obj0
= 0 ;
5512 PyObject
* obj1
= 0 ;
5513 char * kwnames
[] = {
5514 (char *) "self",(char *) "icon", NULL
5517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5519 if (!SWIG_IsOK(res1
)) {
5520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5522 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5523 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5524 if (!SWIG_IsOK(res2
)) {
5525 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5530 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5533 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5534 wxPyEndAllowThreads(__tstate
);
5535 if (PyErr_Occurred()) SWIG_fail
;
5537 resultobj
= SWIG_Py_Void();
5544 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5545 PyObject
*resultobj
= 0;
5546 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5547 wxIconBundle
*arg2
= 0 ;
5552 PyObject
* obj0
= 0 ;
5553 PyObject
* obj1
= 0 ;
5554 char * kwnames
[] = {
5555 (char *) "self",(char *) "icons", NULL
5558 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5559 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5560 if (!SWIG_IsOK(res1
)) {
5561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5563 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5564 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5565 if (!SWIG_IsOK(res2
)) {
5566 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5569 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5571 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5574 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5575 wxPyEndAllowThreads(__tstate
);
5576 if (PyErr_Occurred()) SWIG_fail
;
5578 resultobj
= SWIG_Py_Void();
5585 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5586 PyObject
*resultobj
= 0;
5587 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5589 long arg3
= (long) wxFULLSCREEN_ALL
;
5597 PyObject
* obj0
= 0 ;
5598 PyObject
* obj1
= 0 ;
5599 PyObject
* obj2
= 0 ;
5600 char * kwnames
[] = {
5601 (char *) "self",(char *) "show",(char *) "style", NULL
5604 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5605 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5606 if (!SWIG_IsOK(res1
)) {
5607 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5609 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5610 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5611 if (!SWIG_IsOK(ecode2
)) {
5612 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5614 arg2
= static_cast< bool >(val2
);
5616 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5617 if (!SWIG_IsOK(ecode3
)) {
5618 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5620 arg3
= static_cast< long >(val3
);
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5629 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5637 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5638 PyObject
*resultobj
= 0;
5639 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5643 PyObject
*swig_obj
[1] ;
5645 if (!args
) SWIG_fail
;
5647 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5648 if (!SWIG_IsOK(res1
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5651 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5654 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5655 wxPyEndAllowThreads(__tstate
);
5656 if (PyErr_Occurred()) SWIG_fail
;
5659 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5667 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5668 PyObject
*resultobj
= 0;
5669 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5670 wxString
*arg2
= 0 ;
5673 bool temp2
= false ;
5674 PyObject
* obj0
= 0 ;
5675 PyObject
* obj1
= 0 ;
5676 char * kwnames
[] = {
5677 (char *) "self",(char *) "title", NULL
5680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5682 if (!SWIG_IsOK(res1
)) {
5683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5685 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5687 arg2
= wxString_in_helper(obj1
);
5688 if (arg2
== NULL
) SWIG_fail
;
5692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5693 (arg1
)->SetTitle((wxString
const &)*arg2
);
5694 wxPyEndAllowThreads(__tstate
);
5695 if (PyErr_Occurred()) SWIG_fail
;
5697 resultobj
= SWIG_Py_Void();
5712 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5713 PyObject
*resultobj
= 0;
5714 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5718 PyObject
*swig_obj
[1] ;
5720 if (!args
) SWIG_fail
;
5722 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5723 if (!SWIG_IsOK(res1
)) {
5724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5726 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5729 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5730 wxPyEndAllowThreads(__tstate
);
5731 if (PyErr_Occurred()) SWIG_fail
;
5735 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5737 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5746 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5747 PyObject
*resultobj
= 0;
5748 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5749 wxRegion
*arg2
= 0 ;
5755 PyObject
* obj0
= 0 ;
5756 PyObject
* obj1
= 0 ;
5757 char * kwnames
[] = {
5758 (char *) "self",(char *) "region", NULL
5761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5763 if (!SWIG_IsOK(res1
)) {
5764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5766 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5767 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5768 if (!SWIG_IsOK(res2
)) {
5769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5772 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5774 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5776 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5777 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5778 wxPyEndAllowThreads(__tstate
);
5779 if (PyErr_Occurred()) SWIG_fail
;
5782 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5790 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5791 PyObject
*resultobj
= 0;
5792 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5793 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5798 PyObject
* obj0
= 0 ;
5799 PyObject
* obj1
= 0 ;
5800 char * kwnames
[] = {
5801 (char *) "self",(char *) "flags", NULL
5804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5809 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5811 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5812 if (!SWIG_IsOK(ecode2
)) {
5813 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5815 arg2
= static_cast< int >(val2
);
5818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5819 (arg1
)->RequestUserAttention(arg2
);
5820 wxPyEndAllowThreads(__tstate
);
5821 if (PyErr_Occurred()) SWIG_fail
;
5823 resultobj
= SWIG_Py_Void();
5830 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5831 PyObject
*resultobj
= 0;
5832 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5836 PyObject
*swig_obj
[1] ;
5838 if (!args
) SWIG_fail
;
5840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5841 if (!SWIG_IsOK(res1
)) {
5842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5844 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5847 result
= (bool)(arg1
)->IsActive();
5848 wxPyEndAllowThreads(__tstate
);
5849 if (PyErr_Occurred()) SWIG_fail
;
5852 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5860 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5861 PyObject
*resultobj
= 0;
5862 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5868 PyObject
* obj0
= 0 ;
5869 PyObject
* obj1
= 0 ;
5870 char * kwnames
[] = {
5871 (char *) "self",(char *) "on", NULL
5874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5876 if (!SWIG_IsOK(res1
)) {
5877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5879 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5880 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5881 if (!SWIG_IsOK(ecode2
)) {
5882 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5884 arg2
= static_cast< bool >(val2
);
5886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5887 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5888 wxPyEndAllowThreads(__tstate
);
5889 if (PyErr_Occurred()) SWIG_fail
;
5891 resultobj
= SWIG_Py_Void();
5898 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5899 PyObject
*resultobj
= 0;
5900 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5904 PyObject
*swig_obj
[1] ;
5906 if (!args
) SWIG_fail
;
5908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5909 if (!SWIG_IsOK(res1
)) {
5910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5912 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5915 result
= (bool)wxTopLevelWindow_MacGetMetalAppearance((wxTopLevelWindow
const *)arg1
);
5916 wxPyEndAllowThreads(__tstate
);
5917 if (PyErr_Occurred()) SWIG_fail
;
5920 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5928 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5929 PyObject
*resultobj
= 0;
5930 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5931 int arg2
= (int) wxBOTH
;
5936 PyObject
* obj0
= 0 ;
5937 PyObject
* obj1
= 0 ;
5938 char * kwnames
[] = {
5939 (char *) "self",(char *) "dir", NULL
5942 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5943 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5944 if (!SWIG_IsOK(res1
)) {
5945 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5947 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5949 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5950 if (!SWIG_IsOK(ecode2
)) {
5951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
5953 arg2
= static_cast< int >(val2
);
5956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5957 (arg1
)->CenterOnScreen(arg2
);
5958 wxPyEndAllowThreads(__tstate
);
5959 if (PyErr_Occurred()) SWIG_fail
;
5961 resultobj
= SWIG_Py_Void();
5968 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5970 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5971 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
5972 return SWIG_Py_Void();
5975 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5976 PyObject
*resultobj
= 0;
5977 wxWindow
*arg1
= (wxWindow
*) 0 ;
5978 int arg2
= (int) (int)-1 ;
5979 wxString
const &arg3_defvalue
= wxPyEmptyString
;
5980 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
5981 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
5982 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
5983 wxSize
const &arg5_defvalue
= wxDefaultSize
;
5984 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
5985 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
5986 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
5987 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
5988 wxFrame
*result
= 0 ;
5993 bool temp3
= false ;
5998 bool temp7
= false ;
5999 PyObject
* obj0
= 0 ;
6000 PyObject
* obj1
= 0 ;
6001 PyObject
* obj2
= 0 ;
6002 PyObject
* obj3
= 0 ;
6003 PyObject
* obj4
= 0 ;
6004 PyObject
* obj5
= 0 ;
6005 PyObject
* obj6
= 0 ;
6006 char * kwnames
[] = {
6007 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6010 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6011 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6012 if (!SWIG_IsOK(res1
)) {
6013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6015 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6017 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6018 if (!SWIG_IsOK(ecode2
)) {
6019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6021 arg2
= static_cast< int >(val2
);
6025 arg3
= wxString_in_helper(obj2
);
6026 if (arg3
== NULL
) SWIG_fail
;
6033 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6039 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6043 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6044 if (!SWIG_IsOK(ecode6
)) {
6045 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6047 arg6
= static_cast< long >(val6
);
6051 arg7
= wxString_in_helper(obj6
);
6052 if (arg7
== NULL
) SWIG_fail
;
6057 if (!wxPyCheckForApp()) SWIG_fail
;
6058 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6059 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6060 wxPyEndAllowThreads(__tstate
);
6061 if (PyErr_Occurred()) SWIG_fail
;
6063 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6086 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6087 PyObject
*resultobj
= 0;
6088 wxFrame
*result
= 0 ;
6090 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6092 if (!wxPyCheckForApp()) SWIG_fail
;
6093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6094 result
= (wxFrame
*)new wxFrame();
6095 wxPyEndAllowThreads(__tstate
);
6096 if (PyErr_Occurred()) SWIG_fail
;
6098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6105 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6106 PyObject
*resultobj
= 0;
6107 wxFrame
*arg1
= (wxFrame
*) 0 ;
6108 wxWindow
*arg2
= (wxWindow
*) 0 ;
6109 int arg3
= (int) (int)-1 ;
6110 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6111 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6112 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6113 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6114 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6115 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6116 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6117 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6118 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6126 bool temp4
= false ;
6131 bool temp8
= false ;
6132 PyObject
* obj0
= 0 ;
6133 PyObject
* obj1
= 0 ;
6134 PyObject
* obj2
= 0 ;
6135 PyObject
* obj3
= 0 ;
6136 PyObject
* obj4
= 0 ;
6137 PyObject
* obj5
= 0 ;
6138 PyObject
* obj6
= 0 ;
6139 PyObject
* obj7
= 0 ;
6140 char * kwnames
[] = {
6141 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6146 if (!SWIG_IsOK(res1
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6149 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6150 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6151 if (!SWIG_IsOK(res2
)) {
6152 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6154 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6156 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6157 if (!SWIG_IsOK(ecode3
)) {
6158 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6160 arg3
= static_cast< int >(val3
);
6164 arg4
= wxString_in_helper(obj3
);
6165 if (arg4
== NULL
) SWIG_fail
;
6172 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6178 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6182 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6183 if (!SWIG_IsOK(ecode7
)) {
6184 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6186 arg7
= static_cast< long >(val7
);
6190 arg8
= wxString_in_helper(obj7
);
6191 if (arg8
== NULL
) SWIG_fail
;
6196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6197 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6198 wxPyEndAllowThreads(__tstate
);
6199 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6226 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6227 PyObject
*resultobj
= 0;
6228 wxFrame
*arg1
= (wxFrame
*) 0 ;
6231 PyObject
*swig_obj
[1] ;
6233 if (!args
) SWIG_fail
;
6235 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6236 if (!SWIG_IsOK(res1
)) {
6237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6239 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6242 (arg1
)->SendSizeEvent();
6243 wxPyEndAllowThreads(__tstate
);
6244 if (PyErr_Occurred()) SWIG_fail
;
6246 resultobj
= SWIG_Py_Void();
6253 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6254 PyObject
*resultobj
= 0;
6255 wxFrame
*arg1
= (wxFrame
*) 0 ;
6256 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6261 PyObject
* obj0
= 0 ;
6262 PyObject
* obj1
= 0 ;
6263 char * kwnames
[] = {
6264 (char *) "self",(char *) "menubar", NULL
6267 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6268 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6269 if (!SWIG_IsOK(res1
)) {
6270 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6272 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6273 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6274 if (!SWIG_IsOK(res2
)) {
6275 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6277 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6280 (arg1
)->SetMenuBar(arg2
);
6281 wxPyEndAllowThreads(__tstate
);
6282 if (PyErr_Occurred()) SWIG_fail
;
6284 resultobj
= SWIG_Py_Void();
6291 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6292 PyObject
*resultobj
= 0;
6293 wxFrame
*arg1
= (wxFrame
*) 0 ;
6294 wxMenuBar
*result
= 0 ;
6297 PyObject
*swig_obj
[1] ;
6299 if (!args
) SWIG_fail
;
6301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6302 if (!SWIG_IsOK(res1
)) {
6303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6305 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6308 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6309 wxPyEndAllowThreads(__tstate
);
6310 if (PyErr_Occurred()) SWIG_fail
;
6313 resultobj
= wxPyMake_wxObject(result
, 0);
6321 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6322 PyObject
*resultobj
= 0;
6323 wxFrame
*arg1
= (wxFrame
*) 0 ;
6330 PyObject
* obj0
= 0 ;
6331 PyObject
* obj1
= 0 ;
6332 char * kwnames
[] = {
6333 (char *) "self",(char *) "winid", NULL
6336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6337 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6338 if (!SWIG_IsOK(res1
)) {
6339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6341 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6342 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6343 if (!SWIG_IsOK(ecode2
)) {
6344 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6346 arg2
= static_cast< int >(val2
);
6348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6349 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6350 wxPyEndAllowThreads(__tstate
);
6351 if (PyErr_Occurred()) SWIG_fail
;
6354 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6362 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6363 PyObject
*resultobj
= 0;
6364 wxFrame
*arg1
= (wxFrame
*) 0 ;
6365 int arg2
= (int) 1 ;
6366 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6367 int arg4
= (int) 0 ;
6368 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6369 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6370 wxStatusBar
*result
= 0 ;
6379 bool temp5
= false ;
6380 PyObject
* obj0
= 0 ;
6381 PyObject
* obj1
= 0 ;
6382 PyObject
* obj2
= 0 ;
6383 PyObject
* obj3
= 0 ;
6384 PyObject
* obj4
= 0 ;
6385 char * kwnames
[] = {
6386 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6389 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6390 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6391 if (!SWIG_IsOK(res1
)) {
6392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6394 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6397 if (!SWIG_IsOK(ecode2
)) {
6398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6400 arg2
= static_cast< int >(val2
);
6403 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6404 if (!SWIG_IsOK(ecode3
)) {
6405 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6407 arg3
= static_cast< long >(val3
);
6410 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6411 if (!SWIG_IsOK(ecode4
)) {
6412 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6414 arg4
= static_cast< int >(val4
);
6418 arg5
= wxString_in_helper(obj4
);
6419 if (arg5
== NULL
) SWIG_fail
;
6424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6425 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6426 wxPyEndAllowThreads(__tstate
);
6427 if (PyErr_Occurred()) SWIG_fail
;
6430 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6446 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6447 PyObject
*resultobj
= 0;
6448 wxFrame
*arg1
= (wxFrame
*) 0 ;
6449 wxStatusBar
*result
= 0 ;
6452 PyObject
*swig_obj
[1] ;
6454 if (!args
) SWIG_fail
;
6456 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6457 if (!SWIG_IsOK(res1
)) {
6458 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6460 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6462 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6463 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6464 wxPyEndAllowThreads(__tstate
);
6465 if (PyErr_Occurred()) SWIG_fail
;
6468 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6476 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6477 PyObject
*resultobj
= 0;
6478 wxFrame
*arg1
= (wxFrame
*) 0 ;
6479 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6484 PyObject
* obj0
= 0 ;
6485 PyObject
* obj1
= 0 ;
6486 char * kwnames
[] = {
6487 (char *) "self",(char *) "statBar", NULL
6490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6492 if (!SWIG_IsOK(res1
)) {
6493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6495 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6496 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6497 if (!SWIG_IsOK(res2
)) {
6498 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6500 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6503 (arg1
)->SetStatusBar(arg2
);
6504 wxPyEndAllowThreads(__tstate
);
6505 if (PyErr_Occurred()) SWIG_fail
;
6507 resultobj
= SWIG_Py_Void();
6514 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6515 PyObject
*resultobj
= 0;
6516 wxFrame
*arg1
= (wxFrame
*) 0 ;
6517 wxString
*arg2
= 0 ;
6518 int arg3
= (int) 0 ;
6521 bool temp2
= false ;
6524 PyObject
* obj0
= 0 ;
6525 PyObject
* obj1
= 0 ;
6526 PyObject
* obj2
= 0 ;
6527 char * kwnames
[] = {
6528 (char *) "self",(char *) "text",(char *) "number", NULL
6531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6533 if (!SWIG_IsOK(res1
)) {
6534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6536 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6538 arg2
= wxString_in_helper(obj1
);
6539 if (arg2
== NULL
) SWIG_fail
;
6543 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6544 if (!SWIG_IsOK(ecode3
)) {
6545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6547 arg3
= static_cast< int >(val3
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6570 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6571 PyObject
*resultobj
= 0;
6572 wxFrame
*arg1
= (wxFrame
*) 0 ;
6574 int *arg3
= (int *) 0 ;
6577 PyObject
* obj0
= 0 ;
6578 PyObject
* obj1
= 0 ;
6579 char * kwnames
[] = {
6580 (char *) "self",(char *) "widths", NULL
6583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6585 if (!SWIG_IsOK(res1
)) {
6586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6588 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6590 arg2
= PyList_Size(obj1
);
6591 arg3
= int_LIST_helper(obj1
);
6592 if (arg3
== NULL
) SWIG_fail
;
6595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6596 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6597 wxPyEndAllowThreads(__tstate
);
6598 if (PyErr_Occurred()) SWIG_fail
;
6600 resultobj
= SWIG_Py_Void();
6602 if (arg3
) delete [] arg3
;
6607 if (arg3
) delete [] arg3
;
6613 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6614 PyObject
*resultobj
= 0;
6615 wxFrame
*arg1
= (wxFrame
*) 0 ;
6616 wxString
*arg2
= 0 ;
6617 int arg3
= (int) 0 ;
6620 bool temp2
= false ;
6623 PyObject
* obj0
= 0 ;
6624 PyObject
* obj1
= 0 ;
6625 PyObject
* obj2
= 0 ;
6626 char * kwnames
[] = {
6627 (char *) "self",(char *) "text",(char *) "number", NULL
6630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6632 if (!SWIG_IsOK(res1
)) {
6633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6635 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6637 arg2
= wxString_in_helper(obj1
);
6638 if (arg2
== NULL
) SWIG_fail
;
6642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6643 if (!SWIG_IsOK(ecode3
)) {
6644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6646 arg3
= static_cast< int >(val3
);
6649 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6650 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6651 wxPyEndAllowThreads(__tstate
);
6652 if (PyErr_Occurred()) SWIG_fail
;
6654 resultobj
= SWIG_Py_Void();
6669 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6670 PyObject
*resultobj
= 0;
6671 wxFrame
*arg1
= (wxFrame
*) 0 ;
6672 int arg2
= (int) 0 ;
6677 PyObject
* obj0
= 0 ;
6678 PyObject
* obj1
= 0 ;
6679 char * kwnames
[] = {
6680 (char *) "self",(char *) "number", NULL
6683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6685 if (!SWIG_IsOK(res1
)) {
6686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6688 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6690 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6691 if (!SWIG_IsOK(ecode2
)) {
6692 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6694 arg2
= static_cast< int >(val2
);
6697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6698 (arg1
)->PopStatusText(arg2
);
6699 wxPyEndAllowThreads(__tstate
);
6700 if (PyErr_Occurred()) SWIG_fail
;
6702 resultobj
= SWIG_Py_Void();
6709 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6710 PyObject
*resultobj
= 0;
6711 wxFrame
*arg1
= (wxFrame
*) 0 ;
6717 PyObject
* obj0
= 0 ;
6718 PyObject
* obj1
= 0 ;
6719 char * kwnames
[] = {
6720 (char *) "self",(char *) "n", NULL
6723 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6724 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6725 if (!SWIG_IsOK(res1
)) {
6726 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6728 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6729 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6730 if (!SWIG_IsOK(ecode2
)) {
6731 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6733 arg2
= static_cast< int >(val2
);
6735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6736 (arg1
)->SetStatusBarPane(arg2
);
6737 wxPyEndAllowThreads(__tstate
);
6738 if (PyErr_Occurred()) SWIG_fail
;
6740 resultobj
= SWIG_Py_Void();
6747 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6748 PyObject
*resultobj
= 0;
6749 wxFrame
*arg1
= (wxFrame
*) 0 ;
6753 PyObject
*swig_obj
[1] ;
6755 if (!args
) SWIG_fail
;
6757 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6758 if (!SWIG_IsOK(res1
)) {
6759 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
6761 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6764 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
6765 wxPyEndAllowThreads(__tstate
);
6766 if (PyErr_Occurred()) SWIG_fail
;
6768 resultobj
= SWIG_From_int(static_cast< int >(result
));
6775 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6776 PyObject
*resultobj
= 0;
6777 wxFrame
*arg1
= (wxFrame
*) 0 ;
6778 long arg2
= (long) -1 ;
6779 int arg3
= (int) -1 ;
6780 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
6781 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6782 wxToolBar
*result
= 0 ;
6789 bool temp4
= false ;
6790 PyObject
* obj0
= 0 ;
6791 PyObject
* obj1
= 0 ;
6792 PyObject
* obj2
= 0 ;
6793 PyObject
* obj3
= 0 ;
6794 char * kwnames
[] = {
6795 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
6798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
6799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6800 if (!SWIG_IsOK(res1
)) {
6801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6803 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6805 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
6806 if (!SWIG_IsOK(ecode2
)) {
6807 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
6809 arg2
= static_cast< long >(val2
);
6812 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6813 if (!SWIG_IsOK(ecode3
)) {
6814 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
6816 arg3
= static_cast< int >(val3
);
6820 arg4
= wxString_in_helper(obj3
);
6821 if (arg4
== NULL
) SWIG_fail
;
6826 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6827 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
6828 wxPyEndAllowThreads(__tstate
);
6829 if (PyErr_Occurred()) SWIG_fail
;
6832 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6848 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6849 PyObject
*resultobj
= 0;
6850 wxFrame
*arg1
= (wxFrame
*) 0 ;
6851 wxToolBar
*result
= 0 ;
6854 PyObject
*swig_obj
[1] ;
6856 if (!args
) SWIG_fail
;
6858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6859 if (!SWIG_IsOK(res1
)) {
6860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6862 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6865 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
6866 wxPyEndAllowThreads(__tstate
);
6867 if (PyErr_Occurred()) SWIG_fail
;
6870 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6878 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxFrame
*arg1
= (wxFrame
*) 0 ;
6881 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
6886 PyObject
* obj0
= 0 ;
6887 PyObject
* obj1
= 0 ;
6888 char * kwnames
[] = {
6889 (char *) "self",(char *) "toolbar", NULL
6892 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6893 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6894 if (!SWIG_IsOK(res1
)) {
6895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6897 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6898 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
6899 if (!SWIG_IsOK(res2
)) {
6900 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
6902 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
6904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6905 (arg1
)->SetToolBar(arg2
);
6906 wxPyEndAllowThreads(__tstate
);
6907 if (PyErr_Occurred()) SWIG_fail
;
6909 resultobj
= SWIG_Py_Void();
6916 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6917 PyObject
*resultobj
= 0;
6918 wxFrame
*arg1
= (wxFrame
*) 0 ;
6919 wxString
*arg2
= 0 ;
6923 bool temp2
= false ;
6926 PyObject
* obj0
= 0 ;
6927 PyObject
* obj1
= 0 ;
6928 PyObject
* obj2
= 0 ;
6929 char * kwnames
[] = {
6930 (char *) "self",(char *) "text",(char *) "show", NULL
6933 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6934 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6935 if (!SWIG_IsOK(res1
)) {
6936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
6938 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6940 arg2
= wxString_in_helper(obj1
);
6941 if (arg2
== NULL
) SWIG_fail
;
6944 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
6945 if (!SWIG_IsOK(ecode3
)) {
6946 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
6948 arg3
= static_cast< bool >(val3
);
6950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6951 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
6952 wxPyEndAllowThreads(__tstate
);
6953 if (PyErr_Occurred()) SWIG_fail
;
6955 resultobj
= SWIG_Py_Void();
6970 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6971 PyObject
*resultobj
= 0;
6972 wxFrame
*arg1
= (wxFrame
*) 0 ;
6973 wxMenu
*arg2
= (wxMenu
*) NULL
;
6978 PyObject
* obj0
= 0 ;
6979 PyObject
* obj1
= 0 ;
6980 char * kwnames
[] = {
6981 (char *) "self",(char *) "menu", NULL
6984 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6985 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6986 if (!SWIG_IsOK(res1
)) {
6987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
6989 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6991 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
6992 if (!SWIG_IsOK(res2
)) {
6993 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
6995 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
6998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6999 (arg1
)->DoMenuUpdates(arg2
);
7000 wxPyEndAllowThreads(__tstate
);
7001 if (PyErr_Occurred()) SWIG_fail
;
7003 resultobj
= SWIG_Py_Void();
7010 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7011 PyObject
*resultobj
= 0;
7012 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7013 SwigValueWrapper
<wxVisualAttributes
> result
;
7016 PyObject
* obj0
= 0 ;
7017 char * kwnames
[] = {
7018 (char *) "variant", NULL
7021 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7023 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7024 if (!SWIG_IsOK(ecode1
)) {
7025 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7027 arg1
= static_cast< wxWindowVariant
>(val1
);
7030 if (!wxPyCheckForApp()) SWIG_fail
;
7031 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7032 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7033 wxPyEndAllowThreads(__tstate
);
7034 if (PyErr_Occurred()) SWIG_fail
;
7036 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7043 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7045 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7046 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7047 return SWIG_Py_Void();
7050 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7051 return SWIG_Python_InitShadowInstance(args
);
7054 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7055 PyObject
*resultobj
= 0;
7056 wxWindow
*arg1
= (wxWindow
*) 0 ;
7057 int arg2
= (int) (int)-1 ;
7058 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7059 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7064 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7065 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7067 wxDialog
*result
= 0 ;
7072 bool temp3
= false ;
7077 bool temp7
= false ;
7078 PyObject
* obj0
= 0 ;
7079 PyObject
* obj1
= 0 ;
7080 PyObject
* obj2
= 0 ;
7081 PyObject
* obj3
= 0 ;
7082 PyObject
* obj4
= 0 ;
7083 PyObject
* obj5
= 0 ;
7084 PyObject
* obj6
= 0 ;
7085 char * kwnames
[] = {
7086 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7091 if (!SWIG_IsOK(res1
)) {
7092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7094 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7096 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7097 if (!SWIG_IsOK(ecode2
)) {
7098 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7100 arg2
= static_cast< int >(val2
);
7104 arg3
= wxString_in_helper(obj2
);
7105 if (arg3
== NULL
) SWIG_fail
;
7112 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7118 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7122 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7123 if (!SWIG_IsOK(ecode6
)) {
7124 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7126 arg6
= static_cast< long >(val6
);
7130 arg7
= wxString_in_helper(obj6
);
7131 if (arg7
== NULL
) SWIG_fail
;
7136 if (!wxPyCheckForApp()) SWIG_fail
;
7137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7138 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7139 wxPyEndAllowThreads(__tstate
);
7140 if (PyErr_Occurred()) SWIG_fail
;
7142 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7165 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7166 PyObject
*resultobj
= 0;
7167 wxDialog
*result
= 0 ;
7169 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7171 if (!wxPyCheckForApp()) SWIG_fail
;
7172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7173 result
= (wxDialog
*)new wxDialog();
7174 wxPyEndAllowThreads(__tstate
);
7175 if (PyErr_Occurred()) SWIG_fail
;
7177 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7184 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7185 PyObject
*resultobj
= 0;
7186 wxDialog
*arg1
= (wxDialog
*) 0 ;
7187 wxWindow
*arg2
= (wxWindow
*) 0 ;
7188 int arg3
= (int) (int)-1 ;
7189 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7190 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7191 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7192 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7193 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7194 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7195 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7196 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7197 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7205 bool temp4
= false ;
7210 bool temp8
= false ;
7211 PyObject
* obj0
= 0 ;
7212 PyObject
* obj1
= 0 ;
7213 PyObject
* obj2
= 0 ;
7214 PyObject
* obj3
= 0 ;
7215 PyObject
* obj4
= 0 ;
7216 PyObject
* obj5
= 0 ;
7217 PyObject
* obj6
= 0 ;
7218 PyObject
* obj7
= 0 ;
7219 char * kwnames
[] = {
7220 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7225 if (!SWIG_IsOK(res1
)) {
7226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7228 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7229 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7230 if (!SWIG_IsOK(res2
)) {
7231 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7233 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7235 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7236 if (!SWIG_IsOK(ecode3
)) {
7237 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7239 arg3
= static_cast< int >(val3
);
7243 arg4
= wxString_in_helper(obj3
);
7244 if (arg4
== NULL
) SWIG_fail
;
7251 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7257 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7261 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7262 if (!SWIG_IsOK(ecode7
)) {
7263 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7265 arg7
= static_cast< long >(val7
);
7269 arg8
= wxString_in_helper(obj7
);
7270 if (arg8
== NULL
) SWIG_fail
;
7275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7276 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7277 wxPyEndAllowThreads(__tstate
);
7278 if (PyErr_Occurred()) SWIG_fail
;
7281 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7305 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7306 PyObject
*resultobj
= 0;
7307 wxDialog
*arg1
= (wxDialog
*) 0 ;
7313 PyObject
* obj0
= 0 ;
7314 PyObject
* obj1
= 0 ;
7315 char * kwnames
[] = {
7316 (char *) "self",(char *) "returnCode", NULL
7319 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7320 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7321 if (!SWIG_IsOK(res1
)) {
7322 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7324 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7325 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7326 if (!SWIG_IsOK(ecode2
)) {
7327 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7329 arg2
= static_cast< int >(val2
);
7331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7332 (arg1
)->SetReturnCode(arg2
);
7333 wxPyEndAllowThreads(__tstate
);
7334 if (PyErr_Occurred()) SWIG_fail
;
7336 resultobj
= SWIG_Py_Void();
7343 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7344 PyObject
*resultobj
= 0;
7345 wxDialog
*arg1
= (wxDialog
*) 0 ;
7349 PyObject
*swig_obj
[1] ;
7351 if (!args
) SWIG_fail
;
7353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7354 if (!SWIG_IsOK(res1
)) {
7355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7357 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7360 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7361 wxPyEndAllowThreads(__tstate
);
7362 if (PyErr_Occurred()) SWIG_fail
;
7364 resultobj
= SWIG_From_int(static_cast< int >(result
));
7371 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7372 PyObject
*resultobj
= 0;
7373 wxDialog
*arg1
= (wxDialog
*) 0 ;
7379 PyObject
* obj0
= 0 ;
7380 PyObject
* obj1
= 0 ;
7381 char * kwnames
[] = {
7382 (char *) "self",(char *) "affirmativeId", NULL
7385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7387 if (!SWIG_IsOK(res1
)) {
7388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7390 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7391 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7392 if (!SWIG_IsOK(ecode2
)) {
7393 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7395 arg2
= static_cast< int >(val2
);
7397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7398 (arg1
)->SetAffirmativeId(arg2
);
7399 wxPyEndAllowThreads(__tstate
);
7400 if (PyErr_Occurred()) SWIG_fail
;
7402 resultobj
= SWIG_Py_Void();
7409 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7410 PyObject
*resultobj
= 0;
7411 wxDialog
*arg1
= (wxDialog
*) 0 ;
7415 PyObject
*swig_obj
[1] ;
7417 if (!args
) SWIG_fail
;
7419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7420 if (!SWIG_IsOK(res1
)) {
7421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7423 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7426 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7427 wxPyEndAllowThreads(__tstate
);
7428 if (PyErr_Occurred()) SWIG_fail
;
7430 resultobj
= SWIG_From_int(static_cast< int >(result
));
7437 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7438 PyObject
*resultobj
= 0;
7439 wxDialog
*arg1
= (wxDialog
*) 0 ;
7445 PyObject
* obj0
= 0 ;
7446 PyObject
* obj1
= 0 ;
7447 char * kwnames
[] = {
7448 (char *) "self",(char *) "escapeId", NULL
7451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7453 if (!SWIG_IsOK(res1
)) {
7454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7456 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7458 if (!SWIG_IsOK(ecode2
)) {
7459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7461 arg2
= static_cast< int >(val2
);
7463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7464 (arg1
)->SetEscapeId(arg2
);
7465 wxPyEndAllowThreads(__tstate
);
7466 if (PyErr_Occurred()) SWIG_fail
;
7468 resultobj
= SWIG_Py_Void();
7475 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7476 PyObject
*resultobj
= 0;
7477 wxDialog
*arg1
= (wxDialog
*) 0 ;
7481 PyObject
*swig_obj
[1] ;
7483 if (!args
) SWIG_fail
;
7485 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7486 if (!SWIG_IsOK(res1
)) {
7487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7489 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7491 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7492 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7493 wxPyEndAllowThreads(__tstate
);
7494 if (PyErr_Occurred()) SWIG_fail
;
7496 resultobj
= SWIG_From_int(static_cast< int >(result
));
7503 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7504 PyObject
*resultobj
= 0;
7505 wxDialog
*arg1
= (wxDialog
*) 0 ;
7506 wxString
*arg2
= 0 ;
7507 wxSizer
*result
= 0 ;
7510 bool temp2
= false ;
7511 PyObject
* obj0
= 0 ;
7512 PyObject
* obj1
= 0 ;
7513 char * kwnames
[] = {
7514 (char *) "self",(char *) "message", NULL
7517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7518 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7519 if (!SWIG_IsOK(res1
)) {
7520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7522 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7524 arg2
= wxString_in_helper(obj1
);
7525 if (arg2
== NULL
) SWIG_fail
;
7529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7530 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7531 wxPyEndAllowThreads(__tstate
);
7532 if (PyErr_Occurred()) SWIG_fail
;
7535 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7551 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7552 PyObject
*resultobj
= 0;
7553 wxDialog
*arg1
= (wxDialog
*) 0 ;
7555 bool arg3
= (bool) false ;
7556 int arg4
= (int) 0 ;
7557 wxSizer
*result
= 0 ;
7566 PyObject
* obj0
= 0 ;
7567 PyObject
* obj1
= 0 ;
7568 PyObject
* obj2
= 0 ;
7569 PyObject
* obj3
= 0 ;
7570 char * kwnames
[] = {
7571 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7576 if (!SWIG_IsOK(res1
)) {
7577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7579 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7580 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7581 if (!SWIG_IsOK(ecode2
)) {
7582 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7584 arg2
= static_cast< long >(val2
);
7586 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7587 if (!SWIG_IsOK(ecode3
)) {
7588 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7590 arg3
= static_cast< bool >(val3
);
7593 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7594 if (!SWIG_IsOK(ecode4
)) {
7595 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7597 arg4
= static_cast< int >(val4
);
7600 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7601 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7602 wxPyEndAllowThreads(__tstate
);
7603 if (PyErr_Occurred()) SWIG_fail
;
7606 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7614 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7615 PyObject
*resultobj
= 0;
7616 wxDialog
*arg1
= (wxDialog
*) 0 ;
7618 wxStdDialogButtonSizer
*result
= 0 ;
7623 PyObject
* obj0
= 0 ;
7624 PyObject
* obj1
= 0 ;
7625 char * kwnames
[] = {
7626 (char *) "self",(char *) "flags", NULL
7629 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7630 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7631 if (!SWIG_IsOK(res1
)) {
7632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7634 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7635 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7636 if (!SWIG_IsOK(ecode2
)) {
7637 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7639 arg2
= static_cast< long >(val2
);
7641 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7642 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7643 wxPyEndAllowThreads(__tstate
);
7644 if (PyErr_Occurred()) SWIG_fail
;
7646 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7653 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7654 PyObject
*resultobj
= 0;
7655 wxDialog
*arg1
= (wxDialog
*) 0 ;
7659 PyObject
*swig_obj
[1] ;
7661 if (!args
) SWIG_fail
;
7663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7664 if (!SWIG_IsOK(res1
)) {
7665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7667 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7670 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7671 wxPyEndAllowThreads(__tstate
);
7672 if (PyErr_Occurred()) SWIG_fail
;
7675 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7683 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7684 PyObject
*resultobj
= 0;
7685 wxDialog
*arg1
= (wxDialog
*) 0 ;
7689 PyObject
*swig_obj
[1] ;
7691 if (!args
) SWIG_fail
;
7693 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7694 if (!SWIG_IsOK(res1
)) {
7695 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7697 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7700 result
= (int)(arg1
)->ShowModal();
7701 wxPyEndAllowThreads(__tstate
);
7702 if (PyErr_Occurred()) SWIG_fail
;
7704 resultobj
= SWIG_From_int(static_cast< int >(result
));
7711 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7712 PyObject
*resultobj
= 0;
7713 wxDialog
*arg1
= (wxDialog
*) 0 ;
7719 PyObject
* obj0
= 0 ;
7720 PyObject
* obj1
= 0 ;
7721 char * kwnames
[] = {
7722 (char *) "self",(char *) "retCode", NULL
7725 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7726 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7727 if (!SWIG_IsOK(res1
)) {
7728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7730 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7731 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7732 if (!SWIG_IsOK(ecode2
)) {
7733 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
7735 arg2
= static_cast< int >(val2
);
7737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7738 (arg1
)->EndModal(arg2
);
7739 wxPyEndAllowThreads(__tstate
);
7740 if (PyErr_Occurred()) SWIG_fail
;
7742 resultobj
= SWIG_Py_Void();
7749 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7750 PyObject
*resultobj
= 0;
7751 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7752 SwigValueWrapper
<wxVisualAttributes
> result
;
7755 PyObject
* obj0
= 0 ;
7756 char * kwnames
[] = {
7757 (char *) "variant", NULL
7760 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7762 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7763 if (!SWIG_IsOK(ecode1
)) {
7764 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7766 arg1
= static_cast< wxWindowVariant
>(val1
);
7769 if (!wxPyCheckForApp()) SWIG_fail
;
7770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7771 result
= wxDialog::GetClassDefaultAttributes(arg1
);
7772 wxPyEndAllowThreads(__tstate
);
7773 if (PyErr_Occurred()) SWIG_fail
;
7775 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7782 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7784 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7785 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
7786 return SWIG_Py_Void();
7789 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7790 return SWIG_Python_InitShadowInstance(args
);
7793 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7794 PyObject
*resultobj
= 0;
7795 wxWindow
*arg1
= (wxWindow
*) 0 ;
7796 int arg2
= (int) (int)-1 ;
7797 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7798 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7799 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7800 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7801 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7802 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7803 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
7804 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
7805 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7806 wxMiniFrame
*result
= 0 ;
7811 bool temp3
= false ;
7816 bool temp7
= false ;
7817 PyObject
* obj0
= 0 ;
7818 PyObject
* obj1
= 0 ;
7819 PyObject
* obj2
= 0 ;
7820 PyObject
* obj3
= 0 ;
7821 PyObject
* obj4
= 0 ;
7822 PyObject
* obj5
= 0 ;
7823 PyObject
* obj6
= 0 ;
7824 char * kwnames
[] = {
7825 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7830 if (!SWIG_IsOK(res1
)) {
7831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
7833 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7835 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7836 if (!SWIG_IsOK(ecode2
)) {
7837 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
7839 arg2
= static_cast< int >(val2
);
7843 arg3
= wxString_in_helper(obj2
);
7844 if (arg3
== NULL
) SWIG_fail
;
7851 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7857 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7861 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7862 if (!SWIG_IsOK(ecode6
)) {
7863 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
7865 arg6
= static_cast< long >(val6
);
7869 arg7
= wxString_in_helper(obj6
);
7870 if (arg7
== NULL
) SWIG_fail
;
7875 if (!wxPyCheckForApp()) SWIG_fail
;
7876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7877 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7878 wxPyEndAllowThreads(__tstate
);
7879 if (PyErr_Occurred()) SWIG_fail
;
7881 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
7904 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7905 PyObject
*resultobj
= 0;
7906 wxMiniFrame
*result
= 0 ;
7908 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
7910 if (!wxPyCheckForApp()) SWIG_fail
;
7911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7912 result
= (wxMiniFrame
*)new wxMiniFrame();
7913 wxPyEndAllowThreads(__tstate
);
7914 if (PyErr_Occurred()) SWIG_fail
;
7916 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
7923 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7924 PyObject
*resultobj
= 0;
7925 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
7926 wxWindow
*arg2
= (wxWindow
*) 0 ;
7927 int arg3
= (int) (int)-1 ;
7928 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7929 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7930 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7931 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7932 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7933 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7934 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
7935 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
7936 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7944 bool temp4
= false ;
7949 bool temp8
= false ;
7950 PyObject
* obj0
= 0 ;
7951 PyObject
* obj1
= 0 ;
7952 PyObject
* obj2
= 0 ;
7953 PyObject
* obj3
= 0 ;
7954 PyObject
* obj4
= 0 ;
7955 PyObject
* obj5
= 0 ;
7956 PyObject
* obj6
= 0 ;
7957 PyObject
* obj7
= 0 ;
7958 char * kwnames
[] = {
7959 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7962 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7963 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
7964 if (!SWIG_IsOK(res1
)) {
7965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
7967 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
7968 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7969 if (!SWIG_IsOK(res2
)) {
7970 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7972 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7974 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7975 if (!SWIG_IsOK(ecode3
)) {
7976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
7978 arg3
= static_cast< int >(val3
);
7982 arg4
= wxString_in_helper(obj3
);
7983 if (arg4
== NULL
) SWIG_fail
;
7990 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7996 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8000 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8001 if (!SWIG_IsOK(ecode7
)) {
8002 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8004 arg7
= static_cast< long >(val7
);
8008 arg8
= wxString_in_helper(obj7
);
8009 if (arg8
== NULL
) SWIG_fail
;
8014 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8015 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8016 wxPyEndAllowThreads(__tstate
);
8017 if (PyErr_Occurred()) SWIG_fail
;
8020 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8044 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8047 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8048 return SWIG_Py_Void();
8051 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8052 return SWIG_Python_InitShadowInstance(args
);
8055 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8056 PyObject
*resultobj
= 0;
8057 wxBitmap
*arg1
= 0 ;
8058 wxWindow
*arg2
= (wxWindow
*) 0 ;
8060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8064 long arg6
= (long) wxNO_BORDER
;
8065 wxSplashScreenWindow
*result
= 0 ;
8076 PyObject
* obj0
= 0 ;
8077 PyObject
* obj1
= 0 ;
8078 PyObject
* obj2
= 0 ;
8079 PyObject
* obj3
= 0 ;
8080 PyObject
* obj4
= 0 ;
8081 PyObject
* obj5
= 0 ;
8082 char * kwnames
[] = {
8083 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8087 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8088 if (!SWIG_IsOK(res1
)) {
8089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8092 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8094 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8095 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8096 if (!SWIG_IsOK(res2
)) {
8097 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8099 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8100 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8101 if (!SWIG_IsOK(ecode3
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8104 arg3
= static_cast< int >(val3
);
8108 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8114 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8118 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8119 if (!SWIG_IsOK(ecode6
)) {
8120 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8122 arg6
= static_cast< long >(val6
);
8125 if (!wxPyCheckForApp()) SWIG_fail
;
8126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8127 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8128 wxPyEndAllowThreads(__tstate
);
8129 if (PyErr_Occurred()) SWIG_fail
;
8131 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8138 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8139 PyObject
*resultobj
= 0;
8140 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8141 wxBitmap
*arg2
= 0 ;
8146 PyObject
* obj0
= 0 ;
8147 PyObject
* obj1
= 0 ;
8148 char * kwnames
[] = {
8149 (char *) "self",(char *) "bitmap", NULL
8152 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8153 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8154 if (!SWIG_IsOK(res1
)) {
8155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8157 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8158 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8159 if (!SWIG_IsOK(res2
)) {
8160 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8163 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8165 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8168 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8169 wxPyEndAllowThreads(__tstate
);
8170 if (PyErr_Occurred()) SWIG_fail
;
8172 resultobj
= SWIG_Py_Void();
8179 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8180 PyObject
*resultobj
= 0;
8181 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8182 wxBitmap
*result
= 0 ;
8185 PyObject
*swig_obj
[1] ;
8187 if (!args
) SWIG_fail
;
8189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8190 if (!SWIG_IsOK(res1
)) {
8191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8193 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8197 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8198 result
= (wxBitmap
*) &_result_ref
;
8200 wxPyEndAllowThreads(__tstate
);
8201 if (PyErr_Occurred()) SWIG_fail
;
8204 wxBitmap
* resultptr
= new wxBitmap(*result
);
8205 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8213 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8215 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8216 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8217 return SWIG_Py_Void();
8220 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8221 return SWIG_Python_InitShadowInstance(args
);
8224 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8225 PyObject
*resultobj
= 0;
8226 wxBitmap
*arg1
= 0 ;
8229 wxWindow
*arg4
= (wxWindow
*) 0 ;
8230 int arg5
= (int) -1 ;
8231 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8232 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8233 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8234 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8235 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8236 wxSplashScreen
*result
= 0 ;
8251 PyObject
* obj0
= 0 ;
8252 PyObject
* obj1
= 0 ;
8253 PyObject
* obj2
= 0 ;
8254 PyObject
* obj3
= 0 ;
8255 PyObject
* obj4
= 0 ;
8256 PyObject
* obj5
= 0 ;
8257 PyObject
* obj6
= 0 ;
8258 PyObject
* obj7
= 0 ;
8259 char * kwnames
[] = {
8260 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8264 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8265 if (!SWIG_IsOK(res1
)) {
8266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8269 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8271 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8272 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8273 if (!SWIG_IsOK(ecode2
)) {
8274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8276 arg2
= static_cast< long >(val2
);
8277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8278 if (!SWIG_IsOK(ecode3
)) {
8279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8281 arg3
= static_cast< int >(val3
);
8282 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8283 if (!SWIG_IsOK(res4
)) {
8284 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8286 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8288 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8289 if (!SWIG_IsOK(ecode5
)) {
8290 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8292 arg5
= static_cast< int >(val5
);
8297 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8303 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8307 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8308 if (!SWIG_IsOK(ecode8
)) {
8309 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8311 arg8
= static_cast< long >(val8
);
8314 if (!wxPyCheckForApp()) SWIG_fail
;
8315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8316 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8317 wxPyEndAllowThreads(__tstate
);
8318 if (PyErr_Occurred()) SWIG_fail
;
8320 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8327 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8328 PyObject
*resultobj
= 0;
8329 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8333 PyObject
*swig_obj
[1] ;
8335 if (!args
) SWIG_fail
;
8337 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8338 if (!SWIG_IsOK(res1
)) {
8339 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8341 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8344 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8345 wxPyEndAllowThreads(__tstate
);
8346 if (PyErr_Occurred()) SWIG_fail
;
8348 resultobj
= SWIG_From_long(static_cast< long >(result
));
8355 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8356 PyObject
*resultobj
= 0;
8357 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8358 wxSplashScreenWindow
*result
= 0 ;
8361 PyObject
*swig_obj
[1] ;
8363 if (!args
) SWIG_fail
;
8365 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8366 if (!SWIG_IsOK(res1
)) {
8367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8369 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8371 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8372 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8373 wxPyEndAllowThreads(__tstate
);
8374 if (PyErr_Occurred()) SWIG_fail
;
8376 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8383 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8384 PyObject
*resultobj
= 0;
8385 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8389 PyObject
*swig_obj
[1] ;
8391 if (!args
) SWIG_fail
;
8393 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8394 if (!SWIG_IsOK(res1
)) {
8395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8397 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8400 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8401 wxPyEndAllowThreads(__tstate
);
8402 if (PyErr_Occurred()) SWIG_fail
;
8404 resultobj
= SWIG_From_int(static_cast< int >(result
));
8411 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8413 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8414 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8415 return SWIG_Py_Void();
8418 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8419 return SWIG_Python_InitShadowInstance(args
);
8422 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8423 PyObject
*resultobj
= 0;
8424 wxWindow
*arg1
= (wxWindow
*) 0 ;
8425 int arg2
= (int) -1 ;
8426 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8427 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8428 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8429 wxStatusBar
*result
= 0 ;
8436 bool temp4
= false ;
8437 PyObject
* obj0
= 0 ;
8438 PyObject
* obj1
= 0 ;
8439 PyObject
* obj2
= 0 ;
8440 PyObject
* obj3
= 0 ;
8441 char * kwnames
[] = {
8442 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8445 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8446 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8447 if (!SWIG_IsOK(res1
)) {
8448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8450 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8452 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8453 if (!SWIG_IsOK(ecode2
)) {
8454 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8456 arg2
= static_cast< int >(val2
);
8459 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8460 if (!SWIG_IsOK(ecode3
)) {
8461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8463 arg3
= static_cast< long >(val3
);
8467 arg4
= wxString_in_helper(obj3
);
8468 if (arg4
== NULL
) SWIG_fail
;
8473 if (!wxPyCheckForApp()) SWIG_fail
;
8474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8475 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8476 wxPyEndAllowThreads(__tstate
);
8477 if (PyErr_Occurred()) SWIG_fail
;
8479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8494 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8495 PyObject
*resultobj
= 0;
8496 wxStatusBar
*result
= 0 ;
8498 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8500 if (!wxPyCheckForApp()) SWIG_fail
;
8501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8502 result
= (wxStatusBar
*)new wxStatusBar();
8503 wxPyEndAllowThreads(__tstate
);
8504 if (PyErr_Occurred()) SWIG_fail
;
8506 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8513 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8514 PyObject
*resultobj
= 0;
8515 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8516 wxWindow
*arg2
= (wxWindow
*) 0 ;
8517 int arg3
= (int) -1 ;
8518 long arg4
= (long) wxST_SIZEGRIP
;
8519 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8520 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8530 bool temp5
= false ;
8531 PyObject
* obj0
= 0 ;
8532 PyObject
* obj1
= 0 ;
8533 PyObject
* obj2
= 0 ;
8534 PyObject
* obj3
= 0 ;
8535 PyObject
* obj4
= 0 ;
8536 char * kwnames
[] = {
8537 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8540 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8541 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8542 if (!SWIG_IsOK(res1
)) {
8543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8545 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8546 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8547 if (!SWIG_IsOK(res2
)) {
8548 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8550 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8552 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8553 if (!SWIG_IsOK(ecode3
)) {
8554 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8556 arg3
= static_cast< int >(val3
);
8559 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8560 if (!SWIG_IsOK(ecode4
)) {
8561 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8563 arg4
= static_cast< long >(val4
);
8567 arg5
= wxString_in_helper(obj4
);
8568 if (arg5
== NULL
) SWIG_fail
;
8573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8574 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8575 wxPyEndAllowThreads(__tstate
);
8576 if (PyErr_Occurred()) SWIG_fail
;
8579 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8595 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8596 PyObject
*resultobj
= 0;
8597 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8598 int arg2
= (int) 1 ;
8603 PyObject
* obj0
= 0 ;
8604 PyObject
* obj1
= 0 ;
8605 char * kwnames
[] = {
8606 (char *) "self",(char *) "number", NULL
8609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8611 if (!SWIG_IsOK(res1
)) {
8612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8614 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8616 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8617 if (!SWIG_IsOK(ecode2
)) {
8618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8620 arg2
= static_cast< int >(val2
);
8623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8624 (arg1
)->SetFieldsCount(arg2
);
8625 wxPyEndAllowThreads(__tstate
);
8626 if (PyErr_Occurred()) SWIG_fail
;
8628 resultobj
= SWIG_Py_Void();
8635 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8636 PyObject
*resultobj
= 0;
8637 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8641 PyObject
*swig_obj
[1] ;
8643 if (!args
) SWIG_fail
;
8645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8646 if (!SWIG_IsOK(res1
)) {
8647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8649 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8652 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8653 wxPyEndAllowThreads(__tstate
);
8654 if (PyErr_Occurred()) SWIG_fail
;
8656 resultobj
= SWIG_From_int(static_cast< int >(result
));
8663 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8664 PyObject
*resultobj
= 0;
8665 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8666 wxString
*arg2
= 0 ;
8667 int arg3
= (int) 0 ;
8670 bool temp2
= false ;
8673 PyObject
* obj0
= 0 ;
8674 PyObject
* obj1
= 0 ;
8675 PyObject
* obj2
= 0 ;
8676 char * kwnames
[] = {
8677 (char *) "self",(char *) "text",(char *) "number", NULL
8680 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8681 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8682 if (!SWIG_IsOK(res1
)) {
8683 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8685 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8687 arg2
= wxString_in_helper(obj1
);
8688 if (arg2
== NULL
) SWIG_fail
;
8692 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8693 if (!SWIG_IsOK(ecode3
)) {
8694 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8696 arg3
= static_cast< int >(val3
);
8699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8700 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8701 wxPyEndAllowThreads(__tstate
);
8702 if (PyErr_Occurred()) SWIG_fail
;
8704 resultobj
= SWIG_Py_Void();
8719 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8720 PyObject
*resultobj
= 0;
8721 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8722 int arg2
= (int) 0 ;
8728 PyObject
* obj0
= 0 ;
8729 PyObject
* obj1
= 0 ;
8730 char * kwnames
[] = {
8731 (char *) "self",(char *) "number", NULL
8734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8736 if (!SWIG_IsOK(res1
)) {
8737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8739 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8741 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8742 if (!SWIG_IsOK(ecode2
)) {
8743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
8745 arg2
= static_cast< int >(val2
);
8748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8749 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
8750 wxPyEndAllowThreads(__tstate
);
8751 if (PyErr_Occurred()) SWIG_fail
;
8755 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
8757 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
8766 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8767 PyObject
*resultobj
= 0;
8768 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8769 wxString
*arg2
= 0 ;
8770 int arg3
= (int) 0 ;
8773 bool temp2
= false ;
8776 PyObject
* obj0
= 0 ;
8777 PyObject
* obj1
= 0 ;
8778 PyObject
* obj2
= 0 ;
8779 char * kwnames
[] = {
8780 (char *) "self",(char *) "text",(char *) "number", NULL
8783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8785 if (!SWIG_IsOK(res1
)) {
8786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8788 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8790 arg2
= wxString_in_helper(obj1
);
8791 if (arg2
== NULL
) SWIG_fail
;
8795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8796 if (!SWIG_IsOK(ecode3
)) {
8797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
8799 arg3
= static_cast< int >(val3
);
8802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8803 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
8804 wxPyEndAllowThreads(__tstate
);
8805 if (PyErr_Occurred()) SWIG_fail
;
8807 resultobj
= SWIG_Py_Void();
8822 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8823 PyObject
*resultobj
= 0;
8824 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8825 int arg2
= (int) 0 ;
8830 PyObject
* obj0
= 0 ;
8831 PyObject
* obj1
= 0 ;
8832 char * kwnames
[] = {
8833 (char *) "self",(char *) "number", NULL
8836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8838 if (!SWIG_IsOK(res1
)) {
8839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8841 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8843 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8844 if (!SWIG_IsOK(ecode2
)) {
8845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
8847 arg2
= static_cast< int >(val2
);
8850 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8851 (arg1
)->PopStatusText(arg2
);
8852 wxPyEndAllowThreads(__tstate
);
8853 if (PyErr_Occurred()) SWIG_fail
;
8855 resultobj
= SWIG_Py_Void();
8862 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8863 PyObject
*resultobj
= 0;
8864 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8866 int *arg3
= (int *) 0 ;
8869 PyObject
* obj0
= 0 ;
8870 PyObject
* obj1
= 0 ;
8871 char * kwnames
[] = {
8872 (char *) "self",(char *) "widths", NULL
8875 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8876 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8877 if (!SWIG_IsOK(res1
)) {
8878 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8880 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8882 arg2
= PyList_Size(obj1
);
8883 arg3
= int_LIST_helper(obj1
);
8884 if (arg3
== NULL
) SWIG_fail
;
8887 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8888 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
8889 wxPyEndAllowThreads(__tstate
);
8890 if (PyErr_Occurred()) SWIG_fail
;
8892 resultobj
= SWIG_Py_Void();
8894 if (arg3
) delete [] arg3
;
8899 if (arg3
) delete [] arg3
;
8905 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8906 PyObject
*resultobj
= 0;
8907 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8909 int *arg3
= (int *) 0 ;
8912 PyObject
* obj0
= 0 ;
8913 PyObject
* obj1
= 0 ;
8914 char * kwnames
[] = {
8915 (char *) "self",(char *) "styles", NULL
8918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8920 if (!SWIG_IsOK(res1
)) {
8921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8923 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8925 arg2
= PyList_Size(obj1
);
8926 arg3
= int_LIST_helper(obj1
);
8927 if (arg3
== NULL
) SWIG_fail
;
8930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8931 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
8932 wxPyEndAllowThreads(__tstate
);
8933 if (PyErr_Occurred()) SWIG_fail
;
8935 resultobj
= SWIG_Py_Void();
8937 if (arg3
) delete [] arg3
;
8942 if (arg3
) delete [] arg3
;
8948 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8949 PyObject
*resultobj
= 0;
8950 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8957 PyObject
* obj0
= 0 ;
8958 PyObject
* obj1
= 0 ;
8959 char * kwnames
[] = {
8960 (char *) "self",(char *) "i", NULL
8963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8965 if (!SWIG_IsOK(res1
)) {
8966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8968 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8969 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8970 if (!SWIG_IsOK(ecode2
)) {
8971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
8973 arg2
= static_cast< int >(val2
);
8975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8976 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
8977 wxPyEndAllowThreads(__tstate
);
8978 if (PyErr_Occurred()) SWIG_fail
;
8980 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
8987 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8988 PyObject
*resultobj
= 0;
8989 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8995 PyObject
* obj0
= 0 ;
8996 PyObject
* obj1
= 0 ;
8997 char * kwnames
[] = {
8998 (char *) "self",(char *) "height", NULL
9001 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9002 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9003 if (!SWIG_IsOK(res1
)) {
9004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9006 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9007 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9008 if (!SWIG_IsOK(ecode2
)) {
9009 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9011 arg2
= static_cast< int >(val2
);
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 (arg1
)->SetMinHeight(arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9018 resultobj
= SWIG_Py_Void();
9025 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9026 PyObject
*resultobj
= 0;
9027 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9031 PyObject
*swig_obj
[1] ;
9033 if (!args
) SWIG_fail
;
9035 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9036 if (!SWIG_IsOK(res1
)) {
9037 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9039 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9041 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9042 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9043 wxPyEndAllowThreads(__tstate
);
9044 if (PyErr_Occurred()) SWIG_fail
;
9046 resultobj
= SWIG_From_int(static_cast< int >(result
));
9053 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9054 PyObject
*resultobj
= 0;
9055 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9059 PyObject
*swig_obj
[1] ;
9061 if (!args
) SWIG_fail
;
9063 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9064 if (!SWIG_IsOK(res1
)) {
9065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9067 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9069 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9070 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9071 wxPyEndAllowThreads(__tstate
);
9072 if (PyErr_Occurred()) SWIG_fail
;
9074 resultobj
= SWIG_From_int(static_cast< int >(result
));
9081 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9082 PyObject
*resultobj
= 0;
9083 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9084 SwigValueWrapper
<wxVisualAttributes
> result
;
9087 PyObject
* obj0
= 0 ;
9088 char * kwnames
[] = {
9089 (char *) "variant", NULL
9092 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9094 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9095 if (!SWIG_IsOK(ecode1
)) {
9096 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9098 arg1
= static_cast< wxWindowVariant
>(val1
);
9101 if (!wxPyCheckForApp()) SWIG_fail
;
9102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9103 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9104 wxPyEndAllowThreads(__tstate
);
9105 if (PyErr_Occurred()) SWIG_fail
;
9107 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9114 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9116 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9117 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9118 return SWIG_Py_Void();
9121 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9122 return SWIG_Python_InitShadowInstance(args
);
9125 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9126 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9131 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9132 PyObject
*pyobj
= 0;
9136 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9138 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9145 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9146 PyObject
*resultobj
= 0;
9147 wxWindow
*arg1
= (wxWindow
*) 0 ;
9148 int arg2
= (int) -1 ;
9149 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9150 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9151 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9152 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9153 long arg5
= (long) wxSP_3D
;
9154 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9155 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9156 wxSplitterWindow
*result
= 0 ;
9165 bool temp6
= false ;
9166 PyObject
* obj0
= 0 ;
9167 PyObject
* obj1
= 0 ;
9168 PyObject
* obj2
= 0 ;
9169 PyObject
* obj3
= 0 ;
9170 PyObject
* obj4
= 0 ;
9171 PyObject
* obj5
= 0 ;
9172 char * kwnames
[] = {
9173 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9176 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9177 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9178 if (!SWIG_IsOK(res1
)) {
9179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9181 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9183 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9184 if (!SWIG_IsOK(ecode2
)) {
9185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9187 arg2
= static_cast< int >(val2
);
9192 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9198 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9202 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9203 if (!SWIG_IsOK(ecode5
)) {
9204 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9206 arg5
= static_cast< long >(val5
);
9210 arg6
= wxString_in_helper(obj5
);
9211 if (arg6
== NULL
) SWIG_fail
;
9216 if (!wxPyCheckForApp()) SWIG_fail
;
9217 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9218 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9219 wxPyEndAllowThreads(__tstate
);
9220 if (PyErr_Occurred()) SWIG_fail
;
9222 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9237 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9238 PyObject
*resultobj
= 0;
9239 wxSplitterWindow
*result
= 0 ;
9241 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9243 if (!wxPyCheckForApp()) SWIG_fail
;
9244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9245 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9246 wxPyEndAllowThreads(__tstate
);
9247 if (PyErr_Occurred()) SWIG_fail
;
9249 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9256 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9257 PyObject
*resultobj
= 0;
9258 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9259 wxWindow
*arg2
= (wxWindow
*) 0 ;
9260 int arg3
= (int) -1 ;
9261 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9262 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9263 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9264 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9265 long arg6
= (long) wxSP_3D
;
9266 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9267 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9279 bool temp7
= false ;
9280 PyObject
* obj0
= 0 ;
9281 PyObject
* obj1
= 0 ;
9282 PyObject
* obj2
= 0 ;
9283 PyObject
* obj3
= 0 ;
9284 PyObject
* obj4
= 0 ;
9285 PyObject
* obj5
= 0 ;
9286 PyObject
* obj6
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9296 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9297 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9298 if (!SWIG_IsOK(res2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9301 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9303 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9304 if (!SWIG_IsOK(ecode3
)) {
9305 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9307 arg3
= static_cast< int >(val3
);
9312 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9318 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9322 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9323 if (!SWIG_IsOK(ecode6
)) {
9324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9326 arg6
= static_cast< long >(val6
);
9330 arg7
= wxString_in_helper(obj6
);
9331 if (arg7
== NULL
) SWIG_fail
;
9336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9337 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9338 wxPyEndAllowThreads(__tstate
);
9339 if (PyErr_Occurred()) SWIG_fail
;
9342 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9358 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9359 PyObject
*resultobj
= 0;
9360 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9361 wxWindow
*result
= 0 ;
9364 PyObject
*swig_obj
[1] ;
9366 if (!args
) SWIG_fail
;
9368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9369 if (!SWIG_IsOK(res1
)) {
9370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9372 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9375 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9376 wxPyEndAllowThreads(__tstate
);
9377 if (PyErr_Occurred()) SWIG_fail
;
9380 resultobj
= wxPyMake_wxObject(result
, 0);
9388 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9389 PyObject
*resultobj
= 0;
9390 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9391 wxWindow
*result
= 0 ;
9394 PyObject
*swig_obj
[1] ;
9396 if (!args
) SWIG_fail
;
9398 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9399 if (!SWIG_IsOK(res1
)) {
9400 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9402 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9405 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9406 wxPyEndAllowThreads(__tstate
);
9407 if (PyErr_Occurred()) SWIG_fail
;
9410 resultobj
= wxPyMake_wxObject(result
, 0);
9418 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9419 PyObject
*resultobj
= 0;
9420 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9426 PyObject
* obj0
= 0 ;
9427 PyObject
* obj1
= 0 ;
9428 char * kwnames
[] = {
9429 (char *) "self",(char *) "mode", NULL
9432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9434 if (!SWIG_IsOK(res1
)) {
9435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9437 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9439 if (!SWIG_IsOK(ecode2
)) {
9440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9442 arg2
= static_cast< int >(val2
);
9444 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9445 (arg1
)->SetSplitMode(arg2
);
9446 wxPyEndAllowThreads(__tstate
);
9447 if (PyErr_Occurred()) SWIG_fail
;
9449 resultobj
= SWIG_Py_Void();
9456 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9457 PyObject
*resultobj
= 0;
9458 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9462 PyObject
*swig_obj
[1] ;
9464 if (!args
) SWIG_fail
;
9466 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9467 if (!SWIG_IsOK(res1
)) {
9468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9470 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9473 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9474 wxPyEndAllowThreads(__tstate
);
9475 if (PyErr_Occurred()) SWIG_fail
;
9477 resultobj
= SWIG_From_int(static_cast< int >(result
));
9484 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9485 PyObject
*resultobj
= 0;
9486 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9487 wxWindow
*arg2
= (wxWindow
*) 0 ;
9492 PyObject
* obj0
= 0 ;
9493 PyObject
* obj1
= 0 ;
9494 char * kwnames
[] = {
9495 (char *) "self",(char *) "window", NULL
9498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9500 if (!SWIG_IsOK(res1
)) {
9501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9503 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9504 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9505 if (!SWIG_IsOK(res2
)) {
9506 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9508 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9511 (arg1
)->Initialize(arg2
);
9512 wxPyEndAllowThreads(__tstate
);
9513 if (PyErr_Occurred()) SWIG_fail
;
9515 resultobj
= SWIG_Py_Void();
9522 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9523 PyObject
*resultobj
= 0;
9524 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9525 wxWindow
*arg2
= (wxWindow
*) 0 ;
9526 wxWindow
*arg3
= (wxWindow
*) 0 ;
9527 int arg4
= (int) 0 ;
9537 PyObject
* obj0
= 0 ;
9538 PyObject
* obj1
= 0 ;
9539 PyObject
* obj2
= 0 ;
9540 PyObject
* obj3
= 0 ;
9541 char * kwnames
[] = {
9542 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9547 if (!SWIG_IsOK(res1
)) {
9548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9550 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9552 if (!SWIG_IsOK(res2
)) {
9553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9555 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9556 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9557 if (!SWIG_IsOK(res3
)) {
9558 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9560 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9562 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9563 if (!SWIG_IsOK(ecode4
)) {
9564 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9566 arg4
= static_cast< int >(val4
);
9569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9570 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9571 wxPyEndAllowThreads(__tstate
);
9572 if (PyErr_Occurred()) SWIG_fail
;
9575 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9583 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9584 PyObject
*resultobj
= 0;
9585 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9586 wxWindow
*arg2
= (wxWindow
*) 0 ;
9587 wxWindow
*arg3
= (wxWindow
*) 0 ;
9588 int arg4
= (int) 0 ;
9598 PyObject
* obj0
= 0 ;
9599 PyObject
* obj1
= 0 ;
9600 PyObject
* obj2
= 0 ;
9601 PyObject
* obj3
= 0 ;
9602 char * kwnames
[] = {
9603 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9608 if (!SWIG_IsOK(res1
)) {
9609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9611 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9612 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9613 if (!SWIG_IsOK(res2
)) {
9614 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9616 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9617 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9618 if (!SWIG_IsOK(res3
)) {
9619 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9621 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9624 if (!SWIG_IsOK(ecode4
)) {
9625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9627 arg4
= static_cast< int >(val4
);
9630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9631 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9632 wxPyEndAllowThreads(__tstate
);
9633 if (PyErr_Occurred()) SWIG_fail
;
9636 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9644 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9645 PyObject
*resultobj
= 0;
9646 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9647 wxWindow
*arg2
= (wxWindow
*) NULL
;
9653 PyObject
* obj0
= 0 ;
9654 PyObject
* obj1
= 0 ;
9655 char * kwnames
[] = {
9656 (char *) "self",(char *) "toRemove", NULL
9659 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9660 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9661 if (!SWIG_IsOK(res1
)) {
9662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9664 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9667 if (!SWIG_IsOK(res2
)) {
9668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9670 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9673 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9674 result
= (bool)(arg1
)->Unsplit(arg2
);
9675 wxPyEndAllowThreads(__tstate
);
9676 if (PyErr_Occurred()) SWIG_fail
;
9679 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9687 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9688 PyObject
*resultobj
= 0;
9689 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9690 wxWindow
*arg2
= (wxWindow
*) 0 ;
9691 wxWindow
*arg3
= (wxWindow
*) 0 ;
9699 PyObject
* obj0
= 0 ;
9700 PyObject
* obj1
= 0 ;
9701 PyObject
* obj2
= 0 ;
9702 char * kwnames
[] = {
9703 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9708 if (!SWIG_IsOK(res1
)) {
9709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9711 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9712 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9713 if (!SWIG_IsOK(res2
)) {
9714 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9716 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9717 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9718 if (!SWIG_IsOK(res3
)) {
9719 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9721 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9724 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9725 wxPyEndAllowThreads(__tstate
);
9726 if (PyErr_Occurred()) SWIG_fail
;
9729 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9737 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9738 PyObject
*resultobj
= 0;
9739 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9742 PyObject
*swig_obj
[1] ;
9744 if (!args
) SWIG_fail
;
9746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9747 if (!SWIG_IsOK(res1
)) {
9748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9750 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9753 (arg1
)->UpdateSize();
9754 wxPyEndAllowThreads(__tstate
);
9755 if (PyErr_Occurred()) SWIG_fail
;
9757 resultobj
= SWIG_Py_Void();
9764 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9765 PyObject
*resultobj
= 0;
9766 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9770 PyObject
*swig_obj
[1] ;
9772 if (!args
) SWIG_fail
;
9774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9775 if (!SWIG_IsOK(res1
)) {
9776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9778 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9781 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
9782 wxPyEndAllowThreads(__tstate
);
9783 if (PyErr_Occurred()) SWIG_fail
;
9786 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9794 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9795 PyObject
*resultobj
= 0;
9796 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 char * kwnames
[] = {
9805 (char *) "self",(char *) "width", NULL
9808 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9809 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9810 if (!SWIG_IsOK(res1
)) {
9811 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9813 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9814 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9815 if (!SWIG_IsOK(ecode2
)) {
9816 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
9818 arg2
= static_cast< int >(val2
);
9820 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9821 (arg1
)->SetSashSize(arg2
);
9822 wxPyEndAllowThreads(__tstate
);
9823 if (PyErr_Occurred()) SWIG_fail
;
9825 resultobj
= SWIG_Py_Void();
9832 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9833 PyObject
*resultobj
= 0;
9834 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9840 PyObject
* obj0
= 0 ;
9841 PyObject
* obj1
= 0 ;
9842 char * kwnames
[] = {
9843 (char *) "self",(char *) "width", NULL
9846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9847 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9848 if (!SWIG_IsOK(res1
)) {
9849 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9851 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9852 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9853 if (!SWIG_IsOK(ecode2
)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
9856 arg2
= static_cast< int >(val2
);
9858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9859 (arg1
)->SetBorderSize(arg2
);
9860 wxPyEndAllowThreads(__tstate
);
9861 if (PyErr_Occurred()) SWIG_fail
;
9863 resultobj
= SWIG_Py_Void();
9870 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9871 PyObject
*resultobj
= 0;
9872 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9876 PyObject
*swig_obj
[1] ;
9878 if (!args
) SWIG_fail
;
9880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9881 if (!SWIG_IsOK(res1
)) {
9882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9884 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9887 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
9888 wxPyEndAllowThreads(__tstate
);
9889 if (PyErr_Occurred()) SWIG_fail
;
9891 resultobj
= SWIG_From_int(static_cast< int >(result
));
9898 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9899 PyObject
*resultobj
= 0;
9900 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9904 PyObject
*swig_obj
[1] ;
9906 if (!args
) SWIG_fail
;
9908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9909 if (!SWIG_IsOK(res1
)) {
9910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9912 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9915 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
9916 wxPyEndAllowThreads(__tstate
);
9917 if (PyErr_Occurred()) SWIG_fail
;
9919 resultobj
= SWIG_From_int(static_cast< int >(result
));
9926 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9927 PyObject
*resultobj
= 0;
9928 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9930 bool arg3
= (bool) true ;
9937 PyObject
* obj0
= 0 ;
9938 PyObject
* obj1
= 0 ;
9939 PyObject
* obj2
= 0 ;
9940 char * kwnames
[] = {
9941 (char *) "self",(char *) "position",(char *) "redraw", NULL
9944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9946 if (!SWIG_IsOK(res1
)) {
9947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9949 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9951 if (!SWIG_IsOK(ecode2
)) {
9952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
9954 arg2
= static_cast< int >(val2
);
9956 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
9957 if (!SWIG_IsOK(ecode3
)) {
9958 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
9960 arg3
= static_cast< bool >(val3
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 (arg1
)->SetSashPosition(arg2
,arg3
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9968 resultobj
= SWIG_Py_Void();
9975 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9976 PyObject
*resultobj
= 0;
9977 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9981 PyObject
*swig_obj
[1] ;
9983 if (!args
) SWIG_fail
;
9985 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9986 if (!SWIG_IsOK(res1
)) {
9987 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9989 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9992 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
9993 wxPyEndAllowThreads(__tstate
);
9994 if (PyErr_Occurred()) SWIG_fail
;
9996 resultobj
= SWIG_From_int(static_cast< int >(result
));
10003 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10004 PyObject
*resultobj
= 0;
10005 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10011 PyObject
* obj0
= 0 ;
10012 PyObject
* obj1
= 0 ;
10013 char * kwnames
[] = {
10014 (char *) "self",(char *) "gravity", NULL
10017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10019 if (!SWIG_IsOK(res1
)) {
10020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10022 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10023 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10024 if (!SWIG_IsOK(ecode2
)) {
10025 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10027 arg2
= static_cast< double >(val2
);
10029 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10030 (arg1
)->SetSashGravity(arg2
);
10031 wxPyEndAllowThreads(__tstate
);
10032 if (PyErr_Occurred()) SWIG_fail
;
10034 resultobj
= SWIG_Py_Void();
10041 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10042 PyObject
*resultobj
= 0;
10043 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10047 PyObject
*swig_obj
[1] ;
10049 if (!args
) SWIG_fail
;
10050 swig_obj
[0] = args
;
10051 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10052 if (!SWIG_IsOK(res1
)) {
10053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10055 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10057 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10058 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10059 wxPyEndAllowThreads(__tstate
);
10060 if (PyErr_Occurred()) SWIG_fail
;
10062 resultobj
= SWIG_From_double(static_cast< double >(result
));
10069 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10070 PyObject
*resultobj
= 0;
10071 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10077 PyObject
* obj0
= 0 ;
10078 PyObject
* obj1
= 0 ;
10079 char * kwnames
[] = {
10080 (char *) "self",(char *) "min", NULL
10083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10085 if (!SWIG_IsOK(res1
)) {
10086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10088 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10089 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10090 if (!SWIG_IsOK(ecode2
)) {
10091 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10093 arg2
= static_cast< int >(val2
);
10095 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10096 (arg1
)->SetMinimumPaneSize(arg2
);
10097 wxPyEndAllowThreads(__tstate
);
10098 if (PyErr_Occurred()) SWIG_fail
;
10100 resultobj
= SWIG_Py_Void();
10107 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10108 PyObject
*resultobj
= 0;
10109 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10113 PyObject
*swig_obj
[1] ;
10115 if (!args
) SWIG_fail
;
10116 swig_obj
[0] = args
;
10117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10118 if (!SWIG_IsOK(res1
)) {
10119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10121 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_From_int(static_cast< int >(result
));
10135 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10136 PyObject
*resultobj
= 0;
10137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10140 int arg4
= (int) 5 ;
10150 PyObject
* obj0
= 0 ;
10151 PyObject
* obj1
= 0 ;
10152 PyObject
* obj2
= 0 ;
10153 PyObject
* obj3
= 0 ;
10154 char * kwnames
[] = {
10155 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10160 if (!SWIG_IsOK(res1
)) {
10161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10163 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10165 if (!SWIG_IsOK(ecode2
)) {
10166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10168 arg2
= static_cast< int >(val2
);
10169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10170 if (!SWIG_IsOK(ecode3
)) {
10171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10173 arg3
= static_cast< int >(val3
);
10175 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10176 if (!SWIG_IsOK(ecode4
)) {
10177 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10179 arg4
= static_cast< int >(val4
);
10182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10183 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10184 wxPyEndAllowThreads(__tstate
);
10185 if (PyErr_Occurred()) SWIG_fail
;
10188 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10196 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10197 PyObject
*resultobj
= 0;
10198 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10201 PyObject
*swig_obj
[1] ;
10203 if (!args
) SWIG_fail
;
10204 swig_obj
[0] = args
;
10205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10206 if (!SWIG_IsOK(res1
)) {
10207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10209 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10212 (arg1
)->SizeWindows();
10213 wxPyEndAllowThreads(__tstate
);
10214 if (PyErr_Occurred()) SWIG_fail
;
10216 resultobj
= SWIG_Py_Void();
10223 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10224 PyObject
*resultobj
= 0;
10225 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10231 PyObject
* obj0
= 0 ;
10232 PyObject
* obj1
= 0 ;
10233 char * kwnames
[] = {
10234 (char *) "self",(char *) "needUpdating", NULL
10237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10239 if (!SWIG_IsOK(res1
)) {
10240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10242 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10243 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10244 if (!SWIG_IsOK(ecode2
)) {
10245 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10247 arg2
= static_cast< bool >(val2
);
10249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10250 (arg1
)->SetNeedUpdating(arg2
);
10251 wxPyEndAllowThreads(__tstate
);
10252 if (PyErr_Occurred()) SWIG_fail
;
10254 resultobj
= SWIG_Py_Void();
10261 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10262 PyObject
*resultobj
= 0;
10263 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10267 PyObject
*swig_obj
[1] ;
10269 if (!args
) SWIG_fail
;
10270 swig_obj
[0] = args
;
10271 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10272 if (!SWIG_IsOK(res1
)) {
10273 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10275 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10278 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10279 wxPyEndAllowThreads(__tstate
);
10280 if (PyErr_Occurred()) SWIG_fail
;
10283 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10291 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10292 PyObject
*resultobj
= 0;
10293 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10294 SwigValueWrapper
<wxVisualAttributes
> result
;
10297 PyObject
* obj0
= 0 ;
10298 char * kwnames
[] = {
10299 (char *) "variant", NULL
10302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10304 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10305 if (!SWIG_IsOK(ecode1
)) {
10306 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10308 arg1
= static_cast< wxWindowVariant
>(val1
);
10311 if (!wxPyCheckForApp()) SWIG_fail
;
10312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10313 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10314 wxPyEndAllowThreads(__tstate
);
10315 if (PyErr_Occurred()) SWIG_fail
;
10317 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10324 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10326 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10327 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10328 return SWIG_Py_Void();
10331 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 return SWIG_Python_InitShadowInstance(args
);
10335 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10336 PyObject
*resultobj
= 0;
10337 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10338 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10339 wxSplitterEvent
*result
= 0 ;
10344 PyObject
* obj0
= 0 ;
10345 PyObject
* obj1
= 0 ;
10346 char * kwnames
[] = {
10347 (char *) "type",(char *) "splitter", NULL
10350 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10352 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10353 if (!SWIG_IsOK(ecode1
)) {
10354 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10356 arg1
= static_cast< wxEventType
>(val1
);
10359 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10360 if (!SWIG_IsOK(res2
)) {
10361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10363 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10367 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10368 wxPyEndAllowThreads(__tstate
);
10369 if (PyErr_Occurred()) SWIG_fail
;
10371 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10378 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10379 PyObject
*resultobj
= 0;
10380 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10386 PyObject
* obj0
= 0 ;
10387 PyObject
* obj1
= 0 ;
10388 char * kwnames
[] = {
10389 (char *) "self",(char *) "pos", NULL
10392 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10393 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10394 if (!SWIG_IsOK(res1
)) {
10395 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10397 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10398 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10399 if (!SWIG_IsOK(ecode2
)) {
10400 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10402 arg2
= static_cast< int >(val2
);
10404 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10405 (arg1
)->SetSashPosition(arg2
);
10406 wxPyEndAllowThreads(__tstate
);
10407 if (PyErr_Occurred()) SWIG_fail
;
10409 resultobj
= SWIG_Py_Void();
10416 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10417 PyObject
*resultobj
= 0;
10418 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10422 PyObject
*swig_obj
[1] ;
10424 if (!args
) SWIG_fail
;
10425 swig_obj
[0] = args
;
10426 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10427 if (!SWIG_IsOK(res1
)) {
10428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10430 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10433 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10434 wxPyEndAllowThreads(__tstate
);
10435 if (PyErr_Occurred()) SWIG_fail
;
10437 resultobj
= SWIG_From_int(static_cast< int >(result
));
10444 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10445 PyObject
*resultobj
= 0;
10446 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10447 wxWindow
*result
= 0 ;
10450 PyObject
*swig_obj
[1] ;
10452 if (!args
) SWIG_fail
;
10453 swig_obj
[0] = args
;
10454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10455 if (!SWIG_IsOK(res1
)) {
10456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10458 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10461 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10462 wxPyEndAllowThreads(__tstate
);
10463 if (PyErr_Occurred()) SWIG_fail
;
10466 resultobj
= wxPyMake_wxObject(result
, 0);
10474 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10475 PyObject
*resultobj
= 0;
10476 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10480 PyObject
*swig_obj
[1] ;
10482 if (!args
) SWIG_fail
;
10483 swig_obj
[0] = args
;
10484 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10485 if (!SWIG_IsOK(res1
)) {
10486 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10488 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10491 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10492 wxPyEndAllowThreads(__tstate
);
10493 if (PyErr_Occurred()) SWIG_fail
;
10495 resultobj
= SWIG_From_int(static_cast< int >(result
));
10502 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10503 PyObject
*resultobj
= 0;
10504 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10508 PyObject
*swig_obj
[1] ;
10510 if (!args
) SWIG_fail
;
10511 swig_obj
[0] = args
;
10512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10513 if (!SWIG_IsOK(res1
)) {
10514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10516 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10519 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10520 wxPyEndAllowThreads(__tstate
);
10521 if (PyErr_Occurred()) SWIG_fail
;
10523 resultobj
= SWIG_From_int(static_cast< int >(result
));
10530 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10533 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10534 return SWIG_Py_Void();
10537 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10538 return SWIG_Python_InitShadowInstance(args
);
10541 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10542 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10547 SWIGINTERN PyObject
*SashNameStr_get(void) {
10548 PyObject
*pyobj
= 0;
10552 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10554 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10561 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10562 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10567 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10568 PyObject
*pyobj
= 0;
10572 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10574 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10581 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxWindow
*arg1
= (wxWindow
*) 0 ;
10584 int arg2
= (int) -1 ;
10585 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10586 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10587 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10588 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10589 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10590 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10591 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10592 wxSashWindow
*result
= 0 ;
10601 bool temp6
= false ;
10602 PyObject
* obj0
= 0 ;
10603 PyObject
* obj1
= 0 ;
10604 PyObject
* obj2
= 0 ;
10605 PyObject
* obj3
= 0 ;
10606 PyObject
* obj4
= 0 ;
10607 PyObject
* obj5
= 0 ;
10608 char * kwnames
[] = {
10609 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10614 if (!SWIG_IsOK(res1
)) {
10615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10617 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10620 if (!SWIG_IsOK(ecode2
)) {
10621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10623 arg2
= static_cast< int >(val2
);
10628 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10634 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10638 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10639 if (!SWIG_IsOK(ecode5
)) {
10640 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10642 arg5
= static_cast< long >(val5
);
10646 arg6
= wxString_in_helper(obj5
);
10647 if (arg6
== NULL
) SWIG_fail
;
10652 if (!wxPyCheckForApp()) SWIG_fail
;
10653 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10654 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10655 wxPyEndAllowThreads(__tstate
);
10656 if (PyErr_Occurred()) SWIG_fail
;
10658 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10673 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10674 PyObject
*resultobj
= 0;
10675 wxSashWindow
*result
= 0 ;
10677 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10679 if (!wxPyCheckForApp()) SWIG_fail
;
10680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10681 result
= (wxSashWindow
*)new wxSashWindow();
10682 wxPyEndAllowThreads(__tstate
);
10683 if (PyErr_Occurred()) SWIG_fail
;
10685 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10692 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10693 PyObject
*resultobj
= 0;
10694 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10695 wxWindow
*arg2
= (wxWindow
*) 0 ;
10696 int arg3
= (int) -1 ;
10697 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10698 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10699 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10700 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10701 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10702 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10703 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10715 bool temp7
= false ;
10716 PyObject
* obj0
= 0 ;
10717 PyObject
* obj1
= 0 ;
10718 PyObject
* obj2
= 0 ;
10719 PyObject
* obj3
= 0 ;
10720 PyObject
* obj4
= 0 ;
10721 PyObject
* obj5
= 0 ;
10722 PyObject
* obj6
= 0 ;
10723 char * kwnames
[] = {
10724 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10729 if (!SWIG_IsOK(res1
)) {
10730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10732 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10733 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10734 if (!SWIG_IsOK(res2
)) {
10735 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
10737 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10739 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10740 if (!SWIG_IsOK(ecode3
)) {
10741 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
10743 arg3
= static_cast< int >(val3
);
10748 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
10754 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
10758 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
10759 if (!SWIG_IsOK(ecode6
)) {
10760 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
10762 arg6
= static_cast< long >(val6
);
10766 arg7
= wxString_in_helper(obj6
);
10767 if (arg7
== NULL
) SWIG_fail
;
10772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10773 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
10774 wxPyEndAllowThreads(__tstate
);
10775 if (PyErr_Occurred()) SWIG_fail
;
10778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10794 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10795 PyObject
*resultobj
= 0;
10796 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10797 wxSashEdgePosition arg2
;
10805 PyObject
* obj0
= 0 ;
10806 PyObject
* obj1
= 0 ;
10807 PyObject
* obj2
= 0 ;
10808 char * kwnames
[] = {
10809 (char *) "self",(char *) "edge",(char *) "sash", NULL
10812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10814 if (!SWIG_IsOK(res1
)) {
10815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10817 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10818 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10819 if (!SWIG_IsOK(ecode2
)) {
10820 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10822 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10823 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10824 if (!SWIG_IsOK(ecode3
)) {
10825 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
10827 arg3
= static_cast< bool >(val3
);
10829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10830 (arg1
)->SetSashVisible(arg2
,arg3
);
10831 wxPyEndAllowThreads(__tstate
);
10832 if (PyErr_Occurred()) SWIG_fail
;
10834 resultobj
= SWIG_Py_Void();
10841 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10842 PyObject
*resultobj
= 0;
10843 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10844 wxSashEdgePosition arg2
;
10850 PyObject
* obj0
= 0 ;
10851 PyObject
* obj1
= 0 ;
10852 char * kwnames
[] = {
10853 (char *) "self",(char *) "edge", NULL
10856 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10857 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10858 if (!SWIG_IsOK(res1
)) {
10859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10861 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10862 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10863 if (!SWIG_IsOK(ecode2
)) {
10864 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10866 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10868 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10869 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
10870 wxPyEndAllowThreads(__tstate
);
10871 if (PyErr_Occurred()) SWIG_fail
;
10874 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10882 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10883 PyObject
*resultobj
= 0;
10884 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10885 wxSashEdgePosition arg2
;
10893 PyObject
* obj0
= 0 ;
10894 PyObject
* obj1
= 0 ;
10895 PyObject
* obj2
= 0 ;
10896 char * kwnames
[] = {
10897 (char *) "self",(char *) "edge",(char *) "border", NULL
10900 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10901 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10902 if (!SWIG_IsOK(res1
)) {
10903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10905 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10907 if (!SWIG_IsOK(ecode2
)) {
10908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10910 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10911 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10912 if (!SWIG_IsOK(ecode3
)) {
10913 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
10915 arg3
= static_cast< bool >(val3
);
10917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10918 (arg1
)->SetSashBorder(arg2
,arg3
);
10919 wxPyEndAllowThreads(__tstate
);
10920 if (PyErr_Occurred()) SWIG_fail
;
10922 resultobj
= SWIG_Py_Void();
10929 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10930 PyObject
*resultobj
= 0;
10931 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10932 wxSashEdgePosition arg2
;
10938 PyObject
* obj0
= 0 ;
10939 PyObject
* obj1
= 0 ;
10940 char * kwnames
[] = {
10941 (char *) "self",(char *) "edge", NULL
10944 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10945 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10946 if (!SWIG_IsOK(res1
)) {
10947 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10949 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10950 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10951 if (!SWIG_IsOK(ecode2
)) {
10952 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10954 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10957 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
10958 wxPyEndAllowThreads(__tstate
);
10959 if (PyErr_Occurred()) SWIG_fail
;
10962 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10970 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10971 PyObject
*resultobj
= 0;
10972 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10973 wxSashEdgePosition arg2
;
10979 PyObject
* obj0
= 0 ;
10980 PyObject
* obj1
= 0 ;
10981 char * kwnames
[] = {
10982 (char *) "self",(char *) "edge", NULL
10985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10987 if (!SWIG_IsOK(res1
)) {
10988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
10990 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10992 if (!SWIG_IsOK(ecode2
)) {
10993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
10995 arg2
= static_cast< wxSashEdgePosition
>(val2
);
10997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10998 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
10999 wxPyEndAllowThreads(__tstate
);
11000 if (PyErr_Occurred()) SWIG_fail
;
11002 resultobj
= SWIG_From_int(static_cast< int >(result
));
11009 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11010 PyObject
*resultobj
= 0;
11011 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11017 PyObject
* obj0
= 0 ;
11018 PyObject
* obj1
= 0 ;
11019 char * kwnames
[] = {
11020 (char *) "self",(char *) "width", NULL
11023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11025 if (!SWIG_IsOK(res1
)) {
11026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11028 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11030 if (!SWIG_IsOK(ecode2
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11033 arg2
= static_cast< int >(val2
);
11035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11036 (arg1
)->SetDefaultBorderSize(arg2
);
11037 wxPyEndAllowThreads(__tstate
);
11038 if (PyErr_Occurred()) SWIG_fail
;
11040 resultobj
= SWIG_Py_Void();
11047 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11048 PyObject
*resultobj
= 0;
11049 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11053 PyObject
*swig_obj
[1] ;
11055 if (!args
) SWIG_fail
;
11056 swig_obj
[0] = args
;
11057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11058 if (!SWIG_IsOK(res1
)) {
11059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11061 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11064 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11065 wxPyEndAllowThreads(__tstate
);
11066 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= SWIG_From_int(static_cast< int >(result
));
11075 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11076 PyObject
*resultobj
= 0;
11077 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11083 PyObject
* obj0
= 0 ;
11084 PyObject
* obj1
= 0 ;
11085 char * kwnames
[] = {
11086 (char *) "self",(char *) "width", NULL
11089 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11090 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11091 if (!SWIG_IsOK(res1
)) {
11092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11094 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11095 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11096 if (!SWIG_IsOK(ecode2
)) {
11097 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11099 arg2
= static_cast< int >(val2
);
11101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11102 (arg1
)->SetExtraBorderSize(arg2
);
11103 wxPyEndAllowThreads(__tstate
);
11104 if (PyErr_Occurred()) SWIG_fail
;
11106 resultobj
= SWIG_Py_Void();
11113 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11114 PyObject
*resultobj
= 0;
11115 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11119 PyObject
*swig_obj
[1] ;
11121 if (!args
) SWIG_fail
;
11122 swig_obj
[0] = args
;
11123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11124 if (!SWIG_IsOK(res1
)) {
11125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11127 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11130 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11131 wxPyEndAllowThreads(__tstate
);
11132 if (PyErr_Occurred()) SWIG_fail
;
11134 resultobj
= SWIG_From_int(static_cast< int >(result
));
11141 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11142 PyObject
*resultobj
= 0;
11143 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11149 PyObject
* obj0
= 0 ;
11150 PyObject
* obj1
= 0 ;
11151 char * kwnames
[] = {
11152 (char *) "self",(char *) "min", NULL
11155 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11156 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11157 if (!SWIG_IsOK(res1
)) {
11158 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11160 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11161 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11162 if (!SWIG_IsOK(ecode2
)) {
11163 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11165 arg2
= static_cast< int >(val2
);
11167 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11168 (arg1
)->SetMinimumSizeX(arg2
);
11169 wxPyEndAllowThreads(__tstate
);
11170 if (PyErr_Occurred()) SWIG_fail
;
11172 resultobj
= SWIG_Py_Void();
11179 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11180 PyObject
*resultobj
= 0;
11181 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11187 PyObject
* obj0
= 0 ;
11188 PyObject
* obj1
= 0 ;
11189 char * kwnames
[] = {
11190 (char *) "self",(char *) "min", NULL
11193 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11194 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11195 if (!SWIG_IsOK(res1
)) {
11196 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11198 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11199 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11200 if (!SWIG_IsOK(ecode2
)) {
11201 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11203 arg2
= static_cast< int >(val2
);
11205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11206 (arg1
)->SetMinimumSizeY(arg2
);
11207 wxPyEndAllowThreads(__tstate
);
11208 if (PyErr_Occurred()) SWIG_fail
;
11210 resultobj
= SWIG_Py_Void();
11217 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11218 PyObject
*resultobj
= 0;
11219 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11223 PyObject
*swig_obj
[1] ;
11225 if (!args
) SWIG_fail
;
11226 swig_obj
[0] = args
;
11227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11228 if (!SWIG_IsOK(res1
)) {
11229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11231 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11234 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11235 wxPyEndAllowThreads(__tstate
);
11236 if (PyErr_Occurred()) SWIG_fail
;
11238 resultobj
= SWIG_From_int(static_cast< int >(result
));
11245 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11246 PyObject
*resultobj
= 0;
11247 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11251 PyObject
*swig_obj
[1] ;
11253 if (!args
) SWIG_fail
;
11254 swig_obj
[0] = args
;
11255 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11256 if (!SWIG_IsOK(res1
)) {
11257 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11259 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11262 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11263 wxPyEndAllowThreads(__tstate
);
11264 if (PyErr_Occurred()) SWIG_fail
;
11266 resultobj
= SWIG_From_int(static_cast< int >(result
));
11273 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11274 PyObject
*resultobj
= 0;
11275 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11281 PyObject
* obj0
= 0 ;
11282 PyObject
* obj1
= 0 ;
11283 char * kwnames
[] = {
11284 (char *) "self",(char *) "max", NULL
11287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11289 if (!SWIG_IsOK(res1
)) {
11290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11292 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11294 if (!SWIG_IsOK(ecode2
)) {
11295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11297 arg2
= static_cast< int >(val2
);
11299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11300 (arg1
)->SetMaximumSizeX(arg2
);
11301 wxPyEndAllowThreads(__tstate
);
11302 if (PyErr_Occurred()) SWIG_fail
;
11304 resultobj
= SWIG_Py_Void();
11311 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11312 PyObject
*resultobj
= 0;
11313 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11319 PyObject
* obj0
= 0 ;
11320 PyObject
* obj1
= 0 ;
11321 char * kwnames
[] = {
11322 (char *) "self",(char *) "max", NULL
11325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11327 if (!SWIG_IsOK(res1
)) {
11328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11330 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11332 if (!SWIG_IsOK(ecode2
)) {
11333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11335 arg2
= static_cast< int >(val2
);
11337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11338 (arg1
)->SetMaximumSizeY(arg2
);
11339 wxPyEndAllowThreads(__tstate
);
11340 if (PyErr_Occurred()) SWIG_fail
;
11342 resultobj
= SWIG_Py_Void();
11349 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11350 PyObject
*resultobj
= 0;
11351 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11355 PyObject
*swig_obj
[1] ;
11357 if (!args
) SWIG_fail
;
11358 swig_obj
[0] = args
;
11359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11360 if (!SWIG_IsOK(res1
)) {
11361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11363 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11366 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11367 wxPyEndAllowThreads(__tstate
);
11368 if (PyErr_Occurred()) SWIG_fail
;
11370 resultobj
= SWIG_From_int(static_cast< int >(result
));
11377 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11378 PyObject
*resultobj
= 0;
11379 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11383 PyObject
*swig_obj
[1] ;
11385 if (!args
) SWIG_fail
;
11386 swig_obj
[0] = args
;
11387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11388 if (!SWIG_IsOK(res1
)) {
11389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11391 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11394 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11395 wxPyEndAllowThreads(__tstate
);
11396 if (PyErr_Occurred()) SWIG_fail
;
11398 resultobj
= SWIG_From_int(static_cast< int >(result
));
11405 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11406 PyObject
*resultobj
= 0;
11407 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11410 int arg4
= (int) 2 ;
11411 wxSashEdgePosition result
;
11420 PyObject
* obj0
= 0 ;
11421 PyObject
* obj1
= 0 ;
11422 PyObject
* obj2
= 0 ;
11423 PyObject
* obj3
= 0 ;
11424 char * kwnames
[] = {
11425 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11433 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11435 if (!SWIG_IsOK(ecode2
)) {
11436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11438 arg2
= static_cast< int >(val2
);
11439 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11440 if (!SWIG_IsOK(ecode3
)) {
11441 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11443 arg3
= static_cast< int >(val3
);
11445 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11446 if (!SWIG_IsOK(ecode4
)) {
11447 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11449 arg4
= static_cast< int >(val4
);
11452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11453 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11454 wxPyEndAllowThreads(__tstate
);
11455 if (PyErr_Occurred()) SWIG_fail
;
11457 resultobj
= SWIG_From_int(static_cast< int >(result
));
11464 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11465 PyObject
*resultobj
= 0;
11466 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11469 PyObject
*swig_obj
[1] ;
11471 if (!args
) SWIG_fail
;
11472 swig_obj
[0] = args
;
11473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11474 if (!SWIG_IsOK(res1
)) {
11475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11477 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11480 (arg1
)->SizeWindows();
11481 wxPyEndAllowThreads(__tstate
);
11482 if (PyErr_Occurred()) SWIG_fail
;
11484 resultobj
= SWIG_Py_Void();
11491 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11493 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11494 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11495 return SWIG_Py_Void();
11498 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11499 return SWIG_Python_InitShadowInstance(args
);
11502 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11503 PyObject
*resultobj
= 0;
11504 int arg1
= (int) 0 ;
11505 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11506 wxSashEvent
*result
= 0 ;
11511 PyObject
* obj0
= 0 ;
11512 PyObject
* obj1
= 0 ;
11513 char * kwnames
[] = {
11514 (char *) "id",(char *) "edge", NULL
11517 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11519 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11520 if (!SWIG_IsOK(ecode1
)) {
11521 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11523 arg1
= static_cast< int >(val1
);
11526 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11527 if (!SWIG_IsOK(ecode2
)) {
11528 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11530 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11534 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11535 wxPyEndAllowThreads(__tstate
);
11536 if (PyErr_Occurred()) SWIG_fail
;
11538 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11545 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11546 PyObject
*resultobj
= 0;
11547 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11548 wxSashEdgePosition arg2
;
11553 PyObject
* obj0
= 0 ;
11554 PyObject
* obj1
= 0 ;
11555 char * kwnames
[] = {
11556 (char *) "self",(char *) "edge", NULL
11559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11561 if (!SWIG_IsOK(res1
)) {
11562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11564 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11565 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11566 if (!SWIG_IsOK(ecode2
)) {
11567 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11569 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11571 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11572 (arg1
)->SetEdge(arg2
);
11573 wxPyEndAllowThreads(__tstate
);
11574 if (PyErr_Occurred()) SWIG_fail
;
11576 resultobj
= SWIG_Py_Void();
11583 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11584 PyObject
*resultobj
= 0;
11585 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11586 wxSashEdgePosition result
;
11589 PyObject
*swig_obj
[1] ;
11591 if (!args
) SWIG_fail
;
11592 swig_obj
[0] = args
;
11593 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11594 if (!SWIG_IsOK(res1
)) {
11595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11597 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11599 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11600 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11601 wxPyEndAllowThreads(__tstate
);
11602 if (PyErr_Occurred()) SWIG_fail
;
11604 resultobj
= SWIG_From_int(static_cast< int >(result
));
11611 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11612 PyObject
*resultobj
= 0;
11613 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11618 PyObject
* obj0
= 0 ;
11619 PyObject
* obj1
= 0 ;
11620 char * kwnames
[] = {
11621 (char *) "self",(char *) "rect", NULL
11624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11626 if (!SWIG_IsOK(res1
)) {
11627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11629 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11632 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11636 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11637 wxPyEndAllowThreads(__tstate
);
11638 if (PyErr_Occurred()) SWIG_fail
;
11640 resultobj
= SWIG_Py_Void();
11647 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11648 PyObject
*resultobj
= 0;
11649 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11653 PyObject
*swig_obj
[1] ;
11655 if (!args
) SWIG_fail
;
11656 swig_obj
[0] = args
;
11657 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11658 if (!SWIG_IsOK(res1
)) {
11659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11661 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11664 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11665 wxPyEndAllowThreads(__tstate
);
11666 if (PyErr_Occurred()) SWIG_fail
;
11668 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11675 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11676 PyObject
*resultobj
= 0;
11677 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11678 wxSashDragStatus arg2
;
11683 PyObject
* obj0
= 0 ;
11684 PyObject
* obj1
= 0 ;
11685 char * kwnames
[] = {
11686 (char *) "self",(char *) "status", NULL
11689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11691 if (!SWIG_IsOK(res1
)) {
11692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11694 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11695 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11696 if (!SWIG_IsOK(ecode2
)) {
11697 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11699 arg2
= static_cast< wxSashDragStatus
>(val2
);
11701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11702 (arg1
)->SetDragStatus(arg2
);
11703 wxPyEndAllowThreads(__tstate
);
11704 if (PyErr_Occurred()) SWIG_fail
;
11706 resultobj
= SWIG_Py_Void();
11713 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11714 PyObject
*resultobj
= 0;
11715 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11716 wxSashDragStatus result
;
11719 PyObject
*swig_obj
[1] ;
11721 if (!args
) SWIG_fail
;
11722 swig_obj
[0] = args
;
11723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11724 if (!SWIG_IsOK(res1
)) {
11725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11727 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11730 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11731 wxPyEndAllowThreads(__tstate
);
11732 if (PyErr_Occurred()) SWIG_fail
;
11734 resultobj
= SWIG_From_int(static_cast< int >(result
));
11741 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11743 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11744 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11745 return SWIG_Py_Void();
11748 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11749 return SWIG_Python_InitShadowInstance(args
);
11752 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11753 PyObject
*resultobj
= 0;
11754 int arg1
= (int) 0 ;
11755 wxQueryLayoutInfoEvent
*result
= 0 ;
11758 PyObject
* obj0
= 0 ;
11759 char * kwnames
[] = {
11760 (char *) "id", NULL
11763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11765 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11766 if (!SWIG_IsOK(ecode1
)) {
11767 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11769 arg1
= static_cast< int >(val1
);
11772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11773 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11774 wxPyEndAllowThreads(__tstate
);
11775 if (PyErr_Occurred()) SWIG_fail
;
11777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11784 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11785 PyObject
*resultobj
= 0;
11786 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11792 PyObject
* obj0
= 0 ;
11793 PyObject
* obj1
= 0 ;
11794 char * kwnames
[] = {
11795 (char *) "self",(char *) "length", NULL
11798 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11799 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11800 if (!SWIG_IsOK(res1
)) {
11801 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11803 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11804 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11805 if (!SWIG_IsOK(ecode2
)) {
11806 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
11808 arg2
= static_cast< int >(val2
);
11810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11811 (arg1
)->SetRequestedLength(arg2
);
11812 wxPyEndAllowThreads(__tstate
);
11813 if (PyErr_Occurred()) SWIG_fail
;
11815 resultobj
= SWIG_Py_Void();
11822 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11823 PyObject
*resultobj
= 0;
11824 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11828 PyObject
*swig_obj
[1] ;
11830 if (!args
) SWIG_fail
;
11831 swig_obj
[0] = args
;
11832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11833 if (!SWIG_IsOK(res1
)) {
11834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11836 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11839 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
11840 wxPyEndAllowThreads(__tstate
);
11841 if (PyErr_Occurred()) SWIG_fail
;
11843 resultobj
= SWIG_From_int(static_cast< int >(result
));
11850 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11851 PyObject
*resultobj
= 0;
11852 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11858 PyObject
* obj0
= 0 ;
11859 PyObject
* obj1
= 0 ;
11860 char * kwnames
[] = {
11861 (char *) "self",(char *) "flags", NULL
11864 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11865 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11866 if (!SWIG_IsOK(res1
)) {
11867 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11869 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11870 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11871 if (!SWIG_IsOK(ecode2
)) {
11872 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
11874 arg2
= static_cast< int >(val2
);
11876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11877 (arg1
)->SetFlags(arg2
);
11878 wxPyEndAllowThreads(__tstate
);
11879 if (PyErr_Occurred()) SWIG_fail
;
11881 resultobj
= SWIG_Py_Void();
11888 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11889 PyObject
*resultobj
= 0;
11890 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11894 PyObject
*swig_obj
[1] ;
11896 if (!args
) SWIG_fail
;
11897 swig_obj
[0] = args
;
11898 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11899 if (!SWIG_IsOK(res1
)) {
11900 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11902 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11904 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11905 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
11906 wxPyEndAllowThreads(__tstate
);
11907 if (PyErr_Occurred()) SWIG_fail
;
11909 resultobj
= SWIG_From_int(static_cast< int >(result
));
11916 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11917 PyObject
*resultobj
= 0;
11918 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11923 PyObject
* obj0
= 0 ;
11924 PyObject
* obj1
= 0 ;
11925 char * kwnames
[] = {
11926 (char *) "self",(char *) "size", NULL
11929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11931 if (!SWIG_IsOK(res1
)) {
11932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11934 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11937 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
11940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11941 (arg1
)->SetSize((wxSize
const &)*arg2
);
11942 wxPyEndAllowThreads(__tstate
);
11943 if (PyErr_Occurred()) SWIG_fail
;
11945 resultobj
= SWIG_Py_Void();
11952 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11953 PyObject
*resultobj
= 0;
11954 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11958 PyObject
*swig_obj
[1] ;
11960 if (!args
) SWIG_fail
;
11961 swig_obj
[0] = args
;
11962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11963 if (!SWIG_IsOK(res1
)) {
11964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
11966 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
11968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11969 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
11970 wxPyEndAllowThreads(__tstate
);
11971 if (PyErr_Occurred()) SWIG_fail
;
11973 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
11980 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11981 PyObject
*resultobj
= 0;
11982 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11983 wxLayoutOrientation arg2
;
11988 PyObject
* obj0
= 0 ;
11989 PyObject
* obj1
= 0 ;
11990 char * kwnames
[] = {
11991 (char *) "self",(char *) "orient", NULL
11994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
11996 if (!SWIG_IsOK(res1
)) {
11997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
11999 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12001 if (!SWIG_IsOK(ecode2
)) {
12002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12004 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12007 (arg1
)->SetOrientation(arg2
);
12008 wxPyEndAllowThreads(__tstate
);
12009 if (PyErr_Occurred()) SWIG_fail
;
12011 resultobj
= SWIG_Py_Void();
12018 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12019 PyObject
*resultobj
= 0;
12020 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12021 wxLayoutOrientation result
;
12024 PyObject
*swig_obj
[1] ;
12026 if (!args
) SWIG_fail
;
12027 swig_obj
[0] = args
;
12028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12029 if (!SWIG_IsOK(res1
)) {
12030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12032 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12035 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12036 wxPyEndAllowThreads(__tstate
);
12037 if (PyErr_Occurred()) SWIG_fail
;
12039 resultobj
= SWIG_From_int(static_cast< int >(result
));
12046 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12047 PyObject
*resultobj
= 0;
12048 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12049 wxLayoutAlignment arg2
;
12054 PyObject
* obj0
= 0 ;
12055 PyObject
* obj1
= 0 ;
12056 char * kwnames
[] = {
12057 (char *) "self",(char *) "align", NULL
12060 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12061 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12062 if (!SWIG_IsOK(res1
)) {
12063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12065 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12066 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12067 if (!SWIG_IsOK(ecode2
)) {
12068 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12070 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12073 (arg1
)->SetAlignment(arg2
);
12074 wxPyEndAllowThreads(__tstate
);
12075 if (PyErr_Occurred()) SWIG_fail
;
12077 resultobj
= SWIG_Py_Void();
12084 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12085 PyObject
*resultobj
= 0;
12086 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12087 wxLayoutAlignment result
;
12090 PyObject
*swig_obj
[1] ;
12092 if (!args
) SWIG_fail
;
12093 swig_obj
[0] = args
;
12094 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12095 if (!SWIG_IsOK(res1
)) {
12096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12098 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12100 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12101 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12102 wxPyEndAllowThreads(__tstate
);
12103 if (PyErr_Occurred()) SWIG_fail
;
12105 resultobj
= SWIG_From_int(static_cast< int >(result
));
12112 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12114 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12115 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12116 return SWIG_Py_Void();
12119 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12120 return SWIG_Python_InitShadowInstance(args
);
12123 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12124 PyObject
*resultobj
= 0;
12125 int arg1
= (int) 0 ;
12126 wxCalculateLayoutEvent
*result
= 0 ;
12129 PyObject
* obj0
= 0 ;
12130 char * kwnames
[] = {
12131 (char *) "id", NULL
12134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12136 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12137 if (!SWIG_IsOK(ecode1
)) {
12138 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12140 arg1
= static_cast< int >(val1
);
12143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12144 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12145 wxPyEndAllowThreads(__tstate
);
12146 if (PyErr_Occurred()) SWIG_fail
;
12148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12155 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12156 PyObject
*resultobj
= 0;
12157 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12163 PyObject
* obj0
= 0 ;
12164 PyObject
* obj1
= 0 ;
12165 char * kwnames
[] = {
12166 (char *) "self",(char *) "flags", NULL
12169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12171 if (!SWIG_IsOK(res1
)) {
12172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12174 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12175 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12176 if (!SWIG_IsOK(ecode2
)) {
12177 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12179 arg2
= static_cast< int >(val2
);
12181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12182 (arg1
)->SetFlags(arg2
);
12183 wxPyEndAllowThreads(__tstate
);
12184 if (PyErr_Occurred()) SWIG_fail
;
12186 resultobj
= SWIG_Py_Void();
12193 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12194 PyObject
*resultobj
= 0;
12195 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12199 PyObject
*swig_obj
[1] ;
12201 if (!args
) SWIG_fail
;
12202 swig_obj
[0] = args
;
12203 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12204 if (!SWIG_IsOK(res1
)) {
12205 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12207 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12209 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12210 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12211 wxPyEndAllowThreads(__tstate
);
12212 if (PyErr_Occurred()) SWIG_fail
;
12214 resultobj
= SWIG_From_int(static_cast< int >(result
));
12221 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12222 PyObject
*resultobj
= 0;
12223 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12228 PyObject
* obj0
= 0 ;
12229 PyObject
* obj1
= 0 ;
12230 char * kwnames
[] = {
12231 (char *) "self",(char *) "rect", NULL
12234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12236 if (!SWIG_IsOK(res1
)) {
12237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12239 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12242 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12246 (arg1
)->SetRect((wxRect
const &)*arg2
);
12247 wxPyEndAllowThreads(__tstate
);
12248 if (PyErr_Occurred()) SWIG_fail
;
12250 resultobj
= SWIG_Py_Void();
12257 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12258 PyObject
*resultobj
= 0;
12259 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12263 PyObject
*swig_obj
[1] ;
12265 if (!args
) SWIG_fail
;
12266 swig_obj
[0] = args
;
12267 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12268 if (!SWIG_IsOK(res1
)) {
12269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12271 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12274 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12275 wxPyEndAllowThreads(__tstate
);
12276 if (PyErr_Occurred()) SWIG_fail
;
12278 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12285 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12287 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12288 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12289 return SWIG_Py_Void();
12292 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12293 return SWIG_Python_InitShadowInstance(args
);
12296 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12297 PyObject
*resultobj
= 0;
12298 wxWindow
*arg1
= (wxWindow
*) 0 ;
12299 int arg2
= (int) -1 ;
12300 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12301 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12302 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12303 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12304 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12305 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12306 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12307 wxSashLayoutWindow
*result
= 0 ;
12316 bool temp6
= false ;
12317 PyObject
* obj0
= 0 ;
12318 PyObject
* obj1
= 0 ;
12319 PyObject
* obj2
= 0 ;
12320 PyObject
* obj3
= 0 ;
12321 PyObject
* obj4
= 0 ;
12322 PyObject
* obj5
= 0 ;
12323 char * kwnames
[] = {
12324 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12329 if (!SWIG_IsOK(res1
)) {
12330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12332 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12334 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12335 if (!SWIG_IsOK(ecode2
)) {
12336 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12338 arg2
= static_cast< int >(val2
);
12343 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12349 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12353 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12354 if (!SWIG_IsOK(ecode5
)) {
12355 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12357 arg5
= static_cast< long >(val5
);
12361 arg6
= wxString_in_helper(obj5
);
12362 if (arg6
== NULL
) SWIG_fail
;
12367 if (!wxPyCheckForApp()) SWIG_fail
;
12368 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12369 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12370 wxPyEndAllowThreads(__tstate
);
12371 if (PyErr_Occurred()) SWIG_fail
;
12373 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12388 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12389 PyObject
*resultobj
= 0;
12390 wxSashLayoutWindow
*result
= 0 ;
12392 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12394 if (!wxPyCheckForApp()) SWIG_fail
;
12395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12396 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12397 wxPyEndAllowThreads(__tstate
);
12398 if (PyErr_Occurred()) SWIG_fail
;
12400 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12407 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12408 PyObject
*resultobj
= 0;
12409 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12410 wxWindow
*arg2
= (wxWindow
*) 0 ;
12411 int arg3
= (int) -1 ;
12412 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12413 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12414 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12415 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12416 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12417 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12418 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12430 bool temp7
= false ;
12431 PyObject
* obj0
= 0 ;
12432 PyObject
* obj1
= 0 ;
12433 PyObject
* obj2
= 0 ;
12434 PyObject
* obj3
= 0 ;
12435 PyObject
* obj4
= 0 ;
12436 PyObject
* obj5
= 0 ;
12437 PyObject
* obj6
= 0 ;
12438 char * kwnames
[] = {
12439 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12444 if (!SWIG_IsOK(res1
)) {
12445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12447 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12448 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12449 if (!SWIG_IsOK(res2
)) {
12450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12452 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12454 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12455 if (!SWIG_IsOK(ecode3
)) {
12456 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12458 arg3
= static_cast< int >(val3
);
12463 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12469 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12473 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12474 if (!SWIG_IsOK(ecode6
)) {
12475 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12477 arg6
= static_cast< long >(val6
);
12481 arg7
= wxString_in_helper(obj6
);
12482 if (arg7
== NULL
) SWIG_fail
;
12487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12488 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12489 wxPyEndAllowThreads(__tstate
);
12490 if (PyErr_Occurred()) SWIG_fail
;
12493 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12509 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12510 PyObject
*resultobj
= 0;
12511 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12512 wxLayoutAlignment result
;
12515 PyObject
*swig_obj
[1] ;
12517 if (!args
) SWIG_fail
;
12518 swig_obj
[0] = args
;
12519 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12520 if (!SWIG_IsOK(res1
)) {
12521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12523 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12526 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12527 wxPyEndAllowThreads(__tstate
);
12528 if (PyErr_Occurred()) SWIG_fail
;
12530 resultobj
= SWIG_From_int(static_cast< int >(result
));
12537 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12538 PyObject
*resultobj
= 0;
12539 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12540 wxLayoutOrientation result
;
12543 PyObject
*swig_obj
[1] ;
12545 if (!args
) SWIG_fail
;
12546 swig_obj
[0] = args
;
12547 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12548 if (!SWIG_IsOK(res1
)) {
12549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12551 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12553 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12554 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12555 wxPyEndAllowThreads(__tstate
);
12556 if (PyErr_Occurred()) SWIG_fail
;
12558 resultobj
= SWIG_From_int(static_cast< int >(result
));
12565 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12566 PyObject
*resultobj
= 0;
12567 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12568 wxLayoutAlignment arg2
;
12573 PyObject
* obj0
= 0 ;
12574 PyObject
* obj1
= 0 ;
12575 char * kwnames
[] = {
12576 (char *) "self",(char *) "alignment", NULL
12579 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12580 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12581 if (!SWIG_IsOK(res1
)) {
12582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12584 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12585 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12586 if (!SWIG_IsOK(ecode2
)) {
12587 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12589 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12591 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12592 (arg1
)->SetAlignment(arg2
);
12593 wxPyEndAllowThreads(__tstate
);
12594 if (PyErr_Occurred()) SWIG_fail
;
12596 resultobj
= SWIG_Py_Void();
12603 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12604 PyObject
*resultobj
= 0;
12605 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12610 PyObject
* obj0
= 0 ;
12611 PyObject
* obj1
= 0 ;
12612 char * kwnames
[] = {
12613 (char *) "self",(char *) "size", NULL
12616 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12617 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12618 if (!SWIG_IsOK(res1
)) {
12619 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12621 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12624 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12628 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12629 wxPyEndAllowThreads(__tstate
);
12630 if (PyErr_Occurred()) SWIG_fail
;
12632 resultobj
= SWIG_Py_Void();
12639 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12640 PyObject
*resultobj
= 0;
12641 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12642 wxLayoutOrientation arg2
;
12647 PyObject
* obj0
= 0 ;
12648 PyObject
* obj1
= 0 ;
12649 char * kwnames
[] = {
12650 (char *) "self",(char *) "orientation", NULL
12653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12655 if (!SWIG_IsOK(res1
)) {
12656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12658 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12660 if (!SWIG_IsOK(ecode2
)) {
12661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12663 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12666 (arg1
)->SetOrientation(arg2
);
12667 wxPyEndAllowThreads(__tstate
);
12668 if (PyErr_Occurred()) SWIG_fail
;
12670 resultobj
= SWIG_Py_Void();
12677 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12679 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12680 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12681 return SWIG_Py_Void();
12684 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12685 return SWIG_Python_InitShadowInstance(args
);
12688 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12689 PyObject
*resultobj
= 0;
12690 wxLayoutAlgorithm
*result
= 0 ;
12692 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12695 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12696 wxPyEndAllowThreads(__tstate
);
12697 if (PyErr_Occurred()) SWIG_fail
;
12699 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12706 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12707 PyObject
*resultobj
= 0;
12708 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12711 PyObject
*swig_obj
[1] ;
12713 if (!args
) SWIG_fail
;
12714 swig_obj
[0] = args
;
12715 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12716 if (!SWIG_IsOK(res1
)) {
12717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12719 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12724 wxPyEndAllowThreads(__tstate
);
12725 if (PyErr_Occurred()) SWIG_fail
;
12727 resultobj
= SWIG_Py_Void();
12734 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12735 PyObject
*resultobj
= 0;
12736 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12737 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12738 wxRect
*arg3
= (wxRect
*) NULL
;
12746 PyObject
* obj0
= 0 ;
12747 PyObject
* obj1
= 0 ;
12748 PyObject
* obj2
= 0 ;
12749 char * kwnames
[] = {
12750 (char *) "self",(char *) "frame",(char *) "rect", NULL
12753 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12754 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12755 if (!SWIG_IsOK(res1
)) {
12756 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12758 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12759 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12760 if (!SWIG_IsOK(res2
)) {
12761 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12763 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12765 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12766 if (!SWIG_IsOK(res3
)) {
12767 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12769 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12773 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12774 wxPyEndAllowThreads(__tstate
);
12775 if (PyErr_Occurred()) SWIG_fail
;
12778 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12786 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12787 PyObject
*resultobj
= 0;
12788 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12789 wxFrame
*arg2
= (wxFrame
*) 0 ;
12790 wxWindow
*arg3
= (wxWindow
*) NULL
;
12798 PyObject
* obj0
= 0 ;
12799 PyObject
* obj1
= 0 ;
12800 PyObject
* obj2
= 0 ;
12801 char * kwnames
[] = {
12802 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
12805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12807 if (!SWIG_IsOK(res1
)) {
12808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12810 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
12812 if (!SWIG_IsOK(res2
)) {
12813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
12815 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
12817 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12818 if (!SWIG_IsOK(res3
)) {
12819 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
12821 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12825 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
12826 wxPyEndAllowThreads(__tstate
);
12827 if (PyErr_Occurred()) SWIG_fail
;
12830 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12838 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12839 PyObject
*resultobj
= 0;
12840 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12841 wxWindow
*arg2
= (wxWindow
*) 0 ;
12842 wxWindow
*arg3
= (wxWindow
*) NULL
;
12850 PyObject
* obj0
= 0 ;
12851 PyObject
* obj1
= 0 ;
12852 PyObject
* obj2
= 0 ;
12853 char * kwnames
[] = {
12854 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
12857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12859 if (!SWIG_IsOK(res1
)) {
12860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12862 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12863 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12864 if (!SWIG_IsOK(res2
)) {
12865 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
12867 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12869 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12870 if (!SWIG_IsOK(res3
)) {
12871 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
12873 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
12876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12877 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
12878 wxPyEndAllowThreads(__tstate
);
12879 if (PyErr_Occurred()) SWIG_fail
;
12882 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12890 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12893 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
12894 return SWIG_Py_Void();
12897 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12898 return SWIG_Python_InitShadowInstance(args
);
12901 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12902 PyObject
*resultobj
= 0;
12903 wxWindow
*arg1
= (wxWindow
*) 0 ;
12904 int arg2
= (int) wxBORDER_NONE
;
12905 wxPopupWindow
*result
= 0 ;
12910 PyObject
* obj0
= 0 ;
12911 PyObject
* obj1
= 0 ;
12912 char * kwnames
[] = {
12913 (char *) "parent",(char *) "flags", NULL
12916 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12917 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12921 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12923 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12924 if (!SWIG_IsOK(ecode2
)) {
12925 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
12927 arg2
= static_cast< int >(val2
);
12930 if (!wxPyCheckForApp()) SWIG_fail
;
12931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12932 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
12933 wxPyEndAllowThreads(__tstate
);
12934 if (PyErr_Occurred()) SWIG_fail
;
12936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
12943 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12944 PyObject
*resultobj
= 0;
12945 wxPopupWindow
*result
= 0 ;
12947 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
12949 if (!wxPyCheckForApp()) SWIG_fail
;
12950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12951 result
= (wxPopupWindow
*)new wxPopupWindow();
12952 wxPyEndAllowThreads(__tstate
);
12953 if (PyErr_Occurred()) SWIG_fail
;
12955 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
12962 SWIGINTERN PyObject
*_wrap_PopupWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12963 PyObject
*resultobj
= 0;
12964 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
12965 wxWindow
*arg2
= (wxWindow
*) 0 ;
12966 int arg3
= (int) wxBORDER_NONE
;
12974 PyObject
* obj0
= 0 ;
12975 PyObject
* obj1
= 0 ;
12976 PyObject
* obj2
= 0 ;
12977 char * kwnames
[] = {
12978 (char *) "self",(char *) "parent",(char *) "flags", NULL
12981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:PopupWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
12983 if (!SWIG_IsOK(res1
)) {
12984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Create" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
12986 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
12987 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12988 if (!SWIG_IsOK(res2
)) {
12989 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12991 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12993 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12994 if (!SWIG_IsOK(ecode3
)) {
12995 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PopupWindow_Create" "', expected argument " "3"" of type '" "int""'");
12997 arg3
= static_cast< int >(val3
);
13000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13001 result
= (bool)(arg1
)->Create(arg2
,arg3
);
13002 wxPyEndAllowThreads(__tstate
);
13003 if (PyErr_Occurred()) SWIG_fail
;
13006 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13014 SWIGINTERN PyObject
*_wrap_PopupWindow_Position(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13015 PyObject
*resultobj
= 0;
13016 wxPopupWindow
*arg1
= (wxPopupWindow
*) 0 ;
13017 wxPoint
*arg2
= 0 ;
13023 PyObject
* obj0
= 0 ;
13024 PyObject
* obj1
= 0 ;
13025 PyObject
* obj2
= 0 ;
13026 char * kwnames
[] = {
13027 (char *) "self",(char *) "ptOrigin",(char *) "size", NULL
13030 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupWindow_Position",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13031 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPopupWindow
, 0 | 0 );
13032 if (!SWIG_IsOK(res1
)) {
13033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupWindow_Position" "', expected argument " "1"" of type '" "wxPopupWindow *""'");
13035 arg1
= reinterpret_cast< wxPopupWindow
* >(argp1
);
13038 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13042 if ( ! wxSize_helper(obj2
, &arg3
)) SWIG_fail
;
13045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13046 (arg1
)->Position((wxPoint
const &)*arg2
,(wxSize
const &)*arg3
);
13047 wxPyEndAllowThreads(__tstate
);
13048 if (PyErr_Occurred()) SWIG_fail
;
13050 resultobj
= SWIG_Py_Void();
13057 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13059 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13060 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13061 return SWIG_Py_Void();
13064 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13065 return SWIG_Python_InitShadowInstance(args
);
13068 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13069 PyObject
*resultobj
= 0;
13070 wxWindow
*arg1
= (wxWindow
*) 0 ;
13071 int arg2
= (int) wxBORDER_NONE
;
13072 wxPyPopupTransientWindow
*result
= 0 ;
13077 PyObject
* obj0
= 0 ;
13078 PyObject
* obj1
= 0 ;
13079 char * kwnames
[] = {
13080 (char *) "parent",(char *) "style", NULL
13083 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13084 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13085 if (!SWIG_IsOK(res1
)) {
13086 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13088 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13090 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13091 if (!SWIG_IsOK(ecode2
)) {
13092 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13094 arg2
= static_cast< int >(val2
);
13097 if (!wxPyCheckForApp()) SWIG_fail
;
13098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13099 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13100 wxPyEndAllowThreads(__tstate
);
13101 if (PyErr_Occurred()) SWIG_fail
;
13103 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13110 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13111 PyObject
*resultobj
= 0;
13112 wxPyPopupTransientWindow
*result
= 0 ;
13114 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13116 if (!wxPyCheckForApp()) SWIG_fail
;
13117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13118 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13119 wxPyEndAllowThreads(__tstate
);
13120 if (PyErr_Occurred()) SWIG_fail
;
13122 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13129 SWIGINTERN PyObject
*_wrap_PopupTransientWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13130 PyObject
*resultobj
= 0;
13131 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13132 PyObject
*arg2
= (PyObject
*) 0 ;
13133 PyObject
*arg3
= (PyObject
*) 0 ;
13136 PyObject
* obj0
= 0 ;
13137 PyObject
* obj1
= 0 ;
13138 PyObject
* obj2
= 0 ;
13139 char * kwnames
[] = {
13140 (char *) "self",(char *) "self",(char *) "_class", NULL
13143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PopupTransientWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13145 if (!SWIG_IsOK(res1
)) {
13146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13148 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13153 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13154 wxPyEndAllowThreads(__tstate
);
13155 if (PyErr_Occurred()) SWIG_fail
;
13157 resultobj
= SWIG_Py_Void();
13164 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Popup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13165 PyObject
*resultobj
= 0;
13166 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13167 wxWindow
*arg2
= (wxWindow
*) NULL
;
13172 PyObject
* obj0
= 0 ;
13173 PyObject
* obj1
= 0 ;
13174 char * kwnames
[] = {
13175 (char *) "self",(char *) "focus", NULL
13178 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:PopupTransientWindow_Popup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13179 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13180 if (!SWIG_IsOK(res1
)) {
13181 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13183 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13186 if (!SWIG_IsOK(res2
)) {
13187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PopupTransientWindow_Popup" "', expected argument " "2"" of type '" "wxWindow *""'");
13189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13193 (arg1
)->Popup(arg2
);
13194 wxPyEndAllowThreads(__tstate
);
13195 if (PyErr_Occurred()) SWIG_fail
;
13197 resultobj
= SWIG_Py_Void();
13204 SWIGINTERN PyObject
*_wrap_PopupTransientWindow_Dismiss(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13205 PyObject
*resultobj
= 0;
13206 wxPyPopupTransientWindow
*arg1
= (wxPyPopupTransientWindow
*) 0 ;
13209 PyObject
*swig_obj
[1] ;
13211 if (!args
) SWIG_fail
;
13212 swig_obj
[0] = args
;
13213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPopupTransientWindow
, 0 | 0 );
13214 if (!SWIG_IsOK(res1
)) {
13215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PopupTransientWindow_Dismiss" "', expected argument " "1"" of type '" "wxPyPopupTransientWindow *""'");
13217 arg1
= reinterpret_cast< wxPyPopupTransientWindow
* >(argp1
);
13219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 wxPyEndAllowThreads(__tstate
);
13222 if (PyErr_Occurred()) SWIG_fail
;
13224 resultobj
= SWIG_Py_Void();
13231 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13235 return SWIG_Py_Void();
13238 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13239 return SWIG_Python_InitShadowInstance(args
);
13242 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13243 PyObject
*resultobj
= 0;
13244 wxWindow
*arg1
= (wxWindow
*) 0 ;
13245 wxString
*arg2
= 0 ;
13246 int arg3
= (int) 100 ;
13247 wxRect
*arg4
= (wxRect
*) NULL
;
13248 wxTipWindow
*result
= 0 ;
13251 bool temp2
= false ;
13256 PyObject
* obj0
= 0 ;
13257 PyObject
* obj1
= 0 ;
13258 PyObject
* obj2
= 0 ;
13259 PyObject
* obj3
= 0 ;
13260 char * kwnames
[] = {
13261 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13264 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13265 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13266 if (!SWIG_IsOK(res1
)) {
13267 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13269 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13271 arg2
= wxString_in_helper(obj1
);
13272 if (arg2
== NULL
) SWIG_fail
;
13276 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13277 if (!SWIG_IsOK(ecode3
)) {
13278 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13280 arg3
= static_cast< int >(val3
);
13283 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13284 if (!SWIG_IsOK(res4
)) {
13285 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13287 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13290 if (!wxPyCheckForApp()) SWIG_fail
;
13291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13292 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13293 wxPyEndAllowThreads(__tstate
);
13294 if (PyErr_Occurred()) SWIG_fail
;
13296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13311 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13312 PyObject
*resultobj
= 0;
13313 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13318 PyObject
* obj0
= 0 ;
13319 PyObject
* obj1
= 0 ;
13320 char * kwnames
[] = {
13321 (char *) "self",(char *) "rectBound", NULL
13324 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13325 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13326 if (!SWIG_IsOK(res1
)) {
13327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13329 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13332 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13336 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13337 wxPyEndAllowThreads(__tstate
);
13338 if (PyErr_Occurred()) SWIG_fail
;
13340 resultobj
= SWIG_Py_Void();
13347 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13348 PyObject
*resultobj
= 0;
13349 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13352 PyObject
*swig_obj
[1] ;
13354 if (!args
) SWIG_fail
;
13355 swig_obj
[0] = args
;
13356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13357 if (!SWIG_IsOK(res1
)) {
13358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13360 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13364 wxPyEndAllowThreads(__tstate
);
13365 if (PyErr_Occurred()) SWIG_fail
;
13367 resultobj
= SWIG_Py_Void();
13374 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13376 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13377 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13378 return SWIG_Py_Void();
13381 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13382 return SWIG_Python_InitShadowInstance(args
);
13385 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13386 PyObject
*resultobj
= 0;
13387 wxWindow
*arg1
= (wxWindow
*) 0 ;
13388 int arg2
= (int) wxID_ANY
;
13389 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13390 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13391 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13392 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13393 long arg5
= (long) 0 ;
13394 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13395 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13396 wxPyVScrolledWindow
*result
= 0 ;
13405 bool temp6
= false ;
13406 PyObject
* obj0
= 0 ;
13407 PyObject
* obj1
= 0 ;
13408 PyObject
* obj2
= 0 ;
13409 PyObject
* obj3
= 0 ;
13410 PyObject
* obj4
= 0 ;
13411 PyObject
* obj5
= 0 ;
13412 char * kwnames
[] = {
13413 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13418 if (!SWIG_IsOK(res1
)) {
13419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13421 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13424 if (!SWIG_IsOK(ecode2
)) {
13425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13427 arg2
= static_cast< int >(val2
);
13432 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13438 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13442 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13443 if (!SWIG_IsOK(ecode5
)) {
13444 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13446 arg5
= static_cast< long >(val5
);
13450 arg6
= wxString_in_helper(obj5
);
13451 if (arg6
== NULL
) SWIG_fail
;
13456 if (!wxPyCheckForApp()) SWIG_fail
;
13457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13458 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13459 wxPyEndAllowThreads(__tstate
);
13460 if (PyErr_Occurred()) SWIG_fail
;
13462 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13477 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13478 PyObject
*resultobj
= 0;
13479 wxPyVScrolledWindow
*result
= 0 ;
13481 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13483 if (!wxPyCheckForApp()) SWIG_fail
;
13484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13485 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13486 wxPyEndAllowThreads(__tstate
);
13487 if (PyErr_Occurred()) SWIG_fail
;
13489 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13496 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13497 PyObject
*resultobj
= 0;
13498 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13499 PyObject
*arg2
= (PyObject
*) 0 ;
13500 PyObject
*arg3
= (PyObject
*) 0 ;
13503 PyObject
* obj0
= 0 ;
13504 PyObject
* obj1
= 0 ;
13505 PyObject
* obj2
= 0 ;
13506 char * kwnames
[] = {
13507 (char *) "self",(char *) "self",(char *) "_class", NULL
13510 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13511 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13512 if (!SWIG_IsOK(res1
)) {
13513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13515 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13519 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13520 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13521 wxPyEndAllowThreads(__tstate
);
13522 if (PyErr_Occurred()) SWIG_fail
;
13524 resultobj
= SWIG_Py_Void();
13531 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13532 PyObject
*resultobj
= 0;
13533 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13534 wxWindow
*arg2
= (wxWindow
*) 0 ;
13535 int arg3
= (int) wxID_ANY
;
13536 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13537 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13538 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13539 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13540 long arg6
= (long) 0 ;
13541 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13542 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13554 bool temp7
= false ;
13555 PyObject
* obj0
= 0 ;
13556 PyObject
* obj1
= 0 ;
13557 PyObject
* obj2
= 0 ;
13558 PyObject
* obj3
= 0 ;
13559 PyObject
* obj4
= 0 ;
13560 PyObject
* obj5
= 0 ;
13561 PyObject
* obj6
= 0 ;
13562 char * kwnames
[] = {
13563 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13566 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13567 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13568 if (!SWIG_IsOK(res1
)) {
13569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13571 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13572 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13573 if (!SWIG_IsOK(res2
)) {
13574 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13576 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13578 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13579 if (!SWIG_IsOK(ecode3
)) {
13580 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13582 arg3
= static_cast< int >(val3
);
13587 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13593 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13597 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13598 if (!SWIG_IsOK(ecode6
)) {
13599 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13601 arg6
= static_cast< long >(val6
);
13605 arg7
= wxString_in_helper(obj6
);
13606 if (arg7
== NULL
) SWIG_fail
;
13611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13613 wxPyEndAllowThreads(__tstate
);
13614 if (PyErr_Occurred()) SWIG_fail
;
13617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13633 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13634 PyObject
*resultobj
= 0;
13635 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13641 PyObject
* obj0
= 0 ;
13642 PyObject
* obj1
= 0 ;
13643 char * kwnames
[] = {
13644 (char *) "self",(char *) "count", NULL
13647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13648 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13649 if (!SWIG_IsOK(res1
)) {
13650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13652 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13653 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13654 if (!SWIG_IsOK(ecode2
)) {
13655 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13657 arg2
= static_cast< size_t >(val2
);
13659 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13660 (arg1
)->SetLineCount(arg2
);
13661 wxPyEndAllowThreads(__tstate
);
13662 if (PyErr_Occurred()) SWIG_fail
;
13664 resultobj
= SWIG_Py_Void();
13671 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13672 PyObject
*resultobj
= 0;
13673 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13680 PyObject
* obj0
= 0 ;
13681 PyObject
* obj1
= 0 ;
13682 char * kwnames
[] = {
13683 (char *) "self",(char *) "line", NULL
13686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13688 if (!SWIG_IsOK(res1
)) {
13689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13691 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13692 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13693 if (!SWIG_IsOK(ecode2
)) {
13694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13696 arg2
= static_cast< size_t >(val2
);
13698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13699 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13700 wxPyEndAllowThreads(__tstate
);
13701 if (PyErr_Occurred()) SWIG_fail
;
13704 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13712 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13713 PyObject
*resultobj
= 0;
13714 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13720 PyObject
* obj0
= 0 ;
13721 PyObject
* obj1
= 0 ;
13722 char * kwnames
[] = {
13723 (char *) "self",(char *) "line", NULL
13726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13728 if (!SWIG_IsOK(res1
)) {
13729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13731 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13732 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13733 if (!SWIG_IsOK(ecode2
)) {
13734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13736 arg2
= static_cast< size_t >(val2
);
13738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13739 (arg1
)->RefreshLine(arg2
);
13740 wxPyEndAllowThreads(__tstate
);
13741 if (PyErr_Occurred()) SWIG_fail
;
13743 resultobj
= SWIG_Py_Void();
13750 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13751 PyObject
*resultobj
= 0;
13752 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13761 PyObject
* obj0
= 0 ;
13762 PyObject
* obj1
= 0 ;
13763 PyObject
* obj2
= 0 ;
13764 char * kwnames
[] = {
13765 (char *) "self",(char *) "_from",(char *) "to", NULL
13768 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13769 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13770 if (!SWIG_IsOK(res1
)) {
13771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13773 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13774 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13775 if (!SWIG_IsOK(ecode2
)) {
13776 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13778 arg2
= static_cast< size_t >(val2
);
13779 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13780 if (!SWIG_IsOK(ecode3
)) {
13781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13783 arg3
= static_cast< size_t >(val3
);
13785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13786 (arg1
)->RefreshLines(arg2
,arg3
);
13787 wxPyEndAllowThreads(__tstate
);
13788 if (PyErr_Occurred()) SWIG_fail
;
13790 resultobj
= SWIG_Py_Void();
13797 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13798 PyObject
*resultobj
= 0;
13799 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13809 PyObject
* obj0
= 0 ;
13810 PyObject
* obj1
= 0 ;
13811 PyObject
* obj2
= 0 ;
13812 char * kwnames
[] = {
13813 (char *) "self",(char *) "x",(char *) "y", NULL
13816 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13817 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13818 if (!SWIG_IsOK(res1
)) {
13819 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13821 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13822 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13823 if (!SWIG_IsOK(ecode2
)) {
13824 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13826 arg2
= static_cast< int >(val2
);
13827 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13828 if (!SWIG_IsOK(ecode3
)) {
13829 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13831 arg3
= static_cast< int >(val3
);
13833 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13834 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13835 wxPyEndAllowThreads(__tstate
);
13836 if (PyErr_Occurred()) SWIG_fail
;
13838 resultobj
= SWIG_From_int(static_cast< int >(result
));
13845 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13846 PyObject
*resultobj
= 0;
13847 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13848 wxPoint
*arg2
= 0 ;
13853 PyObject
* obj0
= 0 ;
13854 PyObject
* obj1
= 0 ;
13855 char * kwnames
[] = {
13856 (char *) "self",(char *) "pt", NULL
13859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13861 if (!SWIG_IsOK(res1
)) {
13862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13864 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13867 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13871 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13872 wxPyEndAllowThreads(__tstate
);
13873 if (PyErr_Occurred()) SWIG_fail
;
13875 resultobj
= SWIG_From_int(static_cast< int >(result
));
13882 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13883 PyObject
*resultobj
= 0;
13884 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13887 PyObject
*swig_obj
[1] ;
13889 if (!args
) SWIG_fail
;
13890 swig_obj
[0] = args
;
13891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13892 if (!SWIG_IsOK(res1
)) {
13893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13895 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 (arg1
)->RefreshAll();
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_Py_Void();
13909 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13910 PyObject
*resultobj
= 0;
13911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13915 PyObject
*swig_obj
[1] ;
13917 if (!args
) SWIG_fail
;
13918 swig_obj
[0] = args
;
13919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13920 if (!SWIG_IsOK(res1
)) {
13921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13923 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13926 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13927 wxPyEndAllowThreads(__tstate
);
13928 if (PyErr_Occurred()) SWIG_fail
;
13930 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13937 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13938 PyObject
*resultobj
= 0;
13939 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13943 PyObject
*swig_obj
[1] ;
13945 if (!args
) SWIG_fail
;
13946 swig_obj
[0] = args
;
13947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13948 if (!SWIG_IsOK(res1
)) {
13949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13951 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13954 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13955 wxPyEndAllowThreads(__tstate
);
13956 if (PyErr_Occurred()) SWIG_fail
;
13958 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13965 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13966 PyObject
*resultobj
= 0;
13967 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13971 PyObject
*swig_obj
[1] ;
13973 if (!args
) SWIG_fail
;
13974 swig_obj
[0] = args
;
13975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13976 if (!SWIG_IsOK(res1
)) {
13977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13979 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13982 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13983 wxPyEndAllowThreads(__tstate
);
13984 if (PyErr_Occurred()) SWIG_fail
;
13986 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13993 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13994 PyObject
*resultobj
= 0;
13995 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14002 PyObject
* obj0
= 0 ;
14003 PyObject
* obj1
= 0 ;
14004 char * kwnames
[] = {
14005 (char *) "self",(char *) "line", NULL
14008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14010 if (!SWIG_IsOK(res1
)) {
14011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14013 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14015 if (!SWIG_IsOK(ecode2
)) {
14016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14018 arg2
= static_cast< size_t >(val2
);
14020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14021 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14022 wxPyEndAllowThreads(__tstate
);
14023 if (PyErr_Occurred()) SWIG_fail
;
14026 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14034 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14035 PyObject
*resultobj
= 0;
14036 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14040 PyObject
*swig_obj
[1] ;
14042 if (!args
) SWIG_fail
;
14043 swig_obj
[0] = args
;
14044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14045 if (!SWIG_IsOK(res1
)) {
14046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14048 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14051 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14052 wxPyEndAllowThreads(__tstate
);
14053 if (PyErr_Occurred()) SWIG_fail
;
14055 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14062 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14063 PyObject
*resultobj
= 0;
14064 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14068 PyObject
*swig_obj
[1] ;
14070 if (!args
) SWIG_fail
;
14071 swig_obj
[0] = args
;
14072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14073 if (!SWIG_IsOK(res1
)) {
14074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14076 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14079 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14080 wxPyEndAllowThreads(__tstate
);
14081 if (PyErr_Occurred()) SWIG_fail
;
14083 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14090 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14091 PyObject
*resultobj
= 0;
14092 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14094 bool arg3
= (bool) false ;
14102 PyObject
* obj0
= 0 ;
14103 PyObject
* obj1
= 0 ;
14104 PyObject
* obj2
= 0 ;
14105 char * kwnames
[] = {
14106 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14109 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14110 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14111 if (!SWIG_IsOK(res1
)) {
14112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14114 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14115 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14116 if (!SWIG_IsOK(ecode2
)) {
14117 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14119 arg2
= static_cast< size_t >(val2
);
14121 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14122 if (!SWIG_IsOK(ecode3
)) {
14123 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14125 arg3
= static_cast< bool >(val3
);
14128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14129 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14130 wxPyEndAllowThreads(__tstate
);
14131 if (PyErr_Occurred()) SWIG_fail
;
14133 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14140 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14141 PyObject
*resultobj
= 0;
14142 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14152 PyObject
* obj0
= 0 ;
14153 PyObject
* obj1
= 0 ;
14154 PyObject
* obj2
= 0 ;
14155 char * kwnames
[] = {
14156 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14161 if (!SWIG_IsOK(res1
)) {
14162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14164 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14165 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14166 if (!SWIG_IsOK(ecode2
)) {
14167 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14169 arg2
= static_cast< size_t >(val2
);
14170 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14171 if (!SWIG_IsOK(ecode3
)) {
14172 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14174 arg3
= static_cast< size_t >(val3
);
14176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14177 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14178 wxPyEndAllowThreads(__tstate
);
14179 if (PyErr_Occurred()) SWIG_fail
;
14181 resultobj
= SWIG_From_int(static_cast< int >(result
));
14188 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14190 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14191 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14192 return SWIG_Py_Void();
14195 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14196 return SWIG_Python_InitShadowInstance(args
);
14199 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14200 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14205 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14206 PyObject
*pyobj
= 0;
14210 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14212 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14219 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14220 PyObject
*resultobj
= 0;
14221 wxWindow
*arg1
= (wxWindow
*) 0 ;
14222 int arg2
= (int) wxID_ANY
;
14223 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14224 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14225 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14226 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14227 long arg5
= (long) 0 ;
14228 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14229 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14230 wxPyVListBox
*result
= 0 ;
14239 bool temp6
= false ;
14240 PyObject
* obj0
= 0 ;
14241 PyObject
* obj1
= 0 ;
14242 PyObject
* obj2
= 0 ;
14243 PyObject
* obj3
= 0 ;
14244 PyObject
* obj4
= 0 ;
14245 PyObject
* obj5
= 0 ;
14246 char * kwnames
[] = {
14247 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14252 if (!SWIG_IsOK(res1
)) {
14253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14255 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14257 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14258 if (!SWIG_IsOK(ecode2
)) {
14259 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14261 arg2
= static_cast< int >(val2
);
14266 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14272 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14276 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14277 if (!SWIG_IsOK(ecode5
)) {
14278 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14280 arg5
= static_cast< long >(val5
);
14284 arg6
= wxString_in_helper(obj5
);
14285 if (arg6
== NULL
) SWIG_fail
;
14290 if (!wxPyCheckForApp()) SWIG_fail
;
14291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14292 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14293 wxPyEndAllowThreads(__tstate
);
14294 if (PyErr_Occurred()) SWIG_fail
;
14296 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14311 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14312 PyObject
*resultobj
= 0;
14313 wxPyVListBox
*result
= 0 ;
14315 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14317 if (!wxPyCheckForApp()) SWIG_fail
;
14318 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14319 result
= (wxPyVListBox
*)new wxPyVListBox();
14320 wxPyEndAllowThreads(__tstate
);
14321 if (PyErr_Occurred()) SWIG_fail
;
14323 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14330 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14331 PyObject
*resultobj
= 0;
14332 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14333 PyObject
*arg2
= (PyObject
*) 0 ;
14334 PyObject
*arg3
= (PyObject
*) 0 ;
14337 PyObject
* obj0
= 0 ;
14338 PyObject
* obj1
= 0 ;
14339 PyObject
* obj2
= 0 ;
14340 char * kwnames
[] = {
14341 (char *) "self",(char *) "self",(char *) "_class", NULL
14344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14346 if (!SWIG_IsOK(res1
)) {
14347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14349 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14354 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14355 wxPyEndAllowThreads(__tstate
);
14356 if (PyErr_Occurred()) SWIG_fail
;
14358 resultobj
= SWIG_Py_Void();
14365 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14366 PyObject
*resultobj
= 0;
14367 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14368 wxWindow
*arg2
= (wxWindow
*) 0 ;
14369 int arg3
= (int) wxID_ANY
;
14370 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14371 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14372 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14373 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14374 long arg6
= (long) 0 ;
14375 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14376 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14388 bool temp7
= false ;
14389 PyObject
* obj0
= 0 ;
14390 PyObject
* obj1
= 0 ;
14391 PyObject
* obj2
= 0 ;
14392 PyObject
* obj3
= 0 ;
14393 PyObject
* obj4
= 0 ;
14394 PyObject
* obj5
= 0 ;
14395 PyObject
* obj6
= 0 ;
14396 char * kwnames
[] = {
14397 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14400 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14401 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14402 if (!SWIG_IsOK(res1
)) {
14403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14405 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14406 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14407 if (!SWIG_IsOK(res2
)) {
14408 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14410 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14412 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14413 if (!SWIG_IsOK(ecode3
)) {
14414 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14416 arg3
= static_cast< int >(val3
);
14421 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14427 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14431 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14432 if (!SWIG_IsOK(ecode6
)) {
14433 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14435 arg6
= static_cast< long >(val6
);
14439 arg7
= wxString_in_helper(obj6
);
14440 if (arg7
== NULL
) SWIG_fail
;
14445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14446 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14447 wxPyEndAllowThreads(__tstate
);
14448 if (PyErr_Occurred()) SWIG_fail
;
14451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14467 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14468 PyObject
*resultobj
= 0;
14469 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14473 PyObject
*swig_obj
[1] ;
14475 if (!args
) SWIG_fail
;
14476 swig_obj
[0] = args
;
14477 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14478 if (!SWIG_IsOK(res1
)) {
14479 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14481 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14484 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14485 wxPyEndAllowThreads(__tstate
);
14486 if (PyErr_Occurred()) SWIG_fail
;
14488 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14495 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14496 PyObject
*resultobj
= 0;
14497 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14501 PyObject
*swig_obj
[1] ;
14503 if (!args
) SWIG_fail
;
14504 swig_obj
[0] = args
;
14505 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14506 if (!SWIG_IsOK(res1
)) {
14507 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14509 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14512 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14513 wxPyEndAllowThreads(__tstate
);
14514 if (PyErr_Occurred()) SWIG_fail
;
14517 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14525 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14526 PyObject
*resultobj
= 0;
14527 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14531 PyObject
*swig_obj
[1] ;
14533 if (!args
) SWIG_fail
;
14534 swig_obj
[0] = args
;
14535 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14536 if (!SWIG_IsOK(res1
)) {
14537 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14539 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14541 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14542 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14543 wxPyEndAllowThreads(__tstate
);
14544 if (PyErr_Occurred()) SWIG_fail
;
14546 resultobj
= SWIG_From_int(static_cast< int >(result
));
14553 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14554 PyObject
*resultobj
= 0;
14555 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14562 PyObject
* obj0
= 0 ;
14563 PyObject
* obj1
= 0 ;
14564 char * kwnames
[] = {
14565 (char *) "self",(char *) "item", NULL
14568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14573 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14574 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14575 if (!SWIG_IsOK(ecode2
)) {
14576 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14578 arg2
= static_cast< size_t >(val2
);
14580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14581 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14582 wxPyEndAllowThreads(__tstate
);
14583 if (PyErr_Occurred()) SWIG_fail
;
14586 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14594 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14595 PyObject
*resultobj
= 0;
14596 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14603 PyObject
* obj0
= 0 ;
14604 PyObject
* obj1
= 0 ;
14605 char * kwnames
[] = {
14606 (char *) "self",(char *) "item", NULL
14609 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14610 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14611 if (!SWIG_IsOK(res1
)) {
14612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14614 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14615 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14616 if (!SWIG_IsOK(ecode2
)) {
14617 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14619 arg2
= static_cast< size_t >(val2
);
14621 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14622 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14623 wxPyEndAllowThreads(__tstate
);
14624 if (PyErr_Occurred()) SWIG_fail
;
14627 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14635 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14636 PyObject
*resultobj
= 0;
14637 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14641 PyObject
*swig_obj
[1] ;
14643 if (!args
) SWIG_fail
;
14644 swig_obj
[0] = args
;
14645 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14646 if (!SWIG_IsOK(res1
)) {
14647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14649 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14651 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14652 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14653 wxPyEndAllowThreads(__tstate
);
14654 if (PyErr_Occurred()) SWIG_fail
;
14656 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14663 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14664 PyObject
*resultobj
= 0;
14665 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14666 PyObject
*result
= 0 ;
14669 PyObject
*swig_obj
[1] ;
14671 if (!args
) SWIG_fail
;
14672 swig_obj
[0] = args
;
14673 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14674 if (!SWIG_IsOK(res1
)) {
14675 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14677 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14679 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14680 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14681 wxPyEndAllowThreads(__tstate
);
14682 if (PyErr_Occurred()) SWIG_fail
;
14684 resultobj
= result
;
14691 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14692 PyObject
*resultobj
= 0;
14693 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14694 unsigned long arg2
;
14695 PyObject
*result
= 0 ;
14698 unsigned long val2
;
14700 PyObject
* obj0
= 0 ;
14701 PyObject
* obj1
= 0 ;
14702 char * kwnames
[] = {
14703 (char *) "self",(char *) "cookie", NULL
14706 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14707 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14708 if (!SWIG_IsOK(res1
)) {
14709 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14711 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14712 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14713 if (!SWIG_IsOK(ecode2
)) {
14714 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14716 arg2
= static_cast< unsigned long >(val2
);
14718 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14719 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14720 wxPyEndAllowThreads(__tstate
);
14721 if (PyErr_Occurred()) SWIG_fail
;
14723 resultobj
= result
;
14730 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14731 PyObject
*resultobj
= 0;
14732 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14736 PyObject
*swig_obj
[1] ;
14738 if (!args
) SWIG_fail
;
14739 swig_obj
[0] = args
;
14740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14741 if (!SWIG_IsOK(res1
)) {
14742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14744 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14747 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14748 wxPyEndAllowThreads(__tstate
);
14749 if (PyErr_Occurred()) SWIG_fail
;
14751 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14758 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14759 PyObject
*resultobj
= 0;
14760 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14761 wxColour
*result
= 0 ;
14764 PyObject
*swig_obj
[1] ;
14766 if (!args
) SWIG_fail
;
14767 swig_obj
[0] = args
;
14768 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14769 if (!SWIG_IsOK(res1
)) {
14770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14772 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14776 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14777 result
= (wxColour
*) &_result_ref
;
14779 wxPyEndAllowThreads(__tstate
);
14780 if (PyErr_Occurred()) SWIG_fail
;
14782 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14789 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14790 PyObject
*resultobj
= 0;
14791 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14797 PyObject
* obj0
= 0 ;
14798 PyObject
* obj1
= 0 ;
14799 char * kwnames
[] = {
14800 (char *) "self",(char *) "count", NULL
14803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14808 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14809 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14810 if (!SWIG_IsOK(ecode2
)) {
14811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14813 arg2
= static_cast< size_t >(val2
);
14815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14816 (arg1
)->SetItemCount(arg2
);
14817 wxPyEndAllowThreads(__tstate
);
14818 if (PyErr_Occurred()) SWIG_fail
;
14820 resultobj
= SWIG_Py_Void();
14827 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14828 PyObject
*resultobj
= 0;
14829 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14832 PyObject
*swig_obj
[1] ;
14834 if (!args
) SWIG_fail
;
14835 swig_obj
[0] = args
;
14836 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14837 if (!SWIG_IsOK(res1
)) {
14838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14840 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14842 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14844 wxPyEndAllowThreads(__tstate
);
14845 if (PyErr_Occurred()) SWIG_fail
;
14847 resultobj
= SWIG_Py_Void();
14854 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14855 PyObject
*resultobj
= 0;
14856 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14862 PyObject
* obj0
= 0 ;
14863 PyObject
* obj1
= 0 ;
14864 char * kwnames
[] = {
14865 (char *) "self",(char *) "selection", NULL
14868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14870 if (!SWIG_IsOK(res1
)) {
14871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14873 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14874 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14875 if (!SWIG_IsOK(ecode2
)) {
14876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14878 arg2
= static_cast< int >(val2
);
14880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14881 (arg1
)->SetSelection(arg2
);
14882 wxPyEndAllowThreads(__tstate
);
14883 if (PyErr_Occurred()) SWIG_fail
;
14885 resultobj
= SWIG_Py_Void();
14892 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14893 PyObject
*resultobj
= 0;
14894 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14896 bool arg3
= (bool) true ;
14904 PyObject
* obj0
= 0 ;
14905 PyObject
* obj1
= 0 ;
14906 PyObject
* obj2
= 0 ;
14907 char * kwnames
[] = {
14908 (char *) "self",(char *) "item",(char *) "select", NULL
14911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14913 if (!SWIG_IsOK(res1
)) {
14914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14916 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14917 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14918 if (!SWIG_IsOK(ecode2
)) {
14919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14921 arg2
= static_cast< size_t >(val2
);
14923 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14924 if (!SWIG_IsOK(ecode3
)) {
14925 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14927 arg3
= static_cast< bool >(val3
);
14930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14931 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14932 wxPyEndAllowThreads(__tstate
);
14933 if (PyErr_Occurred()) SWIG_fail
;
14936 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14944 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14945 PyObject
*resultobj
= 0;
14946 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14956 PyObject
* obj0
= 0 ;
14957 PyObject
* obj1
= 0 ;
14958 PyObject
* obj2
= 0 ;
14959 char * kwnames
[] = {
14960 (char *) "self",(char *) "_from",(char *) "to", NULL
14963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14965 if (!SWIG_IsOK(res1
)) {
14966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14968 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14969 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14970 if (!SWIG_IsOK(ecode2
)) {
14971 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14973 arg2
= static_cast< size_t >(val2
);
14974 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14975 if (!SWIG_IsOK(ecode3
)) {
14976 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14978 arg3
= static_cast< size_t >(val3
);
14980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14981 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14982 wxPyEndAllowThreads(__tstate
);
14983 if (PyErr_Occurred()) SWIG_fail
;
14986 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14994 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14995 PyObject
*resultobj
= 0;
14996 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15002 PyObject
* obj0
= 0 ;
15003 PyObject
* obj1
= 0 ;
15004 char * kwnames
[] = {
15005 (char *) "self",(char *) "item", NULL
15008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15010 if (!SWIG_IsOK(res1
)) {
15011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15013 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15014 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15015 if (!SWIG_IsOK(ecode2
)) {
15016 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15018 arg2
= static_cast< size_t >(val2
);
15020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15021 (arg1
)->Toggle(arg2
);
15022 wxPyEndAllowThreads(__tstate
);
15023 if (PyErr_Occurred()) SWIG_fail
;
15025 resultobj
= SWIG_Py_Void();
15032 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15033 PyObject
*resultobj
= 0;
15034 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15038 PyObject
*swig_obj
[1] ;
15040 if (!args
) SWIG_fail
;
15041 swig_obj
[0] = args
;
15042 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15043 if (!SWIG_IsOK(res1
)) {
15044 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15046 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15048 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15049 result
= (bool)(arg1
)->SelectAll();
15050 wxPyEndAllowThreads(__tstate
);
15051 if (PyErr_Occurred()) SWIG_fail
;
15054 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15062 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15063 PyObject
*resultobj
= 0;
15064 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15068 PyObject
*swig_obj
[1] ;
15070 if (!args
) SWIG_fail
;
15071 swig_obj
[0] = args
;
15072 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15073 if (!SWIG_IsOK(res1
)) {
15074 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15076 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15079 result
= (bool)(arg1
)->DeselectAll();
15080 wxPyEndAllowThreads(__tstate
);
15081 if (PyErr_Occurred()) SWIG_fail
;
15084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15092 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15093 PyObject
*resultobj
= 0;
15094 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15095 wxPoint
*arg2
= 0 ;
15099 PyObject
* obj0
= 0 ;
15100 PyObject
* obj1
= 0 ;
15101 char * kwnames
[] = {
15102 (char *) "self",(char *) "pt", NULL
15105 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15106 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15110 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15113 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15117 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15118 wxPyEndAllowThreads(__tstate
);
15119 if (PyErr_Occurred()) SWIG_fail
;
15121 resultobj
= SWIG_Py_Void();
15128 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15129 PyObject
*resultobj
= 0;
15130 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15139 PyObject
* obj0
= 0 ;
15140 PyObject
* obj1
= 0 ;
15141 PyObject
* obj2
= 0 ;
15142 char * kwnames
[] = {
15143 (char *) "self",(char *) "x",(char *) "y", NULL
15146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15148 if (!SWIG_IsOK(res1
)) {
15149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15151 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15153 if (!SWIG_IsOK(ecode2
)) {
15154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15156 arg2
= static_cast< int >(val2
);
15157 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15158 if (!SWIG_IsOK(ecode3
)) {
15159 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15161 arg3
= static_cast< int >(val3
);
15163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15164 (arg1
)->SetMargins(arg2
,arg3
);
15165 wxPyEndAllowThreads(__tstate
);
15166 if (PyErr_Occurred()) SWIG_fail
;
15168 resultobj
= SWIG_Py_Void();
15175 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15176 PyObject
*resultobj
= 0;
15177 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15178 wxColour
*arg2
= 0 ;
15182 PyObject
* obj0
= 0 ;
15183 PyObject
* obj1
= 0 ;
15184 char * kwnames
[] = {
15185 (char *) "self",(char *) "col", NULL
15188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15190 if (!SWIG_IsOK(res1
)) {
15191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15193 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15196 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15200 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15201 wxPyEndAllowThreads(__tstate
);
15202 if (PyErr_Occurred()) SWIG_fail
;
15204 resultobj
= SWIG_Py_Void();
15211 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15214 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15215 return SWIG_Py_Void();
15218 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15219 return SWIG_Python_InitShadowInstance(args
);
15222 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15223 PyObject
*resultobj
= 0;
15224 wxWindow
*arg1
= (wxWindow
*) 0 ;
15225 int arg2
= (int) wxID_ANY
;
15226 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15227 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15228 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15229 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15230 long arg5
= (long) 0 ;
15231 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15232 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15233 wxPyHtmlListBox
*result
= 0 ;
15242 bool temp6
= false ;
15243 PyObject
* obj0
= 0 ;
15244 PyObject
* obj1
= 0 ;
15245 PyObject
* obj2
= 0 ;
15246 PyObject
* obj3
= 0 ;
15247 PyObject
* obj4
= 0 ;
15248 PyObject
* obj5
= 0 ;
15249 char * kwnames
[] = {
15250 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15255 if (!SWIG_IsOK(res1
)) {
15256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15258 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15260 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15261 if (!SWIG_IsOK(ecode2
)) {
15262 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15264 arg2
= static_cast< int >(val2
);
15269 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15275 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15279 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15280 if (!SWIG_IsOK(ecode5
)) {
15281 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15283 arg5
= static_cast< long >(val5
);
15287 arg6
= wxString_in_helper(obj5
);
15288 if (arg6
== NULL
) SWIG_fail
;
15293 if (!wxPyCheckForApp()) SWIG_fail
;
15294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15295 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15296 wxPyEndAllowThreads(__tstate
);
15297 if (PyErr_Occurred()) SWIG_fail
;
15299 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15314 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15315 PyObject
*resultobj
= 0;
15316 wxPyHtmlListBox
*result
= 0 ;
15318 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15320 if (!wxPyCheckForApp()) SWIG_fail
;
15321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15322 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15323 wxPyEndAllowThreads(__tstate
);
15324 if (PyErr_Occurred()) SWIG_fail
;
15326 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15333 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15334 PyObject
*resultobj
= 0;
15335 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15336 PyObject
*arg2
= (PyObject
*) 0 ;
15337 PyObject
*arg3
= (PyObject
*) 0 ;
15340 PyObject
* obj0
= 0 ;
15341 PyObject
* obj1
= 0 ;
15342 PyObject
* obj2
= 0 ;
15343 char * kwnames
[] = {
15344 (char *) "self",(char *) "self",(char *) "_class", NULL
15347 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15348 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15349 if (!SWIG_IsOK(res1
)) {
15350 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15352 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15357 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15358 wxPyEndAllowThreads(__tstate
);
15359 if (PyErr_Occurred()) SWIG_fail
;
15361 resultobj
= SWIG_Py_Void();
15368 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15369 PyObject
*resultobj
= 0;
15370 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15371 wxWindow
*arg2
= (wxWindow
*) 0 ;
15372 int arg3
= (int) wxID_ANY
;
15373 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15374 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15375 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15376 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15377 long arg6
= (long) 0 ;
15378 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15379 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15391 bool temp7
= false ;
15392 PyObject
* obj0
= 0 ;
15393 PyObject
* obj1
= 0 ;
15394 PyObject
* obj2
= 0 ;
15395 PyObject
* obj3
= 0 ;
15396 PyObject
* obj4
= 0 ;
15397 PyObject
* obj5
= 0 ;
15398 PyObject
* obj6
= 0 ;
15399 char * kwnames
[] = {
15400 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15405 if (!SWIG_IsOK(res1
)) {
15406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15408 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15409 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15410 if (!SWIG_IsOK(res2
)) {
15411 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15413 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15415 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15416 if (!SWIG_IsOK(ecode3
)) {
15417 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15419 arg3
= static_cast< int >(val3
);
15424 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15430 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15434 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15435 if (!SWIG_IsOK(ecode6
)) {
15436 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15438 arg6
= static_cast< long >(val6
);
15442 arg7
= wxString_in_helper(obj6
);
15443 if (arg7
== NULL
) SWIG_fail
;
15448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15449 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15450 wxPyEndAllowThreads(__tstate
);
15451 if (PyErr_Occurred()) SWIG_fail
;
15454 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15470 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15471 PyObject
*resultobj
= 0;
15472 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15478 PyObject
* obj0
= 0 ;
15479 PyObject
* obj1
= 0 ;
15480 char * kwnames
[] = {
15481 (char *) "self",(char *) "count", NULL
15484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15486 if (!SWIG_IsOK(res1
)) {
15487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15489 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15490 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15491 if (!SWIG_IsOK(ecode2
)) {
15492 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15494 arg2
= static_cast< size_t >(val2
);
15496 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15497 (arg1
)->SetItemCount(arg2
);
15498 wxPyEndAllowThreads(__tstate
);
15499 if (PyErr_Occurred()) SWIG_fail
;
15501 resultobj
= SWIG_Py_Void();
15508 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15509 PyObject
*resultobj
= 0;
15510 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15511 wxFileSystem
*result
= 0 ;
15514 PyObject
*swig_obj
[1] ;
15516 if (!args
) SWIG_fail
;
15517 swig_obj
[0] = args
;
15518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15519 if (!SWIG_IsOK(res1
)) {
15520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15522 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15526 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15527 result
= (wxFileSystem
*) &_result_ref
;
15529 wxPyEndAllowThreads(__tstate
);
15530 if (PyErr_Occurred()) SWIG_fail
;
15532 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15539 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15541 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15542 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15543 return SWIG_Py_Void();
15546 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15547 return SWIG_Python_InitShadowInstance(args
);
15550 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15551 PyObject
*resultobj
= 0;
15552 wxPyTaskBarIcon
*result
= 0 ;
15554 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15556 if (!wxPyCheckForApp()) SWIG_fail
;
15557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15558 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15559 wxPyEndAllowThreads(__tstate
);
15560 if (PyErr_Occurred()) SWIG_fail
;
15562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15569 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15570 PyObject
*resultobj
= 0;
15571 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15574 PyObject
*swig_obj
[1] ;
15576 if (!args
) SWIG_fail
;
15577 swig_obj
[0] = args
;
15578 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15579 if (!SWIG_IsOK(res1
)) {
15580 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15582 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15584 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15587 wxPyEndAllowThreads(__tstate
);
15588 if (PyErr_Occurred()) SWIG_fail
;
15590 resultobj
= SWIG_Py_Void();
15597 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15598 PyObject
*resultobj
= 0;
15599 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15600 PyObject
*arg2
= (PyObject
*) 0 ;
15601 PyObject
*arg3
= (PyObject
*) 0 ;
15607 PyObject
* obj0
= 0 ;
15608 PyObject
* obj1
= 0 ;
15609 PyObject
* obj2
= 0 ;
15610 PyObject
* obj3
= 0 ;
15611 char * kwnames
[] = {
15612 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15616 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15617 if (!SWIG_IsOK(res1
)) {
15618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15620 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15623 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15624 if (!SWIG_IsOK(ecode4
)) {
15625 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15627 arg4
= static_cast< int >(val4
);
15629 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15630 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15631 wxPyEndAllowThreads(__tstate
);
15632 if (PyErr_Occurred()) SWIG_fail
;
15634 resultobj
= SWIG_Py_Void();
15641 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15642 PyObject
*resultobj
= 0;
15643 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15646 PyObject
*swig_obj
[1] ;
15648 if (!args
) SWIG_fail
;
15649 swig_obj
[0] = args
;
15650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15651 if (!SWIG_IsOK(res1
)) {
15652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15654 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15657 wxPyTaskBarIcon_Destroy(arg1
);
15658 wxPyEndAllowThreads(__tstate
);
15659 if (PyErr_Occurred()) SWIG_fail
;
15661 resultobj
= SWIG_Py_Void();
15668 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15669 PyObject
*resultobj
= 0;
15670 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15674 PyObject
*swig_obj
[1] ;
15676 if (!args
) SWIG_fail
;
15677 swig_obj
[0] = args
;
15678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15679 if (!SWIG_IsOK(res1
)) {
15680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15682 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15685 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15686 wxPyEndAllowThreads(__tstate
);
15687 if (PyErr_Occurred()) SWIG_fail
;
15690 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15698 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15699 PyObject
*resultobj
= 0;
15700 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15704 PyObject
*swig_obj
[1] ;
15706 if (!args
) SWIG_fail
;
15707 swig_obj
[0] = args
;
15708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15709 if (!SWIG_IsOK(res1
)) {
15710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15712 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15715 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15716 wxPyEndAllowThreads(__tstate
);
15717 if (PyErr_Occurred()) SWIG_fail
;
15720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15728 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15729 PyObject
*resultobj
= 0;
15730 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15732 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15733 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15739 bool temp3
= false ;
15740 PyObject
* obj0
= 0 ;
15741 PyObject
* obj1
= 0 ;
15742 PyObject
* obj2
= 0 ;
15743 char * kwnames
[] = {
15744 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15749 if (!SWIG_IsOK(res1
)) {
15750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15752 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15753 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15754 if (!SWIG_IsOK(res2
)) {
15755 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15758 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15760 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15763 arg3
= wxString_in_helper(obj2
);
15764 if (arg3
== NULL
) SWIG_fail
;
15769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15770 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15771 wxPyEndAllowThreads(__tstate
);
15772 if (PyErr_Occurred()) SWIG_fail
;
15775 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15791 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15792 PyObject
*resultobj
= 0;
15793 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15797 PyObject
*swig_obj
[1] ;
15799 if (!args
) SWIG_fail
;
15800 swig_obj
[0] = args
;
15801 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15802 if (!SWIG_IsOK(res1
)) {
15803 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15805 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15808 result
= (bool)(arg1
)->RemoveIcon();
15809 wxPyEndAllowThreads(__tstate
);
15810 if (PyErr_Occurred()) SWIG_fail
;
15813 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15821 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15822 PyObject
*resultobj
= 0;
15823 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15824 wxMenu
*arg2
= (wxMenu
*) 0 ;
15830 PyObject
* obj0
= 0 ;
15831 PyObject
* obj1
= 0 ;
15832 char * kwnames
[] = {
15833 (char *) "self",(char *) "menu", NULL
15836 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15837 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15838 if (!SWIG_IsOK(res1
)) {
15839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15841 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15842 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
15843 if (!SWIG_IsOK(res2
)) {
15844 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
15846 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
15848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15849 result
= (bool)(arg1
)->PopupMenu(arg2
);
15850 wxPyEndAllowThreads(__tstate
);
15851 if (PyErr_Occurred()) SWIG_fail
;
15854 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15862 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15864 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15865 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
15866 return SWIG_Py_Void();
15869 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 return SWIG_Python_InitShadowInstance(args
);
15873 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15874 PyObject
*resultobj
= 0;
15876 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
15877 wxTaskBarIconEvent
*result
= 0 ;
15882 PyObject
* obj0
= 0 ;
15883 PyObject
* obj1
= 0 ;
15884 char * kwnames
[] = {
15885 (char *) "evtType",(char *) "tbIcon", NULL
15888 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15889 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
15890 if (!SWIG_IsOK(ecode1
)) {
15891 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
15893 arg1
= static_cast< wxEventType
>(val1
);
15894 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
15895 if (!SWIG_IsOK(res2
)) {
15896 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
15898 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
15900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15901 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
15902 wxPyEndAllowThreads(__tstate
);
15903 if (PyErr_Occurred()) SWIG_fail
;
15905 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
15912 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15914 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15915 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
15916 return SWIG_Py_Void();
15919 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15920 return SWIG_Python_InitShadowInstance(args
);
15923 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
15924 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
15929 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
15930 PyObject
*pyobj
= 0;
15934 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15936 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
15943 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
15944 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
15949 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
15950 PyObject
*pyobj
= 0;
15954 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15956 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
15963 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
15964 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
15969 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
15970 PyObject
*pyobj
= 0;
15974 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15976 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
15983 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
15984 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
15989 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
15990 PyObject
*pyobj
= 0;
15994 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
15996 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16003 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16004 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16009 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16010 PyObject
*pyobj
= 0;
16014 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16016 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16023 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16024 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16029 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16030 PyObject
*pyobj
= 0;
16034 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16036 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16043 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16044 PyObject
*resultobj
= 0;
16045 wxColourData
*result
= 0 ;
16047 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16050 result
= (wxColourData
*)new wxColourData();
16051 wxPyEndAllowThreads(__tstate
);
16052 if (PyErr_Occurred()) SWIG_fail
;
16054 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16061 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16062 PyObject
*resultobj
= 0;
16063 wxColourData
*arg1
= (wxColourData
*) 0 ;
16066 PyObject
*swig_obj
[1] ;
16068 if (!args
) SWIG_fail
;
16069 swig_obj
[0] = args
;
16070 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16071 if (!SWIG_IsOK(res1
)) {
16072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16074 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16079 wxPyEndAllowThreads(__tstate
);
16080 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= SWIG_Py_Void();
16089 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16090 PyObject
*resultobj
= 0;
16091 wxColourData
*arg1
= (wxColourData
*) 0 ;
16095 PyObject
*swig_obj
[1] ;
16097 if (!args
) SWIG_fail
;
16098 swig_obj
[0] = args
;
16099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16100 if (!SWIG_IsOK(res1
)) {
16101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16103 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16106 result
= (bool)(arg1
)->GetChooseFull();
16107 wxPyEndAllowThreads(__tstate
);
16108 if (PyErr_Occurred()) SWIG_fail
;
16111 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16119 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16120 PyObject
*resultobj
= 0;
16121 wxColourData
*arg1
= (wxColourData
*) 0 ;
16125 PyObject
*swig_obj
[1] ;
16127 if (!args
) SWIG_fail
;
16128 swig_obj
[0] = args
;
16129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16130 if (!SWIG_IsOK(res1
)) {
16131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16133 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16136 result
= (arg1
)->GetColour();
16137 wxPyEndAllowThreads(__tstate
);
16138 if (PyErr_Occurred()) SWIG_fail
;
16140 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16147 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16148 PyObject
*resultobj
= 0;
16149 wxColourData
*arg1
= (wxColourData
*) 0 ;
16156 PyObject
* obj0
= 0 ;
16157 PyObject
* obj1
= 0 ;
16158 char * kwnames
[] = {
16159 (char *) "self",(char *) "i", NULL
16162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16163 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16164 if (!SWIG_IsOK(res1
)) {
16165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16167 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16168 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16169 if (!SWIG_IsOK(ecode2
)) {
16170 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16172 arg2
= static_cast< int >(val2
);
16174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16175 result
= (arg1
)->GetCustomColour(arg2
);
16176 wxPyEndAllowThreads(__tstate
);
16177 if (PyErr_Occurred()) SWIG_fail
;
16179 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16186 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16187 PyObject
*resultobj
= 0;
16188 wxColourData
*arg1
= (wxColourData
*) 0 ;
16194 PyObject
* obj0
= 0 ;
16195 PyObject
* obj1
= 0 ;
16196 char * kwnames
[] = {
16197 (char *) "self",(char *) "flag", NULL
16200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16202 if (!SWIG_IsOK(res1
)) {
16203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16205 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16206 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16207 if (!SWIG_IsOK(ecode2
)) {
16208 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16210 arg2
= static_cast< int >(val2
);
16212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16213 (arg1
)->SetChooseFull(arg2
);
16214 wxPyEndAllowThreads(__tstate
);
16215 if (PyErr_Occurred()) SWIG_fail
;
16217 resultobj
= SWIG_Py_Void();
16224 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16225 PyObject
*resultobj
= 0;
16226 wxColourData
*arg1
= (wxColourData
*) 0 ;
16227 wxColour
*arg2
= 0 ;
16231 PyObject
* obj0
= 0 ;
16232 PyObject
* obj1
= 0 ;
16233 char * kwnames
[] = {
16234 (char *) "self",(char *) "colour", NULL
16237 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16238 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16239 if (!SWIG_IsOK(res1
)) {
16240 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16242 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16245 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16249 (arg1
)->SetColour((wxColour
const &)*arg2
);
16250 wxPyEndAllowThreads(__tstate
);
16251 if (PyErr_Occurred()) SWIG_fail
;
16253 resultobj
= SWIG_Py_Void();
16260 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16261 PyObject
*resultobj
= 0;
16262 wxColourData
*arg1
= (wxColourData
*) 0 ;
16264 wxColour
*arg3
= 0 ;
16270 PyObject
* obj0
= 0 ;
16271 PyObject
* obj1
= 0 ;
16272 PyObject
* obj2
= 0 ;
16273 char * kwnames
[] = {
16274 (char *) "self",(char *) "i",(char *) "colour", NULL
16277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16279 if (!SWIG_IsOK(res1
)) {
16280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16282 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16284 if (!SWIG_IsOK(ecode2
)) {
16285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16287 arg2
= static_cast< int >(val2
);
16290 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16293 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16294 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16295 wxPyEndAllowThreads(__tstate
);
16296 if (PyErr_Occurred()) SWIG_fail
;
16298 resultobj
= SWIG_Py_Void();
16305 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16307 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16308 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16309 return SWIG_Py_Void();
16312 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16313 return SWIG_Python_InitShadowInstance(args
);
16316 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16317 PyObject
*resultobj
= 0;
16318 wxWindow
*arg1
= (wxWindow
*) 0 ;
16319 wxColourData
*arg2
= (wxColourData
*) NULL
;
16320 wxColourDialog
*result
= 0 ;
16325 PyObject
* obj0
= 0 ;
16326 PyObject
* obj1
= 0 ;
16327 char * kwnames
[] = {
16328 (char *) "parent",(char *) "data", NULL
16331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16333 if (!SWIG_IsOK(res1
)) {
16334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16336 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16339 if (!SWIG_IsOK(res2
)) {
16340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16342 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16345 if (!wxPyCheckForApp()) SWIG_fail
;
16346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16347 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16348 wxPyEndAllowThreads(__tstate
);
16349 if (PyErr_Occurred()) SWIG_fail
;
16351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16358 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16359 PyObject
*resultobj
= 0;
16360 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16361 wxColourData
*result
= 0 ;
16364 PyObject
*swig_obj
[1] ;
16366 if (!args
) SWIG_fail
;
16367 swig_obj
[0] = args
;
16368 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16369 if (!SWIG_IsOK(res1
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16372 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16376 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16377 result
= (wxColourData
*) &_result_ref
;
16379 wxPyEndAllowThreads(__tstate
);
16380 if (PyErr_Occurred()) SWIG_fail
;
16382 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16389 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16392 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16393 return SWIG_Py_Void();
16396 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16397 return SWIG_Python_InitShadowInstance(args
);
16400 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16401 PyObject
*resultobj
= 0;
16402 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16403 wxColour
const &arg2_defvalue
= wxNullColour
;
16404 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16405 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16406 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16411 bool temp3
= false ;
16412 PyObject
* obj0
= 0 ;
16413 PyObject
* obj1
= 0 ;
16414 PyObject
* obj2
= 0 ;
16415 char * kwnames
[] = {
16416 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16419 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16422 if (!SWIG_IsOK(res1
)) {
16423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16425 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16430 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16435 arg3
= wxString_in_helper(obj2
);
16436 if (arg3
== NULL
) SWIG_fail
;
16441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16442 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16443 wxPyEndAllowThreads(__tstate
);
16444 if (PyErr_Occurred()) SWIG_fail
;
16446 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16461 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16462 PyObject
*resultobj
= 0;
16463 wxWindow
*arg1
= (wxWindow
*) 0 ;
16464 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16465 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16466 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16467 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16468 long arg4
= (long) 0 ;
16469 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16470 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16471 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16472 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16473 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16474 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16475 wxDirDialog
*result
= 0 ;
16478 bool temp2
= false ;
16479 bool temp3
= false ;
16484 bool temp7
= false ;
16485 PyObject
* obj0
= 0 ;
16486 PyObject
* obj1
= 0 ;
16487 PyObject
* obj2
= 0 ;
16488 PyObject
* obj3
= 0 ;
16489 PyObject
* obj4
= 0 ;
16490 PyObject
* obj5
= 0 ;
16491 PyObject
* obj6
= 0 ;
16492 char * kwnames
[] = {
16493 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16496 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16497 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16498 if (!SWIG_IsOK(res1
)) {
16499 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16501 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16504 arg2
= wxString_in_helper(obj1
);
16505 if (arg2
== NULL
) SWIG_fail
;
16511 arg3
= wxString_in_helper(obj2
);
16512 if (arg3
== NULL
) SWIG_fail
;
16517 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16518 if (!SWIG_IsOK(ecode4
)) {
16519 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16521 arg4
= static_cast< long >(val4
);
16526 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16532 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16537 arg7
= wxString_in_helper(obj6
);
16538 if (arg7
== NULL
) SWIG_fail
;
16543 if (!wxPyCheckForApp()) SWIG_fail
;
16544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16545 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16546 wxPyEndAllowThreads(__tstate
);
16547 if (PyErr_Occurred()) SWIG_fail
;
16549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16580 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16581 PyObject
*resultobj
= 0;
16582 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16586 PyObject
*swig_obj
[1] ;
16588 if (!args
) SWIG_fail
;
16589 swig_obj
[0] = args
;
16590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16591 if (!SWIG_IsOK(res1
)) {
16592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16594 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16597 result
= (arg1
)->GetPath();
16598 wxPyEndAllowThreads(__tstate
);
16599 if (PyErr_Occurred()) SWIG_fail
;
16603 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16605 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16614 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16615 PyObject
*resultobj
= 0;
16616 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16620 PyObject
*swig_obj
[1] ;
16622 if (!args
) SWIG_fail
;
16623 swig_obj
[0] = args
;
16624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16625 if (!SWIG_IsOK(res1
)) {
16626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16628 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16631 result
= (arg1
)->GetMessage();
16632 wxPyEndAllowThreads(__tstate
);
16633 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16639 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16648 SWIGINTERN PyObject
*_wrap_DirDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16649 PyObject
*resultobj
= 0;
16650 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16654 PyObject
*swig_obj
[1] ;
16656 if (!args
) SWIG_fail
;
16657 swig_obj
[0] = args
;
16658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16659 if (!SWIG_IsOK(res1
)) {
16660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetStyle" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16662 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16665 result
= (long)(arg1
)->GetStyle();
16666 wxPyEndAllowThreads(__tstate
);
16667 if (PyErr_Occurred()) SWIG_fail
;
16669 resultobj
= SWIG_From_long(static_cast< long >(result
));
16676 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16677 PyObject
*resultobj
= 0;
16678 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16679 wxString
*arg2
= 0 ;
16682 bool temp2
= false ;
16683 PyObject
* obj0
= 0 ;
16684 PyObject
* obj1
= 0 ;
16685 char * kwnames
[] = {
16686 (char *) "self",(char *) "message", NULL
16689 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16690 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16691 if (!SWIG_IsOK(res1
)) {
16692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16694 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16696 arg2
= wxString_in_helper(obj1
);
16697 if (arg2
== NULL
) SWIG_fail
;
16701 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16702 (arg1
)->SetMessage((wxString
const &)*arg2
);
16703 wxPyEndAllowThreads(__tstate
);
16704 if (PyErr_Occurred()) SWIG_fail
;
16706 resultobj
= SWIG_Py_Void();
16721 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16722 PyObject
*resultobj
= 0;
16723 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16724 wxString
*arg2
= 0 ;
16727 bool temp2
= false ;
16728 PyObject
* obj0
= 0 ;
16729 PyObject
* obj1
= 0 ;
16730 char * kwnames
[] = {
16731 (char *) "self",(char *) "path", NULL
16734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16736 if (!SWIG_IsOK(res1
)) {
16737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16739 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16741 arg2
= wxString_in_helper(obj1
);
16742 if (arg2
== NULL
) SWIG_fail
;
16746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16747 (arg1
)->SetPath((wxString
const &)*arg2
);
16748 wxPyEndAllowThreads(__tstate
);
16749 if (PyErr_Occurred()) SWIG_fail
;
16751 resultobj
= SWIG_Py_Void();
16766 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16768 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16769 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16770 return SWIG_Py_Void();
16773 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16774 return SWIG_Python_InitShadowInstance(args
);
16777 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16778 PyObject
*resultobj
= 0;
16779 wxWindow
*arg1
= (wxWindow
*) 0 ;
16780 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16781 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16782 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16783 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16784 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16785 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16786 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16787 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16788 long arg6
= (long) 0 ;
16789 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16790 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16791 wxFileDialog
*result
= 0 ;
16794 bool temp2
= false ;
16795 bool temp3
= false ;
16796 bool temp4
= false ;
16797 bool temp5
= false ;
16801 PyObject
* obj0
= 0 ;
16802 PyObject
* obj1
= 0 ;
16803 PyObject
* obj2
= 0 ;
16804 PyObject
* obj3
= 0 ;
16805 PyObject
* obj4
= 0 ;
16806 PyObject
* obj5
= 0 ;
16807 PyObject
* obj6
= 0 ;
16808 char * kwnames
[] = {
16809 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
16812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16814 if (!SWIG_IsOK(res1
)) {
16815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16820 arg2
= wxString_in_helper(obj1
);
16821 if (arg2
== NULL
) SWIG_fail
;
16827 arg3
= wxString_in_helper(obj2
);
16828 if (arg3
== NULL
) SWIG_fail
;
16834 arg4
= wxString_in_helper(obj3
);
16835 if (arg4
== NULL
) SWIG_fail
;
16841 arg5
= wxString_in_helper(obj4
);
16842 if (arg5
== NULL
) SWIG_fail
;
16847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
16848 if (!SWIG_IsOK(ecode6
)) {
16849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
16851 arg6
= static_cast< long >(val6
);
16856 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
16860 if (!wxPyCheckForApp()) SWIG_fail
;
16861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16862 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
16863 wxPyEndAllowThreads(__tstate
);
16864 if (PyErr_Occurred()) SWIG_fail
;
16866 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
16905 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16906 PyObject
*resultobj
= 0;
16907 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16908 wxString
*arg2
= 0 ;
16911 bool temp2
= false ;
16912 PyObject
* obj0
= 0 ;
16913 PyObject
* obj1
= 0 ;
16914 char * kwnames
[] = {
16915 (char *) "self",(char *) "message", NULL
16918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16920 if (!SWIG_IsOK(res1
)) {
16921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16923 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16925 arg2
= wxString_in_helper(obj1
);
16926 if (arg2
== NULL
) SWIG_fail
;
16930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16931 (arg1
)->SetMessage((wxString
const &)*arg2
);
16932 wxPyEndAllowThreads(__tstate
);
16933 if (PyErr_Occurred()) SWIG_fail
;
16935 resultobj
= SWIG_Py_Void();
16950 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16951 PyObject
*resultobj
= 0;
16952 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16953 wxString
*arg2
= 0 ;
16956 bool temp2
= false ;
16957 PyObject
* obj0
= 0 ;
16958 PyObject
* obj1
= 0 ;
16959 char * kwnames
[] = {
16960 (char *) "self",(char *) "path", NULL
16963 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16964 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
16965 if (!SWIG_IsOK(res1
)) {
16966 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
16968 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
16970 arg2
= wxString_in_helper(obj1
);
16971 if (arg2
== NULL
) SWIG_fail
;
16975 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16976 (arg1
)->SetPath((wxString
const &)*arg2
);
16977 wxPyEndAllowThreads(__tstate
);
16978 if (PyErr_Occurred()) SWIG_fail
;
16980 resultobj
= SWIG_Py_Void();
16995 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16996 PyObject
*resultobj
= 0;
16997 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
16998 wxString
*arg2
= 0 ;
17001 bool temp2
= false ;
17002 PyObject
* obj0
= 0 ;
17003 PyObject
* obj1
= 0 ;
17004 char * kwnames
[] = {
17005 (char *) "self",(char *) "dir", NULL
17008 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17009 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17010 if (!SWIG_IsOK(res1
)) {
17011 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17013 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17015 arg2
= wxString_in_helper(obj1
);
17016 if (arg2
== NULL
) SWIG_fail
;
17020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17021 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17022 wxPyEndAllowThreads(__tstate
);
17023 if (PyErr_Occurred()) SWIG_fail
;
17025 resultobj
= SWIG_Py_Void();
17040 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17041 PyObject
*resultobj
= 0;
17042 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17043 wxString
*arg2
= 0 ;
17046 bool temp2
= false ;
17047 PyObject
* obj0
= 0 ;
17048 PyObject
* obj1
= 0 ;
17049 char * kwnames
[] = {
17050 (char *) "self",(char *) "name", NULL
17053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17055 if (!SWIG_IsOK(res1
)) {
17056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17058 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17060 arg2
= wxString_in_helper(obj1
);
17061 if (arg2
== NULL
) SWIG_fail
;
17065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17066 (arg1
)->SetFilename((wxString
const &)*arg2
);
17067 wxPyEndAllowThreads(__tstate
);
17068 if (PyErr_Occurred()) SWIG_fail
;
17070 resultobj
= SWIG_Py_Void();
17085 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17086 PyObject
*resultobj
= 0;
17087 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17088 wxString
*arg2
= 0 ;
17091 bool temp2
= false ;
17092 PyObject
* obj0
= 0 ;
17093 PyObject
* obj1
= 0 ;
17094 char * kwnames
[] = {
17095 (char *) "self",(char *) "wildCard", NULL
17098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17100 if (!SWIG_IsOK(res1
)) {
17101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17103 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17105 arg2
= wxString_in_helper(obj1
);
17106 if (arg2
== NULL
) SWIG_fail
;
17110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17111 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17112 wxPyEndAllowThreads(__tstate
);
17113 if (PyErr_Occurred()) SWIG_fail
;
17115 resultobj
= SWIG_Py_Void();
17130 SWIGINTERN PyObject
*_wrap_FileDialog_SetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17131 PyObject
*resultobj
= 0;
17132 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17138 PyObject
* obj0
= 0 ;
17139 PyObject
* obj1
= 0 ;
17140 char * kwnames
[] = {
17141 (char *) "self",(char *) "style", NULL
17144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetStyle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17146 if (!SWIG_IsOK(res1
)) {
17147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetStyle" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17149 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17150 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
17151 if (!SWIG_IsOK(ecode2
)) {
17152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetStyle" "', expected argument " "2"" of type '" "long""'");
17154 arg2
= static_cast< long >(val2
);
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 (arg1
)->SetStyle(arg2
);
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17161 resultobj
= SWIG_Py_Void();
17168 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17169 PyObject
*resultobj
= 0;
17170 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17176 PyObject
* obj0
= 0 ;
17177 PyObject
* obj1
= 0 ;
17178 char * kwnames
[] = {
17179 (char *) "self",(char *) "filterIndex", NULL
17182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17184 if (!SWIG_IsOK(res1
)) {
17185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17187 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17189 if (!SWIG_IsOK(ecode2
)) {
17190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17192 arg2
= static_cast< int >(val2
);
17194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17195 (arg1
)->SetFilterIndex(arg2
);
17196 wxPyEndAllowThreads(__tstate
);
17197 if (PyErr_Occurred()) SWIG_fail
;
17199 resultobj
= SWIG_Py_Void();
17206 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17207 PyObject
*resultobj
= 0;
17208 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17212 PyObject
*swig_obj
[1] ;
17214 if (!args
) SWIG_fail
;
17215 swig_obj
[0] = args
;
17216 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17217 if (!SWIG_IsOK(res1
)) {
17218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17220 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17222 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17223 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17224 wxPyEndAllowThreads(__tstate
);
17225 if (PyErr_Occurred()) SWIG_fail
;
17229 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17231 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17240 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17241 PyObject
*resultobj
= 0;
17242 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17246 PyObject
*swig_obj
[1] ;
17248 if (!args
) SWIG_fail
;
17249 swig_obj
[0] = args
;
17250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17251 if (!SWIG_IsOK(res1
)) {
17252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17254 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17257 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17258 wxPyEndAllowThreads(__tstate
);
17259 if (PyErr_Occurred()) SWIG_fail
;
17263 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17265 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17274 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17275 PyObject
*resultobj
= 0;
17276 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17280 PyObject
*swig_obj
[1] ;
17282 if (!args
) SWIG_fail
;
17283 swig_obj
[0] = args
;
17284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17285 if (!SWIG_IsOK(res1
)) {
17286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17288 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17291 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17292 wxPyEndAllowThreads(__tstate
);
17293 if (PyErr_Occurred()) SWIG_fail
;
17297 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17299 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17308 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17309 PyObject
*resultobj
= 0;
17310 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17314 PyObject
*swig_obj
[1] ;
17316 if (!args
) SWIG_fail
;
17317 swig_obj
[0] = args
;
17318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17319 if (!SWIG_IsOK(res1
)) {
17320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17322 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17325 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17326 wxPyEndAllowThreads(__tstate
);
17327 if (PyErr_Occurred()) SWIG_fail
;
17331 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17333 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17342 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17343 PyObject
*resultobj
= 0;
17344 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17348 PyObject
*swig_obj
[1] ;
17350 if (!args
) SWIG_fail
;
17351 swig_obj
[0] = args
;
17352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17353 if (!SWIG_IsOK(res1
)) {
17354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17356 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17359 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17360 wxPyEndAllowThreads(__tstate
);
17361 if (PyErr_Occurred()) SWIG_fail
;
17365 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17367 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17376 SWIGINTERN PyObject
*_wrap_FileDialog_GetStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17377 PyObject
*resultobj
= 0;
17378 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17382 PyObject
*swig_obj
[1] ;
17384 if (!args
) SWIG_fail
;
17385 swig_obj
[0] = args
;
17386 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17387 if (!SWIG_IsOK(res1
)) {
17388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetStyle" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17390 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17393 result
= (long)((wxFileDialog
const *)arg1
)->GetStyle();
17394 wxPyEndAllowThreads(__tstate
);
17395 if (PyErr_Occurred()) SWIG_fail
;
17397 resultobj
= SWIG_From_long(static_cast< long >(result
));
17404 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17405 PyObject
*resultobj
= 0;
17406 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17410 PyObject
*swig_obj
[1] ;
17412 if (!args
) SWIG_fail
;
17413 swig_obj
[0] = args
;
17414 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17415 if (!SWIG_IsOK(res1
)) {
17416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17418 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17420 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17421 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17422 wxPyEndAllowThreads(__tstate
);
17423 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= SWIG_From_int(static_cast< int >(result
));
17432 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17433 PyObject
*resultobj
= 0;
17434 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17435 PyObject
*result
= 0 ;
17438 PyObject
*swig_obj
[1] ;
17440 if (!args
) SWIG_fail
;
17441 swig_obj
[0] = args
;
17442 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17443 if (!SWIG_IsOK(res1
)) {
17444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17446 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17448 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17449 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17450 wxPyEndAllowThreads(__tstate
);
17451 if (PyErr_Occurred()) SWIG_fail
;
17453 resultobj
= result
;
17460 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17461 PyObject
*resultobj
= 0;
17462 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17463 PyObject
*result
= 0 ;
17466 PyObject
*swig_obj
[1] ;
17468 if (!args
) SWIG_fail
;
17469 swig_obj
[0] = args
;
17470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17471 if (!SWIG_IsOK(res1
)) {
17472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17474 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17477 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17478 wxPyEndAllowThreads(__tstate
);
17479 if (PyErr_Occurred()) SWIG_fail
;
17481 resultobj
= result
;
17488 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17490 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17491 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17492 return SWIG_Py_Void();
17495 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17496 return SWIG_Python_InitShadowInstance(args
);
17499 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17500 PyObject
*resultobj
= 0;
17501 wxWindow
*arg1
= (wxWindow
*) 0 ;
17502 wxString
*arg2
= 0 ;
17503 wxString
*arg3
= 0 ;
17504 int arg4
= (int) 0 ;
17505 wxString
*arg5
= (wxString
*) NULL
;
17506 long arg6
= (long) wxCHOICEDLG_STYLE
;
17507 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17508 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17509 wxMultiChoiceDialog
*result
= 0 ;
17512 bool temp2
= false ;
17513 bool temp3
= false ;
17517 PyObject
* obj0
= 0 ;
17518 PyObject
* obj1
= 0 ;
17519 PyObject
* obj2
= 0 ;
17520 PyObject
* obj3
= 0 ;
17521 PyObject
* obj4
= 0 ;
17522 PyObject
* obj5
= 0 ;
17523 char * kwnames
[] = {
17524 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17529 if (!SWIG_IsOK(res1
)) {
17530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17532 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17534 arg2
= wxString_in_helper(obj1
);
17535 if (arg2
== NULL
) SWIG_fail
;
17539 arg3
= wxString_in_helper(obj2
);
17540 if (arg3
== NULL
) SWIG_fail
;
17545 arg4
= PyList_Size(obj3
);
17546 arg5
= wxString_LIST_helper(obj3
);
17547 if (arg5
== NULL
) SWIG_fail
;
17551 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17552 if (!SWIG_IsOK(ecode6
)) {
17553 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17555 arg6
= static_cast< long >(val6
);
17560 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17564 if (!wxPyCheckForApp()) SWIG_fail
;
17565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17566 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17567 wxPyEndAllowThreads(__tstate
);
17568 if (PyErr_Occurred()) SWIG_fail
;
17570 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17580 if (arg5
) delete [] arg5
;
17593 if (arg5
) delete [] arg5
;
17599 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17600 PyObject
*resultobj
= 0;
17601 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17602 wxArrayInt
*arg2
= 0 ;
17605 bool temp2
= false ;
17606 PyObject
* obj0
= 0 ;
17607 PyObject
* obj1
= 0 ;
17608 char * kwnames
[] = {
17609 (char *) "self",(char *) "selections", NULL
17612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17614 if (!SWIG_IsOK(res1
)) {
17615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17617 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17619 if (! PySequence_Check(obj1
)) {
17620 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17623 arg2
= new wxArrayInt
;
17625 int i
, len
=PySequence_Length(obj1
);
17626 for (i
=0; i
<len
; i
++) {
17627 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17628 PyObject
* number
= PyNumber_Int(item
);
17629 arg2
->Add(PyInt_AS_LONG(number
));
17635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17636 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17637 wxPyEndAllowThreads(__tstate
);
17638 if (PyErr_Occurred()) SWIG_fail
;
17640 resultobj
= SWIG_Py_Void();
17642 if (temp2
) delete arg2
;
17647 if (temp2
) delete arg2
;
17653 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17654 PyObject
*resultobj
= 0;
17655 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17656 PyObject
*result
= 0 ;
17659 PyObject
*swig_obj
[1] ;
17661 if (!args
) SWIG_fail
;
17662 swig_obj
[0] = args
;
17663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17664 if (!SWIG_IsOK(res1
)) {
17665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17667 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17670 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17671 wxPyEndAllowThreads(__tstate
);
17672 if (PyErr_Occurred()) SWIG_fail
;
17674 resultobj
= result
;
17681 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17684 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17685 return SWIG_Py_Void();
17688 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17689 return SWIG_Python_InitShadowInstance(args
);
17692 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17693 PyObject
*resultobj
= 0;
17694 wxWindow
*arg1
= (wxWindow
*) 0 ;
17695 wxString
*arg2
= 0 ;
17696 wxString
*arg3
= 0 ;
17698 wxString
*arg5
= (wxString
*) 0 ;
17699 long arg6
= (long) wxCHOICEDLG_STYLE
;
17700 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17701 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17702 wxSingleChoiceDialog
*result
= 0 ;
17705 bool temp2
= false ;
17706 bool temp3
= false ;
17710 PyObject
* obj0
= 0 ;
17711 PyObject
* obj1
= 0 ;
17712 PyObject
* obj2
= 0 ;
17713 PyObject
* obj3
= 0 ;
17714 PyObject
* obj4
= 0 ;
17715 PyObject
* obj5
= 0 ;
17716 char * kwnames
[] = {
17717 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17720 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17721 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17722 if (!SWIG_IsOK(res1
)) {
17723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17725 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17727 arg2
= wxString_in_helper(obj1
);
17728 if (arg2
== NULL
) SWIG_fail
;
17732 arg3
= wxString_in_helper(obj2
);
17733 if (arg3
== NULL
) SWIG_fail
;
17737 arg4
= PyList_Size(obj3
);
17738 arg5
= wxString_LIST_helper(obj3
);
17739 if (arg5
== NULL
) SWIG_fail
;
17742 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17743 if (!SWIG_IsOK(ecode6
)) {
17744 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17746 arg6
= static_cast< long >(val6
);
17751 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17755 if (!wxPyCheckForApp()) SWIG_fail
;
17756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17757 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17758 wxPyEndAllowThreads(__tstate
);
17759 if (PyErr_Occurred()) SWIG_fail
;
17761 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17771 if (arg5
) delete [] arg5
;
17784 if (arg5
) delete [] arg5
;
17790 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17791 PyObject
*resultobj
= 0;
17792 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17796 PyObject
*swig_obj
[1] ;
17798 if (!args
) SWIG_fail
;
17799 swig_obj
[0] = args
;
17800 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17801 if (!SWIG_IsOK(res1
)) {
17802 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17804 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17807 result
= (int)(arg1
)->GetSelection();
17808 wxPyEndAllowThreads(__tstate
);
17809 if (PyErr_Occurred()) SWIG_fail
;
17811 resultobj
= SWIG_From_int(static_cast< int >(result
));
17818 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17819 PyObject
*resultobj
= 0;
17820 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17824 PyObject
*swig_obj
[1] ;
17826 if (!args
) SWIG_fail
;
17827 swig_obj
[0] = args
;
17828 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17829 if (!SWIG_IsOK(res1
)) {
17830 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17832 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17835 result
= (arg1
)->GetStringSelection();
17836 wxPyEndAllowThreads(__tstate
);
17837 if (PyErr_Occurred()) SWIG_fail
;
17841 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17843 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17852 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17853 PyObject
*resultobj
= 0;
17854 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17860 PyObject
* obj0
= 0 ;
17861 PyObject
* obj1
= 0 ;
17862 char * kwnames
[] = {
17863 (char *) "self",(char *) "sel", NULL
17866 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17867 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17868 if (!SWIG_IsOK(res1
)) {
17869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17871 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17872 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17873 if (!SWIG_IsOK(ecode2
)) {
17874 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
17876 arg2
= static_cast< int >(val2
);
17878 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17879 (arg1
)->SetSelection(arg2
);
17880 wxPyEndAllowThreads(__tstate
);
17881 if (PyErr_Occurred()) SWIG_fail
;
17883 resultobj
= SWIG_Py_Void();
17890 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17892 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17893 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
17894 return SWIG_Py_Void();
17897 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17898 return SWIG_Python_InitShadowInstance(args
);
17901 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17902 PyObject
*resultobj
= 0;
17903 wxWindow
*arg1
= (wxWindow
*) 0 ;
17904 wxString
*arg2
= 0 ;
17905 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
17906 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17907 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17908 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17909 long arg5
= (long) wxTextEntryDialogStyle
;
17910 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
17911 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
17912 wxTextEntryDialog
*result
= 0 ;
17915 bool temp2
= false ;
17916 bool temp3
= false ;
17917 bool temp4
= false ;
17921 PyObject
* obj0
= 0 ;
17922 PyObject
* obj1
= 0 ;
17923 PyObject
* obj2
= 0 ;
17924 PyObject
* obj3
= 0 ;
17925 PyObject
* obj4
= 0 ;
17926 PyObject
* obj5
= 0 ;
17927 char * kwnames
[] = {
17928 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
17931 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17932 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17933 if (!SWIG_IsOK(res1
)) {
17934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17936 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17938 arg2
= wxString_in_helper(obj1
);
17939 if (arg2
== NULL
) SWIG_fail
;
17944 arg3
= wxString_in_helper(obj2
);
17945 if (arg3
== NULL
) SWIG_fail
;
17951 arg4
= wxString_in_helper(obj3
);
17952 if (arg4
== NULL
) SWIG_fail
;
17957 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
17958 if (!SWIG_IsOK(ecode5
)) {
17959 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
17961 arg5
= static_cast< long >(val5
);
17966 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
17970 if (!wxPyCheckForApp()) SWIG_fail
;
17971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17972 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
17973 wxPyEndAllowThreads(__tstate
);
17974 if (PyErr_Occurred()) SWIG_fail
;
17976 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18007 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18008 PyObject
*resultobj
= 0;
18009 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18013 PyObject
*swig_obj
[1] ;
18015 if (!args
) SWIG_fail
;
18016 swig_obj
[0] = args
;
18017 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18018 if (!SWIG_IsOK(res1
)) {
18019 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18021 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18024 result
= (arg1
)->GetValue();
18025 wxPyEndAllowThreads(__tstate
);
18026 if (PyErr_Occurred()) SWIG_fail
;
18030 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18032 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18041 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18042 PyObject
*resultobj
= 0;
18043 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18044 wxString
*arg2
= 0 ;
18047 bool temp2
= false ;
18048 PyObject
* obj0
= 0 ;
18049 PyObject
* obj1
= 0 ;
18050 char * kwnames
[] = {
18051 (char *) "self",(char *) "value", NULL
18054 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18055 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18056 if (!SWIG_IsOK(res1
)) {
18057 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18059 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18061 arg2
= wxString_in_helper(obj1
);
18062 if (arg2
== NULL
) SWIG_fail
;
18066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18067 (arg1
)->SetValue((wxString
const &)*arg2
);
18068 wxPyEndAllowThreads(__tstate
);
18069 if (PyErr_Occurred()) SWIG_fail
;
18071 resultobj
= SWIG_Py_Void();
18086 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18088 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18089 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18090 return SWIG_Py_Void();
18093 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18094 return SWIG_Python_InitShadowInstance(args
);
18097 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18098 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18103 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18104 PyObject
*pyobj
= 0;
18108 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18110 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18117 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18118 PyObject
*resultobj
= 0;
18119 wxWindow
*arg1
= (wxWindow
*) 0 ;
18120 wxString
*arg2
= 0 ;
18121 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18122 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18123 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18124 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18125 long arg5
= (long) wxTextEntryDialogStyle
;
18126 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18127 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18128 wxPasswordEntryDialog
*result
= 0 ;
18131 bool temp2
= false ;
18132 bool temp3
= false ;
18133 bool temp4
= false ;
18137 PyObject
* obj0
= 0 ;
18138 PyObject
* obj1
= 0 ;
18139 PyObject
* obj2
= 0 ;
18140 PyObject
* obj3
= 0 ;
18141 PyObject
* obj4
= 0 ;
18142 PyObject
* obj5
= 0 ;
18143 char * kwnames
[] = {
18144 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18149 if (!SWIG_IsOK(res1
)) {
18150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18152 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18154 arg2
= wxString_in_helper(obj1
);
18155 if (arg2
== NULL
) SWIG_fail
;
18160 arg3
= wxString_in_helper(obj2
);
18161 if (arg3
== NULL
) SWIG_fail
;
18167 arg4
= wxString_in_helper(obj3
);
18168 if (arg4
== NULL
) SWIG_fail
;
18173 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18174 if (!SWIG_IsOK(ecode5
)) {
18175 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18177 arg5
= static_cast< long >(val5
);
18182 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18186 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18187 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18188 wxPyEndAllowThreads(__tstate
);
18189 if (PyErr_Occurred()) SWIG_fail
;
18191 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18222 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18224 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18225 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18226 return SWIG_Py_Void();
18229 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18230 return SWIG_Python_InitShadowInstance(args
);
18233 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18234 PyObject
*resultobj
= 0;
18235 wxFontData
*result
= 0 ;
18237 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18240 result
= (wxFontData
*)new wxFontData();
18241 wxPyEndAllowThreads(__tstate
);
18242 if (PyErr_Occurred()) SWIG_fail
;
18244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18251 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18252 PyObject
*resultobj
= 0;
18253 wxFontData
*arg1
= (wxFontData
*) 0 ;
18256 PyObject
*swig_obj
[1] ;
18258 if (!args
) SWIG_fail
;
18259 swig_obj
[0] = args
;
18260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18261 if (!SWIG_IsOK(res1
)) {
18262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18264 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18269 wxPyEndAllowThreads(__tstate
);
18270 if (PyErr_Occurred()) SWIG_fail
;
18272 resultobj
= SWIG_Py_Void();
18279 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18280 PyObject
*resultobj
= 0;
18281 wxFontData
*arg1
= (wxFontData
*) 0 ;
18287 PyObject
* obj0
= 0 ;
18288 PyObject
* obj1
= 0 ;
18289 char * kwnames
[] = {
18290 (char *) "self",(char *) "enable", NULL
18293 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18294 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18295 if (!SWIG_IsOK(res1
)) {
18296 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18298 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18299 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18300 if (!SWIG_IsOK(ecode2
)) {
18301 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18303 arg2
= static_cast< bool >(val2
);
18305 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18306 (arg1
)->EnableEffects(arg2
);
18307 wxPyEndAllowThreads(__tstate
);
18308 if (PyErr_Occurred()) SWIG_fail
;
18310 resultobj
= SWIG_Py_Void();
18317 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18318 PyObject
*resultobj
= 0;
18319 wxFontData
*arg1
= (wxFontData
*) 0 ;
18323 PyObject
*swig_obj
[1] ;
18325 if (!args
) SWIG_fail
;
18326 swig_obj
[0] = args
;
18327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18328 if (!SWIG_IsOK(res1
)) {
18329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18331 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18334 result
= (bool)(arg1
)->GetAllowSymbols();
18335 wxPyEndAllowThreads(__tstate
);
18336 if (PyErr_Occurred()) SWIG_fail
;
18339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18347 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18348 PyObject
*resultobj
= 0;
18349 wxFontData
*arg1
= (wxFontData
*) 0 ;
18353 PyObject
*swig_obj
[1] ;
18355 if (!args
) SWIG_fail
;
18356 swig_obj
[0] = args
;
18357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18358 if (!SWIG_IsOK(res1
)) {
18359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18361 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18364 result
= (arg1
)->GetColour();
18365 wxPyEndAllowThreads(__tstate
);
18366 if (PyErr_Occurred()) SWIG_fail
;
18368 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18375 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18376 PyObject
*resultobj
= 0;
18377 wxFontData
*arg1
= (wxFontData
*) 0 ;
18381 PyObject
*swig_obj
[1] ;
18383 if (!args
) SWIG_fail
;
18384 swig_obj
[0] = args
;
18385 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18386 if (!SWIG_IsOK(res1
)) {
18387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18389 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18392 result
= (arg1
)->GetChosenFont();
18393 wxPyEndAllowThreads(__tstate
);
18394 if (PyErr_Occurred()) SWIG_fail
;
18396 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18403 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18404 PyObject
*resultobj
= 0;
18405 wxFontData
*arg1
= (wxFontData
*) 0 ;
18409 PyObject
*swig_obj
[1] ;
18411 if (!args
) SWIG_fail
;
18412 swig_obj
[0] = args
;
18413 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18414 if (!SWIG_IsOK(res1
)) {
18415 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18417 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18419 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18420 result
= (bool)(arg1
)->GetEnableEffects();
18421 wxPyEndAllowThreads(__tstate
);
18422 if (PyErr_Occurred()) SWIG_fail
;
18425 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18433 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18434 PyObject
*resultobj
= 0;
18435 wxFontData
*arg1
= (wxFontData
*) 0 ;
18439 PyObject
*swig_obj
[1] ;
18441 if (!args
) SWIG_fail
;
18442 swig_obj
[0] = args
;
18443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18444 if (!SWIG_IsOK(res1
)) {
18445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18447 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18450 result
= (arg1
)->GetInitialFont();
18451 wxPyEndAllowThreads(__tstate
);
18452 if (PyErr_Occurred()) SWIG_fail
;
18454 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18461 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18462 PyObject
*resultobj
= 0;
18463 wxFontData
*arg1
= (wxFontData
*) 0 ;
18467 PyObject
*swig_obj
[1] ;
18469 if (!args
) SWIG_fail
;
18470 swig_obj
[0] = args
;
18471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18472 if (!SWIG_IsOK(res1
)) {
18473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18475 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18478 result
= (bool)(arg1
)->GetShowHelp();
18479 wxPyEndAllowThreads(__tstate
);
18480 if (PyErr_Occurred()) SWIG_fail
;
18483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18491 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18492 PyObject
*resultobj
= 0;
18493 wxFontData
*arg1
= (wxFontData
*) 0 ;
18499 PyObject
* obj0
= 0 ;
18500 PyObject
* obj1
= 0 ;
18501 char * kwnames
[] = {
18502 (char *) "self",(char *) "allowSymbols", NULL
18505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18507 if (!SWIG_IsOK(res1
)) {
18508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18510 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18512 if (!SWIG_IsOK(ecode2
)) {
18513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18515 arg2
= static_cast< bool >(val2
);
18517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18518 (arg1
)->SetAllowSymbols(arg2
);
18519 wxPyEndAllowThreads(__tstate
);
18520 if (PyErr_Occurred()) SWIG_fail
;
18522 resultobj
= SWIG_Py_Void();
18529 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18530 PyObject
*resultobj
= 0;
18531 wxFontData
*arg1
= (wxFontData
*) 0 ;
18537 PyObject
* obj0
= 0 ;
18538 PyObject
* obj1
= 0 ;
18539 char * kwnames
[] = {
18540 (char *) "self",(char *) "font", NULL
18543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18545 if (!SWIG_IsOK(res1
)) {
18546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18548 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18549 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18550 if (!SWIG_IsOK(res2
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18554 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18556 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18559 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18560 wxPyEndAllowThreads(__tstate
);
18561 if (PyErr_Occurred()) SWIG_fail
;
18563 resultobj
= SWIG_Py_Void();
18570 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18571 PyObject
*resultobj
= 0;
18572 wxFontData
*arg1
= (wxFontData
*) 0 ;
18573 wxColour
*arg2
= 0 ;
18577 PyObject
* obj0
= 0 ;
18578 PyObject
* obj1
= 0 ;
18579 char * kwnames
[] = {
18580 (char *) "self",(char *) "colour", NULL
18583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18588 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18591 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->SetColour((wxColour
const &)*arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18607 PyObject
*resultobj
= 0;
18608 wxFontData
*arg1
= (wxFontData
*) 0 ;
18614 PyObject
* obj0
= 0 ;
18615 PyObject
* obj1
= 0 ;
18616 char * kwnames
[] = {
18617 (char *) "self",(char *) "font", NULL
18620 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18621 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18622 if (!SWIG_IsOK(res1
)) {
18623 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18625 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18626 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18627 if (!SWIG_IsOK(res2
)) {
18628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18631 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18633 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18636 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18637 wxPyEndAllowThreads(__tstate
);
18638 if (PyErr_Occurred()) SWIG_fail
;
18640 resultobj
= SWIG_Py_Void();
18647 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18648 PyObject
*resultobj
= 0;
18649 wxFontData
*arg1
= (wxFontData
*) 0 ;
18658 PyObject
* obj0
= 0 ;
18659 PyObject
* obj1
= 0 ;
18660 PyObject
* obj2
= 0 ;
18661 char * kwnames
[] = {
18662 (char *) "self",(char *) "min",(char *) "max", NULL
18665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18667 if (!SWIG_IsOK(res1
)) {
18668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18670 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18672 if (!SWIG_IsOK(ecode2
)) {
18673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18675 arg2
= static_cast< int >(val2
);
18676 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18677 if (!SWIG_IsOK(ecode3
)) {
18678 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18680 arg3
= static_cast< int >(val3
);
18682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18683 (arg1
)->SetRange(arg2
,arg3
);
18684 wxPyEndAllowThreads(__tstate
);
18685 if (PyErr_Occurred()) SWIG_fail
;
18687 resultobj
= SWIG_Py_Void();
18694 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18695 PyObject
*resultobj
= 0;
18696 wxFontData
*arg1
= (wxFontData
*) 0 ;
18702 PyObject
* obj0
= 0 ;
18703 PyObject
* obj1
= 0 ;
18704 char * kwnames
[] = {
18705 (char *) "self",(char *) "showHelp", NULL
18708 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18709 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18710 if (!SWIG_IsOK(res1
)) {
18711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18713 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18714 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18715 if (!SWIG_IsOK(ecode2
)) {
18716 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
18718 arg2
= static_cast< bool >(val2
);
18720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18721 (arg1
)->SetShowHelp(arg2
);
18722 wxPyEndAllowThreads(__tstate
);
18723 if (PyErr_Occurred()) SWIG_fail
;
18725 resultobj
= SWIG_Py_Void();
18732 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18734 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18735 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
18736 return SWIG_Py_Void();
18739 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18740 return SWIG_Python_InitShadowInstance(args
);
18743 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18744 PyObject
*resultobj
= 0;
18745 wxWindow
*arg1
= (wxWindow
*) 0 ;
18746 wxFontData
*arg2
= 0 ;
18747 wxFontDialog
*result
= 0 ;
18752 PyObject
* obj0
= 0 ;
18753 PyObject
* obj1
= 0 ;
18754 char * kwnames
[] = {
18755 (char *) "parent",(char *) "data", NULL
18758 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18759 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18760 if (!SWIG_IsOK(res1
)) {
18761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18763 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18764 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
18765 if (!SWIG_IsOK(res2
)) {
18766 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18769 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
18771 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
18773 if (!wxPyCheckForApp()) SWIG_fail
;
18774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18775 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
18776 wxPyEndAllowThreads(__tstate
);
18777 if (PyErr_Occurred()) SWIG_fail
;
18779 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
18786 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18787 PyObject
*resultobj
= 0;
18788 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
18789 wxFontData
*result
= 0 ;
18792 PyObject
*swig_obj
[1] ;
18794 if (!args
) SWIG_fail
;
18795 swig_obj
[0] = args
;
18796 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
18797 if (!SWIG_IsOK(res1
)) {
18798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
18800 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
18802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18804 wxFontData
&_result_ref
= (arg1
)->GetFontData();
18805 result
= (wxFontData
*) &_result_ref
;
18807 wxPyEndAllowThreads(__tstate
);
18808 if (PyErr_Occurred()) SWIG_fail
;
18810 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
18817 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18819 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18820 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
18821 return SWIG_Py_Void();
18824 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 return SWIG_Python_InitShadowInstance(args
);
18828 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18829 PyObject
*resultobj
= 0;
18830 wxWindow
*arg1
= (wxWindow
*) NULL
;
18831 wxFont
const &arg2_defvalue
= wxNullFont
;
18832 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
18833 wxString
const &arg3_defvalue
= wxPyEmptyString
;
18834 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18840 bool temp3
= false ;
18841 PyObject
* obj0
= 0 ;
18842 PyObject
* obj1
= 0 ;
18843 PyObject
* obj2
= 0 ;
18844 char * kwnames
[] = {
18845 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
18848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18850 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18851 if (!SWIG_IsOK(res1
)) {
18852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
18854 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18857 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18858 if (!SWIG_IsOK(res2
)) {
18859 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
18864 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18868 arg3
= wxString_in_helper(obj2
);
18869 if (arg3
== NULL
) SWIG_fail
;
18874 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18875 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
18876 wxPyEndAllowThreads(__tstate
);
18877 if (PyErr_Occurred()) SWIG_fail
;
18879 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18894 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18895 PyObject
*resultobj
= 0;
18896 wxWindow
*arg1
= (wxWindow
*) 0 ;
18897 wxString
*arg2
= 0 ;
18898 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
18899 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18900 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
18901 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
18902 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
18903 wxMessageDialog
*result
= 0 ;
18906 bool temp2
= false ;
18907 bool temp3
= false ;
18911 PyObject
* obj0
= 0 ;
18912 PyObject
* obj1
= 0 ;
18913 PyObject
* obj2
= 0 ;
18914 PyObject
* obj3
= 0 ;
18915 PyObject
* obj4
= 0 ;
18916 char * kwnames
[] = {
18917 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
18920 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
18921 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18922 if (!SWIG_IsOK(res1
)) {
18923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18925 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18927 arg2
= wxString_in_helper(obj1
);
18928 if (arg2
== NULL
) SWIG_fail
;
18933 arg3
= wxString_in_helper(obj2
);
18934 if (arg3
== NULL
) SWIG_fail
;
18939 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
18940 if (!SWIG_IsOK(ecode4
)) {
18941 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
18943 arg4
= static_cast< long >(val4
);
18948 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
18952 if (!wxPyCheckForApp()) SWIG_fail
;
18953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18954 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
18955 wxPyEndAllowThreads(__tstate
);
18956 if (PyErr_Occurred()) SWIG_fail
;
18958 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
18981 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18983 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18984 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
18985 return SWIG_Py_Void();
18988 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18989 return SWIG_Python_InitShadowInstance(args
);
18992 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18993 PyObject
*resultobj
= 0;
18994 wxString
*arg1
= 0 ;
18995 wxString
*arg2
= 0 ;
18996 int arg3
= (int) 100 ;
18997 wxWindow
*arg4
= (wxWindow
*) NULL
;
18998 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
18999 wxProgressDialog
*result
= 0 ;
19000 bool temp1
= false ;
19001 bool temp2
= false ;
19008 PyObject
* obj0
= 0 ;
19009 PyObject
* obj1
= 0 ;
19010 PyObject
* obj2
= 0 ;
19011 PyObject
* obj3
= 0 ;
19012 PyObject
* obj4
= 0 ;
19013 char * kwnames
[] = {
19014 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19019 arg1
= wxString_in_helper(obj0
);
19020 if (arg1
== NULL
) SWIG_fail
;
19024 arg2
= wxString_in_helper(obj1
);
19025 if (arg2
== NULL
) SWIG_fail
;
19029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19030 if (!SWIG_IsOK(ecode3
)) {
19031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19033 arg3
= static_cast< int >(val3
);
19036 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19037 if (!SWIG_IsOK(res4
)) {
19038 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19040 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19043 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19044 if (!SWIG_IsOK(ecode5
)) {
19045 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19047 arg5
= static_cast< int >(val5
);
19050 if (!wxPyCheckForApp()) SWIG_fail
;
19051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19052 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19053 wxPyEndAllowThreads(__tstate
);
19054 if (PyErr_Occurred()) SWIG_fail
;
19056 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19079 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19080 PyObject
*resultobj
= 0;
19081 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19083 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19084 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19090 bool temp3
= false ;
19091 PyObject
* obj0
= 0 ;
19092 PyObject
* obj1
= 0 ;
19093 PyObject
* obj2
= 0 ;
19094 char * kwnames
[] = {
19095 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19100 if (!SWIG_IsOK(res1
)) {
19101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19103 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19105 if (!SWIG_IsOK(ecode2
)) {
19106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19108 arg2
= static_cast< int >(val2
);
19111 arg3
= wxString_in_helper(obj2
);
19112 if (arg3
== NULL
) SWIG_fail
;
19117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19118 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
);
19119 wxPyEndAllowThreads(__tstate
);
19120 if (PyErr_Occurred()) SWIG_fail
;
19123 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19139 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19140 PyObject
*resultobj
= 0;
19141 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19144 PyObject
*swig_obj
[1] ;
19146 if (!args
) SWIG_fail
;
19147 swig_obj
[0] = args
;
19148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19149 if (!SWIG_IsOK(res1
)) {
19150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19152 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19156 wxPyEndAllowThreads(__tstate
);
19157 if (PyErr_Occurred()) SWIG_fail
;
19159 resultobj
= SWIG_Py_Void();
19166 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19168 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19169 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19170 return SWIG_Py_Void();
19173 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19174 return SWIG_Python_InitShadowInstance(args
);
19177 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19178 PyObject
*resultobj
= 0;
19179 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19180 int arg2
= (int) 0 ;
19181 wxFindDialogEvent
*result
= 0 ;
19186 PyObject
* obj0
= 0 ;
19187 PyObject
* obj1
= 0 ;
19188 char * kwnames
[] = {
19189 (char *) "commandType",(char *) "id", NULL
19192 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19194 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19195 if (!SWIG_IsOK(ecode1
)) {
19196 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19198 arg1
= static_cast< wxEventType
>(val1
);
19201 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19202 if (!SWIG_IsOK(ecode2
)) {
19203 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19205 arg2
= static_cast< int >(val2
);
19208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19209 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19210 wxPyEndAllowThreads(__tstate
);
19211 if (PyErr_Occurred()) SWIG_fail
;
19213 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19220 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19221 PyObject
*resultobj
= 0;
19222 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19226 PyObject
*swig_obj
[1] ;
19228 if (!args
) SWIG_fail
;
19229 swig_obj
[0] = args
;
19230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19231 if (!SWIG_IsOK(res1
)) {
19232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19234 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19237 result
= (int)(arg1
)->GetFlags();
19238 wxPyEndAllowThreads(__tstate
);
19239 if (PyErr_Occurred()) SWIG_fail
;
19241 resultobj
= SWIG_From_int(static_cast< int >(result
));
19248 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19249 PyObject
*resultobj
= 0;
19250 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19251 wxString
*result
= 0 ;
19254 PyObject
*swig_obj
[1] ;
19256 if (!args
) SWIG_fail
;
19257 swig_obj
[0] = args
;
19258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19259 if (!SWIG_IsOK(res1
)) {
19260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19262 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19266 wxString
const &_result_ref
= (arg1
)->GetFindString();
19267 result
= (wxString
*) &_result_ref
;
19269 wxPyEndAllowThreads(__tstate
);
19270 if (PyErr_Occurred()) SWIG_fail
;
19274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19285 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19286 PyObject
*resultobj
= 0;
19287 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19288 wxString
*result
= 0 ;
19291 PyObject
*swig_obj
[1] ;
19293 if (!args
) SWIG_fail
;
19294 swig_obj
[0] = args
;
19295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19296 if (!SWIG_IsOK(res1
)) {
19297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19299 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19303 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19304 result
= (wxString
*) &_result_ref
;
19306 wxPyEndAllowThreads(__tstate
);
19307 if (PyErr_Occurred()) SWIG_fail
;
19311 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19313 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19322 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19323 PyObject
*resultobj
= 0;
19324 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19325 wxFindReplaceDialog
*result
= 0 ;
19328 PyObject
*swig_obj
[1] ;
19330 if (!args
) SWIG_fail
;
19331 swig_obj
[0] = args
;
19332 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19333 if (!SWIG_IsOK(res1
)) {
19334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19336 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19338 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19339 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19340 wxPyEndAllowThreads(__tstate
);
19341 if (PyErr_Occurred()) SWIG_fail
;
19343 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19350 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19351 PyObject
*resultobj
= 0;
19352 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19358 PyObject
* obj0
= 0 ;
19359 PyObject
* obj1
= 0 ;
19360 char * kwnames
[] = {
19361 (char *) "self",(char *) "flags", NULL
19364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19366 if (!SWIG_IsOK(res1
)) {
19367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19369 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19370 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19371 if (!SWIG_IsOK(ecode2
)) {
19372 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19374 arg2
= static_cast< int >(val2
);
19376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19377 (arg1
)->SetFlags(arg2
);
19378 wxPyEndAllowThreads(__tstate
);
19379 if (PyErr_Occurred()) SWIG_fail
;
19381 resultobj
= SWIG_Py_Void();
19388 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19389 PyObject
*resultobj
= 0;
19390 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19391 wxString
*arg2
= 0 ;
19394 bool temp2
= false ;
19395 PyObject
* obj0
= 0 ;
19396 PyObject
* obj1
= 0 ;
19397 char * kwnames
[] = {
19398 (char *) "self",(char *) "str", NULL
19401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19403 if (!SWIG_IsOK(res1
)) {
19404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19406 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19408 arg2
= wxString_in_helper(obj1
);
19409 if (arg2
== NULL
) SWIG_fail
;
19413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19414 (arg1
)->SetFindString((wxString
const &)*arg2
);
19415 wxPyEndAllowThreads(__tstate
);
19416 if (PyErr_Occurred()) SWIG_fail
;
19418 resultobj
= SWIG_Py_Void();
19433 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19434 PyObject
*resultobj
= 0;
19435 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19436 wxString
*arg2
= 0 ;
19439 bool temp2
= false ;
19440 PyObject
* obj0
= 0 ;
19441 PyObject
* obj1
= 0 ;
19442 char * kwnames
[] = {
19443 (char *) "self",(char *) "str", NULL
19446 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19447 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19448 if (!SWIG_IsOK(res1
)) {
19449 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19451 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19453 arg2
= wxString_in_helper(obj1
);
19454 if (arg2
== NULL
) SWIG_fail
;
19458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19459 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19460 wxPyEndAllowThreads(__tstate
);
19461 if (PyErr_Occurred()) SWIG_fail
;
19463 resultobj
= SWIG_Py_Void();
19478 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19481 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19482 return SWIG_Py_Void();
19485 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19486 return SWIG_Python_InitShadowInstance(args
);
19489 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19490 PyObject
*resultobj
= 0;
19491 int arg1
= (int) 0 ;
19492 wxFindReplaceData
*result
= 0 ;
19495 PyObject
* obj0
= 0 ;
19496 char * kwnames
[] = {
19497 (char *) "flags", NULL
19500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19502 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19503 if (!SWIG_IsOK(ecode1
)) {
19504 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19506 arg1
= static_cast< int >(val1
);
19509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19510 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19511 wxPyEndAllowThreads(__tstate
);
19512 if (PyErr_Occurred()) SWIG_fail
;
19514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19521 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19522 PyObject
*resultobj
= 0;
19523 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19526 PyObject
*swig_obj
[1] ;
19528 if (!args
) SWIG_fail
;
19529 swig_obj
[0] = args
;
19530 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19531 if (!SWIG_IsOK(res1
)) {
19532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19534 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19536 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19539 wxPyEndAllowThreads(__tstate
);
19540 if (PyErr_Occurred()) SWIG_fail
;
19542 resultobj
= SWIG_Py_Void();
19549 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19550 PyObject
*resultobj
= 0;
19551 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19552 wxString
*result
= 0 ;
19555 PyObject
*swig_obj
[1] ;
19557 if (!args
) SWIG_fail
;
19558 swig_obj
[0] = args
;
19559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19560 if (!SWIG_IsOK(res1
)) {
19561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19563 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19567 wxString
const &_result_ref
= (arg1
)->GetFindString();
19568 result
= (wxString
*) &_result_ref
;
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19575 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19577 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19586 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19587 PyObject
*resultobj
= 0;
19588 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19589 wxString
*result
= 0 ;
19592 PyObject
*swig_obj
[1] ;
19594 if (!args
) SWIG_fail
;
19595 swig_obj
[0] = args
;
19596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19597 if (!SWIG_IsOK(res1
)) {
19598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19600 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19604 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19605 result
= (wxString
*) &_result_ref
;
19607 wxPyEndAllowThreads(__tstate
);
19608 if (PyErr_Occurred()) SWIG_fail
;
19612 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19614 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19623 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19624 PyObject
*resultobj
= 0;
19625 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19629 PyObject
*swig_obj
[1] ;
19631 if (!args
) SWIG_fail
;
19632 swig_obj
[0] = args
;
19633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19634 if (!SWIG_IsOK(res1
)) {
19635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19637 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19640 result
= (int)(arg1
)->GetFlags();
19641 wxPyEndAllowThreads(__tstate
);
19642 if (PyErr_Occurred()) SWIG_fail
;
19644 resultobj
= SWIG_From_int(static_cast< int >(result
));
19651 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19652 PyObject
*resultobj
= 0;
19653 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19659 PyObject
* obj0
= 0 ;
19660 PyObject
* obj1
= 0 ;
19661 char * kwnames
[] = {
19662 (char *) "self",(char *) "flags", NULL
19665 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19666 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19667 if (!SWIG_IsOK(res1
)) {
19668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19670 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19671 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19672 if (!SWIG_IsOK(ecode2
)) {
19673 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
19675 arg2
= static_cast< int >(val2
);
19677 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19678 (arg1
)->SetFlags(arg2
);
19679 wxPyEndAllowThreads(__tstate
);
19680 if (PyErr_Occurred()) SWIG_fail
;
19682 resultobj
= SWIG_Py_Void();
19689 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19690 PyObject
*resultobj
= 0;
19691 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19692 wxString
*arg2
= 0 ;
19695 bool temp2
= false ;
19696 PyObject
* obj0
= 0 ;
19697 PyObject
* obj1
= 0 ;
19698 char * kwnames
[] = {
19699 (char *) "self",(char *) "str", NULL
19702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19704 if (!SWIG_IsOK(res1
)) {
19705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19707 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19709 arg2
= wxString_in_helper(obj1
);
19710 if (arg2
== NULL
) SWIG_fail
;
19714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19715 (arg1
)->SetFindString((wxString
const &)*arg2
);
19716 wxPyEndAllowThreads(__tstate
);
19717 if (PyErr_Occurred()) SWIG_fail
;
19719 resultobj
= SWIG_Py_Void();
19734 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19735 PyObject
*resultobj
= 0;
19736 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19737 wxString
*arg2
= 0 ;
19740 bool temp2
= false ;
19741 PyObject
* obj0
= 0 ;
19742 PyObject
* obj1
= 0 ;
19743 char * kwnames
[] = {
19744 (char *) "self",(char *) "str", NULL
19747 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19748 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19749 if (!SWIG_IsOK(res1
)) {
19750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19752 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19754 arg2
= wxString_in_helper(obj1
);
19755 if (arg2
== NULL
) SWIG_fail
;
19759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19760 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19761 wxPyEndAllowThreads(__tstate
);
19762 if (PyErr_Occurred()) SWIG_fail
;
19764 resultobj
= SWIG_Py_Void();
19779 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19781 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19782 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
19783 return SWIG_Py_Void();
19786 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19787 return SWIG_Python_InitShadowInstance(args
);
19790 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19791 PyObject
*resultobj
= 0;
19792 wxWindow
*arg1
= (wxWindow
*) 0 ;
19793 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19794 wxString
*arg3
= 0 ;
19795 int arg4
= (int) 0 ;
19796 wxFindReplaceDialog
*result
= 0 ;
19801 bool temp3
= false ;
19804 PyObject
* obj0
= 0 ;
19805 PyObject
* obj1
= 0 ;
19806 PyObject
* obj2
= 0 ;
19807 PyObject
* obj3
= 0 ;
19808 char * kwnames
[] = {
19809 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19812 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
19813 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19814 if (!SWIG_IsOK(res1
)) {
19815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19817 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19818 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19819 if (!SWIG_IsOK(res2
)) {
19820 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
19822 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
19824 arg3
= wxString_in_helper(obj2
);
19825 if (arg3
== NULL
) SWIG_fail
;
19829 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
19830 if (!SWIG_IsOK(ecode4
)) {
19831 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
19833 arg4
= static_cast< int >(val4
);
19836 if (!wxPyCheckForApp()) SWIG_fail
;
19837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19838 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
19839 wxPyEndAllowThreads(__tstate
);
19840 if (PyErr_Occurred()) SWIG_fail
;
19842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
19857 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19858 PyObject
*resultobj
= 0;
19859 wxFindReplaceDialog
*result
= 0 ;
19861 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
19863 if (!wxPyCheckForApp()) SWIG_fail
;
19864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19865 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
19866 wxPyEndAllowThreads(__tstate
);
19867 if (PyErr_Occurred()) SWIG_fail
;
19869 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
19876 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19877 PyObject
*resultobj
= 0;
19878 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19879 wxWindow
*arg2
= (wxWindow
*) 0 ;
19880 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
19881 wxString
*arg4
= 0 ;
19882 int arg5
= (int) 0 ;
19890 bool temp4
= false ;
19893 PyObject
* obj0
= 0 ;
19894 PyObject
* obj1
= 0 ;
19895 PyObject
* obj2
= 0 ;
19896 PyObject
* obj3
= 0 ;
19897 PyObject
* obj4
= 0 ;
19898 char * kwnames
[] = {
19899 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
19902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19904 if (!SWIG_IsOK(res1
)) {
19905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19907 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19908 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19909 if (!SWIG_IsOK(res2
)) {
19910 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
19912 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
19913 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19914 if (!SWIG_IsOK(res3
)) {
19915 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
19917 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
19919 arg4
= wxString_in_helper(obj3
);
19920 if (arg4
== NULL
) SWIG_fail
;
19924 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19925 if (!SWIG_IsOK(ecode5
)) {
19926 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
19928 arg5
= static_cast< int >(val5
);
19931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19932 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
19933 wxPyEndAllowThreads(__tstate
);
19934 if (PyErr_Occurred()) SWIG_fail
;
19937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19953 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19954 PyObject
*resultobj
= 0;
19955 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19956 wxFindReplaceData
*result
= 0 ;
19959 PyObject
*swig_obj
[1] ;
19961 if (!args
) SWIG_fail
;
19962 swig_obj
[0] = args
;
19963 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19964 if (!SWIG_IsOK(res1
)) {
19965 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
19967 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
19969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19970 result
= (wxFindReplaceData
*)(arg1
)->GetData();
19971 wxPyEndAllowThreads(__tstate
);
19972 if (PyErr_Occurred()) SWIG_fail
;
19974 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19981 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19982 PyObject
*resultobj
= 0;
19983 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
19984 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
19989 PyObject
* obj0
= 0 ;
19990 PyObject
* obj1
= 0 ;
19991 char * kwnames
[] = {
19992 (char *) "self",(char *) "data", NULL
19995 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19996 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19997 if (!SWIG_IsOK(res1
)) {
19998 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20000 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20001 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20002 if (!SWIG_IsOK(res2
)) {
20003 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20005 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20007 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20008 (arg1
)->SetData(arg2
);
20009 wxPyEndAllowThreads(__tstate
);
20010 if (PyErr_Occurred()) SWIG_fail
;
20012 resultobj
= SWIG_Py_Void();
20019 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20021 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20022 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20023 return SWIG_Py_Void();
20026 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20027 return SWIG_Python_InitShadowInstance(args
);
20030 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20031 PyObject
*resultobj
= 0;
20032 wxWindow
*arg1
= (wxWindow
*) 0 ;
20033 int arg2
= (int) (int)-1 ;
20034 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20035 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20036 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20037 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20038 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20039 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20040 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20041 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20042 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20043 wxMDIParentFrame
*result
= 0 ;
20048 bool temp3
= false ;
20053 bool temp7
= false ;
20054 PyObject
* obj0
= 0 ;
20055 PyObject
* obj1
= 0 ;
20056 PyObject
* obj2
= 0 ;
20057 PyObject
* obj3
= 0 ;
20058 PyObject
* obj4
= 0 ;
20059 PyObject
* obj5
= 0 ;
20060 PyObject
* obj6
= 0 ;
20061 char * kwnames
[] = {
20062 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20067 if (!SWIG_IsOK(res1
)) {
20068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20073 if (!SWIG_IsOK(ecode2
)) {
20074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20076 arg2
= static_cast< int >(val2
);
20080 arg3
= wxString_in_helper(obj2
);
20081 if (arg3
== NULL
) SWIG_fail
;
20088 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20094 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20098 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20099 if (!SWIG_IsOK(ecode6
)) {
20100 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20102 arg6
= static_cast< long >(val6
);
20106 arg7
= wxString_in_helper(obj6
);
20107 if (arg7
== NULL
) SWIG_fail
;
20112 if (!wxPyCheckForApp()) SWIG_fail
;
20113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20114 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20115 wxPyEndAllowThreads(__tstate
);
20116 if (PyErr_Occurred()) SWIG_fail
;
20118 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20141 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20142 PyObject
*resultobj
= 0;
20143 wxMDIParentFrame
*result
= 0 ;
20145 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20147 if (!wxPyCheckForApp()) SWIG_fail
;
20148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20149 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20150 wxPyEndAllowThreads(__tstate
);
20151 if (PyErr_Occurred()) SWIG_fail
;
20153 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20160 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20161 PyObject
*resultobj
= 0;
20162 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20163 wxWindow
*arg2
= (wxWindow
*) 0 ;
20164 int arg3
= (int) (int)-1 ;
20165 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20166 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20167 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20168 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20169 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20170 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20171 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20172 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20173 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20181 bool temp4
= false ;
20186 bool temp8
= false ;
20187 PyObject
* obj0
= 0 ;
20188 PyObject
* obj1
= 0 ;
20189 PyObject
* obj2
= 0 ;
20190 PyObject
* obj3
= 0 ;
20191 PyObject
* obj4
= 0 ;
20192 PyObject
* obj5
= 0 ;
20193 PyObject
* obj6
= 0 ;
20194 PyObject
* obj7
= 0 ;
20195 char * kwnames
[] = {
20196 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20199 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20200 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20201 if (!SWIG_IsOK(res1
)) {
20202 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20204 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20205 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20206 if (!SWIG_IsOK(res2
)) {
20207 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20209 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20211 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20212 if (!SWIG_IsOK(ecode3
)) {
20213 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20215 arg3
= static_cast< int >(val3
);
20219 arg4
= wxString_in_helper(obj3
);
20220 if (arg4
== NULL
) SWIG_fail
;
20227 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20233 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20237 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20238 if (!SWIG_IsOK(ecode7
)) {
20239 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20241 arg7
= static_cast< long >(val7
);
20245 arg8
= wxString_in_helper(obj7
);
20246 if (arg8
== NULL
) SWIG_fail
;
20251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20252 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20253 wxPyEndAllowThreads(__tstate
);
20254 if (PyErr_Occurred()) SWIG_fail
;
20257 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20281 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20282 PyObject
*resultobj
= 0;
20283 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20286 PyObject
*swig_obj
[1] ;
20288 if (!args
) SWIG_fail
;
20289 swig_obj
[0] = args
;
20290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20291 if (!SWIG_IsOK(res1
)) {
20292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20294 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20297 (arg1
)->ActivateNext();
20298 wxPyEndAllowThreads(__tstate
);
20299 if (PyErr_Occurred()) SWIG_fail
;
20301 resultobj
= SWIG_Py_Void();
20308 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20309 PyObject
*resultobj
= 0;
20310 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20313 PyObject
*swig_obj
[1] ;
20315 if (!args
) SWIG_fail
;
20316 swig_obj
[0] = args
;
20317 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20318 if (!SWIG_IsOK(res1
)) {
20319 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20321 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20324 (arg1
)->ActivatePrevious();
20325 wxPyEndAllowThreads(__tstate
);
20326 if (PyErr_Occurred()) SWIG_fail
;
20328 resultobj
= SWIG_Py_Void();
20335 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20336 PyObject
*resultobj
= 0;
20337 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20340 PyObject
*swig_obj
[1] ;
20342 if (!args
) SWIG_fail
;
20343 swig_obj
[0] = args
;
20344 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20345 if (!SWIG_IsOK(res1
)) {
20346 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20348 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20350 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20351 (arg1
)->ArrangeIcons();
20352 wxPyEndAllowThreads(__tstate
);
20353 if (PyErr_Occurred()) SWIG_fail
;
20355 resultobj
= SWIG_Py_Void();
20362 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20363 PyObject
*resultobj
= 0;
20364 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20367 PyObject
*swig_obj
[1] ;
20369 if (!args
) SWIG_fail
;
20370 swig_obj
[0] = args
;
20371 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20372 if (!SWIG_IsOK(res1
)) {
20373 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20375 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20379 wxPyEndAllowThreads(__tstate
);
20380 if (PyErr_Occurred()) SWIG_fail
;
20382 resultobj
= SWIG_Py_Void();
20389 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20390 PyObject
*resultobj
= 0;
20391 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20392 wxMDIChildFrame
*result
= 0 ;
20395 PyObject
*swig_obj
[1] ;
20397 if (!args
) SWIG_fail
;
20398 swig_obj
[0] = args
;
20399 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20400 if (!SWIG_IsOK(res1
)) {
20401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20403 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20405 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20406 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20407 wxPyEndAllowThreads(__tstate
);
20408 if (PyErr_Occurred()) SWIG_fail
;
20411 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20419 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20420 PyObject
*resultobj
= 0;
20421 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20422 wxMDIClientWindow
*result
= 0 ;
20425 PyObject
*swig_obj
[1] ;
20427 if (!args
) SWIG_fail
;
20428 swig_obj
[0] = args
;
20429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20430 if (!SWIG_IsOK(res1
)) {
20431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20433 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20436 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20437 wxPyEndAllowThreads(__tstate
);
20438 if (PyErr_Occurred()) SWIG_fail
;
20441 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20449 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20450 PyObject
*resultobj
= 0;
20451 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20452 wxWindow
*result
= 0 ;
20455 PyObject
*swig_obj
[1] ;
20457 if (!args
) SWIG_fail
;
20458 swig_obj
[0] = args
;
20459 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20460 if (!SWIG_IsOK(res1
)) {
20461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetToolBar" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20463 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20466 result
= (wxWindow
*)(arg1
)->GetToolBar();
20467 wxPyEndAllowThreads(__tstate
);
20468 if (PyErr_Occurred()) SWIG_fail
;
20471 resultobj
= wxPyMake_wxObject(result
, 0);
20479 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20480 PyObject
*resultobj
= 0;
20481 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20482 wxMenu
*result
= 0 ;
20485 PyObject
*swig_obj
[1] ;
20487 if (!args
) SWIG_fail
;
20488 swig_obj
[0] = args
;
20489 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20490 if (!SWIG_IsOK(res1
)) {
20491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20493 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20495 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20496 result
= (wxMenu
*)(arg1
)->GetWindowMenu();
20497 wxPyEndAllowThreads(__tstate
);
20498 if (PyErr_Occurred()) SWIG_fail
;
20501 resultobj
= wxPyMake_wxObject(result
, 0);
20509 SWIGINTERN PyObject
*_wrap_MDIParentFrame_SetWindowMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20510 PyObject
*resultobj
= 0;
20511 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20512 wxMenu
*arg2
= (wxMenu
*) 0 ;
20517 PyObject
* obj0
= 0 ;
20518 PyObject
* obj1
= 0 ;
20519 char * kwnames
[] = {
20520 (char *) "self",(char *) "menu", NULL
20523 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MDIParentFrame_SetWindowMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20524 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20525 if (!SWIG_IsOK(res1
)) {
20526 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20528 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20529 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
20530 if (!SWIG_IsOK(res2
)) {
20531 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_SetWindowMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
20533 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
20535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20536 (arg1
)->SetWindowMenu(arg2
);
20537 wxPyEndAllowThreads(__tstate
);
20538 if (PyErr_Occurred()) SWIG_fail
;
20540 resultobj
= SWIG_Py_Void();
20547 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20548 PyObject
*resultobj
= 0;
20549 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20550 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 char * kwnames
[] = {
20558 (char *) "self",(char *) "orient", NULL
20561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20563 if (!SWIG_IsOK(res1
)) {
20564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20566 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20568 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20569 if (!SWIG_IsOK(ecode2
)) {
20570 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20572 arg2
= static_cast< wxOrientation
>(val2
);
20575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20576 (arg1
)->Tile(arg2
);
20577 wxPyEndAllowThreads(__tstate
);
20578 if (PyErr_Occurred()) SWIG_fail
;
20580 resultobj
= SWIG_Py_Void();
20587 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20589 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20590 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20591 return SWIG_Py_Void();
20594 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20595 return SWIG_Python_InitShadowInstance(args
);
20598 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20599 PyObject
*resultobj
= 0;
20600 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20601 int arg2
= (int) (int)-1 ;
20602 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20603 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20604 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20605 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20606 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20607 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20608 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20609 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20610 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20611 wxMDIChildFrame
*result
= 0 ;
20616 bool temp3
= false ;
20621 bool temp7
= false ;
20622 PyObject
* obj0
= 0 ;
20623 PyObject
* obj1
= 0 ;
20624 PyObject
* obj2
= 0 ;
20625 PyObject
* obj3
= 0 ;
20626 PyObject
* obj4
= 0 ;
20627 PyObject
* obj5
= 0 ;
20628 PyObject
* obj6
= 0 ;
20629 char * kwnames
[] = {
20630 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20633 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20634 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20635 if (!SWIG_IsOK(res1
)) {
20636 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20638 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20640 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20641 if (!SWIG_IsOK(ecode2
)) {
20642 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20644 arg2
= static_cast< int >(val2
);
20648 arg3
= wxString_in_helper(obj2
);
20649 if (arg3
== NULL
) SWIG_fail
;
20656 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20662 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20666 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20667 if (!SWIG_IsOK(ecode6
)) {
20668 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20670 arg6
= static_cast< long >(val6
);
20674 arg7
= wxString_in_helper(obj6
);
20675 if (arg7
== NULL
) SWIG_fail
;
20680 if (!wxPyCheckForApp()) SWIG_fail
;
20681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20682 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20683 wxPyEndAllowThreads(__tstate
);
20684 if (PyErr_Occurred()) SWIG_fail
;
20686 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20709 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20710 PyObject
*resultobj
= 0;
20711 wxMDIChildFrame
*result
= 0 ;
20713 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20715 if (!wxPyCheckForApp()) SWIG_fail
;
20716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20717 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20718 wxPyEndAllowThreads(__tstate
);
20719 if (PyErr_Occurred()) SWIG_fail
;
20721 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20728 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20729 PyObject
*resultobj
= 0;
20730 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20731 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20732 int arg3
= (int) (int)-1 ;
20733 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20734 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20735 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20736 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20737 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20738 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20739 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
20740 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20741 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20749 bool temp4
= false ;
20754 bool temp8
= false ;
20755 PyObject
* obj0
= 0 ;
20756 PyObject
* obj1
= 0 ;
20757 PyObject
* obj2
= 0 ;
20758 PyObject
* obj3
= 0 ;
20759 PyObject
* obj4
= 0 ;
20760 PyObject
* obj5
= 0 ;
20761 PyObject
* obj6
= 0 ;
20762 PyObject
* obj7
= 0 ;
20763 char * kwnames
[] = {
20764 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20767 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20768 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20769 if (!SWIG_IsOK(res1
)) {
20770 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20772 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20773 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20774 if (!SWIG_IsOK(res2
)) {
20775 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20777 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20779 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20780 if (!SWIG_IsOK(ecode3
)) {
20781 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
20783 arg3
= static_cast< int >(val3
);
20787 arg4
= wxString_in_helper(obj3
);
20788 if (arg4
== NULL
) SWIG_fail
;
20795 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20801 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20805 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20806 if (!SWIG_IsOK(ecode7
)) {
20807 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
20809 arg7
= static_cast< long >(val7
);
20813 arg8
= wxString_in_helper(obj7
);
20814 if (arg8
== NULL
) SWIG_fail
;
20819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20820 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20821 wxPyEndAllowThreads(__tstate
);
20822 if (PyErr_Occurred()) SWIG_fail
;
20825 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20849 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20850 PyObject
*resultobj
= 0;
20851 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20854 PyObject
*swig_obj
[1] ;
20856 if (!args
) SWIG_fail
;
20857 swig_obj
[0] = args
;
20858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
20859 if (!SWIG_IsOK(res1
)) {
20860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
20862 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
20864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20865 (arg1
)->Activate();
20866 wxPyEndAllowThreads(__tstate
);
20867 if (PyErr_Occurred()) SWIG_fail
;
20869 resultobj
= SWIG_Py_Void();
20876 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20878 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20879 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
20880 return SWIG_Py_Void();
20883 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20884 return SWIG_Python_InitShadowInstance(args
);
20887 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20888 PyObject
*resultobj
= 0;
20889 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20890 long arg2
= (long) 0 ;
20891 wxMDIClientWindow
*result
= 0 ;
20896 PyObject
* obj0
= 0 ;
20897 PyObject
* obj1
= 0 ;
20898 char * kwnames
[] = {
20899 (char *) "parent",(char *) "style", NULL
20902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20904 if (!SWIG_IsOK(res1
)) {
20905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20907 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20909 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
20910 if (!SWIG_IsOK(ecode2
)) {
20911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
20913 arg2
= static_cast< long >(val2
);
20916 if (!wxPyCheckForApp()) SWIG_fail
;
20917 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20918 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
20919 wxPyEndAllowThreads(__tstate
);
20920 if (PyErr_Occurred()) SWIG_fail
;
20922 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
20929 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20930 PyObject
*resultobj
= 0;
20931 wxMDIClientWindow
*result
= 0 ;
20933 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
20935 if (!wxPyCheckForApp()) SWIG_fail
;
20936 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20937 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
20938 wxPyEndAllowThreads(__tstate
);
20939 if (PyErr_Occurred()) SWIG_fail
;
20941 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
20948 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20949 PyObject
*resultobj
= 0;
20950 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
20951 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20952 long arg3
= (long) 0 ;
20960 PyObject
* obj0
= 0 ;
20961 PyObject
* obj1
= 0 ;
20962 PyObject
* obj2
= 0 ;
20963 char * kwnames
[] = {
20964 (char *) "self",(char *) "parent",(char *) "style", NULL
20967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
20968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
20969 if (!SWIG_IsOK(res1
)) {
20970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
20972 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
20973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20974 if (!SWIG_IsOK(res2
)) {
20975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
20977 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
20979 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
20980 if (!SWIG_IsOK(ecode3
)) {
20981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
20983 arg3
= static_cast< long >(val3
);
20986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20987 result
= (bool)(arg1
)->Create(arg2
,arg3
);
20988 wxPyEndAllowThreads(__tstate
);
20989 if (PyErr_Occurred()) SWIG_fail
;
20992 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21000 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21002 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21003 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21004 return SWIG_Py_Void();
21007 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21008 return SWIG_Python_InitShadowInstance(args
);
21011 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21012 PyObject
*resultobj
= 0;
21013 wxWindow
*arg1
= (wxWindow
*) 0 ;
21014 int arg2
= (int) (int)-1 ;
21015 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21016 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21017 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21018 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21019 long arg5
= (long) 0 ;
21020 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21021 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21022 wxPyWindow
*result
= 0 ;
21031 bool temp6
= false ;
21032 PyObject
* obj0
= 0 ;
21033 PyObject
* obj1
= 0 ;
21034 PyObject
* obj2
= 0 ;
21035 PyObject
* obj3
= 0 ;
21036 PyObject
* obj4
= 0 ;
21037 PyObject
* obj5
= 0 ;
21038 char * kwnames
[] = {
21039 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21042 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21043 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21044 if (!SWIG_IsOK(res1
)) {
21045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21047 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21049 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21050 if (!SWIG_IsOK(ecode2
)) {
21051 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21053 arg2
= static_cast< int >(val2
);
21058 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21064 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21068 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21069 if (!SWIG_IsOK(ecode5
)) {
21070 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21072 arg5
= static_cast< long >(val5
);
21076 arg6
= wxString_in_helper(obj5
);
21077 if (arg6
== NULL
) SWIG_fail
;
21082 if (!wxPyCheckForApp()) SWIG_fail
;
21083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21084 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21085 wxPyEndAllowThreads(__tstate
);
21086 if (PyErr_Occurred()) SWIG_fail
;
21088 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21103 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21104 PyObject
*resultobj
= 0;
21105 wxPyWindow
*result
= 0 ;
21107 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21109 if (!wxPyCheckForApp()) SWIG_fail
;
21110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21111 result
= (wxPyWindow
*)new wxPyWindow();
21112 wxPyEndAllowThreads(__tstate
);
21113 if (PyErr_Occurred()) SWIG_fail
;
21115 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21122 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21123 PyObject
*resultobj
= 0;
21124 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21125 PyObject
*arg2
= (PyObject
*) 0 ;
21126 PyObject
*arg3
= (PyObject
*) 0 ;
21129 PyObject
* obj0
= 0 ;
21130 PyObject
* obj1
= 0 ;
21131 PyObject
* obj2
= 0 ;
21132 char * kwnames
[] = {
21133 (char *) "self",(char *) "self",(char *) "_class", NULL
21136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21138 if (!SWIG_IsOK(res1
)) {
21139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21141 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21145 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21146 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21147 wxPyEndAllowThreads(__tstate
);
21148 if (PyErr_Occurred()) SWIG_fail
;
21150 resultobj
= SWIG_Py_Void();
21157 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21158 PyObject
*resultobj
= 0;
21159 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21164 PyObject
* obj0
= 0 ;
21165 PyObject
* obj1
= 0 ;
21166 char * kwnames
[] = {
21167 (char *) "self",(char *) "size", NULL
21170 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21171 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21172 if (!SWIG_IsOK(res1
)) {
21173 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21175 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21178 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21182 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21183 wxPyEndAllowThreads(__tstate
);
21184 if (PyErr_Occurred()) SWIG_fail
;
21186 resultobj
= SWIG_Py_Void();
21193 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21194 PyObject
*resultobj
= 0;
21195 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21196 wxDC
*arg2
= (wxDC
*) 0 ;
21202 PyObject
* obj0
= 0 ;
21203 PyObject
* obj1
= 0 ;
21204 char * kwnames
[] = {
21205 (char *) "self",(char *) "dc", NULL
21208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21210 if (!SWIG_IsOK(res1
)) {
21211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21213 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21215 if (!SWIG_IsOK(res2
)) {
21216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21218 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21221 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21222 wxPyEndAllowThreads(__tstate
);
21223 if (PyErr_Occurred()) SWIG_fail
;
21226 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21234 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21235 PyObject
*resultobj
= 0;
21236 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21251 PyObject
* obj0
= 0 ;
21252 PyObject
* obj1
= 0 ;
21253 PyObject
* obj2
= 0 ;
21254 PyObject
* obj3
= 0 ;
21255 PyObject
* obj4
= 0 ;
21256 char * kwnames
[] = {
21257 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21262 if (!SWIG_IsOK(res1
)) {
21263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21265 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21266 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21267 if (!SWIG_IsOK(ecode2
)) {
21268 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21270 arg2
= static_cast< int >(val2
);
21271 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21272 if (!SWIG_IsOK(ecode3
)) {
21273 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21275 arg3
= static_cast< int >(val3
);
21276 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21277 if (!SWIG_IsOK(ecode4
)) {
21278 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21280 arg4
= static_cast< int >(val4
);
21281 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21282 if (!SWIG_IsOK(ecode5
)) {
21283 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21285 arg5
= static_cast< int >(val5
);
21287 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21288 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21289 wxPyEndAllowThreads(__tstate
);
21290 if (PyErr_Occurred()) SWIG_fail
;
21292 resultobj
= SWIG_Py_Void();
21299 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21300 PyObject
*resultobj
= 0;
21301 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21306 int arg6
= (int) wxSIZE_AUTO
;
21319 PyObject
* obj0
= 0 ;
21320 PyObject
* obj1
= 0 ;
21321 PyObject
* obj2
= 0 ;
21322 PyObject
* obj3
= 0 ;
21323 PyObject
* obj4
= 0 ;
21324 PyObject
* obj5
= 0 ;
21325 char * kwnames
[] = {
21326 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21331 if (!SWIG_IsOK(res1
)) {
21332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21334 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21335 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21336 if (!SWIG_IsOK(ecode2
)) {
21337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21339 arg2
= static_cast< int >(val2
);
21340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21341 if (!SWIG_IsOK(ecode3
)) {
21342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21344 arg3
= static_cast< int >(val3
);
21345 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21346 if (!SWIG_IsOK(ecode4
)) {
21347 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21349 arg4
= static_cast< int >(val4
);
21350 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21351 if (!SWIG_IsOK(ecode5
)) {
21352 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21354 arg5
= static_cast< int >(val5
);
21356 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21357 if (!SWIG_IsOK(ecode6
)) {
21358 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21360 arg6
= static_cast< int >(val6
);
21363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21364 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21365 wxPyEndAllowThreads(__tstate
);
21366 if (PyErr_Occurred()) SWIG_fail
;
21368 resultobj
= SWIG_Py_Void();
21375 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21376 PyObject
*resultobj
= 0;
21377 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21386 PyObject
* obj0
= 0 ;
21387 PyObject
* obj1
= 0 ;
21388 PyObject
* obj2
= 0 ;
21389 char * kwnames
[] = {
21390 (char *) "self",(char *) "width",(char *) "height", NULL
21393 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21394 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21395 if (!SWIG_IsOK(res1
)) {
21396 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21398 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21399 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21400 if (!SWIG_IsOK(ecode2
)) {
21401 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21403 arg2
= static_cast< int >(val2
);
21404 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21405 if (!SWIG_IsOK(ecode3
)) {
21406 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21408 arg3
= static_cast< int >(val3
);
21410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21411 (arg1
)->DoSetClientSize(arg2
,arg3
);
21412 wxPyEndAllowThreads(__tstate
);
21413 if (PyErr_Occurred()) SWIG_fail
;
21415 resultobj
= SWIG_Py_Void();
21422 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21423 PyObject
*resultobj
= 0;
21424 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21433 PyObject
* obj0
= 0 ;
21434 PyObject
* obj1
= 0 ;
21435 PyObject
* obj2
= 0 ;
21436 char * kwnames
[] = {
21437 (char *) "self",(char *) "x",(char *) "y", NULL
21440 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21442 if (!SWIG_IsOK(res1
)) {
21443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21445 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21446 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21447 if (!SWIG_IsOK(ecode2
)) {
21448 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21450 arg2
= static_cast< int >(val2
);
21451 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21452 if (!SWIG_IsOK(ecode3
)) {
21453 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21455 arg3
= static_cast< int >(val3
);
21457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21458 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21459 wxPyEndAllowThreads(__tstate
);
21460 if (PyErr_Occurred()) SWIG_fail
;
21462 resultobj
= SWIG_Py_Void();
21469 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21470 PyObject
*resultobj
= 0;
21471 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21472 int *arg2
= (int *) 0 ;
21473 int *arg3
= (int *) 0 ;
21477 int res2
= SWIG_TMPOBJ
;
21479 int res3
= SWIG_TMPOBJ
;
21480 PyObject
*swig_obj
[1] ;
21484 if (!args
) SWIG_fail
;
21485 swig_obj
[0] = args
;
21486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21487 if (!SWIG_IsOK(res1
)) {
21488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21490 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21493 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21494 wxPyEndAllowThreads(__tstate
);
21495 if (PyErr_Occurred()) SWIG_fail
;
21497 resultobj
= SWIG_Py_Void();
21498 if (SWIG_IsTmpObj(res2
)) {
21499 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21501 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21502 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21504 if (SWIG_IsTmpObj(res3
)) {
21505 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21507 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21508 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21516 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21517 PyObject
*resultobj
= 0;
21518 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21519 int *arg2
= (int *) 0 ;
21520 int *arg3
= (int *) 0 ;
21524 int res2
= SWIG_TMPOBJ
;
21526 int res3
= SWIG_TMPOBJ
;
21527 PyObject
*swig_obj
[1] ;
21531 if (!args
) SWIG_fail
;
21532 swig_obj
[0] = args
;
21533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21534 if (!SWIG_IsOK(res1
)) {
21535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21537 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21540 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21541 wxPyEndAllowThreads(__tstate
);
21542 if (PyErr_Occurred()) SWIG_fail
;
21544 resultobj
= SWIG_Py_Void();
21545 if (SWIG_IsTmpObj(res2
)) {
21546 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21548 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21549 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21551 if (SWIG_IsTmpObj(res3
)) {
21552 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21554 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21555 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21563 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21564 PyObject
*resultobj
= 0;
21565 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21566 int *arg2
= (int *) 0 ;
21567 int *arg3
= (int *) 0 ;
21571 int res2
= SWIG_TMPOBJ
;
21573 int res3
= SWIG_TMPOBJ
;
21574 PyObject
*swig_obj
[1] ;
21578 if (!args
) SWIG_fail
;
21579 swig_obj
[0] = args
;
21580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21581 if (!SWIG_IsOK(res1
)) {
21582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21584 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21587 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21588 wxPyEndAllowThreads(__tstate
);
21589 if (PyErr_Occurred()) SWIG_fail
;
21591 resultobj
= SWIG_Py_Void();
21592 if (SWIG_IsTmpObj(res2
)) {
21593 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21595 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21596 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21598 if (SWIG_IsTmpObj(res3
)) {
21599 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21601 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21602 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21610 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21611 PyObject
*resultobj
= 0;
21612 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21616 PyObject
*swig_obj
[1] ;
21618 if (!args
) SWIG_fail
;
21619 swig_obj
[0] = args
;
21620 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21621 if (!SWIG_IsOK(res1
)) {
21622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21624 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21627 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21628 wxPyEndAllowThreads(__tstate
);
21629 if (PyErr_Occurred()) SWIG_fail
;
21631 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21638 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21639 PyObject
*resultobj
= 0;
21640 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21644 PyObject
*swig_obj
[1] ;
21646 if (!args
) SWIG_fail
;
21647 swig_obj
[0] = args
;
21648 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21649 if (!SWIG_IsOK(res1
)) {
21650 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21652 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21655 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21656 wxPyEndAllowThreads(__tstate
);
21657 if (PyErr_Occurred()) SWIG_fail
;
21659 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21666 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21667 PyObject
*resultobj
= 0;
21668 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21669 SwigValueWrapper
<wxVisualAttributes
> result
;
21672 PyObject
*swig_obj
[1] ;
21674 if (!args
) SWIG_fail
;
21675 swig_obj
[0] = args
;
21676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21677 if (!SWIG_IsOK(res1
)) {
21678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21680 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21683 result
= (arg1
)->GetDefaultAttributes();
21684 wxPyEndAllowThreads(__tstate
);
21685 if (PyErr_Occurred()) SWIG_fail
;
21687 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21694 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21695 PyObject
*resultobj
= 0;
21696 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21699 PyObject
*swig_obj
[1] ;
21701 if (!args
) SWIG_fail
;
21702 swig_obj
[0] = args
;
21703 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21707 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 (arg1
)->OnInternalIdle();
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_Py_Void();
21721 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21723 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21724 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21725 return SWIG_Py_Void();
21728 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21729 return SWIG_Python_InitShadowInstance(args
);
21732 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21733 PyObject
*resultobj
= 0;
21734 wxWindow
*arg1
= (wxWindow
*) 0 ;
21735 int arg2
= (int) (int)-1 ;
21736 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21737 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21738 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21739 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21740 long arg5
= (long) 0 ;
21741 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21742 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21743 wxPyPanel
*result
= 0 ;
21752 bool temp6
= false ;
21753 PyObject
* obj0
= 0 ;
21754 PyObject
* obj1
= 0 ;
21755 PyObject
* obj2
= 0 ;
21756 PyObject
* obj3
= 0 ;
21757 PyObject
* obj4
= 0 ;
21758 PyObject
* obj5
= 0 ;
21759 char * kwnames
[] = {
21760 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21765 if (!SWIG_IsOK(res1
)) {
21766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
21768 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21770 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21771 if (!SWIG_IsOK(ecode2
)) {
21772 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
21774 arg2
= static_cast< int >(val2
);
21779 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21785 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21789 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21790 if (!SWIG_IsOK(ecode5
)) {
21791 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
21793 arg5
= static_cast< long >(val5
);
21797 arg6
= wxString_in_helper(obj5
);
21798 if (arg6
== NULL
) SWIG_fail
;
21803 if (!wxPyCheckForApp()) SWIG_fail
;
21804 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21805 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21806 wxPyEndAllowThreads(__tstate
);
21807 if (PyErr_Occurred()) SWIG_fail
;
21809 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
21824 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21825 PyObject
*resultobj
= 0;
21826 wxPyPanel
*result
= 0 ;
21828 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
21830 if (!wxPyCheckForApp()) SWIG_fail
;
21831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21832 result
= (wxPyPanel
*)new wxPyPanel();
21833 wxPyEndAllowThreads(__tstate
);
21834 if (PyErr_Occurred()) SWIG_fail
;
21836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
21843 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21844 PyObject
*resultobj
= 0;
21845 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21846 PyObject
*arg2
= (PyObject
*) 0 ;
21847 PyObject
*arg3
= (PyObject
*) 0 ;
21850 PyObject
* obj0
= 0 ;
21851 PyObject
* obj1
= 0 ;
21852 PyObject
* obj2
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "self",(char *) "_class", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21862 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21867 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21868 wxPyEndAllowThreads(__tstate
);
21869 if (PyErr_Occurred()) SWIG_fail
;
21871 resultobj
= SWIG_Py_Void();
21878 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21879 PyObject
*resultobj
= 0;
21880 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21885 PyObject
* obj0
= 0 ;
21886 PyObject
* obj1
= 0 ;
21887 char * kwnames
[] = {
21888 (char *) "self",(char *) "size", NULL
21891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21893 if (!SWIG_IsOK(res1
)) {
21894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21896 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21899 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21902 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21903 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21904 wxPyEndAllowThreads(__tstate
);
21905 if (PyErr_Occurred()) SWIG_fail
;
21907 resultobj
= SWIG_Py_Void();
21914 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21915 PyObject
*resultobj
= 0;
21916 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21917 wxDC
*arg2
= (wxDC
*) 0 ;
21923 PyObject
* obj0
= 0 ;
21924 PyObject
* obj1
= 0 ;
21925 char * kwnames
[] = {
21926 (char *) "self",(char *) "dc", NULL
21929 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21930 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21931 if (!SWIG_IsOK(res1
)) {
21932 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21934 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21935 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21936 if (!SWIG_IsOK(res2
)) {
21937 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21939 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21942 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21943 wxPyEndAllowThreads(__tstate
);
21944 if (PyErr_Occurred()) SWIG_fail
;
21947 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21955 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21956 PyObject
*resultobj
= 0;
21957 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
21972 PyObject
* obj0
= 0 ;
21973 PyObject
* obj1
= 0 ;
21974 PyObject
* obj2
= 0 ;
21975 PyObject
* obj3
= 0 ;
21976 PyObject
* obj4
= 0 ;
21977 char * kwnames
[] = {
21978 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21981 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21982 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
21983 if (!SWIG_IsOK(res1
)) {
21984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
21986 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
21987 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21988 if (!SWIG_IsOK(ecode2
)) {
21989 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21991 arg2
= static_cast< int >(val2
);
21992 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21993 if (!SWIG_IsOK(ecode3
)) {
21994 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21996 arg3
= static_cast< int >(val3
);
21997 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21998 if (!SWIG_IsOK(ecode4
)) {
21999 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22001 arg4
= static_cast< int >(val4
);
22002 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22003 if (!SWIG_IsOK(ecode5
)) {
22004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22006 arg5
= static_cast< int >(val5
);
22008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22009 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22010 wxPyEndAllowThreads(__tstate
);
22011 if (PyErr_Occurred()) SWIG_fail
;
22013 resultobj
= SWIG_Py_Void();
22020 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22021 PyObject
*resultobj
= 0;
22022 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22027 int arg6
= (int) wxSIZE_AUTO
;
22040 PyObject
* obj0
= 0 ;
22041 PyObject
* obj1
= 0 ;
22042 PyObject
* obj2
= 0 ;
22043 PyObject
* obj3
= 0 ;
22044 PyObject
* obj4
= 0 ;
22045 PyObject
* obj5
= 0 ;
22046 char * kwnames
[] = {
22047 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22052 if (!SWIG_IsOK(res1
)) {
22053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22055 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22056 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22057 if (!SWIG_IsOK(ecode2
)) {
22058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22060 arg2
= static_cast< int >(val2
);
22061 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22062 if (!SWIG_IsOK(ecode3
)) {
22063 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22065 arg3
= static_cast< int >(val3
);
22066 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22067 if (!SWIG_IsOK(ecode4
)) {
22068 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22070 arg4
= static_cast< int >(val4
);
22071 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22072 if (!SWIG_IsOK(ecode5
)) {
22073 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22075 arg5
= static_cast< int >(val5
);
22077 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22078 if (!SWIG_IsOK(ecode6
)) {
22079 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22081 arg6
= static_cast< int >(val6
);
22084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22085 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22086 wxPyEndAllowThreads(__tstate
);
22087 if (PyErr_Occurred()) SWIG_fail
;
22089 resultobj
= SWIG_Py_Void();
22096 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22097 PyObject
*resultobj
= 0;
22098 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22107 PyObject
* obj0
= 0 ;
22108 PyObject
* obj1
= 0 ;
22109 PyObject
* obj2
= 0 ;
22110 char * kwnames
[] = {
22111 (char *) "self",(char *) "width",(char *) "height", NULL
22114 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22115 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22116 if (!SWIG_IsOK(res1
)) {
22117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22119 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22120 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22121 if (!SWIG_IsOK(ecode2
)) {
22122 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22124 arg2
= static_cast< int >(val2
);
22125 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22126 if (!SWIG_IsOK(ecode3
)) {
22127 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22129 arg3
= static_cast< int >(val3
);
22131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22132 (arg1
)->DoSetClientSize(arg2
,arg3
);
22133 wxPyEndAllowThreads(__tstate
);
22134 if (PyErr_Occurred()) SWIG_fail
;
22136 resultobj
= SWIG_Py_Void();
22143 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22144 PyObject
*resultobj
= 0;
22145 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22154 PyObject
* obj0
= 0 ;
22155 PyObject
* obj1
= 0 ;
22156 PyObject
* obj2
= 0 ;
22157 char * kwnames
[] = {
22158 (char *) "self",(char *) "x",(char *) "y", NULL
22161 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22162 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22163 if (!SWIG_IsOK(res1
)) {
22164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22166 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22167 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22168 if (!SWIG_IsOK(ecode2
)) {
22169 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22171 arg2
= static_cast< int >(val2
);
22172 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22173 if (!SWIG_IsOK(ecode3
)) {
22174 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22176 arg3
= static_cast< int >(val3
);
22178 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22179 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22180 wxPyEndAllowThreads(__tstate
);
22181 if (PyErr_Occurred()) SWIG_fail
;
22183 resultobj
= SWIG_Py_Void();
22190 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22191 PyObject
*resultobj
= 0;
22192 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22193 int *arg2
= (int *) 0 ;
22194 int *arg3
= (int *) 0 ;
22198 int res2
= SWIG_TMPOBJ
;
22200 int res3
= SWIG_TMPOBJ
;
22201 PyObject
*swig_obj
[1] ;
22205 if (!args
) SWIG_fail
;
22206 swig_obj
[0] = args
;
22207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22208 if (!SWIG_IsOK(res1
)) {
22209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22211 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22214 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22215 wxPyEndAllowThreads(__tstate
);
22216 if (PyErr_Occurred()) SWIG_fail
;
22218 resultobj
= SWIG_Py_Void();
22219 if (SWIG_IsTmpObj(res2
)) {
22220 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22222 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22223 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22225 if (SWIG_IsTmpObj(res3
)) {
22226 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22228 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22229 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22237 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22238 PyObject
*resultobj
= 0;
22239 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22240 int *arg2
= (int *) 0 ;
22241 int *arg3
= (int *) 0 ;
22245 int res2
= SWIG_TMPOBJ
;
22247 int res3
= SWIG_TMPOBJ
;
22248 PyObject
*swig_obj
[1] ;
22252 if (!args
) SWIG_fail
;
22253 swig_obj
[0] = args
;
22254 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22255 if (!SWIG_IsOK(res1
)) {
22256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22258 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22260 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22261 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22262 wxPyEndAllowThreads(__tstate
);
22263 if (PyErr_Occurred()) SWIG_fail
;
22265 resultobj
= SWIG_Py_Void();
22266 if (SWIG_IsTmpObj(res2
)) {
22267 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22269 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22270 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22272 if (SWIG_IsTmpObj(res3
)) {
22273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22275 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22284 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22285 PyObject
*resultobj
= 0;
22286 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22287 int *arg2
= (int *) 0 ;
22288 int *arg3
= (int *) 0 ;
22292 int res2
= SWIG_TMPOBJ
;
22294 int res3
= SWIG_TMPOBJ
;
22295 PyObject
*swig_obj
[1] ;
22299 if (!args
) SWIG_fail
;
22300 swig_obj
[0] = args
;
22301 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22302 if (!SWIG_IsOK(res1
)) {
22303 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22305 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22308 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22309 wxPyEndAllowThreads(__tstate
);
22310 if (PyErr_Occurred()) SWIG_fail
;
22312 resultobj
= SWIG_Py_Void();
22313 if (SWIG_IsTmpObj(res2
)) {
22314 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22316 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22317 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22319 if (SWIG_IsTmpObj(res3
)) {
22320 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22322 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22323 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22331 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22332 PyObject
*resultobj
= 0;
22333 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22337 PyObject
*swig_obj
[1] ;
22339 if (!args
) SWIG_fail
;
22340 swig_obj
[0] = args
;
22341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22342 if (!SWIG_IsOK(res1
)) {
22343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22345 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22348 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22349 wxPyEndAllowThreads(__tstate
);
22350 if (PyErr_Occurred()) SWIG_fail
;
22352 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22359 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22360 PyObject
*resultobj
= 0;
22361 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22365 PyObject
*swig_obj
[1] ;
22367 if (!args
) SWIG_fail
;
22368 swig_obj
[0] = args
;
22369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22370 if (!SWIG_IsOK(res1
)) {
22371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22373 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22376 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22377 wxPyEndAllowThreads(__tstate
);
22378 if (PyErr_Occurred()) SWIG_fail
;
22380 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22387 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22388 PyObject
*resultobj
= 0;
22389 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22390 SwigValueWrapper
<wxVisualAttributes
> result
;
22393 PyObject
*swig_obj
[1] ;
22395 if (!args
) SWIG_fail
;
22396 swig_obj
[0] = args
;
22397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22398 if (!SWIG_IsOK(res1
)) {
22399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22401 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22404 result
= (arg1
)->GetDefaultAttributes();
22405 wxPyEndAllowThreads(__tstate
);
22406 if (PyErr_Occurred()) SWIG_fail
;
22408 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22415 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22416 PyObject
*resultobj
= 0;
22417 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22420 PyObject
*swig_obj
[1] ;
22422 if (!args
) SWIG_fail
;
22423 swig_obj
[0] = args
;
22424 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22428 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22430 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22431 (arg1
)->OnInternalIdle();
22432 wxPyEndAllowThreads(__tstate
);
22433 if (PyErr_Occurred()) SWIG_fail
;
22435 resultobj
= SWIG_Py_Void();
22442 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22444 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22445 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22446 return SWIG_Py_Void();
22449 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22450 return SWIG_Python_InitShadowInstance(args
);
22453 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22454 PyObject
*resultobj
= 0;
22455 wxWindow
*arg1
= (wxWindow
*) 0 ;
22456 int arg2
= (int) (int)-1 ;
22457 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22458 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22459 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22460 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22461 long arg5
= (long) 0 ;
22462 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22463 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22464 wxPyScrolledWindow
*result
= 0 ;
22473 bool temp6
= false ;
22474 PyObject
* obj0
= 0 ;
22475 PyObject
* obj1
= 0 ;
22476 PyObject
* obj2
= 0 ;
22477 PyObject
* obj3
= 0 ;
22478 PyObject
* obj4
= 0 ;
22479 PyObject
* obj5
= 0 ;
22480 char * kwnames
[] = {
22481 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22484 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22485 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22486 if (!SWIG_IsOK(res1
)) {
22487 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22489 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22491 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22492 if (!SWIG_IsOK(ecode2
)) {
22493 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22495 arg2
= static_cast< int >(val2
);
22500 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22506 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22510 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22511 if (!SWIG_IsOK(ecode5
)) {
22512 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22514 arg5
= static_cast< long >(val5
);
22518 arg6
= wxString_in_helper(obj5
);
22519 if (arg6
== NULL
) SWIG_fail
;
22524 if (!wxPyCheckForApp()) SWIG_fail
;
22525 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22526 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22527 wxPyEndAllowThreads(__tstate
);
22528 if (PyErr_Occurred()) SWIG_fail
;
22530 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22545 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22546 PyObject
*resultobj
= 0;
22547 wxPyScrolledWindow
*result
= 0 ;
22549 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22551 if (!wxPyCheckForApp()) SWIG_fail
;
22552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22553 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22554 wxPyEndAllowThreads(__tstate
);
22555 if (PyErr_Occurred()) SWIG_fail
;
22557 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22564 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22565 PyObject
*resultobj
= 0;
22566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22567 PyObject
*arg2
= (PyObject
*) 0 ;
22568 PyObject
*arg3
= (PyObject
*) 0 ;
22571 PyObject
* obj0
= 0 ;
22572 PyObject
* obj1
= 0 ;
22573 PyObject
* obj2
= 0 ;
22574 char * kwnames
[] = {
22575 (char *) "self",(char *) "self",(char *) "_class", NULL
22578 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22579 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22580 if (!SWIG_IsOK(res1
)) {
22581 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22583 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22588 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22589 wxPyEndAllowThreads(__tstate
);
22590 if (PyErr_Occurred()) SWIG_fail
;
22592 resultobj
= SWIG_Py_Void();
22599 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22600 PyObject
*resultobj
= 0;
22601 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22606 PyObject
* obj0
= 0 ;
22607 PyObject
* obj1
= 0 ;
22608 char * kwnames
[] = {
22609 (char *) "self",(char *) "size", NULL
22612 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22613 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22614 if (!SWIG_IsOK(res1
)) {
22615 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22617 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22620 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_Py_Void();
22635 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
= 0;
22637 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22638 wxDC
*arg2
= (wxDC
*) 0 ;
22644 PyObject
* obj0
= 0 ;
22645 PyObject
* obj1
= 0 ;
22646 char * kwnames
[] = {
22647 (char *) "self",(char *) "dc", NULL
22650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22652 if (!SWIG_IsOK(res1
)) {
22653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22655 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22656 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22657 if (!SWIG_IsOK(res2
)) {
22658 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22660 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22663 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22664 wxPyEndAllowThreads(__tstate
);
22665 if (PyErr_Occurred()) SWIG_fail
;
22668 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22676 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22677 PyObject
*resultobj
= 0;
22678 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22693 PyObject
* obj0
= 0 ;
22694 PyObject
* obj1
= 0 ;
22695 PyObject
* obj2
= 0 ;
22696 PyObject
* obj3
= 0 ;
22697 PyObject
* obj4
= 0 ;
22698 char * kwnames
[] = {
22699 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22704 if (!SWIG_IsOK(res1
)) {
22705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22707 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22709 if (!SWIG_IsOK(ecode2
)) {
22710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22712 arg2
= static_cast< int >(val2
);
22713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22714 if (!SWIG_IsOK(ecode3
)) {
22715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22717 arg3
= static_cast< int >(val3
);
22718 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22719 if (!SWIG_IsOK(ecode4
)) {
22720 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22722 arg4
= static_cast< int >(val4
);
22723 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22724 if (!SWIG_IsOK(ecode5
)) {
22725 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22727 arg5
= static_cast< int >(val5
);
22729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22730 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22731 wxPyEndAllowThreads(__tstate
);
22732 if (PyErr_Occurred()) SWIG_fail
;
22734 resultobj
= SWIG_Py_Void();
22741 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22742 PyObject
*resultobj
= 0;
22743 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22748 int arg6
= (int) wxSIZE_AUTO
;
22761 PyObject
* obj0
= 0 ;
22762 PyObject
* obj1
= 0 ;
22763 PyObject
* obj2
= 0 ;
22764 PyObject
* obj3
= 0 ;
22765 PyObject
* obj4
= 0 ;
22766 PyObject
* obj5
= 0 ;
22767 char * kwnames
[] = {
22768 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22773 if (!SWIG_IsOK(res1
)) {
22774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22776 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22777 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22778 if (!SWIG_IsOK(ecode2
)) {
22779 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22781 arg2
= static_cast< int >(val2
);
22782 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22783 if (!SWIG_IsOK(ecode3
)) {
22784 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22786 arg3
= static_cast< int >(val3
);
22787 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22788 if (!SWIG_IsOK(ecode4
)) {
22789 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22791 arg4
= static_cast< int >(val4
);
22792 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22793 if (!SWIG_IsOK(ecode5
)) {
22794 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22796 arg5
= static_cast< int >(val5
);
22798 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22799 if (!SWIG_IsOK(ecode6
)) {
22800 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22802 arg6
= static_cast< int >(val6
);
22805 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22806 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22807 wxPyEndAllowThreads(__tstate
);
22808 if (PyErr_Occurred()) SWIG_fail
;
22810 resultobj
= SWIG_Py_Void();
22817 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22818 PyObject
*resultobj
= 0;
22819 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22828 PyObject
* obj0
= 0 ;
22829 PyObject
* obj1
= 0 ;
22830 PyObject
* obj2
= 0 ;
22831 char * kwnames
[] = {
22832 (char *) "self",(char *) "width",(char *) "height", NULL
22835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22837 if (!SWIG_IsOK(res1
)) {
22838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22840 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22841 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22842 if (!SWIG_IsOK(ecode2
)) {
22843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22845 arg2
= static_cast< int >(val2
);
22846 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22847 if (!SWIG_IsOK(ecode3
)) {
22848 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22850 arg3
= static_cast< int >(val3
);
22852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22853 (arg1
)->DoSetClientSize(arg2
,arg3
);
22854 wxPyEndAllowThreads(__tstate
);
22855 if (PyErr_Occurred()) SWIG_fail
;
22857 resultobj
= SWIG_Py_Void();
22864 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22865 PyObject
*resultobj
= 0;
22866 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22875 PyObject
* obj0
= 0 ;
22876 PyObject
* obj1
= 0 ;
22877 PyObject
* obj2
= 0 ;
22878 char * kwnames
[] = {
22879 (char *) "self",(char *) "x",(char *) "y", NULL
22882 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22883 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22884 if (!SWIG_IsOK(res1
)) {
22885 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22887 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22888 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22889 if (!SWIG_IsOK(ecode2
)) {
22890 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22892 arg2
= static_cast< int >(val2
);
22893 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22894 if (!SWIG_IsOK(ecode3
)) {
22895 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22897 arg3
= static_cast< int >(val3
);
22899 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22900 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22901 wxPyEndAllowThreads(__tstate
);
22902 if (PyErr_Occurred()) SWIG_fail
;
22904 resultobj
= SWIG_Py_Void();
22911 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22912 PyObject
*resultobj
= 0;
22913 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22914 int *arg2
= (int *) 0 ;
22915 int *arg3
= (int *) 0 ;
22919 int res2
= SWIG_TMPOBJ
;
22921 int res3
= SWIG_TMPOBJ
;
22922 PyObject
*swig_obj
[1] ;
22926 if (!args
) SWIG_fail
;
22927 swig_obj
[0] = args
;
22928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22929 if (!SWIG_IsOK(res1
)) {
22930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22932 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22935 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22936 wxPyEndAllowThreads(__tstate
);
22937 if (PyErr_Occurred()) SWIG_fail
;
22939 resultobj
= SWIG_Py_Void();
22940 if (SWIG_IsTmpObj(res2
)) {
22941 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22943 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22944 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22946 if (SWIG_IsTmpObj(res3
)) {
22947 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22949 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22950 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22958 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22959 PyObject
*resultobj
= 0;
22960 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22961 int *arg2
= (int *) 0 ;
22962 int *arg3
= (int *) 0 ;
22966 int res2
= SWIG_TMPOBJ
;
22968 int res3
= SWIG_TMPOBJ
;
22969 PyObject
*swig_obj
[1] ;
22973 if (!args
) SWIG_fail
;
22974 swig_obj
[0] = args
;
22975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22976 if (!SWIG_IsOK(res1
)) {
22977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
22979 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22982 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22983 wxPyEndAllowThreads(__tstate
);
22984 if (PyErr_Occurred()) SWIG_fail
;
22986 resultobj
= SWIG_Py_Void();
22987 if (SWIG_IsTmpObj(res2
)) {
22988 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22990 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22991 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22993 if (SWIG_IsTmpObj(res3
)) {
22994 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22996 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22997 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23005 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23006 PyObject
*resultobj
= 0;
23007 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23008 int *arg2
= (int *) 0 ;
23009 int *arg3
= (int *) 0 ;
23013 int res2
= SWIG_TMPOBJ
;
23015 int res3
= SWIG_TMPOBJ
;
23016 PyObject
*swig_obj
[1] ;
23020 if (!args
) SWIG_fail
;
23021 swig_obj
[0] = args
;
23022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23023 if (!SWIG_IsOK(res1
)) {
23024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23026 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23029 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23030 wxPyEndAllowThreads(__tstate
);
23031 if (PyErr_Occurred()) SWIG_fail
;
23033 resultobj
= SWIG_Py_Void();
23034 if (SWIG_IsTmpObj(res2
)) {
23035 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23037 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23038 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23040 if (SWIG_IsTmpObj(res3
)) {
23041 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23043 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23044 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23052 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23053 PyObject
*resultobj
= 0;
23054 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23058 PyObject
*swig_obj
[1] ;
23060 if (!args
) SWIG_fail
;
23061 swig_obj
[0] = args
;
23062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23063 if (!SWIG_IsOK(res1
)) {
23064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23066 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23069 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23070 wxPyEndAllowThreads(__tstate
);
23071 if (PyErr_Occurred()) SWIG_fail
;
23073 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23080 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23081 PyObject
*resultobj
= 0;
23082 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23086 PyObject
*swig_obj
[1] ;
23088 if (!args
) SWIG_fail
;
23089 swig_obj
[0] = args
;
23090 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23091 if (!SWIG_IsOK(res1
)) {
23092 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23094 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23096 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23097 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23098 wxPyEndAllowThreads(__tstate
);
23099 if (PyErr_Occurred()) SWIG_fail
;
23101 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23108 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23109 PyObject
*resultobj
= 0;
23110 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23111 SwigValueWrapper
<wxVisualAttributes
> result
;
23114 PyObject
*swig_obj
[1] ;
23116 if (!args
) SWIG_fail
;
23117 swig_obj
[0] = args
;
23118 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23119 if (!SWIG_IsOK(res1
)) {
23120 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23122 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23124 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23125 result
= (arg1
)->GetDefaultAttributes();
23126 wxPyEndAllowThreads(__tstate
);
23127 if (PyErr_Occurred()) SWIG_fail
;
23129 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23136 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23137 PyObject
*resultobj
= 0;
23138 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23141 PyObject
*swig_obj
[1] ;
23143 if (!args
) SWIG_fail
;
23144 swig_obj
[0] = args
;
23145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23149 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23152 (arg1
)->OnInternalIdle();
23153 wxPyEndAllowThreads(__tstate
);
23154 if (PyErr_Occurred()) SWIG_fail
;
23156 resultobj
= SWIG_Py_Void();
23163 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23165 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23166 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23167 return SWIG_Py_Void();
23170 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23171 return SWIG_Python_InitShadowInstance(args
);
23174 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23175 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23180 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23181 PyObject
*pyobj
= 0;
23185 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23187 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23194 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23195 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23200 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23201 PyObject
*pyobj
= 0;
23205 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23207 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23214 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23215 PyObject
*resultobj
= 0;
23216 wxPrintData
*result
= 0 ;
23218 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23221 result
= (wxPrintData
*)new wxPrintData();
23222 wxPyEndAllowThreads(__tstate
);
23223 if (PyErr_Occurred()) SWIG_fail
;
23225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23232 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23233 PyObject
*resultobj
= 0;
23234 wxPrintData
*arg1
= 0 ;
23235 wxPrintData
*result
= 0 ;
23239 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23241 if (!SWIG_IsOK(res1
)) {
23242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23245 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23247 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23249 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23250 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23251 wxPyEndAllowThreads(__tstate
);
23252 if (PyErr_Occurred()) SWIG_fail
;
23254 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23261 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23265 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23268 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23271 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23275 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23280 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23281 PyObject
*resultobj
= 0;
23282 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23285 PyObject
*swig_obj
[1] ;
23287 if (!args
) SWIG_fail
;
23288 swig_obj
[0] = args
;
23289 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23290 if (!SWIG_IsOK(res1
)) {
23291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23293 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23298 wxPyEndAllowThreads(__tstate
);
23299 if (PyErr_Occurred()) SWIG_fail
;
23301 resultobj
= SWIG_Py_Void();
23308 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23309 PyObject
*resultobj
= 0;
23310 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23314 PyObject
*swig_obj
[1] ;
23316 if (!args
) SWIG_fail
;
23317 swig_obj
[0] = args
;
23318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23319 if (!SWIG_IsOK(res1
)) {
23320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23322 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23325 result
= (int)(arg1
)->GetNoCopies();
23326 wxPyEndAllowThreads(__tstate
);
23327 if (PyErr_Occurred()) SWIG_fail
;
23329 resultobj
= SWIG_From_int(static_cast< int >(result
));
23336 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23337 PyObject
*resultobj
= 0;
23338 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23342 PyObject
*swig_obj
[1] ;
23344 if (!args
) SWIG_fail
;
23345 swig_obj
[0] = args
;
23346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23347 if (!SWIG_IsOK(res1
)) {
23348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23350 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23353 result
= (bool)(arg1
)->GetCollate();
23354 wxPyEndAllowThreads(__tstate
);
23355 if (PyErr_Occurred()) SWIG_fail
;
23358 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23366 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23367 PyObject
*resultobj
= 0;
23368 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23372 PyObject
*swig_obj
[1] ;
23374 if (!args
) SWIG_fail
;
23375 swig_obj
[0] = args
;
23376 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23377 if (!SWIG_IsOK(res1
)) {
23378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23380 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23383 result
= (int)(arg1
)->GetOrientation();
23384 wxPyEndAllowThreads(__tstate
);
23385 if (PyErr_Occurred()) SWIG_fail
;
23387 resultobj
= SWIG_From_int(static_cast< int >(result
));
23394 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23395 PyObject
*resultobj
= 0;
23396 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23400 PyObject
*swig_obj
[1] ;
23402 if (!args
) SWIG_fail
;
23403 swig_obj
[0] = args
;
23404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23405 if (!SWIG_IsOK(res1
)) {
23406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23408 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23411 result
= (bool)(arg1
)->Ok();
23412 wxPyEndAllowThreads(__tstate
);
23413 if (PyErr_Occurred()) SWIG_fail
;
23416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23424 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23425 PyObject
*resultobj
= 0;
23426 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23427 wxString
*result
= 0 ;
23430 PyObject
*swig_obj
[1] ;
23432 if (!args
) SWIG_fail
;
23433 swig_obj
[0] = args
;
23434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23435 if (!SWIG_IsOK(res1
)) {
23436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23438 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23442 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23443 result
= (wxString
*) &_result_ref
;
23445 wxPyEndAllowThreads(__tstate
);
23446 if (PyErr_Occurred()) SWIG_fail
;
23450 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23452 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23461 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 PyObject
*resultobj
= 0;
23463 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23467 PyObject
*swig_obj
[1] ;
23469 if (!args
) SWIG_fail
;
23470 swig_obj
[0] = args
;
23471 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23472 if (!SWIG_IsOK(res1
)) {
23473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23475 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23477 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23478 result
= (bool)(arg1
)->GetColour();
23479 wxPyEndAllowThreads(__tstate
);
23480 if (PyErr_Occurred()) SWIG_fail
;
23483 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23491 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23492 PyObject
*resultobj
= 0;
23493 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23494 wxDuplexMode result
;
23497 PyObject
*swig_obj
[1] ;
23499 if (!args
) SWIG_fail
;
23500 swig_obj
[0] = args
;
23501 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23502 if (!SWIG_IsOK(res1
)) {
23503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23505 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23508 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23509 wxPyEndAllowThreads(__tstate
);
23510 if (PyErr_Occurred()) SWIG_fail
;
23512 resultobj
= SWIG_From_int(static_cast< int >(result
));
23519 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23520 PyObject
*resultobj
= 0;
23521 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23522 wxPaperSize result
;
23525 PyObject
*swig_obj
[1] ;
23527 if (!args
) SWIG_fail
;
23528 swig_obj
[0] = args
;
23529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23530 if (!SWIG_IsOK(res1
)) {
23531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23533 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23536 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23537 wxPyEndAllowThreads(__tstate
);
23538 if (PyErr_Occurred()) SWIG_fail
;
23540 resultobj
= SWIG_From_int(static_cast< int >(result
));
23547 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23548 PyObject
*resultobj
= 0;
23549 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23550 wxSize
*result
= 0 ;
23553 PyObject
*swig_obj
[1] ;
23555 if (!args
) SWIG_fail
;
23556 swig_obj
[0] = args
;
23557 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23558 if (!SWIG_IsOK(res1
)) {
23559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23561 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23565 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23566 result
= (wxSize
*) &_result_ref
;
23568 wxPyEndAllowThreads(__tstate
);
23569 if (PyErr_Occurred()) SWIG_fail
;
23571 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23578 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23579 PyObject
*resultobj
= 0;
23580 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23584 PyObject
*swig_obj
[1] ;
23586 if (!args
) SWIG_fail
;
23587 swig_obj
[0] = args
;
23588 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23589 if (!SWIG_IsOK(res1
)) {
23590 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23592 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23595 result
= (int)(arg1
)->GetQuality();
23596 wxPyEndAllowThreads(__tstate
);
23597 if (PyErr_Occurred()) SWIG_fail
;
23599 resultobj
= SWIG_From_int(static_cast< int >(result
));
23606 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23607 PyObject
*resultobj
= 0;
23608 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23612 PyObject
*swig_obj
[1] ;
23614 if (!args
) SWIG_fail
;
23615 swig_obj
[0] = args
;
23616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23617 if (!SWIG_IsOK(res1
)) {
23618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23620 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23623 result
= (wxPrintBin
)(arg1
)->GetBin();
23624 wxPyEndAllowThreads(__tstate
);
23625 if (PyErr_Occurred()) SWIG_fail
;
23627 resultobj
= SWIG_From_int(static_cast< int >(result
));
23634 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23635 PyObject
*resultobj
= 0;
23636 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23637 wxPrintMode result
;
23640 PyObject
*swig_obj
[1] ;
23642 if (!args
) SWIG_fail
;
23643 swig_obj
[0] = args
;
23644 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23645 if (!SWIG_IsOK(res1
)) {
23646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23648 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23650 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23651 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23652 wxPyEndAllowThreads(__tstate
);
23653 if (PyErr_Occurred()) SWIG_fail
;
23655 resultobj
= SWIG_From_int(static_cast< int >(result
));
23662 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23663 PyObject
*resultobj
= 0;
23664 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23670 PyObject
* obj0
= 0 ;
23671 PyObject
* obj1
= 0 ;
23672 char * kwnames
[] = {
23673 (char *) "self",(char *) "v", NULL
23676 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23677 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23678 if (!SWIG_IsOK(res1
)) {
23679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23681 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23682 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23683 if (!SWIG_IsOK(ecode2
)) {
23684 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23686 arg2
= static_cast< int >(val2
);
23688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23689 (arg1
)->SetNoCopies(arg2
);
23690 wxPyEndAllowThreads(__tstate
);
23691 if (PyErr_Occurred()) SWIG_fail
;
23693 resultobj
= SWIG_Py_Void();
23700 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23701 PyObject
*resultobj
= 0;
23702 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23708 PyObject
* obj0
= 0 ;
23709 PyObject
* obj1
= 0 ;
23710 char * kwnames
[] = {
23711 (char *) "self",(char *) "flag", NULL
23714 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23715 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23716 if (!SWIG_IsOK(res1
)) {
23717 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23719 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23720 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23721 if (!SWIG_IsOK(ecode2
)) {
23722 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23724 arg2
= static_cast< bool >(val2
);
23726 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23727 (arg1
)->SetCollate(arg2
);
23728 wxPyEndAllowThreads(__tstate
);
23729 if (PyErr_Occurred()) SWIG_fail
;
23731 resultobj
= SWIG_Py_Void();
23738 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23739 PyObject
*resultobj
= 0;
23740 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23746 PyObject
* obj0
= 0 ;
23747 PyObject
* obj1
= 0 ;
23748 char * kwnames
[] = {
23749 (char *) "self",(char *) "orient", NULL
23752 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23753 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23754 if (!SWIG_IsOK(res1
)) {
23755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23757 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23758 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23759 if (!SWIG_IsOK(ecode2
)) {
23760 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
23762 arg2
= static_cast< int >(val2
);
23764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23765 (arg1
)->SetOrientation(arg2
);
23766 wxPyEndAllowThreads(__tstate
);
23767 if (PyErr_Occurred()) SWIG_fail
;
23769 resultobj
= SWIG_Py_Void();
23776 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23777 PyObject
*resultobj
= 0;
23778 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23779 wxString
*arg2
= 0 ;
23782 bool temp2
= false ;
23783 PyObject
* obj0
= 0 ;
23784 PyObject
* obj1
= 0 ;
23785 char * kwnames
[] = {
23786 (char *) "self",(char *) "name", NULL
23789 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23790 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23791 if (!SWIG_IsOK(res1
)) {
23792 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23794 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23796 arg2
= wxString_in_helper(obj1
);
23797 if (arg2
== NULL
) SWIG_fail
;
23801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23802 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
23803 wxPyEndAllowThreads(__tstate
);
23804 if (PyErr_Occurred()) SWIG_fail
;
23806 resultobj
= SWIG_Py_Void();
23821 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23822 PyObject
*resultobj
= 0;
23823 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23829 PyObject
* obj0
= 0 ;
23830 PyObject
* obj1
= 0 ;
23831 char * kwnames
[] = {
23832 (char *) "self",(char *) "colour", NULL
23835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23837 if (!SWIG_IsOK(res1
)) {
23838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23840 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23842 if (!SWIG_IsOK(ecode2
)) {
23843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
23845 arg2
= static_cast< bool >(val2
);
23847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23848 (arg1
)->SetColour(arg2
);
23849 wxPyEndAllowThreads(__tstate
);
23850 if (PyErr_Occurred()) SWIG_fail
;
23852 resultobj
= SWIG_Py_Void();
23859 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23860 PyObject
*resultobj
= 0;
23861 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23862 wxDuplexMode arg2
;
23867 PyObject
* obj0
= 0 ;
23868 PyObject
* obj1
= 0 ;
23869 char * kwnames
[] = {
23870 (char *) "self",(char *) "duplex", NULL
23873 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23874 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23875 if (!SWIG_IsOK(res1
)) {
23876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23878 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23879 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23880 if (!SWIG_IsOK(ecode2
)) {
23881 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
23883 arg2
= static_cast< wxDuplexMode
>(val2
);
23885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23886 (arg1
)->SetDuplex(arg2
);
23887 wxPyEndAllowThreads(__tstate
);
23888 if (PyErr_Occurred()) SWIG_fail
;
23890 resultobj
= SWIG_Py_Void();
23897 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23898 PyObject
*resultobj
= 0;
23899 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23905 PyObject
* obj0
= 0 ;
23906 PyObject
* obj1
= 0 ;
23907 char * kwnames
[] = {
23908 (char *) "self",(char *) "sizeId", NULL
23911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23913 if (!SWIG_IsOK(res1
)) {
23914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23916 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23918 if (!SWIG_IsOK(ecode2
)) {
23919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
23921 arg2
= static_cast< wxPaperSize
>(val2
);
23923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23924 (arg1
)->SetPaperId(arg2
);
23925 wxPyEndAllowThreads(__tstate
);
23926 if (PyErr_Occurred()) SWIG_fail
;
23928 resultobj
= SWIG_Py_Void();
23935 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23936 PyObject
*resultobj
= 0;
23937 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23942 PyObject
* obj0
= 0 ;
23943 PyObject
* obj1
= 0 ;
23944 char * kwnames
[] = {
23945 (char *) "self",(char *) "sz", NULL
23948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23950 if (!SWIG_IsOK(res1
)) {
23951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23953 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23956 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
23959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23960 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
23961 wxPyEndAllowThreads(__tstate
);
23962 if (PyErr_Occurred()) SWIG_fail
;
23964 resultobj
= SWIG_Py_Void();
23971 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23972 PyObject
*resultobj
= 0;
23973 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23979 PyObject
* obj0
= 0 ;
23980 PyObject
* obj1
= 0 ;
23981 char * kwnames
[] = {
23982 (char *) "self",(char *) "quality", NULL
23985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23987 if (!SWIG_IsOK(res1
)) {
23988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23990 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23991 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23992 if (!SWIG_IsOK(ecode2
)) {
23993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
23995 arg2
= static_cast< int >(val2
);
23997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23998 (arg1
)->SetQuality(arg2
);
23999 wxPyEndAllowThreads(__tstate
);
24000 if (PyErr_Occurred()) SWIG_fail
;
24002 resultobj
= SWIG_Py_Void();
24009 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24010 PyObject
*resultobj
= 0;
24011 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24017 PyObject
* obj0
= 0 ;
24018 PyObject
* obj1
= 0 ;
24019 char * kwnames
[] = {
24020 (char *) "self",(char *) "bin", NULL
24023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24025 if (!SWIG_IsOK(res1
)) {
24026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24028 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24029 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24030 if (!SWIG_IsOK(ecode2
)) {
24031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24033 arg2
= static_cast< wxPrintBin
>(val2
);
24035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24036 (arg1
)->SetBin(arg2
);
24037 wxPyEndAllowThreads(__tstate
);
24038 if (PyErr_Occurred()) SWIG_fail
;
24040 resultobj
= SWIG_Py_Void();
24047 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24048 PyObject
*resultobj
= 0;
24049 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24055 PyObject
* obj0
= 0 ;
24056 PyObject
* obj1
= 0 ;
24057 char * kwnames
[] = {
24058 (char *) "self",(char *) "printMode", NULL
24061 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24062 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24063 if (!SWIG_IsOK(res1
)) {
24064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24066 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24067 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24068 if (!SWIG_IsOK(ecode2
)) {
24069 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24071 arg2
= static_cast< wxPrintMode
>(val2
);
24073 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24074 (arg1
)->SetPrintMode(arg2
);
24075 wxPyEndAllowThreads(__tstate
);
24076 if (PyErr_Occurred()) SWIG_fail
;
24078 resultobj
= SWIG_Py_Void();
24085 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24086 PyObject
*resultobj
= 0;
24087 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24091 PyObject
*swig_obj
[1] ;
24093 if (!args
) SWIG_fail
;
24094 swig_obj
[0] = args
;
24095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24096 if (!SWIG_IsOK(res1
)) {
24097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24099 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24102 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24103 wxPyEndAllowThreads(__tstate
);
24104 if (PyErr_Occurred()) SWIG_fail
;
24108 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24110 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24119 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24120 PyObject
*resultobj
= 0;
24121 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24122 wxString
*arg2
= 0 ;
24125 bool temp2
= false ;
24126 PyObject
* obj0
= 0 ;
24127 PyObject
* obj1
= 0 ;
24128 char * kwnames
[] = {
24129 (char *) "self",(char *) "filename", NULL
24132 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24133 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24134 if (!SWIG_IsOK(res1
)) {
24135 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24137 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24139 arg2
= wxString_in_helper(obj1
);
24140 if (arg2
== NULL
) SWIG_fail
;
24144 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24145 (arg1
)->SetFilename((wxString
const &)*arg2
);
24146 wxPyEndAllowThreads(__tstate
);
24147 if (PyErr_Occurred()) SWIG_fail
;
24149 resultobj
= SWIG_Py_Void();
24164 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24165 PyObject
*resultobj
= 0;
24166 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24167 PyObject
*result
= 0 ;
24170 PyObject
*swig_obj
[1] ;
24172 if (!args
) SWIG_fail
;
24173 swig_obj
[0] = args
;
24174 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24175 if (!SWIG_IsOK(res1
)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24178 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24181 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24182 wxPyEndAllowThreads(__tstate
);
24183 if (PyErr_Occurred()) SWIG_fail
;
24185 resultobj
= result
;
24192 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24193 PyObject
*resultobj
= 0;
24194 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24195 PyObject
*arg2
= (PyObject
*) 0 ;
24198 PyObject
* obj0
= 0 ;
24199 PyObject
* obj1
= 0 ;
24200 char * kwnames
[] = {
24201 (char *) "self",(char *) "data", NULL
24204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24206 if (!SWIG_IsOK(res1
)) {
24207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24209 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24212 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24213 wxPrintData_SetPrivData(arg1
,arg2
);
24214 wxPyEndAllowThreads(__tstate
);
24215 if (PyErr_Occurred()) SWIG_fail
;
24217 resultobj
= SWIG_Py_Void();
24224 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24226 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24227 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24228 return SWIG_Py_Void();
24231 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24232 return SWIG_Python_InitShadowInstance(args
);
24235 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24236 PyObject
*resultobj
= 0;
24237 wxPageSetupDialogData
*result
= 0 ;
24239 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24241 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24242 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24243 wxPyEndAllowThreads(__tstate
);
24244 if (PyErr_Occurred()) SWIG_fail
;
24246 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24253 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24254 PyObject
*resultobj
= 0;
24255 wxPageSetupDialogData
*arg1
= 0 ;
24256 wxPageSetupDialogData
*result
= 0 ;
24260 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24261 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24262 if (!SWIG_IsOK(res1
)) {
24263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24266 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24268 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24271 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24272 wxPyEndAllowThreads(__tstate
);
24273 if (PyErr_Occurred()) SWIG_fail
;
24275 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24282 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24283 PyObject
*resultobj
= 0;
24284 wxPrintData
*arg1
= 0 ;
24285 wxPageSetupDialogData
*result
= 0 ;
24289 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24290 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24291 if (!SWIG_IsOK(res1
)) {
24292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24295 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24297 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24300 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24301 wxPyEndAllowThreads(__tstate
);
24302 if (PyErr_Occurred()) SWIG_fail
;
24304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24311 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24315 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24318 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24323 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24324 _v
= SWIG_CheckState(res
);
24326 if (!_v
) goto check_2
;
24327 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24332 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24336 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24341 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24342 PyObject
*resultobj
= 0;
24343 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24346 PyObject
*swig_obj
[1] ;
24348 if (!args
) SWIG_fail
;
24349 swig_obj
[0] = args
;
24350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24351 if (!SWIG_IsOK(res1
)) {
24352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24354 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24359 wxPyEndAllowThreads(__tstate
);
24360 if (PyErr_Occurred()) SWIG_fail
;
24362 resultobj
= SWIG_Py_Void();
24369 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24370 PyObject
*resultobj
= 0;
24371 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24377 PyObject
* obj0
= 0 ;
24378 PyObject
* obj1
= 0 ;
24379 char * kwnames
[] = {
24380 (char *) "self",(char *) "flag", NULL
24383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24385 if (!SWIG_IsOK(res1
)) {
24386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24388 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24389 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24390 if (!SWIG_IsOK(ecode2
)) {
24391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24393 arg2
= static_cast< bool >(val2
);
24395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24396 (arg1
)->EnableHelp(arg2
);
24397 wxPyEndAllowThreads(__tstate
);
24398 if (PyErr_Occurred()) SWIG_fail
;
24400 resultobj
= SWIG_Py_Void();
24407 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24408 PyObject
*resultobj
= 0;
24409 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24415 PyObject
* obj0
= 0 ;
24416 PyObject
* obj1
= 0 ;
24417 char * kwnames
[] = {
24418 (char *) "self",(char *) "flag", NULL
24421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24423 if (!SWIG_IsOK(res1
)) {
24424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24426 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24427 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24428 if (!SWIG_IsOK(ecode2
)) {
24429 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24431 arg2
= static_cast< bool >(val2
);
24433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24434 (arg1
)->EnableMargins(arg2
);
24435 wxPyEndAllowThreads(__tstate
);
24436 if (PyErr_Occurred()) SWIG_fail
;
24438 resultobj
= SWIG_Py_Void();
24445 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24446 PyObject
*resultobj
= 0;
24447 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24453 PyObject
* obj0
= 0 ;
24454 PyObject
* obj1
= 0 ;
24455 char * kwnames
[] = {
24456 (char *) "self",(char *) "flag", NULL
24459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24461 if (!SWIG_IsOK(res1
)) {
24462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24464 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24465 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24466 if (!SWIG_IsOK(ecode2
)) {
24467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24469 arg2
= static_cast< bool >(val2
);
24471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24472 (arg1
)->EnableOrientation(arg2
);
24473 wxPyEndAllowThreads(__tstate
);
24474 if (PyErr_Occurred()) SWIG_fail
;
24476 resultobj
= SWIG_Py_Void();
24483 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24484 PyObject
*resultobj
= 0;
24485 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24491 PyObject
* obj0
= 0 ;
24492 PyObject
* obj1
= 0 ;
24493 char * kwnames
[] = {
24494 (char *) "self",(char *) "flag", NULL
24497 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24498 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24499 if (!SWIG_IsOK(res1
)) {
24500 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24502 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24503 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24504 if (!SWIG_IsOK(ecode2
)) {
24505 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24507 arg2
= static_cast< bool >(val2
);
24509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24510 (arg1
)->EnablePaper(arg2
);
24511 wxPyEndAllowThreads(__tstate
);
24512 if (PyErr_Occurred()) SWIG_fail
;
24514 resultobj
= SWIG_Py_Void();
24521 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24522 PyObject
*resultobj
= 0;
24523 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24529 PyObject
* obj0
= 0 ;
24530 PyObject
* obj1
= 0 ;
24531 char * kwnames
[] = {
24532 (char *) "self",(char *) "flag", NULL
24535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24537 if (!SWIG_IsOK(res1
)) {
24538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24540 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24541 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24542 if (!SWIG_IsOK(ecode2
)) {
24543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24545 arg2
= static_cast< bool >(val2
);
24547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24548 (arg1
)->EnablePrinter(arg2
);
24549 wxPyEndAllowThreads(__tstate
);
24550 if (PyErr_Occurred()) SWIG_fail
;
24552 resultobj
= SWIG_Py_Void();
24559 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24560 PyObject
*resultobj
= 0;
24561 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24565 PyObject
*swig_obj
[1] ;
24567 if (!args
) SWIG_fail
;
24568 swig_obj
[0] = args
;
24569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24570 if (!SWIG_IsOK(res1
)) {
24571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24573 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24576 result
= (bool)(arg1
)->GetDefaultMinMargins();
24577 wxPyEndAllowThreads(__tstate
);
24578 if (PyErr_Occurred()) SWIG_fail
;
24581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24589 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24590 PyObject
*resultobj
= 0;
24591 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24595 PyObject
*swig_obj
[1] ;
24597 if (!args
) SWIG_fail
;
24598 swig_obj
[0] = args
;
24599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24600 if (!SWIG_IsOK(res1
)) {
24601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24603 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24606 result
= (bool)(arg1
)->GetEnableMargins();
24607 wxPyEndAllowThreads(__tstate
);
24608 if (PyErr_Occurred()) SWIG_fail
;
24611 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24619 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24620 PyObject
*resultobj
= 0;
24621 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24625 PyObject
*swig_obj
[1] ;
24627 if (!args
) SWIG_fail
;
24628 swig_obj
[0] = args
;
24629 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24630 if (!SWIG_IsOK(res1
)) {
24631 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24633 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24636 result
= (bool)(arg1
)->GetEnableOrientation();
24637 wxPyEndAllowThreads(__tstate
);
24638 if (PyErr_Occurred()) SWIG_fail
;
24641 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24649 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24650 PyObject
*resultobj
= 0;
24651 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24655 PyObject
*swig_obj
[1] ;
24657 if (!args
) SWIG_fail
;
24658 swig_obj
[0] = args
;
24659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24660 if (!SWIG_IsOK(res1
)) {
24661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24663 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24666 result
= (bool)(arg1
)->GetEnablePaper();
24667 wxPyEndAllowThreads(__tstate
);
24668 if (PyErr_Occurred()) SWIG_fail
;
24671 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24679 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24680 PyObject
*resultobj
= 0;
24681 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24685 PyObject
*swig_obj
[1] ;
24687 if (!args
) SWIG_fail
;
24688 swig_obj
[0] = args
;
24689 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24690 if (!SWIG_IsOK(res1
)) {
24691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24693 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 result
= (bool)(arg1
)->GetEnablePrinter();
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24701 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24709 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24710 PyObject
*resultobj
= 0;
24711 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24715 PyObject
*swig_obj
[1] ;
24717 if (!args
) SWIG_fail
;
24718 swig_obj
[0] = args
;
24719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24720 if (!SWIG_IsOK(res1
)) {
24721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24723 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24726 result
= (bool)(arg1
)->GetEnableHelp();
24727 wxPyEndAllowThreads(__tstate
);
24728 if (PyErr_Occurred()) SWIG_fail
;
24731 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24739 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24740 PyObject
*resultobj
= 0;
24741 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24745 PyObject
*swig_obj
[1] ;
24747 if (!args
) SWIG_fail
;
24748 swig_obj
[0] = args
;
24749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24750 if (!SWIG_IsOK(res1
)) {
24751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24753 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24756 result
= (bool)(arg1
)->GetDefaultInfo();
24757 wxPyEndAllowThreads(__tstate
);
24758 if (PyErr_Occurred()) SWIG_fail
;
24761 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24769 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24770 PyObject
*resultobj
= 0;
24771 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24775 PyObject
*swig_obj
[1] ;
24777 if (!args
) SWIG_fail
;
24778 swig_obj
[0] = args
;
24779 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24780 if (!SWIG_IsOK(res1
)) {
24781 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24783 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24786 result
= (arg1
)->GetMarginTopLeft();
24787 wxPyEndAllowThreads(__tstate
);
24788 if (PyErr_Occurred()) SWIG_fail
;
24790 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24797 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24798 PyObject
*resultobj
= 0;
24799 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24803 PyObject
*swig_obj
[1] ;
24805 if (!args
) SWIG_fail
;
24806 swig_obj
[0] = args
;
24807 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24808 if (!SWIG_IsOK(res1
)) {
24809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24811 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24813 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24814 result
= (arg1
)->GetMarginBottomRight();
24815 wxPyEndAllowThreads(__tstate
);
24816 if (PyErr_Occurred()) SWIG_fail
;
24818 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24825 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24826 PyObject
*resultobj
= 0;
24827 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24831 PyObject
*swig_obj
[1] ;
24833 if (!args
) SWIG_fail
;
24834 swig_obj
[0] = args
;
24835 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24836 if (!SWIG_IsOK(res1
)) {
24837 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24839 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24841 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24842 result
= (arg1
)->GetMinMarginTopLeft();
24843 wxPyEndAllowThreads(__tstate
);
24844 if (PyErr_Occurred()) SWIG_fail
;
24846 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24853 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24854 PyObject
*resultobj
= 0;
24855 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24859 PyObject
*swig_obj
[1] ;
24861 if (!args
) SWIG_fail
;
24862 swig_obj
[0] = args
;
24863 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24864 if (!SWIG_IsOK(res1
)) {
24865 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24867 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24870 result
= (arg1
)->GetMinMarginBottomRight();
24871 wxPyEndAllowThreads(__tstate
);
24872 if (PyErr_Occurred()) SWIG_fail
;
24874 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
24881 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 PyObject
*resultobj
= 0;
24883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24884 wxPaperSize result
;
24887 PyObject
*swig_obj
[1] ;
24889 if (!args
) SWIG_fail
;
24890 swig_obj
[0] = args
;
24891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24895 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24902 resultobj
= SWIG_From_int(static_cast< int >(result
));
24909 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24910 PyObject
*resultobj
= 0;
24911 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24915 PyObject
*swig_obj
[1] ;
24917 if (!args
) SWIG_fail
;
24918 swig_obj
[0] = args
;
24919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24920 if (!SWIG_IsOK(res1
)) {
24921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24923 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24926 result
= (arg1
)->GetPaperSize();
24927 wxPyEndAllowThreads(__tstate
);
24928 if (PyErr_Occurred()) SWIG_fail
;
24930 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
24937 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24938 PyObject
*resultobj
= 0;
24939 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24940 wxPrintData
*result
= 0 ;
24943 PyObject
*swig_obj
[1] ;
24945 if (!args
) SWIG_fail
;
24946 swig_obj
[0] = args
;
24947 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24948 if (!SWIG_IsOK(res1
)) {
24949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24951 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24953 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24955 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
24956 result
= (wxPrintData
*) &_result_ref
;
24958 wxPyEndAllowThreads(__tstate
);
24959 if (PyErr_Occurred()) SWIG_fail
;
24961 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
24968 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24969 PyObject
*resultobj
= 0;
24970 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24974 PyObject
*swig_obj
[1] ;
24976 if (!args
) SWIG_fail
;
24977 swig_obj
[0] = args
;
24978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24979 if (!SWIG_IsOK(res1
)) {
24980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24982 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24985 result
= (bool)(arg1
)->Ok();
24986 wxPyEndAllowThreads(__tstate
);
24987 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24998 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24999 PyObject
*resultobj
= 0;
25000 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25006 PyObject
* obj0
= 0 ;
25007 PyObject
* obj1
= 0 ;
25008 char * kwnames
[] = {
25009 (char *) "self",(char *) "flag", NULL
25012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25014 if (!SWIG_IsOK(res1
)) {
25015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25017 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25019 if (!SWIG_IsOK(ecode2
)) {
25020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25022 arg2
= static_cast< bool >(val2
);
25024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25025 (arg1
)->SetDefaultInfo(arg2
);
25026 wxPyEndAllowThreads(__tstate
);
25027 if (PyErr_Occurred()) SWIG_fail
;
25029 resultobj
= SWIG_Py_Void();
25036 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25037 PyObject
*resultobj
= 0;
25038 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25044 PyObject
* obj0
= 0 ;
25045 PyObject
* obj1
= 0 ;
25046 char * kwnames
[] = {
25047 (char *) "self",(char *) "flag", NULL
25050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25051 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25052 if (!SWIG_IsOK(res1
)) {
25053 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25055 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25056 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25057 if (!SWIG_IsOK(ecode2
)) {
25058 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25060 arg2
= static_cast< bool >(val2
);
25062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25063 (arg1
)->SetDefaultMinMargins(arg2
);
25064 wxPyEndAllowThreads(__tstate
);
25065 if (PyErr_Occurred()) SWIG_fail
;
25067 resultobj
= SWIG_Py_Void();
25074 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25075 PyObject
*resultobj
= 0;
25076 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25077 wxPoint
*arg2
= 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char * kwnames
[] = {
25084 (char *) "self",(char *) "pt", NULL
25087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25088 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25089 if (!SWIG_IsOK(res1
)) {
25090 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25092 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25095 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25099 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25100 wxPyEndAllowThreads(__tstate
);
25101 if (PyErr_Occurred()) SWIG_fail
;
25103 resultobj
= SWIG_Py_Void();
25110 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25111 PyObject
*resultobj
= 0;
25112 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25113 wxPoint
*arg2
= 0 ;
25117 PyObject
* obj0
= 0 ;
25118 PyObject
* obj1
= 0 ;
25119 char * kwnames
[] = {
25120 (char *) "self",(char *) "pt", NULL
25123 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25124 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25125 if (!SWIG_IsOK(res1
)) {
25126 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25128 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25134 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25135 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25136 wxPyEndAllowThreads(__tstate
);
25137 if (PyErr_Occurred()) SWIG_fail
;
25139 resultobj
= SWIG_Py_Void();
25146 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25147 PyObject
*resultobj
= 0;
25148 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25149 wxPoint
*arg2
= 0 ;
25153 PyObject
* obj0
= 0 ;
25154 PyObject
* obj1
= 0 ;
25155 char * kwnames
[] = {
25156 (char *) "self",(char *) "pt", NULL
25159 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25160 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25161 if (!SWIG_IsOK(res1
)) {
25162 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25164 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25167 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25171 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25172 wxPyEndAllowThreads(__tstate
);
25173 if (PyErr_Occurred()) SWIG_fail
;
25175 resultobj
= SWIG_Py_Void();
25182 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25183 PyObject
*resultobj
= 0;
25184 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25185 wxPoint
*arg2
= 0 ;
25189 PyObject
* obj0
= 0 ;
25190 PyObject
* obj1
= 0 ;
25191 char * kwnames
[] = {
25192 (char *) "self",(char *) "pt", NULL
25195 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25196 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25197 if (!SWIG_IsOK(res1
)) {
25198 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25200 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25203 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25207 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25208 wxPyEndAllowThreads(__tstate
);
25209 if (PyErr_Occurred()) SWIG_fail
;
25211 resultobj
= SWIG_Py_Void();
25218 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25219 PyObject
*resultobj
= 0;
25220 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25226 PyObject
* obj0
= 0 ;
25227 PyObject
* obj1
= 0 ;
25228 char * kwnames
[] = {
25229 (char *) "self",(char *) "id", NULL
25232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25234 if (!SWIG_IsOK(res1
)) {
25235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25237 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25238 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25239 if (!SWIG_IsOK(ecode2
)) {
25240 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25242 arg2
= static_cast< wxPaperSize
>(val2
);
25244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25245 (arg1
)->SetPaperId(arg2
);
25246 wxPyEndAllowThreads(__tstate
);
25247 if (PyErr_Occurred()) SWIG_fail
;
25249 resultobj
= SWIG_Py_Void();
25256 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25257 PyObject
*resultobj
= 0;
25258 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25263 PyObject
* obj0
= 0 ;
25264 PyObject
* obj1
= 0 ;
25265 char * kwnames
[] = {
25266 (char *) "self",(char *) "size", NULL
25269 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25270 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25271 if (!SWIG_IsOK(res1
)) {
25272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25274 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25277 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25281 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25282 wxPyEndAllowThreads(__tstate
);
25283 if (PyErr_Occurred()) SWIG_fail
;
25285 resultobj
= SWIG_Py_Void();
25292 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25293 PyObject
*resultobj
= 0;
25294 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25295 wxPrintData
*arg2
= 0 ;
25300 PyObject
* obj0
= 0 ;
25301 PyObject
* obj1
= 0 ;
25302 char * kwnames
[] = {
25303 (char *) "self",(char *) "printData", NULL
25306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25307 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25308 if (!SWIG_IsOK(res1
)) {
25309 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25311 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25312 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25313 if (!SWIG_IsOK(res2
)) {
25314 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25317 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25319 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25321 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25322 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25323 wxPyEndAllowThreads(__tstate
);
25324 if (PyErr_Occurred()) SWIG_fail
;
25326 resultobj
= SWIG_Py_Void();
25333 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25334 PyObject
*resultobj
= 0;
25335 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25338 PyObject
*swig_obj
[1] ;
25340 if (!args
) SWIG_fail
;
25341 swig_obj
[0] = args
;
25342 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25343 if (!SWIG_IsOK(res1
)) {
25344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25346 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25348 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25349 (arg1
)->CalculateIdFromPaperSize();
25350 wxPyEndAllowThreads(__tstate
);
25351 if (PyErr_Occurred()) SWIG_fail
;
25353 resultobj
= SWIG_Py_Void();
25360 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25361 PyObject
*resultobj
= 0;
25362 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25365 PyObject
*swig_obj
[1] ;
25367 if (!args
) SWIG_fail
;
25368 swig_obj
[0] = args
;
25369 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25370 if (!SWIG_IsOK(res1
)) {
25371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 (arg1
)->CalculatePaperSizeFromId();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_Py_Void();
25387 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25389 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25390 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25391 return SWIG_Py_Void();
25394 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25395 return SWIG_Python_InitShadowInstance(args
);
25398 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25399 PyObject
*resultobj
= 0;
25400 wxWindow
*arg1
= (wxWindow
*) 0 ;
25401 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25402 wxPageSetupDialog
*result
= 0 ;
25407 PyObject
* obj0
= 0 ;
25408 PyObject
* obj1
= 0 ;
25409 char * kwnames
[] = {
25410 (char *) "parent",(char *) "data", NULL
25413 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25414 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25415 if (!SWIG_IsOK(res1
)) {
25416 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25418 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25421 if (!SWIG_IsOK(res2
)) {
25422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25424 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25427 if (!wxPyCheckForApp()) SWIG_fail
;
25428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25429 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25430 wxPyEndAllowThreads(__tstate
);
25431 if (PyErr_Occurred()) SWIG_fail
;
25433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25440 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25441 PyObject
*resultobj
= 0;
25442 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25443 wxPageSetupDialogData
*result
= 0 ;
25446 PyObject
*swig_obj
[1] ;
25448 if (!args
) SWIG_fail
;
25449 swig_obj
[0] = args
;
25450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25451 if (!SWIG_IsOK(res1
)) {
25452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25454 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25458 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25459 result
= (wxPageSetupDialogData
*) &_result_ref
;
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25471 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 PyObject
*resultobj
= 0;
25473 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25474 wxPageSetupDialogData
*result
= 0 ;
25477 PyObject
*swig_obj
[1] ;
25479 if (!args
) SWIG_fail
;
25480 swig_obj
[0] = args
;
25481 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25485 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25489 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25490 result
= (wxPageSetupDialogData
*) &_result_ref
;
25492 wxPyEndAllowThreads(__tstate
);
25493 if (PyErr_Occurred()) SWIG_fail
;
25495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25502 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25503 PyObject
*resultobj
= 0;
25504 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25508 PyObject
*swig_obj
[1] ;
25510 if (!args
) SWIG_fail
;
25511 swig_obj
[0] = args
;
25512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25513 if (!SWIG_IsOK(res1
)) {
25514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25516 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25519 result
= (int)(arg1
)->ShowModal();
25520 wxPyEndAllowThreads(__tstate
);
25521 if (PyErr_Occurred()) SWIG_fail
;
25523 resultobj
= SWIG_From_int(static_cast< int >(result
));
25530 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25532 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25533 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25534 return SWIG_Py_Void();
25537 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25538 return SWIG_Python_InitShadowInstance(args
);
25541 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25542 PyObject
*resultobj
= 0;
25543 wxPrintDialogData
*result
= 0 ;
25545 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25548 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25549 wxPyEndAllowThreads(__tstate
);
25550 if (PyErr_Occurred()) SWIG_fail
;
25552 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25559 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25560 PyObject
*resultobj
= 0;
25561 wxPrintData
*arg1
= 0 ;
25562 wxPrintDialogData
*result
= 0 ;
25566 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25567 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25568 if (!SWIG_IsOK(res1
)) {
25569 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25572 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25574 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25577 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25578 wxPyEndAllowThreads(__tstate
);
25579 if (PyErr_Occurred()) SWIG_fail
;
25581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25588 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25589 PyObject
*resultobj
= 0;
25590 wxPrintDialogData
*arg1
= 0 ;
25591 wxPrintDialogData
*result
= 0 ;
25595 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25597 if (!SWIG_IsOK(res1
)) {
25598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25601 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25603 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25606 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25607 wxPyEndAllowThreads(__tstate
);
25608 if (PyErr_Occurred()) SWIG_fail
;
25610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25617 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25621 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25624 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25629 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25630 _v
= SWIG_CheckState(res
);
25632 if (!_v
) goto check_2
;
25633 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25638 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25642 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25647 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25648 PyObject
*resultobj
= 0;
25649 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25652 PyObject
*swig_obj
[1] ;
25654 if (!args
) SWIG_fail
;
25655 swig_obj
[0] = args
;
25656 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25657 if (!SWIG_IsOK(res1
)) {
25658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25660 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25665 wxPyEndAllowThreads(__tstate
);
25666 if (PyErr_Occurred()) SWIG_fail
;
25668 resultobj
= SWIG_Py_Void();
25675 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25676 PyObject
*resultobj
= 0;
25677 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25681 PyObject
*swig_obj
[1] ;
25683 if (!args
) SWIG_fail
;
25684 swig_obj
[0] = args
;
25685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25686 if (!SWIG_IsOK(res1
)) {
25687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25689 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25692 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25693 wxPyEndAllowThreads(__tstate
);
25694 if (PyErr_Occurred()) SWIG_fail
;
25696 resultobj
= SWIG_From_int(static_cast< int >(result
));
25703 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25704 PyObject
*resultobj
= 0;
25705 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25709 PyObject
*swig_obj
[1] ;
25711 if (!args
) SWIG_fail
;
25712 swig_obj
[0] = args
;
25713 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25714 if (!SWIG_IsOK(res1
)) {
25715 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25717 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
25721 wxPyEndAllowThreads(__tstate
);
25722 if (PyErr_Occurred()) SWIG_fail
;
25724 resultobj
= SWIG_From_int(static_cast< int >(result
));
25731 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25732 PyObject
*resultobj
= 0;
25733 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25737 PyObject
*swig_obj
[1] ;
25739 if (!args
) SWIG_fail
;
25740 swig_obj
[0] = args
;
25741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25742 if (!SWIG_IsOK(res1
)) {
25743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25745 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
25749 wxPyEndAllowThreads(__tstate
);
25750 if (PyErr_Occurred()) SWIG_fail
;
25752 resultobj
= SWIG_From_int(static_cast< int >(result
));
25759 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25760 PyObject
*resultobj
= 0;
25761 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25765 PyObject
*swig_obj
[1] ;
25767 if (!args
) SWIG_fail
;
25768 swig_obj
[0] = args
;
25769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25770 if (!SWIG_IsOK(res1
)) {
25771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25773 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25776 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
25777 wxPyEndAllowThreads(__tstate
);
25778 if (PyErr_Occurred()) SWIG_fail
;
25780 resultobj
= SWIG_From_int(static_cast< int >(result
));
25787 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25788 PyObject
*resultobj
= 0;
25789 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25793 PyObject
*swig_obj
[1] ;
25795 if (!args
) SWIG_fail
;
25796 swig_obj
[0] = args
;
25797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25798 if (!SWIG_IsOK(res1
)) {
25799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25801 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25804 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
25805 wxPyEndAllowThreads(__tstate
);
25806 if (PyErr_Occurred()) SWIG_fail
;
25808 resultobj
= SWIG_From_int(static_cast< int >(result
));
25815 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25816 PyObject
*resultobj
= 0;
25817 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25821 PyObject
*swig_obj
[1] ;
25823 if (!args
) SWIG_fail
;
25824 swig_obj
[0] = args
;
25825 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25826 if (!SWIG_IsOK(res1
)) {
25827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25829 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25832 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
25833 wxPyEndAllowThreads(__tstate
);
25834 if (PyErr_Occurred()) SWIG_fail
;
25837 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25845 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25846 PyObject
*resultobj
= 0;
25847 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25851 PyObject
*swig_obj
[1] ;
25853 if (!args
) SWIG_fail
;
25854 swig_obj
[0] = args
;
25855 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25856 if (!SWIG_IsOK(res1
)) {
25857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25859 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25861 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25862 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
25863 wxPyEndAllowThreads(__tstate
);
25864 if (PyErr_Occurred()) SWIG_fail
;
25867 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25875 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25876 PyObject
*resultobj
= 0;
25877 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25881 PyObject
*swig_obj
[1] ;
25883 if (!args
) SWIG_fail
;
25884 swig_obj
[0] = args
;
25885 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25886 if (!SWIG_IsOK(res1
)) {
25887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25889 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25892 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
25893 wxPyEndAllowThreads(__tstate
);
25894 if (PyErr_Occurred()) SWIG_fail
;
25897 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25905 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25906 PyObject
*resultobj
= 0;
25907 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25911 PyObject
*swig_obj
[1] ;
25913 if (!args
) SWIG_fail
;
25914 swig_obj
[0] = args
;
25915 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25916 if (!SWIG_IsOK(res1
)) {
25917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25919 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25922 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
25923 wxPyEndAllowThreads(__tstate
);
25924 if (PyErr_Occurred()) SWIG_fail
;
25927 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25935 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25936 PyObject
*resultobj
= 0;
25937 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25943 PyObject
* obj0
= 0 ;
25944 PyObject
* obj1
= 0 ;
25945 char * kwnames
[] = {
25946 (char *) "self",(char *) "v", NULL
25949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25951 if (!SWIG_IsOK(res1
)) {
25952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25954 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25956 if (!SWIG_IsOK(ecode2
)) {
25957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
25959 arg2
= static_cast< int >(val2
);
25961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25962 (arg1
)->SetFromPage(arg2
);
25963 wxPyEndAllowThreads(__tstate
);
25964 if (PyErr_Occurred()) SWIG_fail
;
25966 resultobj
= SWIG_Py_Void();
25973 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25974 PyObject
*resultobj
= 0;
25975 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25981 PyObject
* obj0
= 0 ;
25982 PyObject
* obj1
= 0 ;
25983 char * kwnames
[] = {
25984 (char *) "self",(char *) "v", NULL
25987 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25988 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25989 if (!SWIG_IsOK(res1
)) {
25990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25992 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25993 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25994 if (!SWIG_IsOK(ecode2
)) {
25995 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
25997 arg2
= static_cast< int >(val2
);
25999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26000 (arg1
)->SetToPage(arg2
);
26001 wxPyEndAllowThreads(__tstate
);
26002 if (PyErr_Occurred()) SWIG_fail
;
26004 resultobj
= SWIG_Py_Void();
26011 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26012 PyObject
*resultobj
= 0;
26013 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26019 PyObject
* obj0
= 0 ;
26020 PyObject
* obj1
= 0 ;
26021 char * kwnames
[] = {
26022 (char *) "self",(char *) "v", NULL
26025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26027 if (!SWIG_IsOK(res1
)) {
26028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26030 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26032 if (!SWIG_IsOK(ecode2
)) {
26033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26035 arg2
= static_cast< int >(val2
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 (arg1
)->SetMinPage(arg2
);
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_Py_Void();
26049 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26057 PyObject
* obj0
= 0 ;
26058 PyObject
* obj1
= 0 ;
26059 char * kwnames
[] = {
26060 (char *) "self",(char *) "v", NULL
26063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26065 if (!SWIG_IsOK(res1
)) {
26066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26068 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26070 if (!SWIG_IsOK(ecode2
)) {
26071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26073 arg2
= static_cast< int >(val2
);
26075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 (arg1
)->SetMaxPage(arg2
);
26077 wxPyEndAllowThreads(__tstate
);
26078 if (PyErr_Occurred()) SWIG_fail
;
26080 resultobj
= SWIG_Py_Void();
26087 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26088 PyObject
*resultobj
= 0;
26089 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26095 PyObject
* obj0
= 0 ;
26096 PyObject
* obj1
= 0 ;
26097 char * kwnames
[] = {
26098 (char *) "self",(char *) "v", NULL
26101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26103 if (!SWIG_IsOK(res1
)) {
26104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26106 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26107 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26108 if (!SWIG_IsOK(ecode2
)) {
26109 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26111 arg2
= static_cast< int >(val2
);
26113 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26114 (arg1
)->SetNoCopies(arg2
);
26115 wxPyEndAllowThreads(__tstate
);
26116 if (PyErr_Occurred()) SWIG_fail
;
26118 resultobj
= SWIG_Py_Void();
26125 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26126 PyObject
*resultobj
= 0;
26127 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26133 PyObject
* obj0
= 0 ;
26134 PyObject
* obj1
= 0 ;
26135 char * kwnames
[] = {
26136 (char *) "self",(char *) "flag", NULL
26139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26141 if (!SWIG_IsOK(res1
)) {
26142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26144 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26145 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26146 if (!SWIG_IsOK(ecode2
)) {
26147 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26149 arg2
= static_cast< bool >(val2
);
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 (arg1
)->SetAllPages(arg2
);
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26156 resultobj
= SWIG_Py_Void();
26163 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26164 PyObject
*resultobj
= 0;
26165 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26171 PyObject
* obj0
= 0 ;
26172 PyObject
* obj1
= 0 ;
26173 char * kwnames
[] = {
26174 (char *) "self",(char *) "flag", NULL
26177 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26178 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26179 if (!SWIG_IsOK(res1
)) {
26180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26182 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26183 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26184 if (!SWIG_IsOK(ecode2
)) {
26185 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26187 arg2
= static_cast< bool >(val2
);
26189 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26190 (arg1
)->SetSelection(arg2
);
26191 wxPyEndAllowThreads(__tstate
);
26192 if (PyErr_Occurred()) SWIG_fail
;
26194 resultobj
= SWIG_Py_Void();
26201 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26202 PyObject
*resultobj
= 0;
26203 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26209 PyObject
* obj0
= 0 ;
26210 PyObject
* obj1
= 0 ;
26211 char * kwnames
[] = {
26212 (char *) "self",(char *) "flag", NULL
26215 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26216 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26217 if (!SWIG_IsOK(res1
)) {
26218 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26220 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26221 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26222 if (!SWIG_IsOK(ecode2
)) {
26223 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26225 arg2
= static_cast< bool >(val2
);
26227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26228 (arg1
)->SetCollate(arg2
);
26229 wxPyEndAllowThreads(__tstate
);
26230 if (PyErr_Occurred()) SWIG_fail
;
26232 resultobj
= SWIG_Py_Void();
26239 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26240 PyObject
*resultobj
= 0;
26241 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26247 PyObject
* obj0
= 0 ;
26248 PyObject
* obj1
= 0 ;
26249 char * kwnames
[] = {
26250 (char *) "self",(char *) "flag", NULL
26253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26255 if (!SWIG_IsOK(res1
)) {
26256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26258 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26259 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26260 if (!SWIG_IsOK(ecode2
)) {
26261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26263 arg2
= static_cast< bool >(val2
);
26265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26266 (arg1
)->SetPrintToFile(arg2
);
26267 wxPyEndAllowThreads(__tstate
);
26268 if (PyErr_Occurred()) SWIG_fail
;
26270 resultobj
= SWIG_Py_Void();
26277 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26278 PyObject
*resultobj
= 0;
26279 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26285 PyObject
* obj0
= 0 ;
26286 PyObject
* obj1
= 0 ;
26287 char * kwnames
[] = {
26288 (char *) "self",(char *) "flag", NULL
26291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26293 if (!SWIG_IsOK(res1
)) {
26294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26296 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26297 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26298 if (!SWIG_IsOK(ecode2
)) {
26299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26301 arg2
= static_cast< bool >(val2
);
26303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26304 (arg1
)->EnablePrintToFile(arg2
);
26305 wxPyEndAllowThreads(__tstate
);
26306 if (PyErr_Occurred()) SWIG_fail
;
26308 resultobj
= SWIG_Py_Void();
26315 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26316 PyObject
*resultobj
= 0;
26317 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26323 PyObject
* obj0
= 0 ;
26324 PyObject
* obj1
= 0 ;
26325 char * kwnames
[] = {
26326 (char *) "self",(char *) "flag", NULL
26329 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26330 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26331 if (!SWIG_IsOK(res1
)) {
26332 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26334 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26335 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26336 if (!SWIG_IsOK(ecode2
)) {
26337 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26339 arg2
= static_cast< bool >(val2
);
26341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26342 (arg1
)->EnableSelection(arg2
);
26343 wxPyEndAllowThreads(__tstate
);
26344 if (PyErr_Occurred()) SWIG_fail
;
26346 resultobj
= SWIG_Py_Void();
26353 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26354 PyObject
*resultobj
= 0;
26355 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26361 PyObject
* obj0
= 0 ;
26362 PyObject
* obj1
= 0 ;
26363 char * kwnames
[] = {
26364 (char *) "self",(char *) "flag", NULL
26367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26369 if (!SWIG_IsOK(res1
)) {
26370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26372 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26373 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26374 if (!SWIG_IsOK(ecode2
)) {
26375 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26377 arg2
= static_cast< bool >(val2
);
26379 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26380 (arg1
)->EnablePageNumbers(arg2
);
26381 wxPyEndAllowThreads(__tstate
);
26382 if (PyErr_Occurred()) SWIG_fail
;
26384 resultobj
= SWIG_Py_Void();
26391 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26392 PyObject
*resultobj
= 0;
26393 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26399 PyObject
* obj0
= 0 ;
26400 PyObject
* obj1
= 0 ;
26401 char * kwnames
[] = {
26402 (char *) "self",(char *) "flag", NULL
26405 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26406 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26407 if (!SWIG_IsOK(res1
)) {
26408 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26410 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26411 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26412 if (!SWIG_IsOK(ecode2
)) {
26413 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26415 arg2
= static_cast< bool >(val2
);
26417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26418 (arg1
)->EnableHelp(arg2
);
26419 wxPyEndAllowThreads(__tstate
);
26420 if (PyErr_Occurred()) SWIG_fail
;
26422 resultobj
= SWIG_Py_Void();
26429 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26430 PyObject
*resultobj
= 0;
26431 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26435 PyObject
*swig_obj
[1] ;
26437 if (!args
) SWIG_fail
;
26438 swig_obj
[0] = args
;
26439 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26440 if (!SWIG_IsOK(res1
)) {
26441 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26443 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26446 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26447 wxPyEndAllowThreads(__tstate
);
26448 if (PyErr_Occurred()) SWIG_fail
;
26451 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26459 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26460 PyObject
*resultobj
= 0;
26461 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26465 PyObject
*swig_obj
[1] ;
26467 if (!args
) SWIG_fail
;
26468 swig_obj
[0] = args
;
26469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26470 if (!SWIG_IsOK(res1
)) {
26471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26473 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26476 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26477 wxPyEndAllowThreads(__tstate
);
26478 if (PyErr_Occurred()) SWIG_fail
;
26481 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26489 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26490 PyObject
*resultobj
= 0;
26491 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26495 PyObject
*swig_obj
[1] ;
26497 if (!args
) SWIG_fail
;
26498 swig_obj
[0] = args
;
26499 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26500 if (!SWIG_IsOK(res1
)) {
26501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26503 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26505 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26506 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26507 wxPyEndAllowThreads(__tstate
);
26508 if (PyErr_Occurred()) SWIG_fail
;
26511 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26519 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26520 PyObject
*resultobj
= 0;
26521 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26525 PyObject
*swig_obj
[1] ;
26527 if (!args
) SWIG_fail
;
26528 swig_obj
[0] = args
;
26529 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26530 if (!SWIG_IsOK(res1
)) {
26531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26533 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26535 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26536 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26537 wxPyEndAllowThreads(__tstate
);
26538 if (PyErr_Occurred()) SWIG_fail
;
26541 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26549 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26550 PyObject
*resultobj
= 0;
26551 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26555 PyObject
*swig_obj
[1] ;
26557 if (!args
) SWIG_fail
;
26558 swig_obj
[0] = args
;
26559 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26560 if (!SWIG_IsOK(res1
)) {
26561 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26563 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26565 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26566 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26567 wxPyEndAllowThreads(__tstate
);
26568 if (PyErr_Occurred()) SWIG_fail
;
26571 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26579 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26580 PyObject
*resultobj
= 0;
26581 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26582 wxPrintData
*result
= 0 ;
26585 PyObject
*swig_obj
[1] ;
26587 if (!args
) SWIG_fail
;
26588 swig_obj
[0] = args
;
26589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26590 if (!SWIG_IsOK(res1
)) {
26591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26593 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26597 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26598 result
= (wxPrintData
*) &_result_ref
;
26600 wxPyEndAllowThreads(__tstate
);
26601 if (PyErr_Occurred()) SWIG_fail
;
26603 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26610 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26611 PyObject
*resultobj
= 0;
26612 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26613 wxPrintData
*arg2
= 0 ;
26618 PyObject
* obj0
= 0 ;
26619 PyObject
* obj1
= 0 ;
26620 char * kwnames
[] = {
26621 (char *) "self",(char *) "printData", NULL
26624 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26625 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26626 if (!SWIG_IsOK(res1
)) {
26627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26629 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26630 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26631 if (!SWIG_IsOK(res2
)) {
26632 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26635 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26637 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26640 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26641 wxPyEndAllowThreads(__tstate
);
26642 if (PyErr_Occurred()) SWIG_fail
;
26644 resultobj
= SWIG_Py_Void();
26651 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26653 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26654 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26655 return SWIG_Py_Void();
26658 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26659 return SWIG_Python_InitShadowInstance(args
);
26662 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26663 PyObject
*resultobj
= 0;
26664 wxWindow
*arg1
= (wxWindow
*) 0 ;
26665 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26666 wxPrintDialog
*result
= 0 ;
26671 PyObject
* obj0
= 0 ;
26672 PyObject
* obj1
= 0 ;
26673 char * kwnames
[] = {
26674 (char *) "parent",(char *) "data", NULL
26677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26679 if (!SWIG_IsOK(res1
)) {
26680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26682 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26684 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26685 if (!SWIG_IsOK(res2
)) {
26686 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26688 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26691 if (!wxPyCheckForApp()) SWIG_fail
;
26692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26693 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26694 wxPyEndAllowThreads(__tstate
);
26695 if (PyErr_Occurred()) SWIG_fail
;
26697 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26704 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26705 PyObject
*resultobj
= 0;
26706 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26710 PyObject
*swig_obj
[1] ;
26712 if (!args
) SWIG_fail
;
26713 swig_obj
[0] = args
;
26714 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26715 if (!SWIG_IsOK(res1
)) {
26716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26718 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26720 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26721 result
= (int)(arg1
)->ShowModal();
26722 wxPyEndAllowThreads(__tstate
);
26723 if (PyErr_Occurred()) SWIG_fail
;
26725 resultobj
= SWIG_From_int(static_cast< int >(result
));
26732 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26733 PyObject
*resultobj
= 0;
26734 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26735 wxPrintDialogData
*result
= 0 ;
26738 PyObject
*swig_obj
[1] ;
26740 if (!args
) SWIG_fail
;
26741 swig_obj
[0] = args
;
26742 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26743 if (!SWIG_IsOK(res1
)) {
26744 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26746 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26750 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
26751 result
= (wxPrintDialogData
*) &_result_ref
;
26753 wxPyEndAllowThreads(__tstate
);
26754 if (PyErr_Occurred()) SWIG_fail
;
26756 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26763 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26764 PyObject
*resultobj
= 0;
26765 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26766 wxPrintData
*result
= 0 ;
26769 PyObject
*swig_obj
[1] ;
26771 if (!args
) SWIG_fail
;
26772 swig_obj
[0] = args
;
26773 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26774 if (!SWIG_IsOK(res1
)) {
26775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26777 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26779 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26781 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26782 result
= (wxPrintData
*) &_result_ref
;
26784 wxPyEndAllowThreads(__tstate
);
26785 if (PyErr_Occurred()) SWIG_fail
;
26787 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26794 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26795 PyObject
*resultobj
= 0;
26796 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26800 PyObject
*swig_obj
[1] ;
26802 if (!args
) SWIG_fail
;
26803 swig_obj
[0] = args
;
26804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
26805 if (!SWIG_IsOK(res1
)) {
26806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
26808 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
26810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26811 result
= (wxDC
*)(arg1
)->GetPrintDC();
26812 wxPyEndAllowThreads(__tstate
);
26813 if (PyErr_Occurred()) SWIG_fail
;
26816 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
26824 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26826 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26827 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
26828 return SWIG_Py_Void();
26831 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26832 return SWIG_Python_InitShadowInstance(args
);
26835 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26836 PyObject
*resultobj
= 0;
26837 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
26838 wxPrinter
*result
= 0 ;
26841 PyObject
* obj0
= 0 ;
26842 char * kwnames
[] = {
26843 (char *) "data", NULL
26846 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
26848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26849 if (!SWIG_IsOK(res1
)) {
26850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26852 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26855 if (!wxPyCheckForApp()) SWIG_fail
;
26856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26857 result
= (wxPrinter
*)new wxPrinter(arg1
);
26858 wxPyEndAllowThreads(__tstate
);
26859 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
26868 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26869 PyObject
*resultobj
= 0;
26870 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26873 PyObject
*swig_obj
[1] ;
26875 if (!args
) SWIG_fail
;
26876 swig_obj
[0] = args
;
26877 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
26878 if (!SWIG_IsOK(res1
)) {
26879 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
26881 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26886 wxPyEndAllowThreads(__tstate
);
26887 if (PyErr_Occurred()) SWIG_fail
;
26889 resultobj
= SWIG_Py_Void();
26896 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26897 PyObject
*resultobj
= 0;
26898 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26899 wxWindow
*arg2
= (wxWindow
*) 0 ;
26900 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26901 wxWindow
*result
= 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 PyObject
* obj2
= 0 ;
26911 char * kwnames
[] = {
26912 (char *) "self",(char *) "parent",(char *) "printout", NULL
26915 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
26916 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26917 if (!SWIG_IsOK(res1
)) {
26918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
26920 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26921 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26922 if (!SWIG_IsOK(res2
)) {
26923 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
26925 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26926 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26927 if (!SWIG_IsOK(res3
)) {
26928 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26930 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26932 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26933 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
26934 wxPyEndAllowThreads(__tstate
);
26935 if (PyErr_Occurred()) SWIG_fail
;
26938 resultobj
= wxPyMake_wxObject(result
, 0);
26946 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26947 PyObject
*resultobj
= 0;
26948 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
26949 wxWindow
*arg2
= (wxWindow
*) 0 ;
26950 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
26951 wxString
*arg4
= 0 ;
26958 bool temp4
= false ;
26959 PyObject
* obj0
= 0 ;
26960 PyObject
* obj1
= 0 ;
26961 PyObject
* obj2
= 0 ;
26962 PyObject
* obj3
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
26972 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
26973 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26974 if (!SWIG_IsOK(res2
)) {
26975 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
26977 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
26978 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
26979 if (!SWIG_IsOK(res3
)) {
26980 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
26982 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
26984 arg4
= wxString_in_helper(obj3
);
26985 if (arg4
== NULL
) SWIG_fail
;
26989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26990 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
26991 wxPyEndAllowThreads(__tstate
);
26992 if (PyErr_Occurred()) SWIG_fail
;
26994 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27012 wxWindow
*arg2
= (wxWindow
*) 0 ;
27018 PyObject
* obj0
= 0 ;
27019 PyObject
* obj1
= 0 ;
27020 char * kwnames
[] = {
27021 (char *) "self",(char *) "parent", NULL
27024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27026 if (!SWIG_IsOK(res1
)) {
27027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27029 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27030 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27031 if (!SWIG_IsOK(res2
)) {
27032 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27034 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27036 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27037 result
= (bool)(arg1
)->Setup(arg2
);
27038 wxPyEndAllowThreads(__tstate
);
27039 if (PyErr_Occurred()) SWIG_fail
;
27042 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27050 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27051 PyObject
*resultobj
= 0;
27052 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27053 wxWindow
*arg2
= (wxWindow
*) 0 ;
27054 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27055 bool arg4
= (bool) true ;
27065 PyObject
* obj0
= 0 ;
27066 PyObject
* obj1
= 0 ;
27067 PyObject
* obj2
= 0 ;
27068 PyObject
* obj3
= 0 ;
27069 char * kwnames
[] = {
27070 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27075 if (!SWIG_IsOK(res1
)) {
27076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27078 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27079 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27080 if (!SWIG_IsOK(res2
)) {
27081 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27083 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27084 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27085 if (!SWIG_IsOK(res3
)) {
27086 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27088 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27090 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27091 if (!SWIG_IsOK(ecode4
)) {
27092 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27094 arg4
= static_cast< bool >(val4
);
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27098 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27099 wxPyEndAllowThreads(__tstate
);
27100 if (PyErr_Occurred()) SWIG_fail
;
27103 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27111 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27112 PyObject
*resultobj
= 0;
27113 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27114 wxWindow
*arg2
= (wxWindow
*) 0 ;
27120 PyObject
* obj0
= 0 ;
27121 PyObject
* obj1
= 0 ;
27122 char * kwnames
[] = {
27123 (char *) "self",(char *) "parent", NULL
27126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27128 if (!SWIG_IsOK(res1
)) {
27129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27131 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27132 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27133 if (!SWIG_IsOK(res2
)) {
27134 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27136 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27138 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27139 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27140 wxPyEndAllowThreads(__tstate
);
27141 if (PyErr_Occurred()) SWIG_fail
;
27144 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27152 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27153 PyObject
*resultobj
= 0;
27154 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27155 wxPrintDialogData
*result
= 0 ;
27158 PyObject
*swig_obj
[1] ;
27160 if (!args
) SWIG_fail
;
27161 swig_obj
[0] = args
;
27162 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27163 if (!SWIG_IsOK(res1
)) {
27164 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27166 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27168 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27170 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27171 result
= (wxPrintDialogData
*) &_result_ref
;
27173 wxPyEndAllowThreads(__tstate
);
27174 if (PyErr_Occurred()) SWIG_fail
;
27176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27183 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27184 PyObject
*resultobj
= 0;
27185 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27189 PyObject
*swig_obj
[1] ;
27191 if (!args
) SWIG_fail
;
27192 swig_obj
[0] = args
;
27193 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27194 if (!SWIG_IsOK(res1
)) {
27195 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27197 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27200 result
= (bool)(arg1
)->GetAbort();
27201 wxPyEndAllowThreads(__tstate
);
27202 if (PyErr_Occurred()) SWIG_fail
;
27205 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27213 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27214 PyObject
*resultobj
= 0;
27215 wxPrinterError result
;
27217 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27220 result
= (wxPrinterError
)wxPrinter::GetLastError();
27221 wxPyEndAllowThreads(__tstate
);
27222 if (PyErr_Occurred()) SWIG_fail
;
27224 resultobj
= SWIG_From_int(static_cast< int >(result
));
27231 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27233 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27234 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27235 return SWIG_Py_Void();
27238 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27239 return SWIG_Python_InitShadowInstance(args
);
27242 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27243 PyObject
*resultobj
= 0;
27244 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27245 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27246 wxPyPrintout
*result
= 0 ;
27247 bool temp1
= false ;
27248 PyObject
* obj0
= 0 ;
27249 char * kwnames
[] = {
27250 (char *) "title", NULL
27253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27256 arg1
= wxString_in_helper(obj0
);
27257 if (arg1
== NULL
) SWIG_fail
;
27262 if (!wxPyCheckForApp()) SWIG_fail
;
27263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27264 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27265 wxPyEndAllowThreads(__tstate
);
27266 if (PyErr_Occurred()) SWIG_fail
;
27268 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27283 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27284 PyObject
*resultobj
= 0;
27285 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27288 PyObject
*swig_obj
[1] ;
27290 if (!args
) SWIG_fail
;
27291 swig_obj
[0] = args
;
27292 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27293 if (!SWIG_IsOK(res1
)) {
27294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27296 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27298 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27301 wxPyEndAllowThreads(__tstate
);
27302 if (PyErr_Occurred()) SWIG_fail
;
27304 resultobj
= SWIG_Py_Void();
27311 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27312 PyObject
*resultobj
= 0;
27313 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27314 PyObject
*arg2
= (PyObject
*) 0 ;
27315 PyObject
*arg3
= (PyObject
*) 0 ;
27318 PyObject
* obj0
= 0 ;
27319 PyObject
* obj1
= 0 ;
27320 PyObject
* obj2
= 0 ;
27321 char * kwnames
[] = {
27322 (char *) "self",(char *) "self",(char *) "_class", NULL
27325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27327 if (!SWIG_IsOK(res1
)) {
27328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27330 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27335 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27336 wxPyEndAllowThreads(__tstate
);
27337 if (PyErr_Occurred()) SWIG_fail
;
27339 resultobj
= SWIG_Py_Void();
27346 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27347 PyObject
*resultobj
= 0;
27348 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27352 PyObject
*swig_obj
[1] ;
27354 if (!args
) SWIG_fail
;
27355 swig_obj
[0] = args
;
27356 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27357 if (!SWIG_IsOK(res1
)) {
27358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27360 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27363 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27364 wxPyEndAllowThreads(__tstate
);
27365 if (PyErr_Occurred()) SWIG_fail
;
27369 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27371 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27380 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27381 PyObject
*resultobj
= 0;
27382 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27386 PyObject
*swig_obj
[1] ;
27388 if (!args
) SWIG_fail
;
27389 swig_obj
[0] = args
;
27390 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27391 if (!SWIG_IsOK(res1
)) {
27392 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27394 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27397 result
= (wxDC
*)(arg1
)->GetDC();
27398 wxPyEndAllowThreads(__tstate
);
27399 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27410 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27411 PyObject
*resultobj
= 0;
27412 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27413 wxDC
*arg2
= (wxDC
*) 0 ;
27418 PyObject
* obj0
= 0 ;
27419 PyObject
* obj1
= 0 ;
27420 char * kwnames
[] = {
27421 (char *) "self",(char *) "dc", NULL
27424 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27425 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27426 if (!SWIG_IsOK(res1
)) {
27427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27429 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27430 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27431 if (!SWIG_IsOK(res2
)) {
27432 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27434 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27437 (arg1
)->SetDC(arg2
);
27438 wxPyEndAllowThreads(__tstate
);
27439 if (PyErr_Occurred()) SWIG_fail
;
27441 resultobj
= SWIG_Py_Void();
27448 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27449 PyObject
*resultobj
= 0;
27450 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27459 PyObject
* obj0
= 0 ;
27460 PyObject
* obj1
= 0 ;
27461 PyObject
* obj2
= 0 ;
27462 char * kwnames
[] = {
27463 (char *) "self",(char *) "w",(char *) "h", NULL
27466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27468 if (!SWIG_IsOK(res1
)) {
27469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27471 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27472 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27473 if (!SWIG_IsOK(ecode2
)) {
27474 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27476 arg2
= static_cast< int >(val2
);
27477 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27478 if (!SWIG_IsOK(ecode3
)) {
27479 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27481 arg3
= static_cast< int >(val3
);
27483 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27484 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27485 wxPyEndAllowThreads(__tstate
);
27486 if (PyErr_Occurred()) SWIG_fail
;
27488 resultobj
= SWIG_Py_Void();
27495 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27496 PyObject
*resultobj
= 0;
27497 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27498 int *arg2
= (int *) 0 ;
27499 int *arg3
= (int *) 0 ;
27503 int res2
= SWIG_TMPOBJ
;
27505 int res3
= SWIG_TMPOBJ
;
27506 PyObject
*swig_obj
[1] ;
27510 if (!args
) SWIG_fail
;
27511 swig_obj
[0] = args
;
27512 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27513 if (!SWIG_IsOK(res1
)) {
27514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27516 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27519 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27520 wxPyEndAllowThreads(__tstate
);
27521 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= SWIG_Py_Void();
27524 if (SWIG_IsTmpObj(res2
)) {
27525 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27527 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27528 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27530 if (SWIG_IsTmpObj(res3
)) {
27531 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27533 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27534 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27542 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
= 0;
27544 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27553 PyObject
* obj0
= 0 ;
27554 PyObject
* obj1
= 0 ;
27555 PyObject
* obj2
= 0 ;
27556 char * kwnames
[] = {
27557 (char *) "self",(char *) "w",(char *) "h", NULL
27560 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27561 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27562 if (!SWIG_IsOK(res1
)) {
27563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27565 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27566 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27567 if (!SWIG_IsOK(ecode2
)) {
27568 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27570 arg2
= static_cast< int >(val2
);
27571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27572 if (!SWIG_IsOK(ecode3
)) {
27573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27575 arg3
= static_cast< int >(val3
);
27577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27578 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27579 wxPyEndAllowThreads(__tstate
);
27580 if (PyErr_Occurred()) SWIG_fail
;
27582 resultobj
= SWIG_Py_Void();
27589 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27590 PyObject
*resultobj
= 0;
27591 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27592 int *arg2
= (int *) 0 ;
27593 int *arg3
= (int *) 0 ;
27597 int res2
= SWIG_TMPOBJ
;
27599 int res3
= SWIG_TMPOBJ
;
27600 PyObject
*swig_obj
[1] ;
27604 if (!args
) SWIG_fail
;
27605 swig_obj
[0] = args
;
27606 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27607 if (!SWIG_IsOK(res1
)) {
27608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27610 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27613 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27614 wxPyEndAllowThreads(__tstate
);
27615 if (PyErr_Occurred()) SWIG_fail
;
27617 resultobj
= SWIG_Py_Void();
27618 if (SWIG_IsTmpObj(res2
)) {
27619 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27621 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27622 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27624 if (SWIG_IsTmpObj(res3
)) {
27625 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27627 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27628 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27636 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27637 PyObject
*resultobj
= 0;
27638 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27647 PyObject
* obj0
= 0 ;
27648 PyObject
* obj1
= 0 ;
27649 PyObject
* obj2
= 0 ;
27650 char * kwnames
[] = {
27651 (char *) "self",(char *) "x",(char *) "y", NULL
27654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27656 if (!SWIG_IsOK(res1
)) {
27657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27659 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27660 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27661 if (!SWIG_IsOK(ecode2
)) {
27662 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27664 arg2
= static_cast< int >(val2
);
27665 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27666 if (!SWIG_IsOK(ecode3
)) {
27667 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27669 arg3
= static_cast< int >(val3
);
27671 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27672 (arg1
)->SetPPIScreen(arg2
,arg3
);
27673 wxPyEndAllowThreads(__tstate
);
27674 if (PyErr_Occurred()) SWIG_fail
;
27676 resultobj
= SWIG_Py_Void();
27683 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27684 PyObject
*resultobj
= 0;
27685 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27686 int *arg2
= (int *) 0 ;
27687 int *arg3
= (int *) 0 ;
27691 int res2
= SWIG_TMPOBJ
;
27693 int res3
= SWIG_TMPOBJ
;
27694 PyObject
*swig_obj
[1] ;
27698 if (!args
) SWIG_fail
;
27699 swig_obj
[0] = args
;
27700 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27701 if (!SWIG_IsOK(res1
)) {
27702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27704 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27707 (arg1
)->GetPPIScreen(arg2
,arg3
);
27708 wxPyEndAllowThreads(__tstate
);
27709 if (PyErr_Occurred()) SWIG_fail
;
27711 resultobj
= SWIG_Py_Void();
27712 if (SWIG_IsTmpObj(res2
)) {
27713 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27715 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27716 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27718 if (SWIG_IsTmpObj(res3
)) {
27719 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27721 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27722 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27730 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27731 PyObject
*resultobj
= 0;
27732 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27741 PyObject
* obj0
= 0 ;
27742 PyObject
* obj1
= 0 ;
27743 PyObject
* obj2
= 0 ;
27744 char * kwnames
[] = {
27745 (char *) "self",(char *) "x",(char *) "y", NULL
27748 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27749 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27750 if (!SWIG_IsOK(res1
)) {
27751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27753 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27754 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27755 if (!SWIG_IsOK(ecode2
)) {
27756 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
27758 arg2
= static_cast< int >(val2
);
27759 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27760 if (!SWIG_IsOK(ecode3
)) {
27761 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
27763 arg3
= static_cast< int >(val3
);
27765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27766 (arg1
)->SetPPIPrinter(arg2
,arg3
);
27767 wxPyEndAllowThreads(__tstate
);
27768 if (PyErr_Occurred()) SWIG_fail
;
27770 resultobj
= SWIG_Py_Void();
27777 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27778 PyObject
*resultobj
= 0;
27779 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27780 int *arg2
= (int *) 0 ;
27781 int *arg3
= (int *) 0 ;
27785 int res2
= SWIG_TMPOBJ
;
27787 int res3
= SWIG_TMPOBJ
;
27788 PyObject
*swig_obj
[1] ;
27792 if (!args
) SWIG_fail
;
27793 swig_obj
[0] = args
;
27794 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27795 if (!SWIG_IsOK(res1
)) {
27796 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27798 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27801 (arg1
)->GetPPIPrinter(arg2
,arg3
);
27802 wxPyEndAllowThreads(__tstate
);
27803 if (PyErr_Occurred()) SWIG_fail
;
27805 resultobj
= SWIG_Py_Void();
27806 if (SWIG_IsTmpObj(res2
)) {
27807 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27809 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27810 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27812 if (SWIG_IsTmpObj(res3
)) {
27813 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27815 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27816 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27824 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27825 PyObject
*resultobj
= 0;
27826 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27830 PyObject
*swig_obj
[1] ;
27832 if (!args
) SWIG_fail
;
27833 swig_obj
[0] = args
;
27834 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27835 if (!SWIG_IsOK(res1
)) {
27836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27838 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27841 result
= (bool)(arg1
)->IsPreview();
27842 wxPyEndAllowThreads(__tstate
);
27843 if (PyErr_Occurred()) SWIG_fail
;
27846 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27854 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27855 PyObject
*resultobj
= 0;
27856 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27862 PyObject
* obj0
= 0 ;
27863 PyObject
* obj1
= 0 ;
27864 char * kwnames
[] = {
27865 (char *) "self",(char *) "p", NULL
27868 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27869 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27870 if (!SWIG_IsOK(res1
)) {
27871 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27873 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27874 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27875 if (!SWIG_IsOK(ecode2
)) {
27876 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
27878 arg2
= static_cast< bool >(val2
);
27880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27881 (arg1
)->SetIsPreview(arg2
);
27882 wxPyEndAllowThreads(__tstate
);
27883 if (PyErr_Occurred()) SWIG_fail
;
27885 resultobj
= SWIG_Py_Void();
27892 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27893 PyObject
*resultobj
= 0;
27894 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27904 PyObject
* obj0
= 0 ;
27905 PyObject
* obj1
= 0 ;
27906 PyObject
* obj2
= 0 ;
27907 char * kwnames
[] = {
27908 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
27911 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27912 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27913 if (!SWIG_IsOK(res1
)) {
27914 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27916 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27917 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27918 if (!SWIG_IsOK(ecode2
)) {
27919 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
27921 arg2
= static_cast< int >(val2
);
27922 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27923 if (!SWIG_IsOK(ecode3
)) {
27924 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
27926 arg3
= static_cast< int >(val3
);
27928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27929 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
27930 wxPyEndAllowThreads(__tstate
);
27931 if (PyErr_Occurred()) SWIG_fail
;
27934 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27942 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27943 PyObject
*resultobj
= 0;
27944 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27947 PyObject
*swig_obj
[1] ;
27949 if (!args
) SWIG_fail
;
27950 swig_obj
[0] = args
;
27951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27952 if (!SWIG_IsOK(res1
)) {
27953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27955 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27958 (arg1
)->OnEndDocument();
27959 wxPyEndAllowThreads(__tstate
);
27960 if (PyErr_Occurred()) SWIG_fail
;
27962 resultobj
= SWIG_Py_Void();
27969 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27970 PyObject
*resultobj
= 0;
27971 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27974 PyObject
*swig_obj
[1] ;
27976 if (!args
) SWIG_fail
;
27977 swig_obj
[0] = args
;
27978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27979 if (!SWIG_IsOK(res1
)) {
27980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27982 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27985 (arg1
)->OnBeginPrinting();
27986 wxPyEndAllowThreads(__tstate
);
27987 if (PyErr_Occurred()) SWIG_fail
;
27989 resultobj
= SWIG_Py_Void();
27996 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27997 PyObject
*resultobj
= 0;
27998 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28001 PyObject
*swig_obj
[1] ;
28003 if (!args
) SWIG_fail
;
28004 swig_obj
[0] = args
;
28005 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28006 if (!SWIG_IsOK(res1
)) {
28007 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28009 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28011 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28012 (arg1
)->OnEndPrinting();
28013 wxPyEndAllowThreads(__tstate
);
28014 if (PyErr_Occurred()) SWIG_fail
;
28016 resultobj
= SWIG_Py_Void();
28023 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28024 PyObject
*resultobj
= 0;
28025 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28028 PyObject
*swig_obj
[1] ;
28030 if (!args
) SWIG_fail
;
28031 swig_obj
[0] = args
;
28032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28033 if (!SWIG_IsOK(res1
)) {
28034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28036 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28039 (arg1
)->OnPreparePrinting();
28040 wxPyEndAllowThreads(__tstate
);
28041 if (PyErr_Occurred()) SWIG_fail
;
28043 resultobj
= SWIG_Py_Void();
28050 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28051 PyObject
*resultobj
= 0;
28052 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 char * kwnames
[] = {
28062 (char *) "self",(char *) "page", NULL
28065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28067 if (!SWIG_IsOK(res1
)) {
28068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28070 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28071 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28072 if (!SWIG_IsOK(ecode2
)) {
28073 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28075 arg2
= static_cast< int >(val2
);
28077 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28078 result
= (bool)(arg1
)->HasPage(arg2
);
28079 wxPyEndAllowThreads(__tstate
);
28080 if (PyErr_Occurred()) SWIG_fail
;
28083 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28091 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28092 PyObject
*resultobj
= 0;
28093 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28094 int *arg2
= (int *) 0 ;
28095 int *arg3
= (int *) 0 ;
28096 int *arg4
= (int *) 0 ;
28097 int *arg5
= (int *) 0 ;
28101 int res2
= SWIG_TMPOBJ
;
28103 int res3
= SWIG_TMPOBJ
;
28105 int res4
= SWIG_TMPOBJ
;
28107 int res5
= SWIG_TMPOBJ
;
28108 PyObject
*swig_obj
[1] ;
28114 if (!args
) SWIG_fail
;
28115 swig_obj
[0] = args
;
28116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28117 if (!SWIG_IsOK(res1
)) {
28118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28120 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28123 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28124 wxPyEndAllowThreads(__tstate
);
28125 if (PyErr_Occurred()) SWIG_fail
;
28127 resultobj
= SWIG_Py_Void();
28128 if (SWIG_IsTmpObj(res2
)) {
28129 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28131 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28132 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28134 if (SWIG_IsTmpObj(res3
)) {
28135 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28137 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28138 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28140 if (SWIG_IsTmpObj(res4
)) {
28141 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28143 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28144 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28146 if (SWIG_IsTmpObj(res5
)) {
28147 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28149 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28150 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28158 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28160 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28161 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28162 return SWIG_Py_Void();
28165 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28166 return SWIG_Python_InitShadowInstance(args
);
28169 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28170 PyObject
*resultobj
= 0;
28171 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28172 wxWindow
*arg2
= (wxWindow
*) 0 ;
28173 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28174 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28175 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28176 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28177 long arg5
= (long) 0 ;
28178 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28179 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28180 wxPreviewCanvas
*result
= 0 ;
28189 bool temp6
= false ;
28190 PyObject
* obj0
= 0 ;
28191 PyObject
* obj1
= 0 ;
28192 PyObject
* obj2
= 0 ;
28193 PyObject
* obj3
= 0 ;
28194 PyObject
* obj4
= 0 ;
28195 PyObject
* obj5
= 0 ;
28196 char * kwnames
[] = {
28197 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28200 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28201 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28202 if (!SWIG_IsOK(res1
)) {
28203 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28205 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28206 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28207 if (!SWIG_IsOK(res2
)) {
28208 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28210 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28214 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28220 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28224 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28225 if (!SWIG_IsOK(ecode5
)) {
28226 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28228 arg5
= static_cast< long >(val5
);
28232 arg6
= wxString_in_helper(obj5
);
28233 if (arg6
== NULL
) SWIG_fail
;
28238 if (!wxPyCheckForApp()) SWIG_fail
;
28239 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28240 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28241 wxPyEndAllowThreads(__tstate
);
28242 if (PyErr_Occurred()) SWIG_fail
;
28244 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28259 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28261 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28262 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28263 return SWIG_Py_Void();
28266 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28267 return SWIG_Python_InitShadowInstance(args
);
28270 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28271 PyObject
*resultobj
= 0;
28272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28273 wxFrame
*arg2
= (wxFrame
*) 0 ;
28274 wxString
*arg3
= 0 ;
28275 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28276 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28277 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28278 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28279 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28280 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28281 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28282 wxPreviewFrame
*result
= 0 ;
28286 bool temp3
= false ;
28291 bool temp7
= false ;
28292 PyObject
* obj0
= 0 ;
28293 PyObject
* obj1
= 0 ;
28294 PyObject
* obj2
= 0 ;
28295 PyObject
* obj3
= 0 ;
28296 PyObject
* obj4
= 0 ;
28297 PyObject
* obj5
= 0 ;
28298 PyObject
* obj6
= 0 ;
28299 char * kwnames
[] = {
28300 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28303 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28304 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28305 if (!SWIG_IsOK(res1
)) {
28306 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28308 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28309 if (!SWIG_IsOK(res2
)) {
28310 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28312 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28314 arg3
= wxString_in_helper(obj2
);
28315 if (arg3
== NULL
) SWIG_fail
;
28321 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28327 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28331 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28332 if (!SWIG_IsOK(ecode6
)) {
28333 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28335 arg6
= static_cast< long >(val6
);
28339 arg7
= wxString_in_helper(obj6
);
28340 if (arg7
== NULL
) SWIG_fail
;
28345 if (!wxPyCheckForApp()) SWIG_fail
;
28346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28347 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28348 wxPyEndAllowThreads(__tstate
);
28349 if (PyErr_Occurred()) SWIG_fail
;
28351 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28374 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28375 PyObject
*resultobj
= 0;
28376 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28379 PyObject
*swig_obj
[1] ;
28381 if (!args
) SWIG_fail
;
28382 swig_obj
[0] = args
;
28383 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28384 if (!SWIG_IsOK(res1
)) {
28385 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28387 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28390 (arg1
)->Initialize();
28391 wxPyEndAllowThreads(__tstate
);
28392 if (PyErr_Occurred()) SWIG_fail
;
28394 resultobj
= SWIG_Py_Void();
28401 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28402 PyObject
*resultobj
= 0;
28403 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28406 PyObject
*swig_obj
[1] ;
28408 if (!args
) SWIG_fail
;
28409 swig_obj
[0] = args
;
28410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28411 if (!SWIG_IsOK(res1
)) {
28412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28414 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28417 (arg1
)->CreateControlBar();
28418 wxPyEndAllowThreads(__tstate
);
28419 if (PyErr_Occurred()) SWIG_fail
;
28421 resultobj
= SWIG_Py_Void();
28428 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28429 PyObject
*resultobj
= 0;
28430 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28433 PyObject
*swig_obj
[1] ;
28435 if (!args
) SWIG_fail
;
28436 swig_obj
[0] = args
;
28437 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28438 if (!SWIG_IsOK(res1
)) {
28439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28441 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28444 (arg1
)->CreateCanvas();
28445 wxPyEndAllowThreads(__tstate
);
28446 if (PyErr_Occurred()) SWIG_fail
;
28448 resultobj
= SWIG_Py_Void();
28455 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28456 PyObject
*resultobj
= 0;
28457 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28458 wxPreviewControlBar
*result
= 0 ;
28461 PyObject
*swig_obj
[1] ;
28463 if (!args
) SWIG_fail
;
28464 swig_obj
[0] = args
;
28465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28466 if (!SWIG_IsOK(res1
)) {
28467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28469 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28472 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28473 wxPyEndAllowThreads(__tstate
);
28474 if (PyErr_Occurred()) SWIG_fail
;
28476 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28483 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28485 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28486 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28487 return SWIG_Py_Void();
28490 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28491 return SWIG_Python_InitShadowInstance(args
);
28494 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28495 PyObject
*resultobj
= 0;
28496 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28498 wxWindow
*arg3
= (wxWindow
*) 0 ;
28499 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28500 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28501 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28502 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28503 long arg6
= (long) wxTAB_TRAVERSAL
;
28504 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28505 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28506 wxPreviewControlBar
*result
= 0 ;
28517 bool temp7
= false ;
28518 PyObject
* obj0
= 0 ;
28519 PyObject
* obj1
= 0 ;
28520 PyObject
* obj2
= 0 ;
28521 PyObject
* obj3
= 0 ;
28522 PyObject
* obj4
= 0 ;
28523 PyObject
* obj5
= 0 ;
28524 PyObject
* obj6
= 0 ;
28525 char * kwnames
[] = {
28526 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28531 if (!SWIG_IsOK(res1
)) {
28532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28534 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28535 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28536 if (!SWIG_IsOK(ecode2
)) {
28537 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28539 arg2
= static_cast< long >(val2
);
28540 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28541 if (!SWIG_IsOK(res3
)) {
28542 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28544 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28548 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28554 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28558 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28559 if (!SWIG_IsOK(ecode6
)) {
28560 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28562 arg6
= static_cast< long >(val6
);
28566 arg7
= wxString_in_helper(obj6
);
28567 if (arg7
== NULL
) SWIG_fail
;
28572 if (!wxPyCheckForApp()) SWIG_fail
;
28573 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28574 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28575 wxPyEndAllowThreads(__tstate
);
28576 if (PyErr_Occurred()) SWIG_fail
;
28578 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28593 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28594 PyObject
*resultobj
= 0;
28595 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28599 PyObject
*swig_obj
[1] ;
28601 if (!args
) SWIG_fail
;
28602 swig_obj
[0] = args
;
28603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28604 if (!SWIG_IsOK(res1
)) {
28605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28607 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28610 result
= (int)(arg1
)->GetZoomControl();
28611 wxPyEndAllowThreads(__tstate
);
28612 if (PyErr_Occurred()) SWIG_fail
;
28614 resultobj
= SWIG_From_int(static_cast< int >(result
));
28621 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28622 PyObject
*resultobj
= 0;
28623 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28629 PyObject
* obj0
= 0 ;
28630 PyObject
* obj1
= 0 ;
28631 char * kwnames
[] = {
28632 (char *) "self",(char *) "zoom", NULL
28635 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28636 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28637 if (!SWIG_IsOK(res1
)) {
28638 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28640 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28641 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28642 if (!SWIG_IsOK(ecode2
)) {
28643 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28645 arg2
= static_cast< int >(val2
);
28647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28648 (arg1
)->SetZoomControl(arg2
);
28649 wxPyEndAllowThreads(__tstate
);
28650 if (PyErr_Occurred()) SWIG_fail
;
28652 resultobj
= SWIG_Py_Void();
28659 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28660 PyObject
*resultobj
= 0;
28661 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28662 wxPrintPreview
*result
= 0 ;
28665 PyObject
*swig_obj
[1] ;
28667 if (!args
) SWIG_fail
;
28668 swig_obj
[0] = args
;
28669 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28670 if (!SWIG_IsOK(res1
)) {
28671 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28673 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28676 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28677 wxPyEndAllowThreads(__tstate
);
28678 if (PyErr_Occurred()) SWIG_fail
;
28680 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28687 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28688 PyObject
*resultobj
= 0;
28689 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28692 PyObject
*swig_obj
[1] ;
28694 if (!args
) SWIG_fail
;
28695 swig_obj
[0] = args
;
28696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28697 if (!SWIG_IsOK(res1
)) {
28698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28700 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28704 wxPyEndAllowThreads(__tstate
);
28705 if (PyErr_Occurred()) SWIG_fail
;
28707 resultobj
= SWIG_Py_Void();
28714 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28715 PyObject
*resultobj
= 0;
28716 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28719 PyObject
*swig_obj
[1] ;
28721 if (!args
) SWIG_fail
;
28722 swig_obj
[0] = args
;
28723 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28724 if (!SWIG_IsOK(res1
)) {
28725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28727 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28729 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28730 (arg1
)->OnPrevious();
28731 wxPyEndAllowThreads(__tstate
);
28732 if (PyErr_Occurred()) SWIG_fail
;
28734 resultobj
= SWIG_Py_Void();
28741 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28742 PyObject
*resultobj
= 0;
28743 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28746 PyObject
*swig_obj
[1] ;
28748 if (!args
) SWIG_fail
;
28749 swig_obj
[0] = args
;
28750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28751 if (!SWIG_IsOK(res1
)) {
28752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28754 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28758 wxPyEndAllowThreads(__tstate
);
28759 if (PyErr_Occurred()) SWIG_fail
;
28761 resultobj
= SWIG_Py_Void();
28768 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28769 PyObject
*resultobj
= 0;
28770 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28773 PyObject
*swig_obj
[1] ;
28775 if (!args
) SWIG_fail
;
28776 swig_obj
[0] = args
;
28777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28778 if (!SWIG_IsOK(res1
)) {
28779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28781 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28785 wxPyEndAllowThreads(__tstate
);
28786 if (PyErr_Occurred()) SWIG_fail
;
28788 resultobj
= SWIG_Py_Void();
28795 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28796 PyObject
*resultobj
= 0;
28797 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28800 PyObject
*swig_obj
[1] ;
28802 if (!args
) SWIG_fail
;
28803 swig_obj
[0] = args
;
28804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28805 if (!SWIG_IsOK(res1
)) {
28806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28808 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28812 wxPyEndAllowThreads(__tstate
);
28813 if (PyErr_Occurred()) SWIG_fail
;
28815 resultobj
= SWIG_Py_Void();
28822 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28824 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28825 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
28826 return SWIG_Py_Void();
28829 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28830 return SWIG_Python_InitShadowInstance(args
);
28833 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28834 PyObject
*resultobj
= 0;
28835 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28836 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28837 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
28838 wxPrintPreview
*result
= 0 ;
28844 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
28845 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28846 if (!SWIG_IsOK(res1
)) {
28847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28849 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28850 if (!SWIG_IsOK(res2
)) {
28851 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28854 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
28855 if (!SWIG_IsOK(res3
)) {
28856 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
28858 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
28861 if (!wxPyCheckForApp()) SWIG_fail
;
28862 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28863 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28864 wxPyEndAllowThreads(__tstate
);
28865 if (PyErr_Occurred()) SWIG_fail
;
28867 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28874 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
28875 PyObject
*resultobj
= 0;
28876 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28877 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
28878 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
28879 wxPrintPreview
*result
= 0 ;
28885 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
28886 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28887 if (!SWIG_IsOK(res1
)) {
28888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28890 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
28891 if (!SWIG_IsOK(res2
)) {
28892 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
28894 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
28895 if (!SWIG_IsOK(res3
)) {
28896 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
28898 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
28900 if (!wxPyCheckForApp()) SWIG_fail
;
28901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28902 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
28903 wxPyEndAllowThreads(__tstate
);
28904 if (PyErr_Occurred()) SWIG_fail
;
28906 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
28913 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
28917 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
28919 if ((argc
>= 2) && (argc
<= 3)) {
28924 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
28925 _v
= SWIG_CheckState(res
);
28927 if (!_v
) goto check_1
;
28929 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
28934 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
28938 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
28943 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28944 PyObject
*resultobj
= 0;
28945 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28948 PyObject
*swig_obj
[1] ;
28950 if (!args
) SWIG_fail
;
28951 swig_obj
[0] = args
;
28952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28953 if (!SWIG_IsOK(res1
)) {
28954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28956 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28961 wxPyEndAllowThreads(__tstate
);
28962 if (PyErr_Occurred()) SWIG_fail
;
28964 resultobj
= SWIG_Py_Void();
28971 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28972 PyObject
*resultobj
= 0;
28973 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28980 PyObject
* obj0
= 0 ;
28981 PyObject
* obj1
= 0 ;
28982 char * kwnames
[] = {
28983 (char *) "self",(char *) "pageNum", NULL
28986 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28987 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28988 if (!SWIG_IsOK(res1
)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28991 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28992 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28993 if (!SWIG_IsOK(ecode2
)) {
28994 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
28996 arg2
= static_cast< int >(val2
);
28998 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28999 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29000 wxPyEndAllowThreads(__tstate
);
29001 if (PyErr_Occurred()) SWIG_fail
;
29004 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29012 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29013 PyObject
*resultobj
= 0;
29014 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29018 PyObject
*swig_obj
[1] ;
29020 if (!args
) SWIG_fail
;
29021 swig_obj
[0] = args
;
29022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29023 if (!SWIG_IsOK(res1
)) {
29024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29026 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29029 result
= (int)(arg1
)->GetCurrentPage();
29030 wxPyEndAllowThreads(__tstate
);
29031 if (PyErr_Occurred()) SWIG_fail
;
29033 resultobj
= SWIG_From_int(static_cast< int >(result
));
29040 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29041 PyObject
*resultobj
= 0;
29042 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29043 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29047 PyObject
* obj0
= 0 ;
29048 PyObject
* obj1
= 0 ;
29049 char * kwnames
[] = {
29050 (char *) "self",(char *) "printout", NULL
29053 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29054 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29055 if (!SWIG_IsOK(res1
)) {
29056 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29058 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29059 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29060 if (!SWIG_IsOK(res2
)) {
29061 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29064 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29065 (arg1
)->SetPrintout(arg2
);
29066 wxPyEndAllowThreads(__tstate
);
29067 if (PyErr_Occurred()) SWIG_fail
;
29069 resultobj
= SWIG_Py_Void();
29076 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29077 PyObject
*resultobj
= 0;
29078 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29079 wxPyPrintout
*result
= 0 ;
29082 PyObject
*swig_obj
[1] ;
29084 if (!args
) SWIG_fail
;
29085 swig_obj
[0] = args
;
29086 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29087 if (!SWIG_IsOK(res1
)) {
29088 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29090 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29093 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29094 wxPyEndAllowThreads(__tstate
);
29095 if (PyErr_Occurred()) SWIG_fail
;
29098 resultobj
= wxPyMake_wxObject(result
, 0);
29106 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29107 PyObject
*resultobj
= 0;
29108 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29109 wxPyPrintout
*result
= 0 ;
29112 PyObject
*swig_obj
[1] ;
29114 if (!args
) SWIG_fail
;
29115 swig_obj
[0] = args
;
29116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29117 if (!SWIG_IsOK(res1
)) {
29118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29120 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29123 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29124 wxPyEndAllowThreads(__tstate
);
29125 if (PyErr_Occurred()) SWIG_fail
;
29128 resultobj
= wxPyMake_wxObject(result
, 0);
29136 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29137 PyObject
*resultobj
= 0;
29138 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29139 wxFrame
*arg2
= (wxFrame
*) 0 ;
29144 PyObject
* obj0
= 0 ;
29145 PyObject
* obj1
= 0 ;
29146 char * kwnames
[] = {
29147 (char *) "self",(char *) "frame", NULL
29150 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29151 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29152 if (!SWIG_IsOK(res1
)) {
29153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29155 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29156 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29157 if (!SWIG_IsOK(res2
)) {
29158 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29160 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29162 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29163 (arg1
)->SetFrame(arg2
);
29164 wxPyEndAllowThreads(__tstate
);
29165 if (PyErr_Occurred()) SWIG_fail
;
29167 resultobj
= SWIG_Py_Void();
29174 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29175 PyObject
*resultobj
= 0;
29176 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29177 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29182 PyObject
* obj0
= 0 ;
29183 PyObject
* obj1
= 0 ;
29184 char * kwnames
[] = {
29185 (char *) "self",(char *) "canvas", NULL
29188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29190 if (!SWIG_IsOK(res1
)) {
29191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29193 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29194 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29195 if (!SWIG_IsOK(res2
)) {
29196 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29198 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29201 (arg1
)->SetCanvas(arg2
);
29202 wxPyEndAllowThreads(__tstate
);
29203 if (PyErr_Occurred()) SWIG_fail
;
29205 resultobj
= SWIG_Py_Void();
29212 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29213 PyObject
*resultobj
= 0;
29214 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29215 wxFrame
*result
= 0 ;
29218 PyObject
*swig_obj
[1] ;
29220 if (!args
) SWIG_fail
;
29221 swig_obj
[0] = args
;
29222 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29223 if (!SWIG_IsOK(res1
)) {
29224 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29226 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29229 result
= (wxFrame
*)(arg1
)->GetFrame();
29230 wxPyEndAllowThreads(__tstate
);
29231 if (PyErr_Occurred()) SWIG_fail
;
29234 resultobj
= wxPyMake_wxObject(result
, 0);
29242 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29243 PyObject
*resultobj
= 0;
29244 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29245 wxPreviewCanvas
*result
= 0 ;
29248 PyObject
*swig_obj
[1] ;
29250 if (!args
) SWIG_fail
;
29251 swig_obj
[0] = args
;
29252 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29253 if (!SWIG_IsOK(res1
)) {
29254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29256 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29259 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29260 wxPyEndAllowThreads(__tstate
);
29261 if (PyErr_Occurred()) SWIG_fail
;
29263 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29270 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29271 PyObject
*resultobj
= 0;
29272 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29273 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29282 PyObject
* obj0
= 0 ;
29283 PyObject
* obj1
= 0 ;
29284 PyObject
* obj2
= 0 ;
29285 char * kwnames
[] = {
29286 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29289 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29290 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29291 if (!SWIG_IsOK(res1
)) {
29292 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29294 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29295 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29296 if (!SWIG_IsOK(res2
)) {
29297 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29299 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29300 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29301 if (!SWIG_IsOK(res3
)) {
29302 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29305 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29307 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29310 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29311 wxPyEndAllowThreads(__tstate
);
29312 if (PyErr_Occurred()) SWIG_fail
;
29315 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29323 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29324 PyObject
*resultobj
= 0;
29325 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29326 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29335 PyObject
* obj0
= 0 ;
29336 PyObject
* obj1
= 0 ;
29337 PyObject
* obj2
= 0 ;
29338 char * kwnames
[] = {
29339 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29344 if (!SWIG_IsOK(res1
)) {
29345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29347 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29349 if (!SWIG_IsOK(res2
)) {
29350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29352 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29353 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29354 if (!SWIG_IsOK(res3
)) {
29355 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29358 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29360 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29362 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29363 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29364 wxPyEndAllowThreads(__tstate
);
29365 if (PyErr_Occurred()) SWIG_fail
;
29368 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29376 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29377 PyObject
*resultobj
= 0;
29378 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29385 PyObject
* obj0
= 0 ;
29386 PyObject
* obj1
= 0 ;
29387 char * kwnames
[] = {
29388 (char *) "self",(char *) "pageNum", NULL
29391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29393 if (!SWIG_IsOK(res1
)) {
29394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29396 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29398 if (!SWIG_IsOK(ecode2
)) {
29399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29401 arg2
= static_cast< int >(val2
);
29403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29404 result
= (bool)(arg1
)->RenderPage(arg2
);
29405 wxPyEndAllowThreads(__tstate
);
29406 if (PyErr_Occurred()) SWIG_fail
;
29409 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29417 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29418 PyObject
*resultobj
= 0;
29419 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29420 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29425 PyObject
* obj0
= 0 ;
29426 PyObject
* obj1
= 0 ;
29427 char * kwnames
[] = {
29428 (char *) "self",(char *) "canvas", NULL
29431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29433 if (!SWIG_IsOK(res1
)) {
29434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29436 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29437 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29438 if (!SWIG_IsOK(res2
)) {
29439 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29441 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29444 (arg1
)->AdjustScrollbars(arg2
);
29445 wxPyEndAllowThreads(__tstate
);
29446 if (PyErr_Occurred()) SWIG_fail
;
29448 resultobj
= SWIG_Py_Void();
29455 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29456 PyObject
*resultobj
= 0;
29457 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29458 wxPrintDialogData
*result
= 0 ;
29461 PyObject
*swig_obj
[1] ;
29463 if (!args
) SWIG_fail
;
29464 swig_obj
[0] = args
;
29465 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29466 if (!SWIG_IsOK(res1
)) {
29467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29469 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29473 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29474 result
= (wxPrintDialogData
*) &_result_ref
;
29476 wxPyEndAllowThreads(__tstate
);
29477 if (PyErr_Occurred()) SWIG_fail
;
29479 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29486 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29487 PyObject
*resultobj
= 0;
29488 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29494 PyObject
* obj0
= 0 ;
29495 PyObject
* obj1
= 0 ;
29496 char * kwnames
[] = {
29497 (char *) "self",(char *) "percent", NULL
29500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29502 if (!SWIG_IsOK(res1
)) {
29503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29505 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29506 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29507 if (!SWIG_IsOK(ecode2
)) {
29508 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29510 arg2
= static_cast< int >(val2
);
29512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29513 (arg1
)->SetZoom(arg2
);
29514 wxPyEndAllowThreads(__tstate
);
29515 if (PyErr_Occurred()) SWIG_fail
;
29517 resultobj
= SWIG_Py_Void();
29524 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29525 PyObject
*resultobj
= 0;
29526 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29530 PyObject
*swig_obj
[1] ;
29532 if (!args
) SWIG_fail
;
29533 swig_obj
[0] = args
;
29534 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29535 if (!SWIG_IsOK(res1
)) {
29536 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29538 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29541 result
= (int)(arg1
)->GetZoom();
29542 wxPyEndAllowThreads(__tstate
);
29543 if (PyErr_Occurred()) SWIG_fail
;
29545 resultobj
= SWIG_From_int(static_cast< int >(result
));
29552 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29553 PyObject
*resultobj
= 0;
29554 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29558 PyObject
*swig_obj
[1] ;
29560 if (!args
) SWIG_fail
;
29561 swig_obj
[0] = args
;
29562 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29563 if (!SWIG_IsOK(res1
)) {
29564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29566 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29569 result
= (int)(arg1
)->GetMaxPage();
29570 wxPyEndAllowThreads(__tstate
);
29571 if (PyErr_Occurred()) SWIG_fail
;
29573 resultobj
= SWIG_From_int(static_cast< int >(result
));
29580 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29581 PyObject
*resultobj
= 0;
29582 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29586 PyObject
*swig_obj
[1] ;
29588 if (!args
) SWIG_fail
;
29589 swig_obj
[0] = args
;
29590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29591 if (!SWIG_IsOK(res1
)) {
29592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29594 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29597 result
= (int)(arg1
)->GetMinPage();
29598 wxPyEndAllowThreads(__tstate
);
29599 if (PyErr_Occurred()) SWIG_fail
;
29601 resultobj
= SWIG_From_int(static_cast< int >(result
));
29608 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29609 PyObject
*resultobj
= 0;
29610 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29614 PyObject
*swig_obj
[1] ;
29616 if (!args
) SWIG_fail
;
29617 swig_obj
[0] = args
;
29618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29619 if (!SWIG_IsOK(res1
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29622 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29625 result
= (bool)(arg1
)->Ok();
29626 wxPyEndAllowThreads(__tstate
);
29627 if (PyErr_Occurred()) SWIG_fail
;
29630 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29638 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= 0;
29640 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29646 PyObject
* obj0
= 0 ;
29647 PyObject
* obj1
= 0 ;
29648 char * kwnames
[] = {
29649 (char *) "self",(char *) "ok", NULL
29652 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29653 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29654 if (!SWIG_IsOK(res1
)) {
29655 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29657 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29658 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29659 if (!SWIG_IsOK(ecode2
)) {
29660 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29662 arg2
= static_cast< bool >(val2
);
29664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29665 (arg1
)->SetOk(arg2
);
29666 wxPyEndAllowThreads(__tstate
);
29667 if (PyErr_Occurred()) SWIG_fail
;
29669 resultobj
= SWIG_Py_Void();
29676 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29677 PyObject
*resultobj
= 0;
29678 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29685 PyObject
* obj0
= 0 ;
29686 PyObject
* obj1
= 0 ;
29687 char * kwnames
[] = {
29688 (char *) "self",(char *) "interactive", NULL
29691 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29692 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29693 if (!SWIG_IsOK(res1
)) {
29694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29696 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29697 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29698 if (!SWIG_IsOK(ecode2
)) {
29699 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
29701 arg2
= static_cast< bool >(val2
);
29703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29704 result
= (bool)(arg1
)->Print(arg2
);
29705 wxPyEndAllowThreads(__tstate
);
29706 if (PyErr_Occurred()) SWIG_fail
;
29709 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29717 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29718 PyObject
*resultobj
= 0;
29719 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29722 PyObject
*swig_obj
[1] ;
29724 if (!args
) SWIG_fail
;
29725 swig_obj
[0] = args
;
29726 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29727 if (!SWIG_IsOK(res1
)) {
29728 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29730 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29732 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29733 (arg1
)->DetermineScaling();
29734 wxPyEndAllowThreads(__tstate
);
29735 if (PyErr_Occurred()) SWIG_fail
;
29737 resultobj
= SWIG_Py_Void();
29744 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29746 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29747 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
29748 return SWIG_Py_Void();
29751 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29752 return SWIG_Python_InitShadowInstance(args
);
29755 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29756 PyObject
*resultobj
= 0;
29757 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29758 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29759 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29760 wxPyPrintPreview
*result
= 0 ;
29766 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29767 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29768 if (!SWIG_IsOK(res1
)) {
29769 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29771 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29772 if (!SWIG_IsOK(res2
)) {
29773 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29776 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29777 if (!SWIG_IsOK(res3
)) {
29778 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29780 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29783 if (!wxPyCheckForApp()) SWIG_fail
;
29784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29785 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29786 wxPyEndAllowThreads(__tstate
);
29787 if (PyErr_Occurred()) SWIG_fail
;
29789 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29796 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29797 PyObject
*resultobj
= 0;
29798 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29799 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29800 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29801 wxPyPrintPreview
*result
= 0 ;
29807 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29808 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29809 if (!SWIG_IsOK(res1
)) {
29810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29812 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29813 if (!SWIG_IsOK(res2
)) {
29814 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29816 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29817 if (!SWIG_IsOK(res3
)) {
29818 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29820 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29822 if (!wxPyCheckForApp()) SWIG_fail
;
29823 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29824 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
29825 wxPyEndAllowThreads(__tstate
);
29826 if (PyErr_Occurred()) SWIG_fail
;
29828 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
29835 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
29839 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
29841 if ((argc
>= 2) && (argc
<= 3)) {
29846 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29847 _v
= SWIG_CheckState(res
);
29849 if (!_v
) goto check_1
;
29851 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
29856 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
29860 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
29865 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29866 PyObject
*resultobj
= 0;
29867 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
29868 PyObject
*arg2
= (PyObject
*) 0 ;
29869 PyObject
*arg3
= (PyObject
*) 0 ;
29872 PyObject
* obj0
= 0 ;
29873 PyObject
* obj1
= 0 ;
29874 PyObject
* obj2
= 0 ;
29875 char * kwnames
[] = {
29876 (char *) "self",(char *) "self",(char *) "_class", NULL
29879 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29880 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
29884 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
29888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29889 (arg1
)->_setCallbackInfo(arg2
,arg3
);
29890 wxPyEndAllowThreads(__tstate
);
29891 if (PyErr_Occurred()) SWIG_fail
;
29893 resultobj
= SWIG_Py_Void();
29900 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29902 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29903 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
29904 return SWIG_Py_Void();
29907 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29908 return SWIG_Python_InitShadowInstance(args
);
29911 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29912 PyObject
*resultobj
= 0;
29913 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29914 wxFrame
*arg2
= (wxFrame
*) 0 ;
29915 wxString
*arg3
= 0 ;
29916 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29917 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29918 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29919 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29920 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29921 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29922 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29923 wxPyPreviewFrame
*result
= 0 ;
29928 bool temp3
= false ;
29933 bool temp7
= false ;
29934 PyObject
* obj0
= 0 ;
29935 PyObject
* obj1
= 0 ;
29936 PyObject
* obj2
= 0 ;
29937 PyObject
* obj3
= 0 ;
29938 PyObject
* obj4
= 0 ;
29939 PyObject
* obj5
= 0 ;
29940 PyObject
* obj6
= 0 ;
29941 char * kwnames
[] = {
29942 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29947 if (!SWIG_IsOK(res1
)) {
29948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29950 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29951 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29952 if (!SWIG_IsOK(res2
)) {
29953 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29955 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29957 arg3
= wxString_in_helper(obj2
);
29958 if (arg3
== NULL
) SWIG_fail
;
29964 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29970 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29974 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29975 if (!SWIG_IsOK(ecode6
)) {
29976 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
29978 arg6
= static_cast< long >(val6
);
29982 arg7
= wxString_in_helper(obj6
);
29983 if (arg7
== NULL
) SWIG_fail
;
29988 if (!wxPyCheckForApp()) SWIG_fail
;
29989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29990 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29991 wxPyEndAllowThreads(__tstate
);
29992 if (PyErr_Occurred()) SWIG_fail
;
29994 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30017 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30018 PyObject
*resultobj
= 0;
30019 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30020 PyObject
*arg2
= (PyObject
*) 0 ;
30021 PyObject
*arg3
= (PyObject
*) 0 ;
30024 PyObject
* obj0
= 0 ;
30025 PyObject
* obj1
= 0 ;
30026 PyObject
* obj2
= 0 ;
30027 char * kwnames
[] = {
30028 (char *) "self",(char *) "self",(char *) "_class", NULL
30031 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30032 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30033 if (!SWIG_IsOK(res1
)) {
30034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30036 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30041 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30042 wxPyEndAllowThreads(__tstate
);
30043 if (PyErr_Occurred()) SWIG_fail
;
30045 resultobj
= SWIG_Py_Void();
30052 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30053 PyObject
*resultobj
= 0;
30054 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30055 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30060 PyObject
* obj0
= 0 ;
30061 PyObject
* obj1
= 0 ;
30062 char * kwnames
[] = {
30063 (char *) "self",(char *) "canvas", NULL
30066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30068 if (!SWIG_IsOK(res1
)) {
30069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30071 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30072 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30073 if (!SWIG_IsOK(res2
)) {
30074 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30076 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30079 (arg1
)->SetPreviewCanvas(arg2
);
30080 wxPyEndAllowThreads(__tstate
);
30081 if (PyErr_Occurred()) SWIG_fail
;
30083 resultobj
= SWIG_Py_Void();
30090 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30091 PyObject
*resultobj
= 0;
30092 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30093 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30098 PyObject
* obj0
= 0 ;
30099 PyObject
* obj1
= 0 ;
30100 char * kwnames
[] = {
30101 (char *) "self",(char *) "bar", NULL
30104 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30105 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30106 if (!SWIG_IsOK(res1
)) {
30107 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30109 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30110 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30111 if (!SWIG_IsOK(res2
)) {
30112 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30114 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30117 (arg1
)->SetControlBar(arg2
);
30118 wxPyEndAllowThreads(__tstate
);
30119 if (PyErr_Occurred()) SWIG_fail
;
30121 resultobj
= SWIG_Py_Void();
30128 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30129 PyObject
*resultobj
= 0;
30130 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30133 PyObject
*swig_obj
[1] ;
30135 if (!args
) SWIG_fail
;
30136 swig_obj
[0] = args
;
30137 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30138 if (!SWIG_IsOK(res1
)) {
30139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30141 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30144 (arg1
)->Initialize();
30145 wxPyEndAllowThreads(__tstate
);
30146 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= SWIG_Py_Void();
30155 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30156 PyObject
*resultobj
= 0;
30157 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30160 PyObject
*swig_obj
[1] ;
30162 if (!args
) SWIG_fail
;
30163 swig_obj
[0] = args
;
30164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30165 if (!SWIG_IsOK(res1
)) {
30166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30168 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30171 (arg1
)->CreateCanvas();
30172 wxPyEndAllowThreads(__tstate
);
30173 if (PyErr_Occurred()) SWIG_fail
;
30175 resultobj
= SWIG_Py_Void();
30182 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30183 PyObject
*resultobj
= 0;
30184 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30187 PyObject
*swig_obj
[1] ;
30189 if (!args
) SWIG_fail
;
30190 swig_obj
[0] = args
;
30191 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30192 if (!SWIG_IsOK(res1
)) {
30193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30195 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30198 (arg1
)->CreateControlBar();
30199 wxPyEndAllowThreads(__tstate
);
30200 if (PyErr_Occurred()) SWIG_fail
;
30202 resultobj
= SWIG_Py_Void();
30209 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30211 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30212 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30213 return SWIG_Py_Void();
30216 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30217 return SWIG_Python_InitShadowInstance(args
);
30220 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30221 PyObject
*resultobj
= 0;
30222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30224 wxWindow
*arg3
= (wxWindow
*) 0 ;
30225 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30226 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30227 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30228 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30229 long arg6
= (long) 0 ;
30230 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30231 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30232 wxPyPreviewControlBar
*result
= 0 ;
30243 bool temp7
= false ;
30244 PyObject
* obj0
= 0 ;
30245 PyObject
* obj1
= 0 ;
30246 PyObject
* obj2
= 0 ;
30247 PyObject
* obj3
= 0 ;
30248 PyObject
* obj4
= 0 ;
30249 PyObject
* obj5
= 0 ;
30250 PyObject
* obj6
= 0 ;
30251 char * kwnames
[] = {
30252 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30257 if (!SWIG_IsOK(res1
)) {
30258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30260 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30261 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30262 if (!SWIG_IsOK(ecode2
)) {
30263 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30265 arg2
= static_cast< long >(val2
);
30266 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30267 if (!SWIG_IsOK(res3
)) {
30268 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30270 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30274 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30280 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30284 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30285 if (!SWIG_IsOK(ecode6
)) {
30286 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30288 arg6
= static_cast< long >(val6
);
30292 arg7
= wxString_in_helper(obj6
);
30293 if (arg7
== NULL
) SWIG_fail
;
30298 if (!wxPyCheckForApp()) SWIG_fail
;
30299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30300 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30301 wxPyEndAllowThreads(__tstate
);
30302 if (PyErr_Occurred()) SWIG_fail
;
30304 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30319 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30320 PyObject
*resultobj
= 0;
30321 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30322 PyObject
*arg2
= (PyObject
*) 0 ;
30323 PyObject
*arg3
= (PyObject
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 PyObject
* obj2
= 0 ;
30329 char * kwnames
[] = {
30330 (char *) "self",(char *) "self",(char *) "_class", NULL
30333 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30334 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30335 if (!SWIG_IsOK(res1
)) {
30336 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30338 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30342 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30343 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30344 wxPyEndAllowThreads(__tstate
);
30345 if (PyErr_Occurred()) SWIG_fail
;
30347 resultobj
= SWIG_Py_Void();
30354 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30355 PyObject
*resultobj
= 0;
30356 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30357 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30362 PyObject
* obj0
= 0 ;
30363 PyObject
* obj1
= 0 ;
30364 char * kwnames
[] = {
30365 (char *) "self",(char *) "preview", NULL
30368 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30369 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30370 if (!SWIG_IsOK(res1
)) {
30371 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30373 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30374 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30375 if (!SWIG_IsOK(res2
)) {
30376 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30378 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30381 (arg1
)->SetPrintPreview(arg2
);
30382 wxPyEndAllowThreads(__tstate
);
30383 if (PyErr_Occurred()) SWIG_fail
;
30385 resultobj
= SWIG_Py_Void();
30392 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30393 PyObject
*resultobj
= 0;
30394 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30397 PyObject
*swig_obj
[1] ;
30399 if (!args
) SWIG_fail
;
30400 swig_obj
[0] = args
;
30401 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30402 if (!SWIG_IsOK(res1
)) {
30403 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30405 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30408 (arg1
)->CreateButtons();
30409 wxPyEndAllowThreads(__tstate
);
30410 if (PyErr_Occurred()) SWIG_fail
;
30412 resultobj
= SWIG_Py_Void();
30419 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30420 PyObject
*resultobj
= 0;
30421 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30427 PyObject
* obj0
= 0 ;
30428 PyObject
* obj1
= 0 ;
30429 char * kwnames
[] = {
30430 (char *) "self",(char *) "zoom", NULL
30433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30438 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30439 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30440 if (!SWIG_IsOK(ecode2
)) {
30441 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30443 arg2
= static_cast< int >(val2
);
30445 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30446 (arg1
)->SetZoomControl(arg2
);
30447 wxPyEndAllowThreads(__tstate
);
30448 if (PyErr_Occurred()) SWIG_fail
;
30450 resultobj
= SWIG_Py_Void();
30457 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30459 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30460 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30461 return SWIG_Py_Void();
30464 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30465 return SWIG_Python_InitShadowInstance(args
);
30468 static PyMethodDef SwigMethods
[] = {
30469 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30470 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30471 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30472 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30473 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30474 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30475 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30476 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30477 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30478 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30479 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30480 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30481 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30482 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30483 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30484 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30485 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30486 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30487 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30488 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30489 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30490 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30491 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30492 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30493 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30494 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30495 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30496 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30497 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30498 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30499 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30500 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30501 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30502 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30503 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30504 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30505 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30506 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30507 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30508 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30509 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30510 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30511 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30512 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30513 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30514 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30515 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30516 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30517 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30518 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30519 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30520 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30521 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30522 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30523 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30524 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30525 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30526 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30527 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30528 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30529 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30530 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30531 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30532 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30533 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30534 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30535 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30536 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30537 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30538 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30539 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30540 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30541 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30542 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30543 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30544 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30545 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30546 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30547 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30548 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30549 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30550 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30551 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30552 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30553 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30554 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30555 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30556 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30557 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30558 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30559 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30560 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30561 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30562 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30563 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30564 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30565 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30566 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30567 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30568 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30569 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30570 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30571 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30572 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30573 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30574 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30575 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30576 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30577 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30578 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30579 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30580 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30581 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30582 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30583 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30584 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30585 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30586 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30587 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30588 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30589 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30590 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30591 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30592 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30593 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30594 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30595 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30596 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30597 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30598 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30599 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30600 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30601 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30602 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30603 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30604 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30605 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30606 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30607 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30608 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30609 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30610 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30611 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30612 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30613 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30614 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30615 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30616 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30617 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30618 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30619 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30620 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30621 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30622 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30623 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30624 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30625 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30626 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30627 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30628 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30629 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30630 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30631 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30632 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30633 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30634 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30635 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30636 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30637 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30638 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30639 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30640 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30641 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30642 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30643 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30644 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30645 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30646 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30647 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30648 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30649 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30650 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30651 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30652 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30653 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30654 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30655 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30656 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30657 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30658 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30659 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30660 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30661 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30662 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30663 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30664 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30665 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30666 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30667 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30668 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30669 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30670 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30671 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30672 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30673 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30674 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30675 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
30676 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30677 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
30678 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30679 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
30680 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
30681 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
30682 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30683 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30684 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
30685 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30686 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
30687 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
30688 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
30689 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30690 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
30691 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30692 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
30693 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
30694 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30695 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30696 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30697 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
30698 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
30699 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
30700 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
30701 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30702 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30703 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30704 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
30705 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
30706 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30707 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
30708 { (char *)"PopupWindow_Create", (PyCFunction
) _wrap_PopupWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30709 { (char *)"PopupWindow_Position", (PyCFunction
) _wrap_PopupWindow_Position
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30710 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
30711 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
30712 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30713 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
30714 { (char *)"PopupTransientWindow__setCallbackInfo", (PyCFunction
) _wrap_PopupTransientWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30715 { (char *)"PopupTransientWindow_Popup", (PyCFunction
) _wrap_PopupTransientWindow_Popup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30716 { (char *)"PopupTransientWindow_Dismiss", (PyCFunction
)_wrap_PopupTransientWindow_Dismiss
, METH_O
, NULL
},
30717 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
30718 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
30719 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30720 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30721 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
30722 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
30723 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
30724 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30725 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
30726 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30727 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30728 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30729 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30730 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30731 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30732 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30733 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30734 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
30735 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
30736 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
30737 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
30738 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30739 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
30740 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
30741 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30742 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30743 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30744 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30745 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30746 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
30747 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30748 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30749 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
30750 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
30751 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
30752 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30753 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30754 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
30755 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
30756 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30757 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
30758 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
30759 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30760 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
30761 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30762 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30763 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30764 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30765 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
30766 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
30767 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30768 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30769 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30770 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
30771 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
30772 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30773 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
30774 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30775 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30776 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30777 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
30778 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
30779 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
30780 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
30781 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
30782 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30783 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
30784 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
30785 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
30786 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30787 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
30788 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30789 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
30790 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
30791 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
30793 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
30794 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
30795 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
30796 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
30797 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
30798 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
30803 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
30804 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30805 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
30806 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
30807 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
30808 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30809 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30810 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
30811 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
30812 { (char *)"DirDialog_GetStyle", (PyCFunction
)_wrap_DirDialog_GetStyle
, METH_O
, NULL
},
30813 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30814 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
30816 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
30817 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30819 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30820 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30822 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"FileDialog_SetStyle", (PyCFunction
) _wrap_FileDialog_SetStyle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30824 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30825 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
30826 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
30827 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
30828 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
30829 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
30830 { (char *)"FileDialog_GetStyle", (PyCFunction
)_wrap_FileDialog_GetStyle
, METH_O
, NULL
},
30831 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
30832 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
30833 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
30834 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
30835 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
30836 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30838 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
30839 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30840 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30841 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
30843 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
30844 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30845 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
30846 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
30847 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
30849 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30851 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30852 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
30854 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
30855 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
30856 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
30857 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
30859 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
30860 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
30861 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
30862 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
30863 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
30864 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30868 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30869 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
30871 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
30872 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
30874 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
30875 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
30876 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30878 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
30879 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
30880 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30882 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
30883 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
30884 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
30885 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30886 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
30887 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
30888 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
30889 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
30890 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30891 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30892 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
30894 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
30895 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30896 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
30897 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
30898 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
30899 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
30900 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30901 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30902 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30903 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
30904 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
30905 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
30907 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30908 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
30909 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
30911 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
30912 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
30914 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
30916 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
30917 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
30918 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
30919 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
30920 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
30921 { (char *)"MDIParentFrame_GetToolBar", (PyCFunction
)_wrap_MDIParentFrame_GetToolBar
, METH_O
, NULL
},
30922 { (char *)"MDIParentFrame_GetWindowMenu", (PyCFunction
)_wrap_MDIParentFrame_GetWindowMenu
, METH_O
, NULL
},
30923 { (char *)"MDIParentFrame_SetWindowMenu", (PyCFunction
) _wrap_MDIParentFrame_SetWindowMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30925 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
30926 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
30927 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30928 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
30929 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
30931 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
30932 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
30933 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30934 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
30935 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
30937 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
30938 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30939 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
30940 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30941 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30943 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30945 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30947 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
30948 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
30949 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
30950 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
30951 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
30952 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
30953 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
30954 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
30955 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
30956 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30957 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
30958 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30959 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30960 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30962 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
30966 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
30967 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
30968 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
30969 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
30970 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
30971 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
30972 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
30973 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
30974 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30975 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
30976 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30979 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30980 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30982 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30983 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
30984 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
30985 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
30986 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
30987 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
30988 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
30989 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
30990 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30991 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30992 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
30993 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
30994 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
30995 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
30996 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
30997 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
30998 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
30999 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31000 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31001 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31002 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31003 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31004 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31005 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31006 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31009 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31011 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31012 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31013 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31015 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31017 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31018 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31020 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31022 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31023 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31024 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31025 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31029 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31030 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31031 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31032 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31033 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31034 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31035 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31036 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31037 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31038 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31039 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31040 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31041 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31042 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31043 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31044 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31045 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31054 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31055 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31056 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31057 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31058 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31059 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31060 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31061 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31062 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31065 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31066 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31067 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31068 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31069 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31070 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31071 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31072 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31073 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31074 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31075 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31077 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31078 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31080 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31085 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31086 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31089 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31090 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31091 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31092 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31093 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31094 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31095 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31096 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31097 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31099 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31100 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31101 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31102 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31103 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31104 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31106 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31107 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31108 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31110 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31112 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31113 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31114 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31115 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31116 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31117 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31118 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31119 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31120 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31121 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31124 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31125 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31126 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31128 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31129 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31130 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31131 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31133 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31134 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31135 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31136 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31137 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31138 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31139 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31140 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31141 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31143 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31144 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31146 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31147 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31148 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31149 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31150 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31151 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31152 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31153 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31154 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31155 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31156 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31157 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31158 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31159 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31160 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31161 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31162 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31163 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31164 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31165 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31166 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31168 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31169 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31170 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31171 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31172 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31173 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31174 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31176 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31177 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31178 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31179 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31180 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31181 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31182 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31183 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31184 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31185 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31186 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31187 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31188 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31189 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31191 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31192 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31194 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31195 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31197 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31198 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31199 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31200 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31201 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31202 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31203 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31205 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31207 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31208 { NULL
, NULL
, 0, NULL
}
31212 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31214 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31215 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31217 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31218 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31220 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31221 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31223 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31224 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31226 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31227 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31229 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31230 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31232 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31233 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31235 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31236 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31238 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31239 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31241 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31242 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31244 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31245 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31247 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31248 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31250 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31251 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31253 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31254 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31256 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31257 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31259 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31260 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31262 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31263 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31265 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31266 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31268 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31269 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31271 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31272 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31274 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31275 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31277 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31278 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31280 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31281 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31283 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31284 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31286 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31287 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31289 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31290 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31292 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31293 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31295 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31296 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31298 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31299 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31301 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31302 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31304 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31305 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31307 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31308 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31310 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31311 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31313 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31314 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31316 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31317 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31319 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31320 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31322 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31323 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31325 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31326 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31328 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31329 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31331 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31332 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31334 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31335 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31337 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31338 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31340 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31341 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31343 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31344 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31346 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31347 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31349 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31350 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31352 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31353 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31355 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31356 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31358 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31359 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31361 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31362 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31364 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31365 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31367 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31368 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31370 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31371 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31373 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31374 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31376 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31377 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31379 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31380 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31382 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31383 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31385 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31386 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31388 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31389 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31391 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31392 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31394 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31395 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31397 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31398 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31400 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31401 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31403 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31404 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31406 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31407 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31409 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31410 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31412 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31413 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31415 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31416 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31418 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31419 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31421 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31422 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31424 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31425 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31427 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31428 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31430 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31431 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31433 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31434 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31436 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31437 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31439 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31440 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31442 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31443 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31445 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31446 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31448 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31449 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31451 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31452 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31454 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31455 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31457 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31458 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31460 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31461 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31463 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31464 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31466 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31467 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31469 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31470 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31472 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31473 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31475 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31476 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31478 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31479 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31481 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31482 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31484 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31485 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31487 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31488 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31490 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31491 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31493 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31494 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31496 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31497 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31499 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31500 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31502 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31503 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31505 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31506 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31508 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31509 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31511 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31512 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31514 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31515 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31517 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31518 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31520 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31521 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31523 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31524 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31526 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31527 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31529 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31530 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31532 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31533 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31535 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31536 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31538 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31539 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31541 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31542 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31544 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31545 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31547 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31548 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31550 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31551 return (void *)((wxObject
*) ((wxSizer
*) x
));
31553 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31554 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31556 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31557 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31559 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31560 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31562 static void *_p_wxEventTo_p_wxObject(void *x
) {
31563 return (void *)((wxObject
*) ((wxEvent
*) x
));
31565 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31566 return (void *)((wxObject
*) ((wxFontData
*) x
));
31568 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31569 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31571 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31572 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31574 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31575 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31577 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31578 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31580 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31581 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31583 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31584 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31586 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31587 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31589 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31590 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31592 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31593 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31595 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31596 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31598 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31599 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31601 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31602 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31604 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31605 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31607 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31608 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31610 static void *_p_wxControlTo_p_wxObject(void *x
) {
31611 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31613 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31614 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31616 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31617 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31619 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31620 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31622 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31623 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31625 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31626 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31628 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31629 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31631 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31632 return (void *)((wxObject
*) ((wxColourData
*) x
));
31634 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31635 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31637 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31638 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31640 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31641 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31643 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31644 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31646 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31647 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31649 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31650 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31652 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31653 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31655 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31656 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31658 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31659 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31661 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
31662 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31664 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
31665 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31667 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
31668 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31670 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
31671 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
31673 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
31674 return (void *)((wxObject
*) ((wxPrinter
*) x
));
31676 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
31677 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
31679 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
31680 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
31682 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
31683 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
31685 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
31686 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31688 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
31689 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31691 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
31692 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
31694 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
31695 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
31697 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
31698 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
31700 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
31701 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
31703 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
31704 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
31706 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
31707 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
31709 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
31710 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
31712 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
31713 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
31715 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
31716 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
31718 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
31719 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
31721 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
31722 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
31724 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
31725 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
31727 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
31728 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
31730 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
31731 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
31733 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
31734 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
31736 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
31737 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
31739 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
31740 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
31742 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
31743 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
31745 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
31746 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
31748 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
31749 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31751 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
31752 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31754 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
31755 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31757 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
31758 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
31760 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
31761 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
31763 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
31764 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31766 static void *_p_wxImageTo_p_wxObject(void *x
) {
31767 return (void *)((wxObject
*) ((wxImage
*) x
));
31769 static void *_p_wxFrameTo_p_wxObject(void *x
) {
31770 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31772 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
31773 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
31775 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
31776 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
31778 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
31779 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31781 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
31782 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
31784 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
31785 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31787 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
31788 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31790 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
31791 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31793 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
31794 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
31796 static void *_p_wxWindowTo_p_wxObject(void *x
) {
31797 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
31799 static void *_p_wxMenuTo_p_wxObject(void *x
) {
31800 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
31802 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
31803 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
31805 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
31806 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31808 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
31809 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
31811 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
31812 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
31814 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
31815 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
31817 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
31818 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
31820 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
31821 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31823 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
31824 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
31826 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
31827 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31829 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
31830 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31832 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
31833 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31835 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
31836 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
31838 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
31839 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31841 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
31842 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
31844 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
31845 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
31847 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
31848 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
31850 static void *_p_wxPanelTo_p_wxObject(void *x
) {
31851 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
31853 static void *_p_wxDialogTo_p_wxObject(void *x
) {
31854 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31856 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
31857 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31859 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
31860 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31862 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
31863 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31865 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
31866 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
31868 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
31869 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
31871 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
31872 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
31874 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
31875 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31877 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
31878 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
31880 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
31881 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
31883 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
31884 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
31886 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
31887 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
31889 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
31890 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
31892 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
31893 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31895 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
31896 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
31898 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
31899 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31901 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
31902 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31904 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
31905 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
31907 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
31908 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
31910 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
31911 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31913 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
31914 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31916 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
31917 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
31919 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
31920 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
31922 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
31923 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
31925 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
31926 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
31928 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31929 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31931 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
31932 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31934 static void *_p_wxTipWindowTo_p_wxPyPopupTransientWindow(void *x
) {
31935 return (void *)((wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31937 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
31938 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31940 static void *_p_wxTipWindowTo_p_wxPopupWindow(void *x
) {
31941 return (void *)((wxPopupWindow
*) (wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
31943 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
31944 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31946 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
31947 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
31949 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
31950 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
31952 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
31953 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
31955 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
31956 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
31958 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
31959 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
31961 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
31962 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
31964 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
31965 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
31967 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
31968 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
31970 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
31971 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
31973 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
31974 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
31976 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
31977 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
31979 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31980 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31982 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
31983 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
31985 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31986 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31988 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
31989 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31991 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
31992 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
31994 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
31995 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
31997 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
31998 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32000 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32001 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32003 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32004 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32006 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32007 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32009 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32010 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32012 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32013 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32015 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32016 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32018 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32019 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32021 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32022 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32024 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32025 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32027 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32028 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32030 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32031 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32033 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32034 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32036 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32037 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32039 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32040 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32042 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32043 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32045 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32046 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32048 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32049 return (void *)((wxWindow
*) (wxPopupWindow
*)(wxPyPopupTransientWindow
*) ((wxTipWindow
*) x
));
32051 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32052 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32054 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32055 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32057 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32058 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32060 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32061 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32063 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32064 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32066 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32067 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32069 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32070 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32072 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32073 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32075 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32076 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32078 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32079 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32081 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32082 return (void *)((wxWindow
*) ((wxControl
*) x
));
32084 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32085 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32087 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32088 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32090 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32091 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32093 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32094 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32096 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32097 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32099 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32100 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32102 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32103 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32105 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32106 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32108 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32109 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32111 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32112 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32114 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32115 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32117 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32118 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32120 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32121 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32123 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32124 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32126 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32127 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32129 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32130 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32132 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32133 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32135 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32136 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32138 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32139 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32141 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32142 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32144 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32145 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32147 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32148 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32150 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32151 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32153 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32154 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32156 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32157 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32159 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32160 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32162 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32163 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32165 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32166 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32168 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32169 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32171 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32172 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32174 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32175 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32177 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32178 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32180 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32181 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32183 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32184 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32186 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32187 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32189 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32190 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32192 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32193 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32195 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32196 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32198 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32199 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32201 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32202 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32204 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32205 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32207 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32208 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32210 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32211 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32213 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32214 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32216 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32217 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32219 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32220 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32222 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32223 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32225 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32226 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32228 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32229 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32231 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32232 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32234 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32235 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32237 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32238 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};
32239 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32240 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32241 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32242 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32243 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32244 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32245 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32246 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32247 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32248 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32249 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32250 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32251 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32252 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32253 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32254 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32255 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32256 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32257 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32258 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32259 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32260 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32261 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32262 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32263 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32264 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32265 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32266 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32267 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32268 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32269 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32270 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32271 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32272 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32273 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32274 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32275 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32276 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32277 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32278 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32279 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32280 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32281 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32282 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32283 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32284 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32285 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32286 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32287 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32288 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32289 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32290 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32291 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32292 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32293 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32294 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32295 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32296 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32297 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32298 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32299 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32300 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32301 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32302 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32303 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32304 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32305 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32306 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32307 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32308 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32309 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32310 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32311 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32312 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32313 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32314 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32315 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32316 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32317 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32318 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32319 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32320 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32321 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32322 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32323 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32324 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32325 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32326 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32327 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32328 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32329 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32330 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32331 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32332 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32333 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32334 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32335 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32336 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32337 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32338 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32339 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32340 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32341 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32342 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32343 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32344 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32345 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32346 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32347 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32348 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32349 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32350 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32351 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32352 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32353 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32354 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32355 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32356 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32357 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32358 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32359 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32360 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32361 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32362 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32363 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32364 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32365 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32366 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32367 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32368 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32369 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32370 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32371 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32372 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32373 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32374 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32375 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32376 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32377 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32378 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32379 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32380 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32381 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32382 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32383 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32384 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32385 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32386 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32387 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32388 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32389 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32390 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32391 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32392 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32393 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32394 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32395 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32396 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32398 static swig_type_info
*swig_type_initial
[] = {
32400 &_swigt__p_form_ops_t
,
32402 &_swigt__p_unsigned_char
,
32403 &_swigt__p_unsigned_int
,
32404 &_swigt__p_unsigned_long
,
32405 &_swigt__p_wxANIHandler
,
32406 &_swigt__p_wxAcceleratorTable
,
32407 &_swigt__p_wxActivateEvent
,
32408 &_swigt__p_wxArrayInt
,
32409 &_swigt__p_wxBMPHandler
,
32410 &_swigt__p_wxBitmap
,
32411 &_swigt__p_wxBoxSizer
,
32412 &_swigt__p_wxCURHandler
,
32413 &_swigt__p_wxCalculateLayoutEvent
,
32414 &_swigt__p_wxChildFocusEvent
,
32415 &_swigt__p_wxCloseEvent
,
32416 &_swigt__p_wxColour
,
32417 &_swigt__p_wxColourData
,
32418 &_swigt__p_wxColourDialog
,
32419 &_swigt__p_wxCommandEvent
,
32420 &_swigt__p_wxContextMenuEvent
,
32421 &_swigt__p_wxControl
,
32422 &_swigt__p_wxControlWithItems
,
32424 &_swigt__p_wxDateEvent
,
32425 &_swigt__p_wxDialog
,
32426 &_swigt__p_wxDirDialog
,
32427 &_swigt__p_wxDisplayChangedEvent
,
32428 &_swigt__p_wxDropFilesEvent
,
32429 &_swigt__p_wxDuplexMode
,
32430 &_swigt__p_wxEraseEvent
,
32431 &_swigt__p_wxEvent
,
32432 &_swigt__p_wxEvtHandler
,
32433 &_swigt__p_wxFSFile
,
32434 &_swigt__p_wxFileDialog
,
32435 &_swigt__p_wxFileSystem
,
32436 &_swigt__p_wxFindDialogEvent
,
32437 &_swigt__p_wxFindReplaceData
,
32438 &_swigt__p_wxFindReplaceDialog
,
32439 &_swigt__p_wxFlexGridSizer
,
32440 &_swigt__p_wxFocusEvent
,
32442 &_swigt__p_wxFontData
,
32443 &_swigt__p_wxFontDialog
,
32444 &_swigt__p_wxFrame
,
32445 &_swigt__p_wxGBSizerItem
,
32446 &_swigt__p_wxGIFHandler
,
32447 &_swigt__p_wxGridBagSizer
,
32448 &_swigt__p_wxGridSizer
,
32449 &_swigt__p_wxICOHandler
,
32451 &_swigt__p_wxIconBundle
,
32452 &_swigt__p_wxIconizeEvent
,
32453 &_swigt__p_wxIdleEvent
,
32454 &_swigt__p_wxImage
,
32455 &_swigt__p_wxImageHandler
,
32456 &_swigt__p_wxIndividualLayoutConstraint
,
32457 &_swigt__p_wxInitDialogEvent
,
32458 &_swigt__p_wxJPEGHandler
,
32459 &_swigt__p_wxKeyEvent
,
32460 &_swigt__p_wxLayoutAlgorithm
,
32461 &_swigt__p_wxLayoutConstraints
,
32462 &_swigt__p_wxMDIChildFrame
,
32463 &_swigt__p_wxMDIClientWindow
,
32464 &_swigt__p_wxMDIParentFrame
,
32465 &_swigt__p_wxMaximizeEvent
,
32467 &_swigt__p_wxMenuBar
,
32468 &_swigt__p_wxMenuEvent
,
32469 &_swigt__p_wxMenuItem
,
32470 &_swigt__p_wxMessageDialog
,
32471 &_swigt__p_wxMiniFrame
,
32472 &_swigt__p_wxMouseCaptureChangedEvent
,
32473 &_swigt__p_wxMouseEvent
,
32474 &_swigt__p_wxMoveEvent
,
32475 &_swigt__p_wxMultiChoiceDialog
,
32476 &_swigt__p_wxNavigationKeyEvent
,
32477 &_swigt__p_wxNcPaintEvent
,
32478 &_swigt__p_wxNotifyEvent
,
32479 &_swigt__p_wxObject
,
32480 &_swigt__p_wxPCXHandler
,
32481 &_swigt__p_wxPNGHandler
,
32482 &_swigt__p_wxPNMHandler
,
32483 &_swigt__p_wxPageSetupDialog
,
32484 &_swigt__p_wxPageSetupDialogData
,
32485 &_swigt__p_wxPaintEvent
,
32486 &_swigt__p_wxPaletteChangedEvent
,
32487 &_swigt__p_wxPanel
,
32488 &_swigt__p_wxPaperSize
,
32489 &_swigt__p_wxPasswordEntryDialog
,
32490 &_swigt__p_wxPoint
,
32491 &_swigt__p_wxPopupWindow
,
32492 &_swigt__p_wxPreviewCanvas
,
32493 &_swigt__p_wxPreviewControlBar
,
32494 &_swigt__p_wxPreviewFrame
,
32495 &_swigt__p_wxPrintData
,
32496 &_swigt__p_wxPrintDialog
,
32497 &_swigt__p_wxPrintDialogData
,
32498 &_swigt__p_wxPrintPreview
,
32499 &_swigt__p_wxPrinter
,
32500 &_swigt__p_wxProgressDialog
,
32501 &_swigt__p_wxPyApp
,
32502 &_swigt__p_wxPyCommandEvent
,
32503 &_swigt__p_wxPyEvent
,
32504 &_swigt__p_wxPyHtmlListBox
,
32505 &_swigt__p_wxPyImageHandler
,
32506 &_swigt__p_wxPyPanel
,
32507 &_swigt__p_wxPyPopupTransientWindow
,
32508 &_swigt__p_wxPyPreviewControlBar
,
32509 &_swigt__p_wxPyPreviewFrame
,
32510 &_swigt__p_wxPyPrintPreview
,
32511 &_swigt__p_wxPyPrintout
,
32512 &_swigt__p_wxPyScrolledWindow
,
32513 &_swigt__p_wxPySizer
,
32514 &_swigt__p_wxPyTaskBarIcon
,
32515 &_swigt__p_wxPyVListBox
,
32516 &_swigt__p_wxPyVScrolledWindow
,
32517 &_swigt__p_wxPyValidator
,
32518 &_swigt__p_wxPyWindow
,
32519 &_swigt__p_wxQueryLayoutInfoEvent
,
32520 &_swigt__p_wxQueryNewPaletteEvent
,
32522 &_swigt__p_wxRegion
,
32523 &_swigt__p_wxSashEvent
,
32524 &_swigt__p_wxSashLayoutWindow
,
32525 &_swigt__p_wxSashWindow
,
32526 &_swigt__p_wxScrollEvent
,
32527 &_swigt__p_wxScrollWinEvent
,
32528 &_swigt__p_wxScrolledWindow
,
32529 &_swigt__p_wxSetCursorEvent
,
32530 &_swigt__p_wxShowEvent
,
32531 &_swigt__p_wxSingleChoiceDialog
,
32533 &_swigt__p_wxSizeEvent
,
32534 &_swigt__p_wxSizer
,
32535 &_swigt__p_wxSizerItem
,
32536 &_swigt__p_wxSplashScreen
,
32537 &_swigt__p_wxSplashScreenWindow
,
32538 &_swigt__p_wxSplitterEvent
,
32539 &_swigt__p_wxSplitterWindow
,
32540 &_swigt__p_wxStaticBoxSizer
,
32541 &_swigt__p_wxStatusBar
,
32542 &_swigt__p_wxStdDialogButtonSizer
,
32543 &_swigt__p_wxString
,
32544 &_swigt__p_wxSysColourChangedEvent
,
32545 &_swigt__p_wxTIFFHandler
,
32546 &_swigt__p_wxTaskBarIcon
,
32547 &_swigt__p_wxTaskBarIconEvent
,
32548 &_swigt__p_wxTextEntryDialog
,
32549 &_swigt__p_wxTipWindow
,
32550 &_swigt__p_wxToolBar
,
32551 &_swigt__p_wxTopLevelWindow
,
32552 &_swigt__p_wxUpdateUIEvent
,
32553 &_swigt__p_wxValidator
,
32554 &_swigt__p_wxVisualAttributes
,
32555 &_swigt__p_wxWindow
,
32556 &_swigt__p_wxWindowCreateEvent
,
32557 &_swigt__p_wxWindowDestroyEvent
,
32558 &_swigt__p_wxXPMHandler
,
32561 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32562 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32563 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32564 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32565 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32566 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32567 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32568 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32569 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32570 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32571 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32572 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32573 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32574 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32575 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32576 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32577 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32578 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32579 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32580 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32581 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
32582 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32583 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}};
32584 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32585 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32586 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32587 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32588 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32589 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32590 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32591 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32592 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32593 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32594 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32595 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32596 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32597 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32598 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32599 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32600 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32601 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32602 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32603 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32604 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32605 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32606 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32607 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32608 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32609 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32610 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32611 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_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_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}};
32612 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32613 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32614 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32615 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32616 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32617 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_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}};
32618 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32619 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32620 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32621 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32622 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32623 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32624 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32625 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32626 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
32627 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32628 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32629 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32630 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32631 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32632 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
32633 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
32634 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
32635 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
32636 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
32637 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32638 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}};
32639 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
32640 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32641 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
32642 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
32643 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32644 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32645 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
32646 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
32647 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32648 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
32649 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
32650 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
32651 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
32652 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32653 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
32654 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
32655 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
32656 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
32657 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
32658 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32659 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32660 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
32661 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
32662 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32663 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
32664 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
32665 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
32666 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
32667 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_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_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_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_wxImageHandler
, _p_wxImageHandlerTo_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_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
32668 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
32669 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32670 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}};
32671 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
32672 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
32673 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
32674 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
32675 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
32676 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}};
32677 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}};
32678 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
32679 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
32680 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
32681 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}};
32682 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
32683 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
32684 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
32685 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
32686 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxPyPopupTransientWindow
, 0, 0},{0, 0, 0, 0}};
32687 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
32688 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
32689 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
32690 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
32691 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
32692 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32693 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}};
32694 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}};
32695 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
32696 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
32697 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
32698 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
32699 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
32700 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
32701 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}};
32702 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
32703 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}};
32704 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32705 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
32706 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
32707 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
32708 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
32709 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
32710 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
32711 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
32712 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
32713 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
32714 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
32715 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}};
32716 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
32717 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
32718 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_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}};
32719 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
32720 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_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxWindow
, 0, 0},{0, 0, 0, 0}};
32722 static swig_cast_info
*swig_cast_initial
[] = {
32724 _swigc__p_form_ops_t
,
32726 _swigc__p_unsigned_char
,
32727 _swigc__p_unsigned_int
,
32728 _swigc__p_unsigned_long
,
32729 _swigc__p_wxANIHandler
,
32730 _swigc__p_wxAcceleratorTable
,
32731 _swigc__p_wxActivateEvent
,
32732 _swigc__p_wxArrayInt
,
32733 _swigc__p_wxBMPHandler
,
32734 _swigc__p_wxBitmap
,
32735 _swigc__p_wxBoxSizer
,
32736 _swigc__p_wxCURHandler
,
32737 _swigc__p_wxCalculateLayoutEvent
,
32738 _swigc__p_wxChildFocusEvent
,
32739 _swigc__p_wxCloseEvent
,
32740 _swigc__p_wxColour
,
32741 _swigc__p_wxColourData
,
32742 _swigc__p_wxColourDialog
,
32743 _swigc__p_wxCommandEvent
,
32744 _swigc__p_wxContextMenuEvent
,
32745 _swigc__p_wxControl
,
32746 _swigc__p_wxControlWithItems
,
32748 _swigc__p_wxDateEvent
,
32749 _swigc__p_wxDialog
,
32750 _swigc__p_wxDirDialog
,
32751 _swigc__p_wxDisplayChangedEvent
,
32752 _swigc__p_wxDropFilesEvent
,
32753 _swigc__p_wxDuplexMode
,
32754 _swigc__p_wxEraseEvent
,
32756 _swigc__p_wxEvtHandler
,
32757 _swigc__p_wxFSFile
,
32758 _swigc__p_wxFileDialog
,
32759 _swigc__p_wxFileSystem
,
32760 _swigc__p_wxFindDialogEvent
,
32761 _swigc__p_wxFindReplaceData
,
32762 _swigc__p_wxFindReplaceDialog
,
32763 _swigc__p_wxFlexGridSizer
,
32764 _swigc__p_wxFocusEvent
,
32766 _swigc__p_wxFontData
,
32767 _swigc__p_wxFontDialog
,
32769 _swigc__p_wxGBSizerItem
,
32770 _swigc__p_wxGIFHandler
,
32771 _swigc__p_wxGridBagSizer
,
32772 _swigc__p_wxGridSizer
,
32773 _swigc__p_wxICOHandler
,
32775 _swigc__p_wxIconBundle
,
32776 _swigc__p_wxIconizeEvent
,
32777 _swigc__p_wxIdleEvent
,
32779 _swigc__p_wxImageHandler
,
32780 _swigc__p_wxIndividualLayoutConstraint
,
32781 _swigc__p_wxInitDialogEvent
,
32782 _swigc__p_wxJPEGHandler
,
32783 _swigc__p_wxKeyEvent
,
32784 _swigc__p_wxLayoutAlgorithm
,
32785 _swigc__p_wxLayoutConstraints
,
32786 _swigc__p_wxMDIChildFrame
,
32787 _swigc__p_wxMDIClientWindow
,
32788 _swigc__p_wxMDIParentFrame
,
32789 _swigc__p_wxMaximizeEvent
,
32791 _swigc__p_wxMenuBar
,
32792 _swigc__p_wxMenuEvent
,
32793 _swigc__p_wxMenuItem
,
32794 _swigc__p_wxMessageDialog
,
32795 _swigc__p_wxMiniFrame
,
32796 _swigc__p_wxMouseCaptureChangedEvent
,
32797 _swigc__p_wxMouseEvent
,
32798 _swigc__p_wxMoveEvent
,
32799 _swigc__p_wxMultiChoiceDialog
,
32800 _swigc__p_wxNavigationKeyEvent
,
32801 _swigc__p_wxNcPaintEvent
,
32802 _swigc__p_wxNotifyEvent
,
32803 _swigc__p_wxObject
,
32804 _swigc__p_wxPCXHandler
,
32805 _swigc__p_wxPNGHandler
,
32806 _swigc__p_wxPNMHandler
,
32807 _swigc__p_wxPageSetupDialog
,
32808 _swigc__p_wxPageSetupDialogData
,
32809 _swigc__p_wxPaintEvent
,
32810 _swigc__p_wxPaletteChangedEvent
,
32812 _swigc__p_wxPaperSize
,
32813 _swigc__p_wxPasswordEntryDialog
,
32815 _swigc__p_wxPopupWindow
,
32816 _swigc__p_wxPreviewCanvas
,
32817 _swigc__p_wxPreviewControlBar
,
32818 _swigc__p_wxPreviewFrame
,
32819 _swigc__p_wxPrintData
,
32820 _swigc__p_wxPrintDialog
,
32821 _swigc__p_wxPrintDialogData
,
32822 _swigc__p_wxPrintPreview
,
32823 _swigc__p_wxPrinter
,
32824 _swigc__p_wxProgressDialog
,
32826 _swigc__p_wxPyCommandEvent
,
32827 _swigc__p_wxPyEvent
,
32828 _swigc__p_wxPyHtmlListBox
,
32829 _swigc__p_wxPyImageHandler
,
32830 _swigc__p_wxPyPanel
,
32831 _swigc__p_wxPyPopupTransientWindow
,
32832 _swigc__p_wxPyPreviewControlBar
,
32833 _swigc__p_wxPyPreviewFrame
,
32834 _swigc__p_wxPyPrintPreview
,
32835 _swigc__p_wxPyPrintout
,
32836 _swigc__p_wxPyScrolledWindow
,
32837 _swigc__p_wxPySizer
,
32838 _swigc__p_wxPyTaskBarIcon
,
32839 _swigc__p_wxPyVListBox
,
32840 _swigc__p_wxPyVScrolledWindow
,
32841 _swigc__p_wxPyValidator
,
32842 _swigc__p_wxPyWindow
,
32843 _swigc__p_wxQueryLayoutInfoEvent
,
32844 _swigc__p_wxQueryNewPaletteEvent
,
32846 _swigc__p_wxRegion
,
32847 _swigc__p_wxSashEvent
,
32848 _swigc__p_wxSashLayoutWindow
,
32849 _swigc__p_wxSashWindow
,
32850 _swigc__p_wxScrollEvent
,
32851 _swigc__p_wxScrollWinEvent
,
32852 _swigc__p_wxScrolledWindow
,
32853 _swigc__p_wxSetCursorEvent
,
32854 _swigc__p_wxShowEvent
,
32855 _swigc__p_wxSingleChoiceDialog
,
32857 _swigc__p_wxSizeEvent
,
32859 _swigc__p_wxSizerItem
,
32860 _swigc__p_wxSplashScreen
,
32861 _swigc__p_wxSplashScreenWindow
,
32862 _swigc__p_wxSplitterEvent
,
32863 _swigc__p_wxSplitterWindow
,
32864 _swigc__p_wxStaticBoxSizer
,
32865 _swigc__p_wxStatusBar
,
32866 _swigc__p_wxStdDialogButtonSizer
,
32867 _swigc__p_wxString
,
32868 _swigc__p_wxSysColourChangedEvent
,
32869 _swigc__p_wxTIFFHandler
,
32870 _swigc__p_wxTaskBarIcon
,
32871 _swigc__p_wxTaskBarIconEvent
,
32872 _swigc__p_wxTextEntryDialog
,
32873 _swigc__p_wxTipWindow
,
32874 _swigc__p_wxToolBar
,
32875 _swigc__p_wxTopLevelWindow
,
32876 _swigc__p_wxUpdateUIEvent
,
32877 _swigc__p_wxValidator
,
32878 _swigc__p_wxVisualAttributes
,
32879 _swigc__p_wxWindow
,
32880 _swigc__p_wxWindowCreateEvent
,
32881 _swigc__p_wxWindowDestroyEvent
,
32882 _swigc__p_wxXPMHandler
,
32886 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
32888 static swig_const_info swig_const_table
[] = {
32889 {0, 0, 0, 0.0, 0, 0}};
32894 /* -----------------------------------------------------------------------------
32895 * Type initialization:
32896 * This problem is tough by the requirement that no dynamic
32897 * memory is used. Also, since swig_type_info structures store pointers to
32898 * swig_cast_info structures and swig_cast_info structures store pointers back
32899 * to swig_type_info structures, we need some lookup code at initialization.
32900 * The idea is that swig generates all the structures that are needed.
32901 * The runtime then collects these partially filled structures.
32902 * The SWIG_InitializeModule function takes these initial arrays out of
32903 * swig_module, and does all the lookup, filling in the swig_module.types
32904 * array with the correct data and linking the correct swig_cast_info
32905 * structures together.
32907 * The generated swig_type_info structures are assigned staticly to an initial
32908 * array. We just loop though that array, and handle each type individually.
32909 * First we lookup if this type has been already loaded, and if so, use the
32910 * loaded structure instead of the generated one. Then we have to fill in the
32911 * cast linked list. The cast data is initially stored in something like a
32912 * two-dimensional array. Each row corresponds to a type (there are the same
32913 * number of rows as there are in the swig_type_initial array). Each entry in
32914 * a column is one of the swig_cast_info structures for that type.
32915 * The cast_initial array is actually an array of arrays, because each row has
32916 * a variable number of columns. So to actually build the cast linked list,
32917 * we find the array of casts associated with the type, and loop through it
32918 * adding the casts to the list. The one last trick we need to do is making
32919 * sure the type pointer in the swig_cast_info struct is correct.
32921 * First off, we lookup the cast->type name to see if it is already loaded.
32922 * There are three cases to handle:
32923 * 1) If the cast->type has already been loaded AND the type we are adding
32924 * casting info to has not been loaded (it is in this module), THEN we
32925 * replace the cast->type pointer with the type pointer that has already
32927 * 2) If BOTH types (the one we are adding casting info to, and the
32928 * cast->type) are loaded, THEN the cast info has already been loaded by
32929 * the previous module so we just ignore it.
32930 * 3) Finally, if cast->type has not already been loaded, then we add that
32931 * swig_cast_info to the linked list (because the cast->type) pointer will
32933 * ----------------------------------------------------------------------------- */
32943 #define SWIGRUNTIME_DEBUG
32947 SWIG_InitializeModule(void *clientdata
) {
32949 swig_module_info
*module_head
;
32950 static int init_run
= 0;
32952 clientdata
= clientdata
;
32954 if (init_run
) return;
32957 /* Initialize the swig_module */
32958 swig_module
.type_initial
= swig_type_initial
;
32959 swig_module
.cast_initial
= swig_cast_initial
;
32961 /* Try and load any already created modules */
32962 module_head
= SWIG_GetModule(clientdata
);
32964 swig_module
.next
= module_head
->next
;
32965 module_head
->next
= &swig_module
;
32967 /* This is the first module loaded */
32968 swig_module
.next
= &swig_module
;
32969 SWIG_SetModule(clientdata
, &swig_module
);
32972 /* Now work on filling in swig_module.types */
32973 #ifdef SWIGRUNTIME_DEBUG
32974 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
32976 for (i
= 0; i
< swig_module
.size
; ++i
) {
32977 swig_type_info
*type
= 0;
32978 swig_type_info
*ret
;
32979 swig_cast_info
*cast
;
32981 #ifdef SWIGRUNTIME_DEBUG
32982 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
32985 /* if there is another module already loaded */
32986 if (swig_module
.next
!= &swig_module
) {
32987 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
32990 /* Overwrite clientdata field */
32991 #ifdef SWIGRUNTIME_DEBUG
32992 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
32994 if (swig_module
.type_initial
[i
]->clientdata
) {
32995 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
32996 #ifdef SWIGRUNTIME_DEBUG
32997 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33001 type
= swig_module
.type_initial
[i
];
33004 /* Insert casting types */
33005 cast
= swig_module
.cast_initial
[i
];
33006 while (cast
->type
) {
33007 /* Don't need to add information already in the list */
33009 #ifdef SWIGRUNTIME_DEBUG
33010 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33012 if (swig_module
.next
!= &swig_module
) {
33013 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33014 #ifdef SWIGRUNTIME_DEBUG
33015 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33019 if (type
== swig_module
.type_initial
[i
]) {
33020 #ifdef SWIGRUNTIME_DEBUG
33021 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33026 /* Check for casting already in the list */
33027 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33028 #ifdef SWIGRUNTIME_DEBUG
33029 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33031 if (!ocast
) ret
= 0;
33036 #ifdef SWIGRUNTIME_DEBUG
33037 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33040 type
->cast
->prev
= cast
;
33041 cast
->next
= type
->cast
;
33047 /* Set entry in modules->types array equal to the type */
33048 swig_module
.types
[i
] = type
;
33050 swig_module
.types
[i
] = 0;
33052 #ifdef SWIGRUNTIME_DEBUG
33053 printf("**** SWIG_InitializeModule: Cast List ******\n");
33054 for (i
= 0; i
< swig_module
.size
; ++i
) {
33056 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33057 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33058 while (cast
->type
) {
33059 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33063 printf("---- Total casts: %d\n",j
);
33065 printf("**** SWIG_InitializeModule: Cast List ******\n");
33069 /* This function will propagate the clientdata field of type to
33070 * any new swig_type_info structures that have been added into the list
33071 * of equivalent types. It is like calling
33072 * SWIG_TypeClientData(type, clientdata) a second time.
33075 SWIG_PropagateClientData(void) {
33077 swig_cast_info
*equiv
;
33078 static int init_run
= 0;
33080 if (init_run
) return;
33083 for (i
= 0; i
< swig_module
.size
; i
++) {
33084 if (swig_module
.types
[i
]->clientdata
) {
33085 equiv
= swig_module
.types
[i
]->cast
;
33087 if (!equiv
->converter
) {
33088 if (equiv
->type
&& !equiv
->type
->clientdata
)
33089 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33091 equiv
= equiv
->next
;
33111 /* Python-specific SWIG API */
33112 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33113 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33114 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33116 /* -----------------------------------------------------------------------------
33117 * global variable support code.
33118 * ----------------------------------------------------------------------------- */
33120 typedef struct swig_globalvar
{
33121 char *name
; /* Name of global variable */
33122 PyObject
*(*get_attr
)(void); /* Return the current value */
33123 int (*set_attr
)(PyObject
*); /* Set the value */
33124 struct swig_globalvar
*next
;
33127 typedef struct swig_varlinkobject
{
33129 swig_globalvar
*vars
;
33130 } swig_varlinkobject
;
33132 SWIGINTERN PyObject
*
33133 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33134 return PyString_FromString("<Swig global variables>");
33137 SWIGINTERN PyObject
*
33138 swig_varlink_str(swig_varlinkobject
*v
) {
33139 PyObject
*str
= PyString_FromString("(");
33140 swig_globalvar
*var
;
33141 for (var
= v
->vars
; var
; var
=var
->next
) {
33142 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33143 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33145 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33150 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33151 PyObject
*str
= swig_varlink_str(v
);
33152 fprintf(fp
,"Swig global variables ");
33153 fprintf(fp
,"%s\n", PyString_AsString(str
));
33159 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33160 swig_globalvar
*var
= v
->vars
;
33162 swig_globalvar
*n
= var
->next
;
33169 SWIGINTERN PyObject
*
33170 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33171 PyObject
*res
= NULL
;
33172 swig_globalvar
*var
= v
->vars
;
33174 if (strcmp(var
->name
,n
) == 0) {
33175 res
= (*var
->get_attr
)();
33180 if (res
== NULL
&& !PyErr_Occurred()) {
33181 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33187 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33189 swig_globalvar
*var
= v
->vars
;
33191 if (strcmp(var
->name
,n
) == 0) {
33192 res
= (*var
->set_attr
)(p
);
33197 if (res
== 1 && !PyErr_Occurred()) {
33198 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33203 SWIGINTERN PyTypeObject
*
33204 swig_varlink_type(void) {
33205 static char varlink__doc__
[] = "Swig var link object";
33206 static PyTypeObject varlink_type
;
33207 static int type_init
= 0;
33209 const PyTypeObject tmp
33211 PyObject_HEAD_INIT(NULL
)
33212 0, /* Number of items in variable part (ob_size) */
33213 (char *)"swigvarlink", /* Type name (tp_name) */
33214 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33215 0, /* Itemsize (tp_itemsize) */
33216 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33217 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33218 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33219 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33220 0, /* tp_compare */
33221 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33222 0, /* tp_as_number */
33223 0, /* tp_as_sequence */
33224 0, /* tp_as_mapping */
33227 (reprfunc
)swig_varlink_str
, /* tp_str */
33228 0, /* tp_getattro */
33229 0, /* tp_setattro */
33230 0, /* tp_as_buffer */
33232 varlink__doc__
, /* tp_doc */
33233 0, /* tp_traverse */
33235 0, /* tp_richcompare */
33236 0, /* tp_weaklistoffset */
33237 #if PY_VERSION_HEX >= 0x02020000
33238 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33240 #if PY_VERSION_HEX >= 0x02030000
33243 #ifdef COUNT_ALLOCS
33244 0,0,0,0 /* tp_alloc -> tp_next */
33247 varlink_type
= tmp
;
33248 varlink_type
.ob_type
= &PyType_Type
;
33251 return &varlink_type
;
33254 /* Create a variable linking object for use later */
33255 SWIGINTERN PyObject
*
33256 SWIG_Python_newvarlink(void) {
33257 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33261 return ((PyObject
*) result
);
33265 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33266 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33267 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33269 size_t size
= strlen(name
)+1;
33270 gv
->name
= (char *)malloc(size
);
33272 strncpy(gv
->name
,name
,size
);
33273 gv
->get_attr
= get_attr
;
33274 gv
->set_attr
= set_attr
;
33275 gv
->next
= v
->vars
;
33281 SWIGINTERN PyObject
*
33283 static PyObject
*_SWIG_globals
= 0;
33284 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33285 return _SWIG_globals
;
33288 /* -----------------------------------------------------------------------------
33289 * constants/methods manipulation
33290 * ----------------------------------------------------------------------------- */
33292 /* Install Constants */
33294 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33297 for (i
= 0; constants
[i
].type
; ++i
) {
33298 switch(constants
[i
].type
) {
33299 case SWIG_PY_POINTER
:
33300 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33302 case SWIG_PY_BINARY
:
33303 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33310 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33316 /* -----------------------------------------------------------------------------*/
33317 /* Fix SwigMethods to carry the callback ptrs when needed */
33318 /* -----------------------------------------------------------------------------*/
33321 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33322 swig_const_info
*const_table
,
33323 swig_type_info
**types
,
33324 swig_type_info
**types_initial
) {
33326 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33327 char *c
= methods
[i
].ml_doc
;
33328 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33330 swig_const_info
*ci
= 0;
33331 char *name
= c
+ 10;
33332 for (j
= 0; const_table
[j
].type
; ++j
) {
33333 if (strncmp(const_table
[j
].name
, name
,
33334 strlen(const_table
[j
].name
)) == 0) {
33335 ci
= &(const_table
[j
]);
33340 size_t shift
= (ci
->ptype
) - types
;
33341 swig_type_info
*ty
= types_initial
[shift
];
33342 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33343 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33344 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33347 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33349 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33351 strncpy(buff
, "swig_ptr: ", 10);
33353 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33354 methods
[i
].ml_doc
= ndoc
;
33366 /* -----------------------------------------------------------------------------*
33367 * Partial Init method
33368 * -----------------------------------------------------------------------------*/
33373 SWIGEXPORT
void SWIG_init(void) {
33376 /* Fix SwigMethods to carry the callback ptrs when needed */
33377 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33379 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33380 d
= PyModule_GetDict(m
);
33382 SWIG_InitializeModule(0);
33383 SWIG_InstallConstants(d
,swig_const_table
);
33386 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33387 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33388 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33389 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33390 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33391 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33392 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33393 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33394 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33395 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33396 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33397 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33398 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33399 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33400 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33401 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33402 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33403 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33404 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33405 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33406 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33407 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33408 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33409 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33410 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33411 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33412 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33413 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33414 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33415 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33416 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33417 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33418 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33419 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33420 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33421 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33422 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33423 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33424 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33425 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33426 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33427 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33428 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33429 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33430 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33431 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33432 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33433 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33434 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33435 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33436 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33437 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33438 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33439 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33440 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33441 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33442 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33443 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33444 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33445 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33446 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33447 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33448 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33449 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33450 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33451 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33452 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33453 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33454 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33455 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33456 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33457 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33458 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33459 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33460 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33461 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33462 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33463 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33464 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33465 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33466 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33467 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33468 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33469 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33470 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33471 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33472 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33473 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33474 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33475 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33476 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33477 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33478 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33479 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33480 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33481 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33482 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33483 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33484 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33485 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33486 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33487 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33489 // Map renamed classes back to their common name for OOR
33490 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33491 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33492 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33494 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33495 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33496 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33497 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33498 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33499 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33500 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33501 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33502 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33503 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33504 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33505 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33506 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33507 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33508 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33509 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33510 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33511 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33512 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33513 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33514 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33515 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33516 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33517 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33518 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33519 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33520 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33521 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33522 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33523 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33524 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33525 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33526 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33527 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33528 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33529 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33530 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33531 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33532 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33533 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33534 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33535 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33536 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33537 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33538 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33539 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33540 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33541 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33542 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33543 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33544 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33545 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33546 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33547 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33548 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33549 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33550 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33551 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33552 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33553 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33554 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33555 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33556 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33557 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33558 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33559 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33560 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33561 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33562 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33563 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33564 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33565 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33566 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33567 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33568 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33569 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33570 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33571 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33573 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");