1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxArrayString swig_types[11]
2478 #define SWIGTYPE_p_wxBMPHandler swig_types[12]
2479 #define SWIGTYPE_p_wxBitmap swig_types[13]
2480 #define SWIGTYPE_p_wxBoxSizer swig_types[14]
2481 #define SWIGTYPE_p_wxCURHandler swig_types[15]
2482 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[16]
2483 #define SWIGTYPE_p_wxChildFocusEvent swig_types[17]
2484 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[18]
2485 #define SWIGTYPE_p_wxCloseEvent swig_types[19]
2486 #define SWIGTYPE_p_wxColour swig_types[20]
2487 #define SWIGTYPE_p_wxColourData swig_types[21]
2488 #define SWIGTYPE_p_wxColourDialog swig_types[22]
2489 #define SWIGTYPE_p_wxCommandEvent swig_types[23]
2490 #define SWIGTYPE_p_wxContextMenuEvent swig_types[24]
2491 #define SWIGTYPE_p_wxControl swig_types[25]
2492 #define SWIGTYPE_p_wxControlWithItems swig_types[26]
2493 #define SWIGTYPE_p_wxDC swig_types[27]
2494 #define SWIGTYPE_p_wxDateEvent swig_types[28]
2495 #define SWIGTYPE_p_wxDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDirDialog swig_types[30]
2497 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDropFilesEvent swig_types[32]
2499 #define SWIGTYPE_p_wxDuplexMode swig_types[33]
2500 #define SWIGTYPE_p_wxEraseEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvent swig_types[35]
2502 #define SWIGTYPE_p_wxEventBlocker swig_types[36]
2503 #define SWIGTYPE_p_wxEvtHandler swig_types[37]
2504 #define SWIGTYPE_p_wxFSFile swig_types[38]
2505 #define SWIGTYPE_p_wxFileDialog swig_types[39]
2506 #define SWIGTYPE_p_wxFileSystem swig_types[40]
2507 #define SWIGTYPE_p_wxFindDialogEvent swig_types[41]
2508 #define SWIGTYPE_p_wxFindReplaceData swig_types[42]
2509 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[43]
2510 #define SWIGTYPE_p_wxFlexGridSizer swig_types[44]
2511 #define SWIGTYPE_p_wxFocusEvent swig_types[45]
2512 #define SWIGTYPE_p_wxFont swig_types[46]
2513 #define SWIGTYPE_p_wxFontData swig_types[47]
2514 #define SWIGTYPE_p_wxFontDialog swig_types[48]
2515 #define SWIGTYPE_p_wxFrame swig_types[49]
2516 #define SWIGTYPE_p_wxGBSizerItem swig_types[50]
2517 #define SWIGTYPE_p_wxGIFHandler swig_types[51]
2518 #define SWIGTYPE_p_wxGridBagSizer swig_types[52]
2519 #define SWIGTYPE_p_wxGridSizer swig_types[53]
2520 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[54]
2521 #define SWIGTYPE_p_wxICOHandler swig_types[55]
2522 #define SWIGTYPE_p_wxIcon swig_types[56]
2523 #define SWIGTYPE_p_wxIconBundle swig_types[57]
2524 #define SWIGTYPE_p_wxIconizeEvent swig_types[58]
2525 #define SWIGTYPE_p_wxIdleEvent swig_types[59]
2526 #define SWIGTYPE_p_wxImage swig_types[60]
2527 #define SWIGTYPE_p_wxImageHandler swig_types[61]
2528 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[62]
2529 #define SWIGTYPE_p_wxInitDialogEvent swig_types[63]
2530 #define SWIGTYPE_p_wxItemContainer swig_types[64]
2531 #define SWIGTYPE_p_wxJPEGHandler swig_types[65]
2532 #define SWIGTYPE_p_wxKeyEvent swig_types[66]
2533 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[67]
2534 #define SWIGTYPE_p_wxLayoutConstraints swig_types[68]
2535 #define SWIGTYPE_p_wxMDIChildFrame swig_types[69]
2536 #define SWIGTYPE_p_wxMDIClientWindow swig_types[70]
2537 #define SWIGTYPE_p_wxMDIParentFrame swig_types[71]
2538 #define SWIGTYPE_p_wxMaximizeEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenu swig_types[73]
2540 #define SWIGTYPE_p_wxMenuBar swig_types[74]
2541 #define SWIGTYPE_p_wxMenuEvent swig_types[75]
2542 #define SWIGTYPE_p_wxMenuItem swig_types[76]
2543 #define SWIGTYPE_p_wxMessageDialog swig_types[77]
2544 #define SWIGTYPE_p_wxMiniFrame swig_types[78]
2545 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[80]
2547 #define SWIGTYPE_p_wxMouseEvent swig_types[81]
2548 #define SWIGTYPE_p_wxMoveEvent swig_types[82]
2549 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[83]
2550 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[84]
2551 #define SWIGTYPE_p_wxNcPaintEvent swig_types[85]
2552 #define SWIGTYPE_p_wxNotifyEvent swig_types[86]
2553 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[87]
2554 #define SWIGTYPE_p_wxObject swig_types[88]
2555 #define SWIGTYPE_p_wxPCXHandler swig_types[89]
2556 #define SWIGTYPE_p_wxPNGHandler swig_types[90]
2557 #define SWIGTYPE_p_wxPNMHandler swig_types[91]
2558 #define SWIGTYPE_p_wxPageSetupDialog swig_types[92]
2559 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[93]
2560 #define SWIGTYPE_p_wxPaintEvent swig_types[94]
2561 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[95]
2562 #define SWIGTYPE_p_wxPanel swig_types[96]
2563 #define SWIGTYPE_p_wxPaperSize swig_types[97]
2564 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[98]
2565 #define SWIGTYPE_p_wxPoint swig_types[99]
2566 #define SWIGTYPE_p_wxPopupWindow swig_types[100]
2567 #define SWIGTYPE_p_wxPreviewCanvas swig_types[101]
2568 #define SWIGTYPE_p_wxPreviewControlBar swig_types[102]
2569 #define SWIGTYPE_p_wxPreviewFrame swig_types[103]
2570 #define SWIGTYPE_p_wxPrintData swig_types[104]
2571 #define SWIGTYPE_p_wxPrintDialog swig_types[105]
2572 #define SWIGTYPE_p_wxPrintDialogData swig_types[106]
2573 #define SWIGTYPE_p_wxPrintPreview swig_types[107]
2574 #define SWIGTYPE_p_wxPrinter swig_types[108]
2575 #define SWIGTYPE_p_wxProgressDialog swig_types[109]
2576 #define SWIGTYPE_p_wxPyApp swig_types[110]
2577 #define SWIGTYPE_p_wxPyCommandEvent swig_types[111]
2578 #define SWIGTYPE_p_wxPyEvent swig_types[112]
2579 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[113]
2580 #define SWIGTYPE_p_wxPyImageHandler swig_types[114]
2581 #define SWIGTYPE_p_wxPyPanel swig_types[115]
2582 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[116]
2583 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[117]
2584 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[118]
2585 #define SWIGTYPE_p_wxPyPrintPreview swig_types[119]
2586 #define SWIGTYPE_p_wxPyPrintout swig_types[120]
2587 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[121]
2588 #define SWIGTYPE_p_wxPySizer swig_types[122]
2589 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[123]
2590 #define SWIGTYPE_p_wxPyVListBox swig_types[124]
2591 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[125]
2592 #define SWIGTYPE_p_wxPyValidator swig_types[126]
2593 #define SWIGTYPE_p_wxPyWindow swig_types[127]
2594 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[128]
2595 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[129]
2596 #define SWIGTYPE_p_wxRect swig_types[130]
2597 #define SWIGTYPE_p_wxRegion swig_types[131]
2598 #define SWIGTYPE_p_wxSashEvent swig_types[132]
2599 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[133]
2600 #define SWIGTYPE_p_wxSashWindow swig_types[134]
2601 #define SWIGTYPE_p_wxScrollEvent swig_types[135]
2602 #define SWIGTYPE_p_wxScrollWinEvent swig_types[136]
2603 #define SWIGTYPE_p_wxScrolledWindow swig_types[137]
2604 #define SWIGTYPE_p_wxSetCursorEvent swig_types[138]
2605 #define SWIGTYPE_p_wxShowEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSimpleHtmlListBox swig_types[140]
2607 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[141]
2608 #define SWIGTYPE_p_wxSize swig_types[142]
2609 #define SWIGTYPE_p_wxSizeEvent swig_types[143]
2610 #define SWIGTYPE_p_wxSizer swig_types[144]
2611 #define SWIGTYPE_p_wxSizerItem swig_types[145]
2612 #define SWIGTYPE_p_wxSplashScreen swig_types[146]
2613 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[147]
2614 #define SWIGTYPE_p_wxSplitterEvent swig_types[148]
2615 #define SWIGTYPE_p_wxSplitterWindow swig_types[149]
2616 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[150]
2617 #define SWIGTYPE_p_wxStatusBar swig_types[151]
2618 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[152]
2619 #define SWIGTYPE_p_wxString swig_types[153]
2620 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[154]
2621 #define SWIGTYPE_p_wxTGAHandler swig_types[155]
2622 #define SWIGTYPE_p_wxTIFFHandler swig_types[156]
2623 #define SWIGTYPE_p_wxTaskBarIcon swig_types[157]
2624 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[158]
2625 #define SWIGTYPE_p_wxTextEntryDialog swig_types[159]
2626 #define SWIGTYPE_p_wxTipWindow swig_types[160]
2627 #define SWIGTYPE_p_wxToolBar swig_types[161]
2628 #define SWIGTYPE_p_wxTopLevelWindow swig_types[162]
2629 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[163]
2630 #define SWIGTYPE_p_wxValidator swig_types[164]
2631 #define SWIGTYPE_p_wxVisualAttributes swig_types[165]
2632 #define SWIGTYPE_p_wxWindow swig_types[166]
2633 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[167]
2634 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[168]
2635 #define SWIGTYPE_p_wxXPMHandler swig_types[169]
2636 static swig_type_info
*swig_types
[171];
2637 static swig_module_info swig_module
= {swig_types
, 170, 0, 0, 0, 0};
2638 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2639 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2641 /* -------- TYPES TABLE (END) -------- */
2643 #if (PY_VERSION_HEX <= 0x02000000)
2644 # if !defined(SWIG_PYTHON_CLASSIC)
2645 # error "This python version requires to use swig with the '-classic' option"
2648 #if (PY_VERSION_HEX <= 0x02020000)
2649 # error "This python version requires to use swig with the '-nomodern' option"
2651 #if (PY_VERSION_HEX <= 0x02020000)
2652 # error "This python version requires to use swig with the '-nomodernargs' option"
2655 # error "This python version requires to use swig with the '-nofastunpack' option"
2658 /*-----------------------------------------------
2659 @(target):= _windows_.so
2660 ------------------------------------------------*/
2661 #define SWIG_init init_windows_
2663 #define SWIG_name "_windows_"
2665 #define SWIGVERSION 0x010329
2668 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2669 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2672 #include <stdexcept>
2676 class PyObject_ptr
{
2681 PyObject_ptr() :_obj(0)
2685 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2690 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2692 if (initial_ref
) Py_XINCREF(_obj
);
2695 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2697 Py_XINCREF(item
._obj
);
2708 operator PyObject
*() const
2713 PyObject
*operator->() const
2722 struct PyObject_var
: PyObject_ptr
{
2723 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2725 PyObject_var
& operator = (PyObject
* obj
)
2735 #include "wx/wxPython/wxPython.h"
2736 #include "wx/wxPython/pyclasses.h"
2739 static const wxString
wxPyEmptyString(wxEmptyString
);
2740 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2746 # define LLONG_MIN LONG_LONG_MIN
2749 # define LLONG_MAX LONG_LONG_MAX
2752 # define ULLONG_MAX ULONG_LONG_MAX
2757 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2759 if (PyNumber_Check(obj
)) {
2760 if (val
) *val
= PyInt_AsLong(obj
);
2763 return SWIG_TypeError
;
2768 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2771 int res
= SWIG_AsVal_long (obj
, &v
);
2772 if (SWIG_IsOK(res
)) {
2773 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2774 return SWIG_OverflowError
;
2776 if (val
) *val
= static_cast< int >(v
);
2784 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2786 if (obj
== Py_True
) {
2787 if (val
) *val
= true;
2789 } else if (obj
== Py_False
) {
2790 if (val
) *val
= false;
2794 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2795 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2801 #define SWIG_From_long PyInt_FromLong
2804 SWIGINTERNINLINE PyObject
*
2805 SWIG_From_int (int value
)
2807 return SWIG_From_long (value
);
2812 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2814 if (PyNumber_Check(obj
)) {
2815 if (val
) *val
= PyFloat_AsDouble(obj
);
2818 return SWIG_TypeError
;
2822 #define SWIG_From_double PyFloat_FromDouble
2824 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2825 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2826 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2827 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2828 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2829 int style
= self
->GetExtraStyle();
2831 style
|= wxFRAME_EX_METAL
;
2833 style
&= ~wxFRAME_EX_METAL
;
2834 self
->SetExtraStyle(style
);
2837 #define wxDEFAULT_MINIFRAME_STYLE wxCAPTION | wxRESIZE_BORDER | wxTINY_CAPTION_HORIZ
2841 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2843 self
->GetFieldRect(i
, r
);
2846 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2847 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2848 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2850 #include <wx/popupwin.h>
2853 class wxPopupWindow
: public wxWindow
{
2855 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2856 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2859 class wxPyPopupTransientWindow
: public wxPopupWindow
2862 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2863 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2867 #include <wx/tipwin.h>
2869 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2870 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2873 #include <wx/tipwin.h>
2876 #include <wx/vscroll.h>
2879 class wxPyVScrolledWindow
: public wxVScrolledWindow
2881 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2883 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2885 wxPyVScrolledWindow(wxWindow
*parent
,
2886 wxWindowID id
= wxID_ANY
,
2887 const wxPoint
& pos
= wxDefaultPosition
,
2888 const wxSize
& size
= wxDefaultSize
,
2890 const wxString
& name
= wxPyPanelNameStr
)
2891 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2894 // Overridable virtuals
2896 // this function must be overridden in the derived class and it should
2897 // return the height of the given line in pixels
2898 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2901 // this function doesn't have to be overridden but it may be useful to do
2902 // it if calculating the lines heights is a relatively expensive operation
2903 // as it gives the user code a possibility to calculate several of them at
2906 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2907 // shouldn't rely on the latter being called for all lines in the interval
2908 // specified here. It is also possible that OnGetLineHeight() will be
2909 // called for the lines outside of this interval, so this is really just a
2910 // hint, not a promise.
2912 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2914 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2917 // when the number of lines changes, we try to estimate the total height
2918 // of all lines which is a rather expensive operation in terms of lines
2919 // access, so if the user code may estimate the average height
2920 // better/faster than we do, it should override this function to implement
2923 // this function should return the best guess for the total height it may
2925 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2928 // Also expose some other interesting protected methods
2931 // find the index of the line we need to show at the top of the window such
2932 // that the last (fully or partially) visible line is the given one
2933 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2934 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2936 // get the total height of the lines between lineMin (inclusive) and
2937 // lineMax (exclusive)
2938 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2939 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2941 // update the thumb size shown by the scrollbar
2942 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2944 // remove the scrollbar completely because we don't need it
2945 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2950 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2952 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2953 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2954 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2958 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2961 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2962 return SWIG_TypeError
;
2965 *val
= (unsigned long)v
;
2970 SWIGINTERNINLINE
int
2971 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2974 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2975 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2980 SWIGINTERNINLINE PyObject
*
2981 SWIG_From_unsigned_SS_long (unsigned long value
)
2983 return (value
> LONG_MAX
) ?
2984 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2988 SWIGINTERNINLINE PyObject
*
2989 SWIG_From_size_t (size_t value
)
2991 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2995 #include <wx/vlbox.h>
2997 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2999 class wxPyVListBox
: public wxVListBox
3001 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
3003 wxPyVListBox() : wxVListBox() {}
3005 wxPyVListBox(wxWindow
*parent
,
3006 wxWindowID id
= wxID_ANY
,
3007 const wxPoint
& pos
= wxDefaultPosition
,
3008 const wxSize
& size
= wxDefaultSize
,
3010 const wxString
& name
= wxPyVListBoxNameStr
)
3011 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3014 // Overridable virtuals
3016 // the derived class must implement this function to actually draw the item
3017 // with the given index on the provided DC
3018 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3019 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3022 // the derived class must implement this method to return the height of the
3024 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3025 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3028 // this method may be used to draw separators between the lines; note that
3029 // the rectangle may be modified, typically to deflate it a bit before
3030 // passing to OnDrawItem()
3032 // the base class version doesn't do anything
3033 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3034 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3037 // this method is used to draw the items background and, maybe, a border
3040 // the base class version implements a reasonable default behaviour which
3041 // consists in drawing the selected item with the standard background
3042 // colour and drawing a border around the item if it is either selected or
3044 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3045 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3051 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3053 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3054 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3055 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3056 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3059 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3060 unsigned long cookie
= 0;
3061 int selected
= self
->GetFirstSelected(cookie
);
3062 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3063 PyObject
* tup
= PyTuple_New(2);
3064 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3065 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3066 wxPyEndBlockThreads(blocked
);
3069 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3070 int selected
= self
->GetNextSelected(cookie
);
3071 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3072 PyObject
* tup
= PyTuple_New(2);
3073 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3074 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3075 wxPyEndBlockThreads(blocked
);
3079 #include <wx/htmllbox.h>
3082 class wxPyHtmlListBox
: public wxHtmlListBox
3084 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3086 wxPyHtmlListBox() : wxHtmlListBox() {}
3088 wxPyHtmlListBox(wxWindow
*parent
,
3089 wxWindowID id
= wxID_ANY
,
3090 const wxPoint
& pos
= wxDefaultPosition
,
3091 const wxSize
& size
= wxDefaultSize
,
3093 const wxString
& name
= wxPyVListBoxNameStr
)
3094 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3097 // Overridable virtuals
3099 // this method must be implemented in the derived class and should return
3100 // the body (i.e. without <html>) of the HTML for the given item
3101 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3103 // this function may be overridden to decorate HTML returned by OnGetItem()
3104 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3106 // These are from wxVListBox
3107 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3108 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3111 // // this method allows to customize the selection appearance: it may be used
3112 // // to specify the colour of the text which normally has the given colour
3113 // // colFg when it is inside the selection
3115 // // by default, the original colour is not used at all and all text has the
3116 // // same (default for this system) colour inside selection
3117 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3119 // // this is the same as GetSelectedTextColour() but allows to customize the
3120 // // background colour -- this is even more rarely used as you can change it
3121 // // globally using SetSelectionBackground()
3122 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3125 // This method may be overriden to handle clicking on a link in
3126 // the listbox. By default, clicking links is ignored.
3127 virtual void OnLinkClicked(size_t n
,
3128 const wxHtmlLinkInfo
& link
);
3134 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3136 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3137 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3138 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3139 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3142 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3143 const wxHtmlLinkInfo
& link
) {
3145 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3146 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3147 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3148 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3151 wxPyEndBlockThreads(blocked
);
3153 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3158 const wxArrayString wxPyEmptyStringArray
;
3160 static const wxString
wxPySimpleHtmlListBoxNameStr(wxSimpleHtmlListBoxNameStr
);
3164 #ifndef wxHAS_TASK_BAR_ICON
3165 // implement dummy classes for platforms that don't have it
3167 class wxTaskBarIcon
: public wxEvtHandler
3170 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3174 class wxTaskBarIconEvent
: public wxEvent
3177 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3178 { wxPyRaiseNotImplemented(); }
3179 virtual wxEvent
* Clone() const { return NULL
; }
3180 bool IsOk() const { return false; }
3181 bool IsIconInstalled() const { return false; }
3182 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3183 bool RemoveIcon() { return false; }
3184 bool PopupMenu(wxMenu
*menu
) { return false; }
3188 wxEVT_TASKBAR_MOVE
= 0,
3189 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3190 wxEVT_TASKBAR_LEFT_UP
= 0,
3191 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3192 wxEVT_TASKBAR_RIGHT_UP
= 0,
3193 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3194 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3199 // Otherwise make a class that can virtualize CreatePopupMenu
3200 class wxPyTaskBarIcon
: public wxTaskBarIcon
3202 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3204 wxPyTaskBarIcon() : wxTaskBarIcon()
3207 wxMenu
* CreatePopupMenu() {
3208 wxMenu
*rval
= NULL
;
3210 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3211 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3214 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3216 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3221 wxPyEndBlockThreads(blocked
);
3223 rval
= wxTaskBarIcon::CreatePopupMenu();
3230 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3234 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3238 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3239 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3240 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3241 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3242 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3243 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3245 // for compatibility only
3246 #define wxHIDE_READONLY 0
3248 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3250 self
->GetFilenames(arr
);
3251 return wxArrayString2PyList_helper(arr
);
3253 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3255 self
->GetPaths(arr
);
3256 return wxArrayString2PyList_helper(arr
);
3258 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3259 return wxArrayInt2PyList_helper(self
->GetSelections());
3261 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
){
3262 return new wxSingleChoiceDialog(parent
, message
, caption
,
3263 choices
, choices_array
, NULL
, style
, pos
);
3265 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3267 SWIGINTERNINLINE PyObject
*
3268 SWIG_From_bool (bool value
)
3270 return PyBool_FromLong(value
? 1 : 0);
3276 // C++ version of Python aware wxWindow
3277 class wxPyWindow
: public wxWindow
3279 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3281 wxPyWindow() : wxWindow() {}
3282 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3283 const wxPoint
& pos
= wxDefaultPosition
,
3284 const wxSize
& size
= wxDefaultSize
,
3286 const wxString
& name
= wxPyPanelNameStr
)
3287 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3290 bool DoEraseBackground(wxDC
* dc
) {
3292 return wxWindow::DoEraseBackground(dc
->GetHDC());
3294 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3300 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3301 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3302 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3303 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3305 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3306 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3307 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3309 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3310 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3312 DEC_PYCALLBACK__(InitDialog
);
3313 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3314 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3315 DEC_PYCALLBACK_BOOL_(Validate
);
3317 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3318 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3319 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3321 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3322 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3324 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3325 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3327 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3329 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3334 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3336 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3337 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3338 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3339 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3341 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3342 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3343 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3346 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3348 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3349 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3350 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3351 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3353 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3354 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3355 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3357 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3358 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3360 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3361 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3363 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3365 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3367 // C++ version of Python aware wxPanel
3368 class wxPyPanel
: public wxPanel
3370 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3372 wxPyPanel() : wxPanel() {}
3373 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3374 const wxPoint
& pos
= wxDefaultPosition
,
3375 const wxSize
& size
= wxDefaultSize
,
3377 const wxString
& name
= wxPyPanelNameStr
)
3378 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3380 bool DoEraseBackground(wxDC
* dc
) {
3382 return wxWindow::DoEraseBackground(dc
->GetHDC());
3384 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3391 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3392 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3393 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3394 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3396 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3397 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3398 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3400 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3401 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3403 DEC_PYCALLBACK__(InitDialog
);
3404 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3405 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3406 DEC_PYCALLBACK_BOOL_(Validate
);
3408 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3409 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3410 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3412 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3413 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3415 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3416 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3418 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3420 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3425 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3427 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3428 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3429 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3430 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3432 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3433 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3434 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3436 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3439 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3440 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3441 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3442 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3444 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3445 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3446 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3448 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3449 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3451 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3452 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3454 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3456 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3458 // C++ version of Python aware wxScrolledWindow
3459 class wxPyScrolledWindow
: public wxScrolledWindow
3461 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3463 wxPyScrolledWindow() : wxScrolledWindow() {}
3464 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3465 const wxPoint
& pos
= wxDefaultPosition
,
3466 const wxSize
& size
= wxDefaultSize
,
3468 const wxString
& name
= wxPyPanelNameStr
)
3469 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3471 bool DoEraseBackground(wxDC
* dc
) {
3473 return wxWindow::DoEraseBackground(dc
->GetHDC());
3475 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3481 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3482 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3483 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3484 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3486 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3487 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3488 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3490 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3491 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3493 DEC_PYCALLBACK__(InitDialog
);
3494 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3495 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3496 DEC_PYCALLBACK_BOOL_(Validate
);
3498 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3499 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3500 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3502 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3503 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3505 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3506 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3508 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3510 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3515 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3517 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3518 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3519 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3520 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3522 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3523 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3524 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3526 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3527 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3529 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3530 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3531 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3532 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3534 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3535 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3536 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3538 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3539 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3541 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3542 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3544 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3546 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3549 #include "wx/wxPython/printfw.h"
3552 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3553 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3554 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3556 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3557 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3558 self
->GetPrivDataLen());
3559 wxPyEndBlockThreads(blocked
);
3562 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3563 if (! PyString_Check(data
)) {
3564 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3565 "Expected string object"));
3569 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3570 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3571 wxPyEndBlockThreads(blocked
);
3575 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3577 // Since this one would be tough and ugly to do with the Macros...
3578 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3579 bool hadErr
= false;
3582 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3583 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3584 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3585 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3588 val
= PyTuple_GetItem(result
, 0);
3589 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 1);
3593 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3596 val
= PyTuple_GetItem(result
, 2);
3597 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3600 val
= PyTuple_GetItem(result
, 3);
3601 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3608 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3613 wxPyEndBlockThreads(blocked
);
3615 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3620 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3621 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3622 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3623 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3624 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3625 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3626 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3632 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3633 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3636 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3637 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3640 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3641 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3642 PyObject* win = wxPyMake_wxObject(a,false); \
3643 PyObject* dc = wxPyMake_wxObject(&b,false); \
3644 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3648 wxPyEndBlockThreads(blocked); \
3650 rval = PCLASS::CBNAME(a, b); \
3657 class wxPyPrintPreview
: public wxPrintPreview
3659 DECLARE_CLASS(wxPyPrintPreview
)
3661 wxPyPrintPreview(wxPyPrintout
* printout
,
3662 wxPyPrintout
* printoutForPrinting
,
3663 wxPrintDialogData
* data
=NULL
)
3664 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3666 wxPyPrintPreview(wxPyPrintout
* printout
,
3667 wxPyPrintout
* printoutForPrinting
,
3669 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3672 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3673 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3674 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3675 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3676 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3677 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3678 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3683 // Stupid renamed classes... Fix this in 2.5...
3684 #if defined(__WXMSW__)
3685 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3686 #elif defined(__WXMAC__)
3687 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3689 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3692 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3693 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3694 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3695 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3696 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3697 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3698 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3701 class wxPyPreviewFrame
: public wxPreviewFrame
3703 DECLARE_CLASS(wxPyPreviewFrame
)
3705 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3706 const wxString
& title
,
3707 const wxPoint
& pos
= wxDefaultPosition
,
3708 const wxSize
& size
= wxDefaultSize
,
3709 long style
= wxDEFAULT_FRAME_STYLE
,
3710 const wxString
& name
= wxPyFrameNameStr
)
3711 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3714 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3715 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3717 DEC_PYCALLBACK_VOID_(Initialize
);
3718 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3719 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3724 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3726 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3727 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3728 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3731 class wxPyPreviewControlBar
: public wxPreviewControlBar
3733 DECLARE_CLASS(wxPyPreviewControlBar
)
3735 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3738 const wxPoint
& pos
= wxDefaultPosition
,
3739 const wxSize
& size
= wxDefaultSize
,
3741 const wxString
& name
= wxPyPanelNameStr
)
3742 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3745 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3747 DEC_PYCALLBACK_VOID_(CreateButtons
);
3748 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3753 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3754 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3755 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3760 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3761 PyObject
*resultobj
= 0;
3762 wxWindow
*arg1
= (wxWindow
*) 0 ;
3763 int arg2
= (int) (int)-1 ;
3764 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3765 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3766 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3767 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3768 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3769 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3770 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3771 wxPanel
*result
= 0 ;
3780 bool temp6
= false ;
3781 PyObject
* obj0
= 0 ;
3782 PyObject
* obj1
= 0 ;
3783 PyObject
* obj2
= 0 ;
3784 PyObject
* obj3
= 0 ;
3785 PyObject
* obj4
= 0 ;
3786 PyObject
* obj5
= 0 ;
3787 char * kwnames
[] = {
3788 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3791 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3792 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3793 if (!SWIG_IsOK(res1
)) {
3794 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3796 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3798 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3799 if (!SWIG_IsOK(ecode2
)) {
3800 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3802 arg2
= static_cast< int >(val2
);
3807 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3813 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3817 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3818 if (!SWIG_IsOK(ecode5
)) {
3819 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3821 arg5
= static_cast< long >(val5
);
3825 arg6
= wxString_in_helper(obj5
);
3826 if (arg6
== NULL
) SWIG_fail
;
3831 if (!wxPyCheckForApp()) SWIG_fail
;
3832 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3833 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3834 wxPyEndAllowThreads(__tstate
);
3835 if (PyErr_Occurred()) SWIG_fail
;
3837 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3852 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3853 PyObject
*resultobj
= 0;
3854 wxPanel
*result
= 0 ;
3856 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3858 if (!wxPyCheckForApp()) SWIG_fail
;
3859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3860 result
= (wxPanel
*)new wxPanel();
3861 wxPyEndAllowThreads(__tstate
);
3862 if (PyErr_Occurred()) SWIG_fail
;
3864 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3871 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3872 PyObject
*resultobj
= 0;
3873 wxPanel
*arg1
= (wxPanel
*) 0 ;
3874 wxWindow
*arg2
= (wxWindow
*) 0 ;
3875 int arg3
= (int) (int)-1 ;
3876 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3877 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3878 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3879 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3880 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3881 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3882 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3894 bool temp7
= false ;
3895 PyObject
* obj0
= 0 ;
3896 PyObject
* obj1
= 0 ;
3897 PyObject
* obj2
= 0 ;
3898 PyObject
* obj3
= 0 ;
3899 PyObject
* obj4
= 0 ;
3900 PyObject
* obj5
= 0 ;
3901 PyObject
* obj6
= 0 ;
3902 char * kwnames
[] = {
3903 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3906 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3907 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3908 if (!SWIG_IsOK(res1
)) {
3909 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3911 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3912 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3913 if (!SWIG_IsOK(res2
)) {
3914 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3916 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3918 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3919 if (!SWIG_IsOK(ecode3
)) {
3920 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3922 arg3
= static_cast< int >(val3
);
3927 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3933 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3937 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3938 if (!SWIG_IsOK(ecode6
)) {
3939 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3941 arg6
= static_cast< long >(val6
);
3945 arg7
= wxString_in_helper(obj6
);
3946 if (arg7
== NULL
) SWIG_fail
;
3951 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3952 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3953 wxPyEndAllowThreads(__tstate
);
3954 if (PyErr_Occurred()) SWIG_fail
;
3957 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3973 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3974 PyObject
*resultobj
= 0;
3975 wxPanel
*arg1
= (wxPanel
*) 0 ;
3978 PyObject
*swig_obj
[1] ;
3980 if (!args
) SWIG_fail
;
3982 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3983 if (!SWIG_IsOK(res1
)) {
3984 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3986 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3989 (arg1
)->SetFocusIgnoringChildren();
3990 wxPyEndAllowThreads(__tstate
);
3991 if (PyErr_Occurred()) SWIG_fail
;
3993 resultobj
= SWIG_Py_Void();
4000 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4001 PyObject
*resultobj
= 0;
4002 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
4003 SwigValueWrapper
<wxVisualAttributes
> result
;
4006 PyObject
* obj0
= 0 ;
4007 char * kwnames
[] = {
4008 (char *) "variant", NULL
4011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4013 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4014 if (!SWIG_IsOK(ecode1
)) {
4015 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4017 arg1
= static_cast< wxWindowVariant
>(val1
);
4020 if (!wxPyCheckForApp()) SWIG_fail
;
4021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4022 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4023 wxPyEndAllowThreads(__tstate
);
4024 if (PyErr_Occurred()) SWIG_fail
;
4026 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4033 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4035 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4036 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4037 return SWIG_Py_Void();
4040 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4041 return SWIG_Python_InitShadowInstance(args
);
4044 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4045 PyObject
*resultobj
= 0;
4046 wxWindow
*arg1
= (wxWindow
*) 0 ;
4047 int arg2
= (int) (int)-1 ;
4048 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4049 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4050 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4051 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4052 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4053 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4054 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4055 wxScrolledWindow
*result
= 0 ;
4064 bool temp6
= false ;
4065 PyObject
* obj0
= 0 ;
4066 PyObject
* obj1
= 0 ;
4067 PyObject
* obj2
= 0 ;
4068 PyObject
* obj3
= 0 ;
4069 PyObject
* obj4
= 0 ;
4070 PyObject
* obj5
= 0 ;
4071 char * kwnames
[] = {
4072 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4075 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4076 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4077 if (!SWIG_IsOK(res1
)) {
4078 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4080 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4082 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4083 if (!SWIG_IsOK(ecode2
)) {
4084 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4086 arg2
= static_cast< int >(val2
);
4091 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4097 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4101 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4102 if (!SWIG_IsOK(ecode5
)) {
4103 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4105 arg5
= static_cast< long >(val5
);
4109 arg6
= wxString_in_helper(obj5
);
4110 if (arg6
== NULL
) SWIG_fail
;
4115 if (!wxPyCheckForApp()) SWIG_fail
;
4116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4117 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4118 wxPyEndAllowThreads(__tstate
);
4119 if (PyErr_Occurred()) SWIG_fail
;
4121 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4136 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4137 PyObject
*resultobj
= 0;
4138 wxScrolledWindow
*result
= 0 ;
4140 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4142 if (!wxPyCheckForApp()) SWIG_fail
;
4143 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4144 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4145 wxPyEndAllowThreads(__tstate
);
4146 if (PyErr_Occurred()) SWIG_fail
;
4148 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4155 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4156 PyObject
*resultobj
= 0;
4157 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4158 wxWindow
*arg2
= (wxWindow
*) 0 ;
4159 int arg3
= (int) (int)-1 ;
4160 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4161 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4162 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4163 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4164 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4165 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4166 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4178 bool temp7
= false ;
4179 PyObject
* obj0
= 0 ;
4180 PyObject
* obj1
= 0 ;
4181 PyObject
* obj2
= 0 ;
4182 PyObject
* obj3
= 0 ;
4183 PyObject
* obj4
= 0 ;
4184 PyObject
* obj5
= 0 ;
4185 PyObject
* obj6
= 0 ;
4186 char * kwnames
[] = {
4187 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4192 if (!SWIG_IsOK(res1
)) {
4193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4195 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4196 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4197 if (!SWIG_IsOK(res2
)) {
4198 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4200 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4202 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4203 if (!SWIG_IsOK(ecode3
)) {
4204 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4206 arg3
= static_cast< int >(val3
);
4211 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4217 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4221 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4222 if (!SWIG_IsOK(ecode6
)) {
4223 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4225 arg6
= static_cast< long >(val6
);
4229 arg7
= wxString_in_helper(obj6
);
4230 if (arg7
== NULL
) SWIG_fail
;
4235 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4236 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4237 wxPyEndAllowThreads(__tstate
);
4238 if (PyErr_Occurred()) SWIG_fail
;
4241 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4257 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4258 PyObject
*resultobj
= 0;
4259 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4264 int arg6
= (int) 0 ;
4265 int arg7
= (int) 0 ;
4266 bool arg8
= (bool) false ;
4283 PyObject
* obj0
= 0 ;
4284 PyObject
* obj1
= 0 ;
4285 PyObject
* obj2
= 0 ;
4286 PyObject
* obj3
= 0 ;
4287 PyObject
* obj4
= 0 ;
4288 PyObject
* obj5
= 0 ;
4289 PyObject
* obj6
= 0 ;
4290 PyObject
* obj7
= 0 ;
4291 char * kwnames
[] = {
4292 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4297 if (!SWIG_IsOK(res1
)) {
4298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4300 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4301 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4302 if (!SWIG_IsOK(ecode2
)) {
4303 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4305 arg2
= static_cast< int >(val2
);
4306 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4307 if (!SWIG_IsOK(ecode3
)) {
4308 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4310 arg3
= static_cast< int >(val3
);
4311 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4312 if (!SWIG_IsOK(ecode4
)) {
4313 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4315 arg4
= static_cast< int >(val4
);
4316 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4317 if (!SWIG_IsOK(ecode5
)) {
4318 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4320 arg5
= static_cast< int >(val5
);
4322 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4323 if (!SWIG_IsOK(ecode6
)) {
4324 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4326 arg6
= static_cast< int >(val6
);
4329 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4330 if (!SWIG_IsOK(ecode7
)) {
4331 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4333 arg7
= static_cast< int >(val7
);
4336 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4337 if (!SWIG_IsOK(ecode8
)) {
4338 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4340 arg8
= static_cast< bool >(val8
);
4343 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4344 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4345 wxPyEndAllowThreads(__tstate
);
4346 if (PyErr_Occurred()) SWIG_fail
;
4348 resultobj
= SWIG_Py_Void();
4355 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4356 PyObject
*resultobj
= 0;
4357 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4366 PyObject
* obj0
= 0 ;
4367 PyObject
* obj1
= 0 ;
4368 PyObject
* obj2
= 0 ;
4369 char * kwnames
[] = {
4370 (char *) "self",(char *) "x",(char *) "y", NULL
4373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4375 if (!SWIG_IsOK(res1
)) {
4376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4378 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4380 if (!SWIG_IsOK(ecode2
)) {
4381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4383 arg2
= static_cast< int >(val2
);
4384 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4385 if (!SWIG_IsOK(ecode3
)) {
4386 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4388 arg3
= static_cast< int >(val3
);
4390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4391 (arg1
)->Scroll(arg2
,arg3
);
4392 wxPyEndAllowThreads(__tstate
);
4393 if (PyErr_Occurred()) SWIG_fail
;
4395 resultobj
= SWIG_Py_Void();
4402 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4403 PyObject
*resultobj
= 0;
4404 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4411 PyObject
* obj0
= 0 ;
4412 PyObject
* obj1
= 0 ;
4413 char * kwnames
[] = {
4414 (char *) "self",(char *) "orient", NULL
4417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4419 if (!SWIG_IsOK(res1
)) {
4420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4422 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4423 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4424 if (!SWIG_IsOK(ecode2
)) {
4425 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4427 arg2
= static_cast< int >(val2
);
4429 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4430 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4431 wxPyEndAllowThreads(__tstate
);
4432 if (PyErr_Occurred()) SWIG_fail
;
4434 resultobj
= SWIG_From_int(static_cast< int >(result
));
4441 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4442 PyObject
*resultobj
= 0;
4443 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4452 PyObject
* obj0
= 0 ;
4453 PyObject
* obj1
= 0 ;
4454 PyObject
* obj2
= 0 ;
4455 char * kwnames
[] = {
4456 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4459 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4460 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4461 if (!SWIG_IsOK(res1
)) {
4462 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4464 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4465 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4466 if (!SWIG_IsOK(ecode2
)) {
4467 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4469 arg2
= static_cast< int >(val2
);
4470 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4471 if (!SWIG_IsOK(ecode3
)) {
4472 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4474 arg3
= static_cast< int >(val3
);
4476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4477 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4478 wxPyEndAllowThreads(__tstate
);
4479 if (PyErr_Occurred()) SWIG_fail
;
4481 resultobj
= SWIG_Py_Void();
4488 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4489 PyObject
*resultobj
= 0;
4490 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4499 PyObject
* obj0
= 0 ;
4500 PyObject
* obj1
= 0 ;
4501 PyObject
* obj2
= 0 ;
4502 char * kwnames
[] = {
4503 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4508 if (!SWIG_IsOK(res1
)) {
4509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4511 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4512 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4513 if (!SWIG_IsOK(ecode2
)) {
4514 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4516 arg2
= static_cast< int >(val2
);
4517 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4518 if (!SWIG_IsOK(ecode3
)) {
4519 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4521 arg3
= static_cast< int >(val3
);
4523 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4524 (arg1
)->SetScrollRate(arg2
,arg3
);
4525 wxPyEndAllowThreads(__tstate
);
4526 if (PyErr_Occurred()) SWIG_fail
;
4528 resultobj
= SWIG_Py_Void();
4535 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4536 PyObject
*resultobj
= 0;
4537 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4538 int *arg2
= (int *) 0 ;
4539 int *arg3
= (int *) 0 ;
4543 int res2
= SWIG_TMPOBJ
;
4545 int res3
= SWIG_TMPOBJ
;
4546 PyObject
*swig_obj
[1] ;
4550 if (!args
) SWIG_fail
;
4552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4553 if (!SWIG_IsOK(res1
)) {
4554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4556 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4558 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4559 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4560 wxPyEndAllowThreads(__tstate
);
4561 if (PyErr_Occurred()) SWIG_fail
;
4563 resultobj
= SWIG_Py_Void();
4564 if (SWIG_IsTmpObj(res2
)) {
4565 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4567 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4568 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4570 if (SWIG_IsTmpObj(res3
)) {
4571 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4573 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4574 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4582 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4583 PyObject
*resultobj
= 0;
4584 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4593 PyObject
* obj0
= 0 ;
4594 PyObject
* obj1
= 0 ;
4595 PyObject
* obj2
= 0 ;
4596 char * kwnames
[] = {
4597 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4602 if (!SWIG_IsOK(res1
)) {
4603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4605 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4606 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4607 if (!SWIG_IsOK(ecode2
)) {
4608 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4610 arg2
= static_cast< bool >(val2
);
4611 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4612 if (!SWIG_IsOK(ecode3
)) {
4613 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4615 arg3
= static_cast< bool >(val3
);
4617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4618 (arg1
)->EnableScrolling(arg2
,arg3
);
4619 wxPyEndAllowThreads(__tstate
);
4620 if (PyErr_Occurred()) SWIG_fail
;
4622 resultobj
= SWIG_Py_Void();
4629 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4630 PyObject
*resultobj
= 0;
4631 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4632 int *arg2
= (int *) 0 ;
4633 int *arg3
= (int *) 0 ;
4637 int res2
= SWIG_TMPOBJ
;
4639 int res3
= SWIG_TMPOBJ
;
4640 PyObject
*swig_obj
[1] ;
4644 if (!args
) SWIG_fail
;
4646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4647 if (!SWIG_IsOK(res1
)) {
4648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4650 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4653 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4654 wxPyEndAllowThreads(__tstate
);
4655 if (PyErr_Occurred()) SWIG_fail
;
4657 resultobj
= SWIG_Py_Void();
4658 if (SWIG_IsTmpObj(res2
)) {
4659 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4661 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4662 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4664 if (SWIG_IsTmpObj(res3
)) {
4665 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4667 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4668 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4676 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4677 PyObject
*resultobj
= 0;
4678 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4687 PyObject
* obj0
= 0 ;
4688 PyObject
* obj1
= 0 ;
4689 PyObject
* obj2
= 0 ;
4690 char * kwnames
[] = {
4691 (char *) "self",(char *) "xs",(char *) "ys", NULL
4694 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4695 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4696 if (!SWIG_IsOK(res1
)) {
4697 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4699 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4700 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4701 if (!SWIG_IsOK(ecode2
)) {
4702 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4704 arg2
= static_cast< double >(val2
);
4705 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4706 if (!SWIG_IsOK(ecode3
)) {
4707 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4709 arg3
= static_cast< double >(val3
);
4711 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4712 (arg1
)->SetScale(arg2
,arg3
);
4713 wxPyEndAllowThreads(__tstate
);
4714 if (PyErr_Occurred()) SWIG_fail
;
4716 resultobj
= SWIG_Py_Void();
4723 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4724 PyObject
*resultobj
= 0;
4725 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4729 PyObject
*swig_obj
[1] ;
4731 if (!args
) SWIG_fail
;
4733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4734 if (!SWIG_IsOK(res1
)) {
4735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4737 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4740 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4741 wxPyEndAllowThreads(__tstate
);
4742 if (PyErr_Occurred()) SWIG_fail
;
4744 resultobj
= SWIG_From_double(static_cast< double >(result
));
4751 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4752 PyObject
*resultobj
= 0;
4753 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4757 PyObject
*swig_obj
[1] ;
4759 if (!args
) SWIG_fail
;
4761 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4762 if (!SWIG_IsOK(res1
)) {
4763 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4765 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4768 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4769 wxPyEndAllowThreads(__tstate
);
4770 if (PyErr_Occurred()) SWIG_fail
;
4772 resultobj
= SWIG_From_double(static_cast< double >(result
));
4779 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4780 PyObject
*resultobj
= 0;
4781 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4788 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4790 if (!SWIG_IsOK(res1
)) {
4791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4793 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4796 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4800 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4801 wxPyEndAllowThreads(__tstate
);
4802 if (PyErr_Occurred()) SWIG_fail
;
4804 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4811 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4812 PyObject
*resultobj
= 0;
4813 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4816 int *arg4
= (int *) 0 ;
4817 int *arg5
= (int *) 0 ;
4825 int res4
= SWIG_TMPOBJ
;
4827 int res5
= SWIG_TMPOBJ
;
4831 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4833 if (!SWIG_IsOK(res1
)) {
4834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4836 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4837 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4838 if (!SWIG_IsOK(ecode2
)) {
4839 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4841 arg2
= static_cast< int >(val2
);
4842 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4843 if (!SWIG_IsOK(ecode3
)) {
4844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4846 arg3
= static_cast< int >(val3
);
4848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4849 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4850 wxPyEndAllowThreads(__tstate
);
4851 if (PyErr_Occurred()) SWIG_fail
;
4853 resultobj
= SWIG_Py_Void();
4854 if (SWIG_IsTmpObj(res4
)) {
4855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4857 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4860 if (SWIG_IsTmpObj(res5
)) {
4861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4863 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4872 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4876 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4879 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4882 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4886 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4891 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4892 PyObject
*resultobj
= 0;
4893 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4900 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4901 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4902 if (!SWIG_IsOK(res1
)) {
4903 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4905 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4908 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4912 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4913 wxPyEndAllowThreads(__tstate
);
4914 if (PyErr_Occurred()) SWIG_fail
;
4916 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4923 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4924 PyObject
*resultobj
= 0;
4925 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4928 int *arg4
= (int *) 0 ;
4929 int *arg5
= (int *) 0 ;
4937 int res4
= SWIG_TMPOBJ
;
4939 int res5
= SWIG_TMPOBJ
;
4943 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4944 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4945 if (!SWIG_IsOK(res1
)) {
4946 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4948 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4949 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4950 if (!SWIG_IsOK(ecode2
)) {
4951 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4953 arg2
= static_cast< int >(val2
);
4954 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4955 if (!SWIG_IsOK(ecode3
)) {
4956 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4958 arg3
= static_cast< int >(val3
);
4960 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4961 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4962 wxPyEndAllowThreads(__tstate
);
4963 if (PyErr_Occurred()) SWIG_fail
;
4965 resultobj
= SWIG_Py_Void();
4966 if (SWIG_IsTmpObj(res4
)) {
4967 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4969 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4970 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4972 if (SWIG_IsTmpObj(res5
)) {
4973 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4975 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4976 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4984 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4988 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4991 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4994 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4998 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
5003 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5004 PyObject
*resultobj
= 0;
5005 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5008 PyObject
*swig_obj
[1] ;
5010 if (!args
) SWIG_fail
;
5012 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5013 if (!SWIG_IsOK(res1
)) {
5014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5016 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5019 (arg1
)->AdjustScrollbars();
5020 wxPyEndAllowThreads(__tstate
);
5021 if (PyErr_Occurred()) SWIG_fail
;
5023 resultobj
= SWIG_Py_Void();
5030 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5031 PyObject
*resultobj
= 0;
5032 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5033 wxScrollWinEvent
*arg2
= 0 ;
5039 PyObject
* obj0
= 0 ;
5040 PyObject
* obj1
= 0 ;
5041 char * kwnames
[] = {
5042 (char *) "self",(char *) "event", NULL
5045 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5046 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5047 if (!SWIG_IsOK(res1
)) {
5048 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5050 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5051 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5052 if (!SWIG_IsOK(res2
)) {
5053 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5056 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5058 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5061 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5062 wxPyEndAllowThreads(__tstate
);
5063 if (PyErr_Occurred()) SWIG_fail
;
5065 resultobj
= SWIG_From_int(static_cast< int >(result
));
5072 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5073 PyObject
*resultobj
= 0;
5074 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5075 wxWindow
*arg2
= (wxWindow
*) 0 ;
5080 PyObject
* obj0
= 0 ;
5081 PyObject
* obj1
= 0 ;
5082 char * kwnames
[] = {
5083 (char *) "self",(char *) "target", NULL
5086 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5087 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5088 if (!SWIG_IsOK(res1
)) {
5089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5091 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5092 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5093 if (!SWIG_IsOK(res2
)) {
5094 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5096 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5098 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5099 (arg1
)->SetTargetWindow(arg2
);
5100 wxPyEndAllowThreads(__tstate
);
5101 if (PyErr_Occurred()) SWIG_fail
;
5103 resultobj
= SWIG_Py_Void();
5110 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5111 PyObject
*resultobj
= 0;
5112 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5113 wxWindow
*result
= 0 ;
5116 PyObject
*swig_obj
[1] ;
5118 if (!args
) SWIG_fail
;
5120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5121 if (!SWIG_IsOK(res1
)) {
5122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5124 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5127 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5128 wxPyEndAllowThreads(__tstate
);
5129 if (PyErr_Occurred()) SWIG_fail
;
5132 resultobj
= wxPyMake_wxObject(result
, 0);
5140 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5141 PyObject
*resultobj
= 0;
5142 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5147 PyObject
* obj0
= 0 ;
5148 PyObject
* obj1
= 0 ;
5149 char * kwnames
[] = {
5150 (char *) "self",(char *) "rect", NULL
5153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5155 if (!SWIG_IsOK(res1
)) {
5156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5158 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5161 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5165 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5166 wxPyEndAllowThreads(__tstate
);
5167 if (PyErr_Occurred()) SWIG_fail
;
5169 resultobj
= SWIG_Py_Void();
5176 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5177 PyObject
*resultobj
= 0;
5178 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5182 PyObject
*swig_obj
[1] ;
5184 if (!args
) SWIG_fail
;
5186 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5187 if (!SWIG_IsOK(res1
)) {
5188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5190 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5193 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5194 wxPyEndAllowThreads(__tstate
);
5195 if (PyErr_Occurred()) SWIG_fail
;
5197 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5204 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5205 PyObject
*resultobj
= 0;
5206 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5212 PyObject
* obj0
= 0 ;
5213 PyObject
* obj1
= 0 ;
5214 char * kwnames
[] = {
5215 (char *) "self",(char *) "dc", NULL
5218 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5219 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5220 if (!SWIG_IsOK(res1
)) {
5221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5223 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5224 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5225 if (!SWIG_IsOK(res2
)) {
5226 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5229 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5231 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5234 (arg1
)->DoPrepareDC(*arg2
);
5235 wxPyEndAllowThreads(__tstate
);
5236 if (PyErr_Occurred()) SWIG_fail
;
5238 resultobj
= SWIG_Py_Void();
5245 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5246 PyObject
*resultobj
= 0;
5247 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5248 SwigValueWrapper
<wxVisualAttributes
> result
;
5251 PyObject
* obj0
= 0 ;
5252 char * kwnames
[] = {
5253 (char *) "variant", NULL
5256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5258 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5259 if (!SWIG_IsOK(ecode1
)) {
5260 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5262 arg1
= static_cast< wxWindowVariant
>(val1
);
5265 if (!wxPyCheckForApp()) SWIG_fail
;
5266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5267 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5268 wxPyEndAllowThreads(__tstate
);
5269 if (PyErr_Occurred()) SWIG_fail
;
5271 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5278 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5280 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5281 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5282 return SWIG_Py_Void();
5285 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5286 return SWIG_Python_InitShadowInstance(args
);
5289 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5290 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5295 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5296 PyObject
*pyobj
= 0;
5300 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5302 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5309 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5310 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5315 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5316 PyObject
*pyobj
= 0;
5320 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5322 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5329 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5330 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5335 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5336 PyObject
*pyobj
= 0;
5340 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5342 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5349 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5350 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5355 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5356 PyObject
*pyobj
= 0;
5360 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5362 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5369 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5370 PyObject
*resultobj
= 0;
5371 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5372 bool arg2
= (bool) true ;
5377 PyObject
* obj0
= 0 ;
5378 PyObject
* obj1
= 0 ;
5379 char * kwnames
[] = {
5380 (char *) "self",(char *) "maximize", NULL
5383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5385 if (!SWIG_IsOK(res1
)) {
5386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5388 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5390 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5391 if (!SWIG_IsOK(ecode2
)) {
5392 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5394 arg2
= static_cast< bool >(val2
);
5397 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5398 (arg1
)->Maximize(arg2
);
5399 wxPyEndAllowThreads(__tstate
);
5400 if (PyErr_Occurred()) SWIG_fail
;
5402 resultobj
= SWIG_Py_Void();
5409 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5410 PyObject
*resultobj
= 0;
5411 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5414 PyObject
*swig_obj
[1] ;
5416 if (!args
) SWIG_fail
;
5418 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5419 if (!SWIG_IsOK(res1
)) {
5420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5422 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5424 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5426 wxPyEndAllowThreads(__tstate
);
5427 if (PyErr_Occurred()) SWIG_fail
;
5429 resultobj
= SWIG_Py_Void();
5436 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5437 PyObject
*resultobj
= 0;
5438 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5439 bool arg2
= (bool) true ;
5444 PyObject
* obj0
= 0 ;
5445 PyObject
* obj1
= 0 ;
5446 char * kwnames
[] = {
5447 (char *) "self",(char *) "iconize", NULL
5450 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5451 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5452 if (!SWIG_IsOK(res1
)) {
5453 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5455 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5457 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5458 if (!SWIG_IsOK(ecode2
)) {
5459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5461 arg2
= static_cast< bool >(val2
);
5464 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5465 (arg1
)->Iconize(arg2
);
5466 wxPyEndAllowThreads(__tstate
);
5467 if (PyErr_Occurred()) SWIG_fail
;
5469 resultobj
= SWIG_Py_Void();
5476 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5477 PyObject
*resultobj
= 0;
5478 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5482 PyObject
*swig_obj
[1] ;
5484 if (!args
) SWIG_fail
;
5486 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5487 if (!SWIG_IsOK(res1
)) {
5488 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5490 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5492 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5493 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5494 wxPyEndAllowThreads(__tstate
);
5495 if (PyErr_Occurred()) SWIG_fail
;
5498 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5506 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5507 PyObject
*resultobj
= 0;
5508 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5512 PyObject
*swig_obj
[1] ;
5514 if (!args
) SWIG_fail
;
5516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5517 if (!SWIG_IsOK(res1
)) {
5518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5520 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5523 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5524 wxPyEndAllowThreads(__tstate
);
5525 if (PyErr_Occurred()) SWIG_fail
;
5528 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5536 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5537 PyObject
*resultobj
= 0;
5538 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5542 PyObject
*swig_obj
[1] ;
5544 if (!args
) SWIG_fail
;
5546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5547 if (!SWIG_IsOK(res1
)) {
5548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5550 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5553 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5554 wxPyEndAllowThreads(__tstate
);
5555 if (PyErr_Occurred()) SWIG_fail
;
5558 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5566 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5567 PyObject
*resultobj
= 0;
5568 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5572 PyObject
*swig_obj
[1] ;
5574 if (!args
) SWIG_fail
;
5576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5577 if (!SWIG_IsOK(res1
)) {
5578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5580 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5583 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5584 wxPyEndAllowThreads(__tstate
);
5585 if (PyErr_Occurred()) SWIG_fail
;
5587 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5594 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5595 PyObject
*resultobj
= 0;
5596 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5602 PyObject
* obj0
= 0 ;
5603 PyObject
* obj1
= 0 ;
5604 char * kwnames
[] = {
5605 (char *) "self",(char *) "icon", NULL
5608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5609 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5610 if (!SWIG_IsOK(res1
)) {
5611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5613 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5614 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5615 if (!SWIG_IsOK(res2
)) {
5616 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5619 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5621 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5624 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5625 wxPyEndAllowThreads(__tstate
);
5626 if (PyErr_Occurred()) SWIG_fail
;
5628 resultobj
= SWIG_Py_Void();
5635 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5636 PyObject
*resultobj
= 0;
5637 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5638 wxIconBundle
*arg2
= 0 ;
5643 PyObject
* obj0
= 0 ;
5644 PyObject
* obj1
= 0 ;
5645 char * kwnames
[] = {
5646 (char *) "self",(char *) "icons", NULL
5649 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5650 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5651 if (!SWIG_IsOK(res1
)) {
5652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5654 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5655 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5656 if (!SWIG_IsOK(res2
)) {
5657 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5660 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5662 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5665 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5666 wxPyEndAllowThreads(__tstate
);
5667 if (PyErr_Occurred()) SWIG_fail
;
5669 resultobj
= SWIG_Py_Void();
5676 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5677 PyObject
*resultobj
= 0;
5678 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5680 long arg3
= (long) wxFULLSCREEN_ALL
;
5688 PyObject
* obj0
= 0 ;
5689 PyObject
* obj1
= 0 ;
5690 PyObject
* obj2
= 0 ;
5691 char * kwnames
[] = {
5692 (char *) "self",(char *) "show",(char *) "style", NULL
5695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5697 if (!SWIG_IsOK(res1
)) {
5698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5700 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5702 if (!SWIG_IsOK(ecode2
)) {
5703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5705 arg2
= static_cast< bool >(val2
);
5707 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5708 if (!SWIG_IsOK(ecode3
)) {
5709 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5711 arg3
= static_cast< long >(val3
);
5714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5715 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5716 wxPyEndAllowThreads(__tstate
);
5717 if (PyErr_Occurred()) SWIG_fail
;
5720 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5728 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5729 PyObject
*resultobj
= 0;
5730 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5734 PyObject
*swig_obj
[1] ;
5736 if (!args
) SWIG_fail
;
5738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5739 if (!SWIG_IsOK(res1
)) {
5740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5742 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5745 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5746 wxPyEndAllowThreads(__tstate
);
5747 if (PyErr_Occurred()) SWIG_fail
;
5750 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5758 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5759 PyObject
*resultobj
= 0;
5760 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5761 wxString
*arg2
= 0 ;
5764 bool temp2
= false ;
5765 PyObject
* obj0
= 0 ;
5766 PyObject
* obj1
= 0 ;
5767 char * kwnames
[] = {
5768 (char *) "self",(char *) "title", NULL
5771 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5772 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5773 if (!SWIG_IsOK(res1
)) {
5774 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5776 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5778 arg2
= wxString_in_helper(obj1
);
5779 if (arg2
== NULL
) SWIG_fail
;
5783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5784 (arg1
)->SetTitle((wxString
const &)*arg2
);
5785 wxPyEndAllowThreads(__tstate
);
5786 if (PyErr_Occurred()) SWIG_fail
;
5788 resultobj
= SWIG_Py_Void();
5803 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5804 PyObject
*resultobj
= 0;
5805 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5809 PyObject
*swig_obj
[1] ;
5811 if (!args
) SWIG_fail
;
5813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5814 if (!SWIG_IsOK(res1
)) {
5815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5817 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5820 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5821 wxPyEndAllowThreads(__tstate
);
5822 if (PyErr_Occurred()) SWIG_fail
;
5826 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5828 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5837 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5838 PyObject
*resultobj
= 0;
5839 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5846 PyObject
* obj0
= 0 ;
5847 PyObject
* obj1
= 0 ;
5848 char * kwnames
[] = {
5849 (char *) "self",(char *) "enable", NULL
5852 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5853 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5854 if (!SWIG_IsOK(res1
)) {
5855 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5857 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5858 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5859 if (!SWIG_IsOK(ecode2
)) {
5860 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
5862 arg2
= static_cast< bool >(val2
);
5864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5865 result
= (bool)(arg1
)->EnableCloseButton(arg2
);
5866 wxPyEndAllowThreads(__tstate
);
5867 if (PyErr_Occurred()) SWIG_fail
;
5870 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5878 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5879 PyObject
*resultobj
= 0;
5880 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5881 wxRegion
*arg2
= 0 ;
5887 PyObject
* obj0
= 0 ;
5888 PyObject
* obj1
= 0 ;
5889 char * kwnames
[] = {
5890 (char *) "self",(char *) "region", NULL
5893 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5894 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5895 if (!SWIG_IsOK(res1
)) {
5896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5898 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5899 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5900 if (!SWIG_IsOK(res2
)) {
5901 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5904 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5906 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5909 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5910 wxPyEndAllowThreads(__tstate
);
5911 if (PyErr_Occurred()) SWIG_fail
;
5914 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5922 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5923 PyObject
*resultobj
= 0;
5924 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5925 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5930 PyObject
* obj0
= 0 ;
5931 PyObject
* obj1
= 0 ;
5932 char * kwnames
[] = {
5933 (char *) "self",(char *) "flags", NULL
5936 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5937 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5938 if (!SWIG_IsOK(res1
)) {
5939 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5941 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5943 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5944 if (!SWIG_IsOK(ecode2
)) {
5945 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5947 arg2
= static_cast< int >(val2
);
5950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5951 (arg1
)->RequestUserAttention(arg2
);
5952 wxPyEndAllowThreads(__tstate
);
5953 if (PyErr_Occurred()) SWIG_fail
;
5955 resultobj
= SWIG_Py_Void();
5962 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5963 PyObject
*resultobj
= 0;
5964 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5968 PyObject
*swig_obj
[1] ;
5970 if (!args
) SWIG_fail
;
5972 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5973 if (!SWIG_IsOK(res1
)) {
5974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5976 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5979 result
= (bool)(arg1
)->IsActive();
5980 wxPyEndAllowThreads(__tstate
);
5981 if (PyErr_Occurred()) SWIG_fail
;
5984 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5992 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5993 PyObject
*resultobj
= 0;
5994 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6000 PyObject
* obj0
= 0 ;
6001 PyObject
* obj1
= 0 ;
6002 char * kwnames
[] = {
6003 (char *) "self",(char *) "on", NULL
6006 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6007 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6008 if (!SWIG_IsOK(res1
)) {
6009 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6011 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6012 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6013 if (!SWIG_IsOK(ecode2
)) {
6014 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
6016 arg2
= static_cast< bool >(val2
);
6018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6019 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
6020 wxPyEndAllowThreads(__tstate
);
6021 if (PyErr_Occurred()) SWIG_fail
;
6023 resultobj
= SWIG_Py_Void();
6030 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6031 PyObject
*resultobj
= 0;
6032 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6036 PyObject
*swig_obj
[1] ;
6038 if (!args
) SWIG_fail
;
6040 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6041 if (!SWIG_IsOK(res1
)) {
6042 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6044 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6046 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6047 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
6048 wxPyEndAllowThreads(__tstate
);
6049 if (PyErr_Occurred()) SWIG_fail
;
6052 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6060 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6061 PyObject
*resultobj
= 0;
6062 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6063 int arg2
= (int) wxBOTH
;
6068 PyObject
* obj0
= 0 ;
6069 PyObject
* obj1
= 0 ;
6070 char * kwnames
[] = {
6071 (char *) "self",(char *) "dir", NULL
6074 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6075 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6076 if (!SWIG_IsOK(res1
)) {
6077 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6079 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6081 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6082 if (!SWIG_IsOK(ecode2
)) {
6083 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6085 arg2
= static_cast< int >(val2
);
6088 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6089 (arg1
)->CenterOnScreen(arg2
);
6090 wxPyEndAllowThreads(__tstate
);
6091 if (PyErr_Occurred()) SWIG_fail
;
6093 resultobj
= SWIG_Py_Void();
6100 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6101 PyObject
*resultobj
= 0;
6102 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6103 wxWindow
*result
= 0 ;
6106 PyObject
*swig_obj
[1] ;
6108 if (!args
) SWIG_fail
;
6110 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6111 if (!SWIG_IsOK(res1
)) {
6112 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6114 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6116 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6117 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6118 wxPyEndAllowThreads(__tstate
);
6119 if (PyErr_Occurred()) SWIG_fail
;
6122 resultobj
= wxPyMake_wxObject(result
, 0);
6130 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6131 PyObject
*resultobj
= 0;
6132 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6133 wxWindow
*arg2
= (wxWindow
*) 0 ;
6134 wxWindow
*result
= 0 ;
6139 PyObject
* obj0
= 0 ;
6140 PyObject
* obj1
= 0 ;
6141 char * kwnames
[] = {
6142 (char *) "self",(char *) "child", NULL
6145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6147 if (!SWIG_IsOK(res1
)) {
6148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6150 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6151 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6152 if (!SWIG_IsOK(res2
)) {
6153 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6155 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6158 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6159 wxPyEndAllowThreads(__tstate
);
6160 if (PyErr_Occurred()) SWIG_fail
;
6163 resultobj
= wxPyMake_wxObject(result
, 0);
6171 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6172 PyObject
*resultobj
= 0;
6173 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6174 wxWindow
*arg2
= (wxWindow
*) 0 ;
6179 PyObject
* obj0
= 0 ;
6180 PyObject
* obj1
= 0 ;
6181 char * kwnames
[] = {
6182 (char *) "self",(char *) "win", NULL
6185 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6186 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6187 if (!SWIG_IsOK(res1
)) {
6188 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6190 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6191 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6192 if (!SWIG_IsOK(res2
)) {
6193 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6195 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6198 (arg1
)->SetTmpDefaultItem(arg2
);
6199 wxPyEndAllowThreads(__tstate
);
6200 if (PyErr_Occurred()) SWIG_fail
;
6202 resultobj
= SWIG_Py_Void();
6209 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6210 PyObject
*resultobj
= 0;
6211 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6212 wxWindow
*result
= 0 ;
6215 PyObject
*swig_obj
[1] ;
6217 if (!args
) SWIG_fail
;
6219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6220 if (!SWIG_IsOK(res1
)) {
6221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6223 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6226 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6227 wxPyEndAllowThreads(__tstate
);
6228 if (PyErr_Occurred()) SWIG_fail
;
6231 resultobj
= wxPyMake_wxObject(result
, 0);
6239 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6241 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6242 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6243 return SWIG_Py_Void();
6246 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6247 PyObject
*resultobj
= 0;
6248 wxWindow
*arg1
= (wxWindow
*) 0 ;
6249 int arg2
= (int) (int)-1 ;
6250 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6251 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6252 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6253 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6254 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6255 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6256 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6257 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6258 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6259 wxFrame
*result
= 0 ;
6264 bool temp3
= false ;
6269 bool temp7
= false ;
6270 PyObject
* obj0
= 0 ;
6271 PyObject
* obj1
= 0 ;
6272 PyObject
* obj2
= 0 ;
6273 PyObject
* obj3
= 0 ;
6274 PyObject
* obj4
= 0 ;
6275 PyObject
* obj5
= 0 ;
6276 PyObject
* obj6
= 0 ;
6277 char * kwnames
[] = {
6278 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6283 if (!SWIG_IsOK(res1
)) {
6284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6288 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6289 if (!SWIG_IsOK(ecode2
)) {
6290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6292 arg2
= static_cast< int >(val2
);
6296 arg3
= wxString_in_helper(obj2
);
6297 if (arg3
== NULL
) SWIG_fail
;
6304 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6310 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6314 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6315 if (!SWIG_IsOK(ecode6
)) {
6316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6318 arg6
= static_cast< long >(val6
);
6322 arg7
= wxString_in_helper(obj6
);
6323 if (arg7
== NULL
) SWIG_fail
;
6328 if (!wxPyCheckForApp()) SWIG_fail
;
6329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6330 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6331 wxPyEndAllowThreads(__tstate
);
6332 if (PyErr_Occurred()) SWIG_fail
;
6334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6357 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6358 PyObject
*resultobj
= 0;
6359 wxFrame
*result
= 0 ;
6361 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6363 if (!wxPyCheckForApp()) SWIG_fail
;
6364 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6365 result
= (wxFrame
*)new wxFrame();
6366 wxPyEndAllowThreads(__tstate
);
6367 if (PyErr_Occurred()) SWIG_fail
;
6369 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6376 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6377 PyObject
*resultobj
= 0;
6378 wxFrame
*arg1
= (wxFrame
*) 0 ;
6379 wxWindow
*arg2
= (wxWindow
*) 0 ;
6380 int arg3
= (int) (int)-1 ;
6381 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6382 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6383 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6384 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6385 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6386 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6387 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6388 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6389 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6397 bool temp4
= false ;
6402 bool temp8
= false ;
6403 PyObject
* obj0
= 0 ;
6404 PyObject
* obj1
= 0 ;
6405 PyObject
* obj2
= 0 ;
6406 PyObject
* obj3
= 0 ;
6407 PyObject
* obj4
= 0 ;
6408 PyObject
* obj5
= 0 ;
6409 PyObject
* obj6
= 0 ;
6410 PyObject
* obj7
= 0 ;
6411 char * kwnames
[] = {
6412 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6415 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6416 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6417 if (!SWIG_IsOK(res1
)) {
6418 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6420 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6421 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6422 if (!SWIG_IsOK(res2
)) {
6423 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6425 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6427 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6428 if (!SWIG_IsOK(ecode3
)) {
6429 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6431 arg3
= static_cast< int >(val3
);
6435 arg4
= wxString_in_helper(obj3
);
6436 if (arg4
== NULL
) SWIG_fail
;
6443 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6449 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6453 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6454 if (!SWIG_IsOK(ecode7
)) {
6455 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6457 arg7
= static_cast< long >(val7
);
6461 arg8
= wxString_in_helper(obj7
);
6462 if (arg8
== NULL
) SWIG_fail
;
6467 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6468 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6469 wxPyEndAllowThreads(__tstate
);
6470 if (PyErr_Occurred()) SWIG_fail
;
6473 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6497 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6498 PyObject
*resultobj
= 0;
6499 wxFrame
*arg1
= (wxFrame
*) 0 ;
6502 PyObject
*swig_obj
[1] ;
6504 if (!args
) SWIG_fail
;
6506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6507 if (!SWIG_IsOK(res1
)) {
6508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6510 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6513 (arg1
)->SendSizeEvent();
6514 wxPyEndAllowThreads(__tstate
);
6515 if (PyErr_Occurred()) SWIG_fail
;
6517 resultobj
= SWIG_Py_Void();
6524 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6525 PyObject
*resultobj
= 0;
6526 wxFrame
*arg1
= (wxFrame
*) 0 ;
6527 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6532 PyObject
* obj0
= 0 ;
6533 PyObject
* obj1
= 0 ;
6534 char * kwnames
[] = {
6535 (char *) "self",(char *) "menubar", NULL
6538 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6539 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6540 if (!SWIG_IsOK(res1
)) {
6541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6543 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6544 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6545 if (!SWIG_IsOK(res2
)) {
6546 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6548 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6551 (arg1
)->SetMenuBar(arg2
);
6552 wxPyEndAllowThreads(__tstate
);
6553 if (PyErr_Occurred()) SWIG_fail
;
6555 resultobj
= SWIG_Py_Void();
6562 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6563 PyObject
*resultobj
= 0;
6564 wxFrame
*arg1
= (wxFrame
*) 0 ;
6565 wxMenuBar
*result
= 0 ;
6568 PyObject
*swig_obj
[1] ;
6570 if (!args
) SWIG_fail
;
6572 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6573 if (!SWIG_IsOK(res1
)) {
6574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6576 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6579 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6580 wxPyEndAllowThreads(__tstate
);
6581 if (PyErr_Occurred()) SWIG_fail
;
6584 resultobj
= wxPyMake_wxObject(result
, 0);
6592 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6593 PyObject
*resultobj
= 0;
6594 wxFrame
*arg1
= (wxFrame
*) 0 ;
6601 PyObject
* obj0
= 0 ;
6602 PyObject
* obj1
= 0 ;
6603 char * kwnames
[] = {
6604 (char *) "self",(char *) "winid", NULL
6607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6609 if (!SWIG_IsOK(res1
)) {
6610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6612 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6614 if (!SWIG_IsOK(ecode2
)) {
6615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6617 arg2
= static_cast< int >(val2
);
6619 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6620 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6621 wxPyEndAllowThreads(__tstate
);
6622 if (PyErr_Occurred()) SWIG_fail
;
6625 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6633 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6634 PyObject
*resultobj
= 0;
6635 wxFrame
*arg1
= (wxFrame
*) 0 ;
6636 int arg2
= (int) 1 ;
6637 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6638 int arg4
= (int) 0 ;
6639 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6640 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6641 wxStatusBar
*result
= 0 ;
6650 bool temp5
= false ;
6651 PyObject
* obj0
= 0 ;
6652 PyObject
* obj1
= 0 ;
6653 PyObject
* obj2
= 0 ;
6654 PyObject
* obj3
= 0 ;
6655 PyObject
* obj4
= 0 ;
6656 char * kwnames
[] = {
6657 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6662 if (!SWIG_IsOK(res1
)) {
6663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6665 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6667 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6668 if (!SWIG_IsOK(ecode2
)) {
6669 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6671 arg2
= static_cast< int >(val2
);
6674 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6675 if (!SWIG_IsOK(ecode3
)) {
6676 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6678 arg3
= static_cast< long >(val3
);
6681 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6682 if (!SWIG_IsOK(ecode4
)) {
6683 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6685 arg4
= static_cast< int >(val4
);
6689 arg5
= wxString_in_helper(obj4
);
6690 if (arg5
== NULL
) SWIG_fail
;
6695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6696 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6697 wxPyEndAllowThreads(__tstate
);
6698 if (PyErr_Occurred()) SWIG_fail
;
6701 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6717 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6718 PyObject
*resultobj
= 0;
6719 wxFrame
*arg1
= (wxFrame
*) 0 ;
6720 wxStatusBar
*result
= 0 ;
6723 PyObject
*swig_obj
[1] ;
6725 if (!args
) SWIG_fail
;
6727 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6728 if (!SWIG_IsOK(res1
)) {
6729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6731 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6734 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6735 wxPyEndAllowThreads(__tstate
);
6736 if (PyErr_Occurred()) SWIG_fail
;
6739 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6747 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6748 PyObject
*resultobj
= 0;
6749 wxFrame
*arg1
= (wxFrame
*) 0 ;
6750 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6755 PyObject
* obj0
= 0 ;
6756 PyObject
* obj1
= 0 ;
6757 char * kwnames
[] = {
6758 (char *) "self",(char *) "statBar", NULL
6761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6763 if (!SWIG_IsOK(res1
)) {
6764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6766 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6767 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6768 if (!SWIG_IsOK(res2
)) {
6769 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6771 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6774 (arg1
)->SetStatusBar(arg2
);
6775 wxPyEndAllowThreads(__tstate
);
6776 if (PyErr_Occurred()) SWIG_fail
;
6778 resultobj
= SWIG_Py_Void();
6785 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6786 PyObject
*resultobj
= 0;
6787 wxFrame
*arg1
= (wxFrame
*) 0 ;
6788 wxString
*arg2
= 0 ;
6789 int arg3
= (int) 0 ;
6792 bool temp2
= false ;
6795 PyObject
* obj0
= 0 ;
6796 PyObject
* obj1
= 0 ;
6797 PyObject
* obj2
= 0 ;
6798 char * kwnames
[] = {
6799 (char *) "self",(char *) "text",(char *) "number", NULL
6802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6804 if (!SWIG_IsOK(res1
)) {
6805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6807 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6809 arg2
= wxString_in_helper(obj1
);
6810 if (arg2
== NULL
) SWIG_fail
;
6814 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6815 if (!SWIG_IsOK(ecode3
)) {
6816 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6818 arg3
= static_cast< int >(val3
);
6821 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6822 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6823 wxPyEndAllowThreads(__tstate
);
6824 if (PyErr_Occurred()) SWIG_fail
;
6826 resultobj
= SWIG_Py_Void();
6841 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6842 PyObject
*resultobj
= 0;
6843 wxFrame
*arg1
= (wxFrame
*) 0 ;
6845 int *arg3
= (int *) 0 ;
6848 PyObject
* obj0
= 0 ;
6849 PyObject
* obj1
= 0 ;
6850 char * kwnames
[] = {
6851 (char *) "self",(char *) "widths", NULL
6854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6856 if (!SWIG_IsOK(res1
)) {
6857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6859 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6861 arg2
= PyList_Size(obj1
);
6862 arg3
= int_LIST_helper(obj1
);
6863 if (arg3
== NULL
) SWIG_fail
;
6866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6867 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6868 wxPyEndAllowThreads(__tstate
);
6869 if (PyErr_Occurred()) SWIG_fail
;
6871 resultobj
= SWIG_Py_Void();
6873 if (arg3
) delete [] arg3
;
6878 if (arg3
) delete [] arg3
;
6884 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6885 PyObject
*resultobj
= 0;
6886 wxFrame
*arg1
= (wxFrame
*) 0 ;
6887 wxString
*arg2
= 0 ;
6888 int arg3
= (int) 0 ;
6891 bool temp2
= false ;
6894 PyObject
* obj0
= 0 ;
6895 PyObject
* obj1
= 0 ;
6896 PyObject
* obj2
= 0 ;
6897 char * kwnames
[] = {
6898 (char *) "self",(char *) "text",(char *) "number", NULL
6901 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6902 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6903 if (!SWIG_IsOK(res1
)) {
6904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6906 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6908 arg2
= wxString_in_helper(obj1
);
6909 if (arg2
== NULL
) SWIG_fail
;
6913 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6914 if (!SWIG_IsOK(ecode3
)) {
6915 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6917 arg3
= static_cast< int >(val3
);
6920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6921 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6922 wxPyEndAllowThreads(__tstate
);
6923 if (PyErr_Occurred()) SWIG_fail
;
6925 resultobj
= SWIG_Py_Void();
6940 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6941 PyObject
*resultobj
= 0;
6942 wxFrame
*arg1
= (wxFrame
*) 0 ;
6943 int arg2
= (int) 0 ;
6948 PyObject
* obj0
= 0 ;
6949 PyObject
* obj1
= 0 ;
6950 char * kwnames
[] = {
6951 (char *) "self",(char *) "number", NULL
6954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6956 if (!SWIG_IsOK(res1
)) {
6957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6959 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6961 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6962 if (!SWIG_IsOK(ecode2
)) {
6963 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6965 arg2
= static_cast< int >(val2
);
6968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6969 (arg1
)->PopStatusText(arg2
);
6970 wxPyEndAllowThreads(__tstate
);
6971 if (PyErr_Occurred()) SWIG_fail
;
6973 resultobj
= SWIG_Py_Void();
6980 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6981 PyObject
*resultobj
= 0;
6982 wxFrame
*arg1
= (wxFrame
*) 0 ;
6988 PyObject
* obj0
= 0 ;
6989 PyObject
* obj1
= 0 ;
6990 char * kwnames
[] = {
6991 (char *) "self",(char *) "n", NULL
6994 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6995 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6996 if (!SWIG_IsOK(res1
)) {
6997 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6999 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7000 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7001 if (!SWIG_IsOK(ecode2
)) {
7002 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
7004 arg2
= static_cast< int >(val2
);
7006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7007 (arg1
)->SetStatusBarPane(arg2
);
7008 wxPyEndAllowThreads(__tstate
);
7009 if (PyErr_Occurred()) SWIG_fail
;
7011 resultobj
= SWIG_Py_Void();
7018 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7019 PyObject
*resultobj
= 0;
7020 wxFrame
*arg1
= (wxFrame
*) 0 ;
7024 PyObject
*swig_obj
[1] ;
7026 if (!args
) SWIG_fail
;
7028 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7029 if (!SWIG_IsOK(res1
)) {
7030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7032 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7034 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7035 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7036 wxPyEndAllowThreads(__tstate
);
7037 if (PyErr_Occurred()) SWIG_fail
;
7039 resultobj
= SWIG_From_int(static_cast< int >(result
));
7046 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7047 PyObject
*resultobj
= 0;
7048 wxFrame
*arg1
= (wxFrame
*) 0 ;
7049 long arg2
= (long) -1 ;
7050 int arg3
= (int) -1 ;
7051 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7052 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7053 wxToolBar
*result
= 0 ;
7060 bool temp4
= false ;
7061 PyObject
* obj0
= 0 ;
7062 PyObject
* obj1
= 0 ;
7063 PyObject
* obj2
= 0 ;
7064 PyObject
* obj3
= 0 ;
7065 char * kwnames
[] = {
7066 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7069 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7070 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7071 if (!SWIG_IsOK(res1
)) {
7072 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7074 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7076 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7077 if (!SWIG_IsOK(ecode2
)) {
7078 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7080 arg2
= static_cast< long >(val2
);
7083 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7084 if (!SWIG_IsOK(ecode3
)) {
7085 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7087 arg3
= static_cast< int >(val3
);
7091 arg4
= wxString_in_helper(obj3
);
7092 if (arg4
== NULL
) SWIG_fail
;
7097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7098 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7099 wxPyEndAllowThreads(__tstate
);
7100 if (PyErr_Occurred()) SWIG_fail
;
7103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7119 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7120 PyObject
*resultobj
= 0;
7121 wxFrame
*arg1
= (wxFrame
*) 0 ;
7122 wxToolBar
*result
= 0 ;
7125 PyObject
*swig_obj
[1] ;
7127 if (!args
) SWIG_fail
;
7129 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7130 if (!SWIG_IsOK(res1
)) {
7131 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7133 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7136 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7137 wxPyEndAllowThreads(__tstate
);
7138 if (PyErr_Occurred()) SWIG_fail
;
7141 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7149 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7150 PyObject
*resultobj
= 0;
7151 wxFrame
*arg1
= (wxFrame
*) 0 ;
7152 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7157 PyObject
* obj0
= 0 ;
7158 PyObject
* obj1
= 0 ;
7159 char * kwnames
[] = {
7160 (char *) "self",(char *) "toolbar", NULL
7163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7165 if (!SWIG_IsOK(res1
)) {
7166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7168 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7169 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7170 if (!SWIG_IsOK(res2
)) {
7171 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7173 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7176 (arg1
)->SetToolBar(arg2
);
7177 wxPyEndAllowThreads(__tstate
);
7178 if (PyErr_Occurred()) SWIG_fail
;
7180 resultobj
= SWIG_Py_Void();
7187 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7188 PyObject
*resultobj
= 0;
7189 wxFrame
*arg1
= (wxFrame
*) 0 ;
7190 wxString
*arg2
= 0 ;
7194 bool temp2
= false ;
7197 PyObject
* obj0
= 0 ;
7198 PyObject
* obj1
= 0 ;
7199 PyObject
* obj2
= 0 ;
7200 char * kwnames
[] = {
7201 (char *) "self",(char *) "text",(char *) "show", NULL
7204 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7205 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7206 if (!SWIG_IsOK(res1
)) {
7207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7209 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7211 arg2
= wxString_in_helper(obj1
);
7212 if (arg2
== NULL
) SWIG_fail
;
7215 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7216 if (!SWIG_IsOK(ecode3
)) {
7217 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7219 arg3
= static_cast< bool >(val3
);
7221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7222 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7223 wxPyEndAllowThreads(__tstate
);
7224 if (PyErr_Occurred()) SWIG_fail
;
7226 resultobj
= SWIG_Py_Void();
7241 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7242 PyObject
*resultobj
= 0;
7243 wxFrame
*arg1
= (wxFrame
*) 0 ;
7244 wxMenu
*arg2
= (wxMenu
*) NULL
;
7249 PyObject
* obj0
= 0 ;
7250 PyObject
* obj1
= 0 ;
7251 char * kwnames
[] = {
7252 (char *) "self",(char *) "menu", NULL
7255 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7256 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7257 if (!SWIG_IsOK(res1
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7260 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7262 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7263 if (!SWIG_IsOK(res2
)) {
7264 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7266 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7269 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7270 (arg1
)->DoMenuUpdates(arg2
);
7271 wxPyEndAllowThreads(__tstate
);
7272 if (PyErr_Occurred()) SWIG_fail
;
7274 resultobj
= SWIG_Py_Void();
7281 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7282 PyObject
*resultobj
= 0;
7283 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7284 SwigValueWrapper
<wxVisualAttributes
> result
;
7287 PyObject
* obj0
= 0 ;
7288 char * kwnames
[] = {
7289 (char *) "variant", NULL
7292 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7294 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7295 if (!SWIG_IsOK(ecode1
)) {
7296 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7298 arg1
= static_cast< wxWindowVariant
>(val1
);
7301 if (!wxPyCheckForApp()) SWIG_fail
;
7302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7303 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7304 wxPyEndAllowThreads(__tstate
);
7305 if (PyErr_Occurred()) SWIG_fail
;
7307 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7314 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7317 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7318 return SWIG_Py_Void();
7321 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7322 return SWIG_Python_InitShadowInstance(args
);
7325 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7326 PyObject
*resultobj
= 0;
7327 wxWindow
*arg1
= (wxWindow
*) 0 ;
7328 int arg2
= (int) (int)-1 ;
7329 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7330 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7331 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7332 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7333 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7334 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7335 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7336 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7337 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7338 wxDialog
*result
= 0 ;
7343 bool temp3
= false ;
7348 bool temp7
= false ;
7349 PyObject
* obj0
= 0 ;
7350 PyObject
* obj1
= 0 ;
7351 PyObject
* obj2
= 0 ;
7352 PyObject
* obj3
= 0 ;
7353 PyObject
* obj4
= 0 ;
7354 PyObject
* obj5
= 0 ;
7355 PyObject
* obj6
= 0 ;
7356 char * kwnames
[] = {
7357 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7360 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7361 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7362 if (!SWIG_IsOK(res1
)) {
7363 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7365 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7367 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7368 if (!SWIG_IsOK(ecode2
)) {
7369 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7371 arg2
= static_cast< int >(val2
);
7375 arg3
= wxString_in_helper(obj2
);
7376 if (arg3
== NULL
) SWIG_fail
;
7383 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7389 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7393 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7394 if (!SWIG_IsOK(ecode6
)) {
7395 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7397 arg6
= static_cast< long >(val6
);
7401 arg7
= wxString_in_helper(obj6
);
7402 if (arg7
== NULL
) SWIG_fail
;
7407 if (!wxPyCheckForApp()) SWIG_fail
;
7408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7409 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7410 wxPyEndAllowThreads(__tstate
);
7411 if (PyErr_Occurred()) SWIG_fail
;
7413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7436 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7437 PyObject
*resultobj
= 0;
7438 wxDialog
*result
= 0 ;
7440 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7442 if (!wxPyCheckForApp()) SWIG_fail
;
7443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7444 result
= (wxDialog
*)new wxDialog();
7445 wxPyEndAllowThreads(__tstate
);
7446 if (PyErr_Occurred()) SWIG_fail
;
7448 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7455 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7456 PyObject
*resultobj
= 0;
7457 wxDialog
*arg1
= (wxDialog
*) 0 ;
7458 wxWindow
*arg2
= (wxWindow
*) 0 ;
7459 int arg3
= (int) (int)-1 ;
7460 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7461 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7462 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7463 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7464 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7465 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7466 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7467 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7468 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7476 bool temp4
= false ;
7481 bool temp8
= false ;
7482 PyObject
* obj0
= 0 ;
7483 PyObject
* obj1
= 0 ;
7484 PyObject
* obj2
= 0 ;
7485 PyObject
* obj3
= 0 ;
7486 PyObject
* obj4
= 0 ;
7487 PyObject
* obj5
= 0 ;
7488 PyObject
* obj6
= 0 ;
7489 PyObject
* obj7
= 0 ;
7490 char * kwnames
[] = {
7491 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7496 if (!SWIG_IsOK(res1
)) {
7497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7499 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7500 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7501 if (!SWIG_IsOK(res2
)) {
7502 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7504 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7506 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7507 if (!SWIG_IsOK(ecode3
)) {
7508 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7510 arg3
= static_cast< int >(val3
);
7514 arg4
= wxString_in_helper(obj3
);
7515 if (arg4
== NULL
) SWIG_fail
;
7522 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7528 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7532 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7533 if (!SWIG_IsOK(ecode7
)) {
7534 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7536 arg7
= static_cast< long >(val7
);
7540 arg8
= wxString_in_helper(obj7
);
7541 if (arg8
== NULL
) SWIG_fail
;
7546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7547 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7548 wxPyEndAllowThreads(__tstate
);
7549 if (PyErr_Occurred()) SWIG_fail
;
7552 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7576 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7577 PyObject
*resultobj
= 0;
7578 wxDialog
*arg1
= (wxDialog
*) 0 ;
7584 PyObject
* obj0
= 0 ;
7585 PyObject
* obj1
= 0 ;
7586 char * kwnames
[] = {
7587 (char *) "self",(char *) "returnCode", NULL
7590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7592 if (!SWIG_IsOK(res1
)) {
7593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7595 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7597 if (!SWIG_IsOK(ecode2
)) {
7598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7600 arg2
= static_cast< int >(val2
);
7602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7603 (arg1
)->SetReturnCode(arg2
);
7604 wxPyEndAllowThreads(__tstate
);
7605 if (PyErr_Occurred()) SWIG_fail
;
7607 resultobj
= SWIG_Py_Void();
7614 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7615 PyObject
*resultobj
= 0;
7616 wxDialog
*arg1
= (wxDialog
*) 0 ;
7620 PyObject
*swig_obj
[1] ;
7622 if (!args
) SWIG_fail
;
7624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7625 if (!SWIG_IsOK(res1
)) {
7626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7628 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7631 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7632 wxPyEndAllowThreads(__tstate
);
7633 if (PyErr_Occurred()) SWIG_fail
;
7635 resultobj
= SWIG_From_int(static_cast< int >(result
));
7642 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7643 PyObject
*resultobj
= 0;
7644 wxDialog
*arg1
= (wxDialog
*) 0 ;
7650 PyObject
* obj0
= 0 ;
7651 PyObject
* obj1
= 0 ;
7652 char * kwnames
[] = {
7653 (char *) "self",(char *) "affirmativeId", NULL
7656 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7657 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7658 if (!SWIG_IsOK(res1
)) {
7659 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7661 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7662 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7663 if (!SWIG_IsOK(ecode2
)) {
7664 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7666 arg2
= static_cast< int >(val2
);
7668 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7669 (arg1
)->SetAffirmativeId(arg2
);
7670 wxPyEndAllowThreads(__tstate
);
7671 if (PyErr_Occurred()) SWIG_fail
;
7673 resultobj
= SWIG_Py_Void();
7680 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7681 PyObject
*resultobj
= 0;
7682 wxDialog
*arg1
= (wxDialog
*) 0 ;
7686 PyObject
*swig_obj
[1] ;
7688 if (!args
) SWIG_fail
;
7690 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7691 if (!SWIG_IsOK(res1
)) {
7692 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7694 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7696 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7697 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7698 wxPyEndAllowThreads(__tstate
);
7699 if (PyErr_Occurred()) SWIG_fail
;
7701 resultobj
= SWIG_From_int(static_cast< int >(result
));
7708 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7709 PyObject
*resultobj
= 0;
7710 wxDialog
*arg1
= (wxDialog
*) 0 ;
7716 PyObject
* obj0
= 0 ;
7717 PyObject
* obj1
= 0 ;
7718 char * kwnames
[] = {
7719 (char *) "self",(char *) "escapeId", NULL
7722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7724 if (!SWIG_IsOK(res1
)) {
7725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7727 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7729 if (!SWIG_IsOK(ecode2
)) {
7730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7732 arg2
= static_cast< int >(val2
);
7734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7735 (arg1
)->SetEscapeId(arg2
);
7736 wxPyEndAllowThreads(__tstate
);
7737 if (PyErr_Occurred()) SWIG_fail
;
7739 resultobj
= SWIG_Py_Void();
7746 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7747 PyObject
*resultobj
= 0;
7748 wxDialog
*arg1
= (wxDialog
*) 0 ;
7752 PyObject
*swig_obj
[1] ;
7754 if (!args
) SWIG_fail
;
7756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7757 if (!SWIG_IsOK(res1
)) {
7758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7760 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7763 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7764 wxPyEndAllowThreads(__tstate
);
7765 if (PyErr_Occurred()) SWIG_fail
;
7767 resultobj
= SWIG_From_int(static_cast< int >(result
));
7774 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7775 PyObject
*resultobj
= 0;
7776 wxDialog
*arg1
= (wxDialog
*) 0 ;
7777 wxString
*arg2
= 0 ;
7778 wxSizer
*result
= 0 ;
7781 bool temp2
= false ;
7782 PyObject
* obj0
= 0 ;
7783 PyObject
* obj1
= 0 ;
7784 char * kwnames
[] = {
7785 (char *) "self",(char *) "message", NULL
7788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7790 if (!SWIG_IsOK(res1
)) {
7791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7793 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7795 arg2
= wxString_in_helper(obj1
);
7796 if (arg2
== NULL
) SWIG_fail
;
7800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7801 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7802 wxPyEndAllowThreads(__tstate
);
7803 if (PyErr_Occurred()) SWIG_fail
;
7806 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7822 SWIGINTERN PyObject
*_wrap_Dialog__CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7823 PyObject
*resultobj
= 0;
7824 wxDialog
*arg1
= (wxDialog
*) 0 ;
7826 wxSizer
*result
= 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 char * kwnames
[] = {
7834 (char *) "self",(char *) "flags", NULL
7837 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog__CreateButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7838 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7839 if (!SWIG_IsOK(res1
)) {
7840 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7842 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7843 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7844 if (!SWIG_IsOK(ecode2
)) {
7845 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog__CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7847 arg2
= static_cast< long >(val2
);
7849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7850 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
);
7851 wxPyEndAllowThreads(__tstate
);
7852 if (PyErr_Occurred()) SWIG_fail
;
7855 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7863 SWIGINTERN PyObject
*_wrap_Dialog_CreateSeparatedButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7864 PyObject
*resultobj
= 0;
7865 wxDialog
*arg1
= (wxDialog
*) 0 ;
7867 wxSizer
*result
= 0 ;
7872 PyObject
* obj0
= 0 ;
7873 PyObject
* obj1
= 0 ;
7874 char * kwnames
[] = {
7875 (char *) "self",(char *) "flags", NULL
7878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateSeparatedButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7880 if (!SWIG_IsOK(res1
)) {
7881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7883 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7884 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7885 if (!SWIG_IsOK(ecode2
)) {
7886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateSeparatedButtonSizer" "', expected argument " "2"" of type '" "long""'");
7888 arg2
= static_cast< long >(val2
);
7890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7891 result
= (wxSizer
*)(arg1
)->CreateSeparatedButtonSizer(arg2
);
7892 wxPyEndAllowThreads(__tstate
);
7893 if (PyErr_Occurred()) SWIG_fail
;
7896 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7904 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7905 PyObject
*resultobj
= 0;
7906 wxDialog
*arg1
= (wxDialog
*) 0 ;
7908 wxStdDialogButtonSizer
*result
= 0 ;
7913 PyObject
* obj0
= 0 ;
7914 PyObject
* obj1
= 0 ;
7915 char * kwnames
[] = {
7916 (char *) "self",(char *) "flags", NULL
7919 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7920 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7921 if (!SWIG_IsOK(res1
)) {
7922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7924 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7925 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7926 if (!SWIG_IsOK(ecode2
)) {
7927 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7929 arg2
= static_cast< long >(val2
);
7931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7932 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7933 wxPyEndAllowThreads(__tstate
);
7934 if (PyErr_Occurred()) SWIG_fail
;
7936 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7943 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7944 PyObject
*resultobj
= 0;
7945 wxDialog
*arg1
= (wxDialog
*) 0 ;
7949 PyObject
*swig_obj
[1] ;
7951 if (!args
) SWIG_fail
;
7953 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7954 if (!SWIG_IsOK(res1
)) {
7955 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7957 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7960 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7961 wxPyEndAllowThreads(__tstate
);
7962 if (PyErr_Occurred()) SWIG_fail
;
7965 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7973 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7974 PyObject
*resultobj
= 0;
7975 wxDialog
*arg1
= (wxDialog
*) 0 ;
7979 PyObject
*swig_obj
[1] ;
7981 if (!args
) SWIG_fail
;
7983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7984 if (!SWIG_IsOK(res1
)) {
7985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7987 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7990 result
= (int)(arg1
)->ShowModal();
7991 wxPyEndAllowThreads(__tstate
);
7992 if (PyErr_Occurred()) SWIG_fail
;
7994 resultobj
= SWIG_From_int(static_cast< int >(result
));
8001 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8002 PyObject
*resultobj
= 0;
8003 wxDialog
*arg1
= (wxDialog
*) 0 ;
8009 PyObject
* obj0
= 0 ;
8010 PyObject
* obj1
= 0 ;
8011 char * kwnames
[] = {
8012 (char *) "self",(char *) "retCode", NULL
8015 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8016 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
8017 if (!SWIG_IsOK(res1
)) {
8018 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
8020 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
8021 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8022 if (!SWIG_IsOK(ecode2
)) {
8023 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8025 arg2
= static_cast< int >(val2
);
8027 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8028 (arg1
)->EndModal(arg2
);
8029 wxPyEndAllowThreads(__tstate
);
8030 if (PyErr_Occurred()) SWIG_fail
;
8032 resultobj
= SWIG_Py_Void();
8039 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8040 PyObject
*resultobj
= 0;
8041 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8042 SwigValueWrapper
<wxVisualAttributes
> result
;
8045 PyObject
* obj0
= 0 ;
8046 char * kwnames
[] = {
8047 (char *) "variant", NULL
8050 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8052 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8053 if (!SWIG_IsOK(ecode1
)) {
8054 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8056 arg1
= static_cast< wxWindowVariant
>(val1
);
8059 if (!wxPyCheckForApp()) SWIG_fail
;
8060 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8061 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8062 wxPyEndAllowThreads(__tstate
);
8063 if (PyErr_Occurred()) SWIG_fail
;
8065 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8072 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8074 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8075 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8076 return SWIG_Py_Void();
8079 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8080 return SWIG_Python_InitShadowInstance(args
);
8083 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8084 PyObject
*resultobj
= 0;
8085 wxWindow
*arg1
= (wxWindow
*) 0 ;
8086 int arg2
= (int) (int)-1 ;
8087 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8088 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8089 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8090 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8091 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8092 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8093 long arg6
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8094 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8095 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8096 wxMiniFrame
*result
= 0 ;
8101 bool temp3
= false ;
8106 bool temp7
= false ;
8107 PyObject
* obj0
= 0 ;
8108 PyObject
* obj1
= 0 ;
8109 PyObject
* obj2
= 0 ;
8110 PyObject
* obj3
= 0 ;
8111 PyObject
* obj4
= 0 ;
8112 PyObject
* obj5
= 0 ;
8113 PyObject
* obj6
= 0 ;
8114 char * kwnames
[] = {
8115 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8120 if (!SWIG_IsOK(res1
)) {
8121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8126 if (!SWIG_IsOK(ecode2
)) {
8127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8129 arg2
= static_cast< int >(val2
);
8133 arg3
= wxString_in_helper(obj2
);
8134 if (arg3
== NULL
) SWIG_fail
;
8141 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8147 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8151 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8152 if (!SWIG_IsOK(ecode6
)) {
8153 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8155 arg6
= static_cast< long >(val6
);
8159 arg7
= wxString_in_helper(obj6
);
8160 if (arg7
== NULL
) SWIG_fail
;
8165 if (!wxPyCheckForApp()) SWIG_fail
;
8166 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8167 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8168 wxPyEndAllowThreads(__tstate
);
8169 if (PyErr_Occurred()) SWIG_fail
;
8171 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8194 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8195 PyObject
*resultobj
= 0;
8196 wxMiniFrame
*result
= 0 ;
8198 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8200 if (!wxPyCheckForApp()) SWIG_fail
;
8201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8202 result
= (wxMiniFrame
*)new wxMiniFrame();
8203 wxPyEndAllowThreads(__tstate
);
8204 if (PyErr_Occurred()) SWIG_fail
;
8206 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8213 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8214 PyObject
*resultobj
= 0;
8215 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8216 wxWindow
*arg2
= (wxWindow
*) 0 ;
8217 int arg3
= (int) (int)-1 ;
8218 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8219 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8220 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8221 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8222 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8223 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8224 long arg7
= (long) wxDEFAULT_MINIFRAME_STYLE
;
8225 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8226 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8234 bool temp4
= false ;
8239 bool temp8
= false ;
8240 PyObject
* obj0
= 0 ;
8241 PyObject
* obj1
= 0 ;
8242 PyObject
* obj2
= 0 ;
8243 PyObject
* obj3
= 0 ;
8244 PyObject
* obj4
= 0 ;
8245 PyObject
* obj5
= 0 ;
8246 PyObject
* obj6
= 0 ;
8247 PyObject
* obj7
= 0 ;
8248 char * kwnames
[] = {
8249 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8254 if (!SWIG_IsOK(res1
)) {
8255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8257 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8258 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8259 if (!SWIG_IsOK(res2
)) {
8260 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8262 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8264 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8265 if (!SWIG_IsOK(ecode3
)) {
8266 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8268 arg3
= static_cast< int >(val3
);
8272 arg4
= wxString_in_helper(obj3
);
8273 if (arg4
== NULL
) SWIG_fail
;
8280 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8286 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8290 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8291 if (!SWIG_IsOK(ecode7
)) {
8292 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8294 arg7
= static_cast< long >(val7
);
8298 arg8
= wxString_in_helper(obj7
);
8299 if (arg8
== NULL
) SWIG_fail
;
8304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8305 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8306 wxPyEndAllowThreads(__tstate
);
8307 if (PyErr_Occurred()) SWIG_fail
;
8310 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8334 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8336 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8337 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8338 return SWIG_Py_Void();
8341 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8342 return SWIG_Python_InitShadowInstance(args
);
8345 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8346 PyObject
*resultobj
= 0;
8347 wxBitmap
*arg1
= 0 ;
8348 wxWindow
*arg2
= (wxWindow
*) 0 ;
8350 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8351 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8352 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8353 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8354 long arg6
= (long) wxNO_BORDER
;
8355 wxSplashScreenWindow
*result
= 0 ;
8366 PyObject
* obj0
= 0 ;
8367 PyObject
* obj1
= 0 ;
8368 PyObject
* obj2
= 0 ;
8369 PyObject
* obj3
= 0 ;
8370 PyObject
* obj4
= 0 ;
8371 PyObject
* obj5
= 0 ;
8372 char * kwnames
[] = {
8373 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8377 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8378 if (!SWIG_IsOK(res1
)) {
8379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8382 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8384 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8385 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8386 if (!SWIG_IsOK(res2
)) {
8387 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8389 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8390 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8391 if (!SWIG_IsOK(ecode3
)) {
8392 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8394 arg3
= static_cast< int >(val3
);
8398 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8404 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8408 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8409 if (!SWIG_IsOK(ecode6
)) {
8410 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8412 arg6
= static_cast< long >(val6
);
8415 if (!wxPyCheckForApp()) SWIG_fail
;
8416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8417 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8418 wxPyEndAllowThreads(__tstate
);
8419 if (PyErr_Occurred()) SWIG_fail
;
8421 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8428 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8429 PyObject
*resultobj
= 0;
8430 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8431 wxBitmap
*arg2
= 0 ;
8436 PyObject
* obj0
= 0 ;
8437 PyObject
* obj1
= 0 ;
8438 char * kwnames
[] = {
8439 (char *) "self",(char *) "bitmap", NULL
8442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8444 if (!SWIG_IsOK(res1
)) {
8445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8447 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8449 if (!SWIG_IsOK(res2
)) {
8450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8455 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8457 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8458 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8459 wxPyEndAllowThreads(__tstate
);
8460 if (PyErr_Occurred()) SWIG_fail
;
8462 resultobj
= SWIG_Py_Void();
8469 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8470 PyObject
*resultobj
= 0;
8471 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8472 wxBitmap
*result
= 0 ;
8475 PyObject
*swig_obj
[1] ;
8477 if (!args
) SWIG_fail
;
8479 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8480 if (!SWIG_IsOK(res1
)) {
8481 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8483 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8487 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8488 result
= (wxBitmap
*) &_result_ref
;
8490 wxPyEndAllowThreads(__tstate
);
8491 if (PyErr_Occurred()) SWIG_fail
;
8494 wxBitmap
* resultptr
= new wxBitmap(*result
);
8495 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8503 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8505 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8506 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8507 return SWIG_Py_Void();
8510 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8511 return SWIG_Python_InitShadowInstance(args
);
8514 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8515 PyObject
*resultobj
= 0;
8516 wxBitmap
*arg1
= 0 ;
8519 wxWindow
*arg4
= (wxWindow
*) 0 ;
8520 int arg5
= (int) -1 ;
8521 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8522 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8523 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8524 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8525 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8526 wxSplashScreen
*result
= 0 ;
8541 PyObject
* obj0
= 0 ;
8542 PyObject
* obj1
= 0 ;
8543 PyObject
* obj2
= 0 ;
8544 PyObject
* obj3
= 0 ;
8545 PyObject
* obj4
= 0 ;
8546 PyObject
* obj5
= 0 ;
8547 PyObject
* obj6
= 0 ;
8548 PyObject
* obj7
= 0 ;
8549 char * kwnames
[] = {
8550 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8553 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8554 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8555 if (!SWIG_IsOK(res1
)) {
8556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8559 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8561 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8562 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8563 if (!SWIG_IsOK(ecode2
)) {
8564 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8566 arg2
= static_cast< long >(val2
);
8567 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8568 if (!SWIG_IsOK(ecode3
)) {
8569 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8571 arg3
= static_cast< int >(val3
);
8572 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8573 if (!SWIG_IsOK(res4
)) {
8574 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8576 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8578 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8579 if (!SWIG_IsOK(ecode5
)) {
8580 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8582 arg5
= static_cast< int >(val5
);
8587 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8593 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8597 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8598 if (!SWIG_IsOK(ecode8
)) {
8599 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8601 arg8
= static_cast< long >(val8
);
8604 if (!wxPyCheckForApp()) SWIG_fail
;
8605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8606 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8607 wxPyEndAllowThreads(__tstate
);
8608 if (PyErr_Occurred()) SWIG_fail
;
8610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8617 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8618 PyObject
*resultobj
= 0;
8619 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8623 PyObject
*swig_obj
[1] ;
8625 if (!args
) SWIG_fail
;
8627 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8628 if (!SWIG_IsOK(res1
)) {
8629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8631 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8634 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8635 wxPyEndAllowThreads(__tstate
);
8636 if (PyErr_Occurred()) SWIG_fail
;
8638 resultobj
= SWIG_From_long(static_cast< long >(result
));
8645 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8646 PyObject
*resultobj
= 0;
8647 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8648 wxSplashScreenWindow
*result
= 0 ;
8651 PyObject
*swig_obj
[1] ;
8653 if (!args
) SWIG_fail
;
8655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8656 if (!SWIG_IsOK(res1
)) {
8657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8659 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8662 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8663 wxPyEndAllowThreads(__tstate
);
8664 if (PyErr_Occurred()) SWIG_fail
;
8666 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8673 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8674 PyObject
*resultobj
= 0;
8675 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8679 PyObject
*swig_obj
[1] ;
8681 if (!args
) SWIG_fail
;
8683 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8684 if (!SWIG_IsOK(res1
)) {
8685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8687 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8690 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8691 wxPyEndAllowThreads(__tstate
);
8692 if (PyErr_Occurred()) SWIG_fail
;
8694 resultobj
= SWIG_From_int(static_cast< int >(result
));
8701 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8703 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8704 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8705 return SWIG_Py_Void();
8708 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8709 return SWIG_Python_InitShadowInstance(args
);
8712 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8713 PyObject
*resultobj
= 0;
8714 wxWindow
*arg1
= (wxWindow
*) 0 ;
8715 int arg2
= (int) -1 ;
8716 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8717 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8718 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8719 wxStatusBar
*result
= 0 ;
8726 bool temp4
= false ;
8727 PyObject
* obj0
= 0 ;
8728 PyObject
* obj1
= 0 ;
8729 PyObject
* obj2
= 0 ;
8730 PyObject
* obj3
= 0 ;
8731 char * kwnames
[] = {
8732 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8737 if (!SWIG_IsOK(res1
)) {
8738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8740 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8742 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8743 if (!SWIG_IsOK(ecode2
)) {
8744 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8746 arg2
= static_cast< int >(val2
);
8749 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8750 if (!SWIG_IsOK(ecode3
)) {
8751 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8753 arg3
= static_cast< long >(val3
);
8757 arg4
= wxString_in_helper(obj3
);
8758 if (arg4
== NULL
) SWIG_fail
;
8763 if (!wxPyCheckForApp()) SWIG_fail
;
8764 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8765 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8766 wxPyEndAllowThreads(__tstate
);
8767 if (PyErr_Occurred()) SWIG_fail
;
8769 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8784 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8785 PyObject
*resultobj
= 0;
8786 wxStatusBar
*result
= 0 ;
8788 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8790 if (!wxPyCheckForApp()) SWIG_fail
;
8791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8792 result
= (wxStatusBar
*)new wxStatusBar();
8793 wxPyEndAllowThreads(__tstate
);
8794 if (PyErr_Occurred()) SWIG_fail
;
8796 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8803 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8804 PyObject
*resultobj
= 0;
8805 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8806 wxWindow
*arg2
= (wxWindow
*) 0 ;
8807 int arg3
= (int) -1 ;
8808 long arg4
= (long) wxST_SIZEGRIP
;
8809 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8810 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8820 bool temp5
= false ;
8821 PyObject
* obj0
= 0 ;
8822 PyObject
* obj1
= 0 ;
8823 PyObject
* obj2
= 0 ;
8824 PyObject
* obj3
= 0 ;
8825 PyObject
* obj4
= 0 ;
8826 char * kwnames
[] = {
8827 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8830 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8831 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8832 if (!SWIG_IsOK(res1
)) {
8833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8835 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8836 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8837 if (!SWIG_IsOK(res2
)) {
8838 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8840 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8842 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8843 if (!SWIG_IsOK(ecode3
)) {
8844 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8846 arg3
= static_cast< int >(val3
);
8849 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8850 if (!SWIG_IsOK(ecode4
)) {
8851 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8853 arg4
= static_cast< long >(val4
);
8857 arg5
= wxString_in_helper(obj4
);
8858 if (arg5
== NULL
) SWIG_fail
;
8863 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8864 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8865 wxPyEndAllowThreads(__tstate
);
8866 if (PyErr_Occurred()) SWIG_fail
;
8869 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8885 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8886 PyObject
*resultobj
= 0;
8887 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8888 int arg2
= (int) 1 ;
8893 PyObject
* obj0
= 0 ;
8894 PyObject
* obj1
= 0 ;
8895 char * kwnames
[] = {
8896 (char *) "self",(char *) "number", NULL
8899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8900 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8901 if (!SWIG_IsOK(res1
)) {
8902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8904 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8906 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8907 if (!SWIG_IsOK(ecode2
)) {
8908 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8910 arg2
= static_cast< int >(val2
);
8913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8914 (arg1
)->SetFieldsCount(arg2
);
8915 wxPyEndAllowThreads(__tstate
);
8916 if (PyErr_Occurred()) SWIG_fail
;
8918 resultobj
= SWIG_Py_Void();
8925 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8926 PyObject
*resultobj
= 0;
8927 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8931 PyObject
*swig_obj
[1] ;
8933 if (!args
) SWIG_fail
;
8935 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8936 if (!SWIG_IsOK(res1
)) {
8937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8939 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8941 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8942 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8943 wxPyEndAllowThreads(__tstate
);
8944 if (PyErr_Occurred()) SWIG_fail
;
8946 resultobj
= SWIG_From_int(static_cast< int >(result
));
8953 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8954 PyObject
*resultobj
= 0;
8955 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8956 wxString
*arg2
= 0 ;
8957 int arg3
= (int) 0 ;
8960 bool temp2
= false ;
8963 PyObject
* obj0
= 0 ;
8964 PyObject
* obj1
= 0 ;
8965 PyObject
* obj2
= 0 ;
8966 char * kwnames
[] = {
8967 (char *) "self",(char *) "text",(char *) "number", NULL
8970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8972 if (!SWIG_IsOK(res1
)) {
8973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8975 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8977 arg2
= wxString_in_helper(obj1
);
8978 if (arg2
== NULL
) SWIG_fail
;
8982 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8983 if (!SWIG_IsOK(ecode3
)) {
8984 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8986 arg3
= static_cast< int >(val3
);
8989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8990 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8991 wxPyEndAllowThreads(__tstate
);
8992 if (PyErr_Occurred()) SWIG_fail
;
8994 resultobj
= SWIG_Py_Void();
9009 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9010 PyObject
*resultobj
= 0;
9011 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9012 int arg2
= (int) 0 ;
9018 PyObject
* obj0
= 0 ;
9019 PyObject
* obj1
= 0 ;
9020 char * kwnames
[] = {
9021 (char *) "self",(char *) "number", NULL
9024 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9025 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9026 if (!SWIG_IsOK(res1
)) {
9027 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9029 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9032 if (!SWIG_IsOK(ecode2
)) {
9033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9035 arg2
= static_cast< int >(val2
);
9038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9039 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9040 wxPyEndAllowThreads(__tstate
);
9041 if (PyErr_Occurred()) SWIG_fail
;
9045 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9047 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9056 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9057 PyObject
*resultobj
= 0;
9058 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9059 wxString
*arg2
= 0 ;
9060 int arg3
= (int) 0 ;
9063 bool temp2
= false ;
9066 PyObject
* obj0
= 0 ;
9067 PyObject
* obj1
= 0 ;
9068 PyObject
* obj2
= 0 ;
9069 char * kwnames
[] = {
9070 (char *) "self",(char *) "text",(char *) "number", NULL
9073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9075 if (!SWIG_IsOK(res1
)) {
9076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9078 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9080 arg2
= wxString_in_helper(obj1
);
9081 if (arg2
== NULL
) SWIG_fail
;
9085 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9086 if (!SWIG_IsOK(ecode3
)) {
9087 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9089 arg3
= static_cast< int >(val3
);
9092 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9093 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9094 wxPyEndAllowThreads(__tstate
);
9095 if (PyErr_Occurred()) SWIG_fail
;
9097 resultobj
= SWIG_Py_Void();
9112 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9113 PyObject
*resultobj
= 0;
9114 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9115 int arg2
= (int) 0 ;
9120 PyObject
* obj0
= 0 ;
9121 PyObject
* obj1
= 0 ;
9122 char * kwnames
[] = {
9123 (char *) "self",(char *) "number", NULL
9126 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9127 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9128 if (!SWIG_IsOK(res1
)) {
9129 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9131 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9133 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9134 if (!SWIG_IsOK(ecode2
)) {
9135 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9137 arg2
= static_cast< int >(val2
);
9140 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9141 (arg1
)->PopStatusText(arg2
);
9142 wxPyEndAllowThreads(__tstate
);
9143 if (PyErr_Occurred()) SWIG_fail
;
9145 resultobj
= SWIG_Py_Void();
9152 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9153 PyObject
*resultobj
= 0;
9154 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9156 int *arg3
= (int *) 0 ;
9159 PyObject
* obj0
= 0 ;
9160 PyObject
* obj1
= 0 ;
9161 char * kwnames
[] = {
9162 (char *) "self",(char *) "widths", NULL
9165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9167 if (!SWIG_IsOK(res1
)) {
9168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9170 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9172 arg2
= PyList_Size(obj1
);
9173 arg3
= int_LIST_helper(obj1
);
9174 if (arg3
== NULL
) SWIG_fail
;
9177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9178 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9179 wxPyEndAllowThreads(__tstate
);
9180 if (PyErr_Occurred()) SWIG_fail
;
9182 resultobj
= SWIG_Py_Void();
9184 if (arg3
) delete [] arg3
;
9189 if (arg3
) delete [] arg3
;
9195 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9196 PyObject
*resultobj
= 0;
9197 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9199 int *arg3
= (int *) 0 ;
9202 PyObject
* obj0
= 0 ;
9203 PyObject
* obj1
= 0 ;
9204 char * kwnames
[] = {
9205 (char *) "self",(char *) "styles", NULL
9208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9210 if (!SWIG_IsOK(res1
)) {
9211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9213 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9215 arg2
= PyList_Size(obj1
);
9216 arg3
= int_LIST_helper(obj1
);
9217 if (arg3
== NULL
) SWIG_fail
;
9220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9221 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9222 wxPyEndAllowThreads(__tstate
);
9223 if (PyErr_Occurred()) SWIG_fail
;
9225 resultobj
= SWIG_Py_Void();
9227 if (arg3
) delete [] arg3
;
9232 if (arg3
) delete [] arg3
;
9238 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9239 PyObject
*resultobj
= 0;
9240 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9247 PyObject
* obj0
= 0 ;
9248 PyObject
* obj1
= 0 ;
9249 char * kwnames
[] = {
9250 (char *) "self",(char *) "i", NULL
9253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9255 if (!SWIG_IsOK(res1
)) {
9256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9258 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9259 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9260 if (!SWIG_IsOK(ecode2
)) {
9261 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9263 arg2
= static_cast< int >(val2
);
9265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9266 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9267 wxPyEndAllowThreads(__tstate
);
9268 if (PyErr_Occurred()) SWIG_fail
;
9270 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9277 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9278 PyObject
*resultobj
= 0;
9279 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9285 PyObject
* obj0
= 0 ;
9286 PyObject
* obj1
= 0 ;
9287 char * kwnames
[] = {
9288 (char *) "self",(char *) "height", NULL
9291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9293 if (!SWIG_IsOK(res1
)) {
9294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9296 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9298 if (!SWIG_IsOK(ecode2
)) {
9299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9301 arg2
= static_cast< int >(val2
);
9303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9304 (arg1
)->SetMinHeight(arg2
);
9305 wxPyEndAllowThreads(__tstate
);
9306 if (PyErr_Occurred()) SWIG_fail
;
9308 resultobj
= SWIG_Py_Void();
9315 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9316 PyObject
*resultobj
= 0;
9317 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9321 PyObject
*swig_obj
[1] ;
9323 if (!args
) SWIG_fail
;
9325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9326 if (!SWIG_IsOK(res1
)) {
9327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9329 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9332 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9333 wxPyEndAllowThreads(__tstate
);
9334 if (PyErr_Occurred()) SWIG_fail
;
9336 resultobj
= SWIG_From_int(static_cast< int >(result
));
9343 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9344 PyObject
*resultobj
= 0;
9345 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9349 PyObject
*swig_obj
[1] ;
9351 if (!args
) SWIG_fail
;
9353 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9354 if (!SWIG_IsOK(res1
)) {
9355 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9357 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9360 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9361 wxPyEndAllowThreads(__tstate
);
9362 if (PyErr_Occurred()) SWIG_fail
;
9364 resultobj
= SWIG_From_int(static_cast< int >(result
));
9371 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9372 PyObject
*resultobj
= 0;
9373 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9374 SwigValueWrapper
<wxVisualAttributes
> result
;
9377 PyObject
* obj0
= 0 ;
9378 char * kwnames
[] = {
9379 (char *) "variant", NULL
9382 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9384 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9385 if (!SWIG_IsOK(ecode1
)) {
9386 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9388 arg1
= static_cast< wxWindowVariant
>(val1
);
9391 if (!wxPyCheckForApp()) SWIG_fail
;
9392 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9393 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9394 wxPyEndAllowThreads(__tstate
);
9395 if (PyErr_Occurred()) SWIG_fail
;
9397 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9404 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9406 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9407 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9408 return SWIG_Py_Void();
9411 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9412 return SWIG_Python_InitShadowInstance(args
);
9415 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9416 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9421 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9422 PyObject
*pyobj
= 0;
9426 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9428 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9435 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9436 PyObject
*resultobj
= 0;
9437 wxWindow
*arg1
= (wxWindow
*) 0 ;
9438 int arg2
= (int) -1 ;
9439 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9440 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9441 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9442 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9443 long arg5
= (long) wxSP_3D
;
9444 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9445 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9446 wxSplitterWindow
*result
= 0 ;
9455 bool temp6
= false ;
9456 PyObject
* obj0
= 0 ;
9457 PyObject
* obj1
= 0 ;
9458 PyObject
* obj2
= 0 ;
9459 PyObject
* obj3
= 0 ;
9460 PyObject
* obj4
= 0 ;
9461 PyObject
* obj5
= 0 ;
9462 char * kwnames
[] = {
9463 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9468 if (!SWIG_IsOK(res1
)) {
9469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9471 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9473 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9474 if (!SWIG_IsOK(ecode2
)) {
9475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9477 arg2
= static_cast< int >(val2
);
9482 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9488 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9492 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9493 if (!SWIG_IsOK(ecode5
)) {
9494 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9496 arg5
= static_cast< long >(val5
);
9500 arg6
= wxString_in_helper(obj5
);
9501 if (arg6
== NULL
) SWIG_fail
;
9506 if (!wxPyCheckForApp()) SWIG_fail
;
9507 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9508 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9509 wxPyEndAllowThreads(__tstate
);
9510 if (PyErr_Occurred()) SWIG_fail
;
9512 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9527 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9528 PyObject
*resultobj
= 0;
9529 wxSplitterWindow
*result
= 0 ;
9531 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9533 if (!wxPyCheckForApp()) SWIG_fail
;
9534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9535 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9536 wxPyEndAllowThreads(__tstate
);
9537 if (PyErr_Occurred()) SWIG_fail
;
9539 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9546 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9547 PyObject
*resultobj
= 0;
9548 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9549 wxWindow
*arg2
= (wxWindow
*) 0 ;
9550 int arg3
= (int) -1 ;
9551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9555 long arg6
= (long) wxSP_3D
;
9556 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9569 bool temp7
= false ;
9570 PyObject
* obj0
= 0 ;
9571 PyObject
* obj1
= 0 ;
9572 PyObject
* obj2
= 0 ;
9573 PyObject
* obj3
= 0 ;
9574 PyObject
* obj4
= 0 ;
9575 PyObject
* obj5
= 0 ;
9576 PyObject
* obj6
= 0 ;
9577 char * kwnames
[] = {
9578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9583 if (!SWIG_IsOK(res1
)) {
9584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9586 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9588 if (!SWIG_IsOK(res2
)) {
9589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9594 if (!SWIG_IsOK(ecode3
)) {
9595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9597 arg3
= static_cast< int >(val3
);
9602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9613 if (!SWIG_IsOK(ecode6
)) {
9614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9616 arg6
= static_cast< long >(val6
);
9620 arg7
= wxString_in_helper(obj6
);
9621 if (arg7
== NULL
) SWIG_fail
;
9626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9628 wxPyEndAllowThreads(__tstate
);
9629 if (PyErr_Occurred()) SWIG_fail
;
9632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9648 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9649 PyObject
*resultobj
= 0;
9650 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9651 wxWindow
*result
= 0 ;
9654 PyObject
*swig_obj
[1] ;
9656 if (!args
) SWIG_fail
;
9658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9659 if (!SWIG_IsOK(res1
)) {
9660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9662 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9665 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9666 wxPyEndAllowThreads(__tstate
);
9667 if (PyErr_Occurred()) SWIG_fail
;
9670 resultobj
= wxPyMake_wxObject(result
, 0);
9678 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9679 PyObject
*resultobj
= 0;
9680 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9681 wxWindow
*result
= 0 ;
9684 PyObject
*swig_obj
[1] ;
9686 if (!args
) SWIG_fail
;
9688 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9689 if (!SWIG_IsOK(res1
)) {
9690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9692 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9695 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9696 wxPyEndAllowThreads(__tstate
);
9697 if (PyErr_Occurred()) SWIG_fail
;
9700 resultobj
= wxPyMake_wxObject(result
, 0);
9708 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9709 PyObject
*resultobj
= 0;
9710 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9716 PyObject
* obj0
= 0 ;
9717 PyObject
* obj1
= 0 ;
9718 char * kwnames
[] = {
9719 (char *) "self",(char *) "mode", NULL
9722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9724 if (!SWIG_IsOK(res1
)) {
9725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9727 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9729 if (!SWIG_IsOK(ecode2
)) {
9730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9732 arg2
= static_cast< int >(val2
);
9734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9735 (arg1
)->SetSplitMode(arg2
);
9736 wxPyEndAllowThreads(__tstate
);
9737 if (PyErr_Occurred()) SWIG_fail
;
9739 resultobj
= SWIG_Py_Void();
9746 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9747 PyObject
*resultobj
= 0;
9748 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9752 PyObject
*swig_obj
[1] ;
9754 if (!args
) SWIG_fail
;
9756 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9757 if (!SWIG_IsOK(res1
)) {
9758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9760 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9763 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9764 wxPyEndAllowThreads(__tstate
);
9765 if (PyErr_Occurred()) SWIG_fail
;
9767 resultobj
= SWIG_From_int(static_cast< int >(result
));
9774 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9775 PyObject
*resultobj
= 0;
9776 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9777 wxWindow
*arg2
= (wxWindow
*) 0 ;
9782 PyObject
* obj0
= 0 ;
9783 PyObject
* obj1
= 0 ;
9784 char * kwnames
[] = {
9785 (char *) "self",(char *) "window", NULL
9788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9790 if (!SWIG_IsOK(res1
)) {
9791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9793 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9794 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9795 if (!SWIG_IsOK(res2
)) {
9796 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9798 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9800 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9801 (arg1
)->Initialize(arg2
);
9802 wxPyEndAllowThreads(__tstate
);
9803 if (PyErr_Occurred()) SWIG_fail
;
9805 resultobj
= SWIG_Py_Void();
9812 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9813 PyObject
*resultobj
= 0;
9814 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9815 wxWindow
*arg2
= (wxWindow
*) 0 ;
9816 wxWindow
*arg3
= (wxWindow
*) 0 ;
9817 int arg4
= (int) 0 ;
9827 PyObject
* obj0
= 0 ;
9828 PyObject
* obj1
= 0 ;
9829 PyObject
* obj2
= 0 ;
9830 PyObject
* obj3
= 0 ;
9831 char * kwnames
[] = {
9832 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9837 if (!SWIG_IsOK(res1
)) {
9838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9840 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9841 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9842 if (!SWIG_IsOK(res2
)) {
9843 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9845 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9846 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9847 if (!SWIG_IsOK(res3
)) {
9848 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9850 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9852 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9853 if (!SWIG_IsOK(ecode4
)) {
9854 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9856 arg4
= static_cast< int >(val4
);
9859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9860 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9861 wxPyEndAllowThreads(__tstate
);
9862 if (PyErr_Occurred()) SWIG_fail
;
9865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9873 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9874 PyObject
*resultobj
= 0;
9875 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9876 wxWindow
*arg2
= (wxWindow
*) 0 ;
9877 wxWindow
*arg3
= (wxWindow
*) 0 ;
9878 int arg4
= (int) 0 ;
9888 PyObject
* obj0
= 0 ;
9889 PyObject
* obj1
= 0 ;
9890 PyObject
* obj2
= 0 ;
9891 PyObject
* obj3
= 0 ;
9892 char * kwnames
[] = {
9893 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9898 if (!SWIG_IsOK(res1
)) {
9899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9901 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9902 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9903 if (!SWIG_IsOK(res2
)) {
9904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9906 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9907 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9908 if (!SWIG_IsOK(res3
)) {
9909 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9911 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9913 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9914 if (!SWIG_IsOK(ecode4
)) {
9915 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9917 arg4
= static_cast< int >(val4
);
9920 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9921 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9922 wxPyEndAllowThreads(__tstate
);
9923 if (PyErr_Occurred()) SWIG_fail
;
9926 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9934 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9935 PyObject
*resultobj
= 0;
9936 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9937 wxWindow
*arg2
= (wxWindow
*) NULL
;
9943 PyObject
* obj0
= 0 ;
9944 PyObject
* obj1
= 0 ;
9945 char * kwnames
[] = {
9946 (char *) "self",(char *) "toRemove", NULL
9949 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9950 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9951 if (!SWIG_IsOK(res1
)) {
9952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9954 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9956 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9957 if (!SWIG_IsOK(res2
)) {
9958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9960 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9964 result
= (bool)(arg1
)->Unsplit(arg2
);
9965 wxPyEndAllowThreads(__tstate
);
9966 if (PyErr_Occurred()) SWIG_fail
;
9969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9977 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9978 PyObject
*resultobj
= 0;
9979 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9980 wxWindow
*arg2
= (wxWindow
*) 0 ;
9981 wxWindow
*arg3
= (wxWindow
*) 0 ;
9989 PyObject
* obj0
= 0 ;
9990 PyObject
* obj1
= 0 ;
9991 PyObject
* obj2
= 0 ;
9992 char * kwnames
[] = {
9993 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9996 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9997 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9998 if (!SWIG_IsOK(res1
)) {
9999 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10001 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10002 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10003 if (!SWIG_IsOK(res2
)) {
10004 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
10006 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
10007 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10008 if (!SWIG_IsOK(res3
)) {
10009 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
10011 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
10013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10014 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
10015 wxPyEndAllowThreads(__tstate
);
10016 if (PyErr_Occurred()) SWIG_fail
;
10019 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10027 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10028 PyObject
*resultobj
= 0;
10029 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10032 PyObject
*swig_obj
[1] ;
10034 if (!args
) SWIG_fail
;
10035 swig_obj
[0] = args
;
10036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10037 if (!SWIG_IsOK(res1
)) {
10038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10040 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10043 (arg1
)->UpdateSize();
10044 wxPyEndAllowThreads(__tstate
);
10045 if (PyErr_Occurred()) SWIG_fail
;
10047 resultobj
= SWIG_Py_Void();
10054 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10055 PyObject
*resultobj
= 0;
10056 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10060 PyObject
*swig_obj
[1] ;
10062 if (!args
) SWIG_fail
;
10063 swig_obj
[0] = args
;
10064 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10065 if (!SWIG_IsOK(res1
)) {
10066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10068 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10071 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10072 wxPyEndAllowThreads(__tstate
);
10073 if (PyErr_Occurred()) SWIG_fail
;
10076 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10084 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10085 PyObject
*resultobj
= 0;
10086 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10092 PyObject
* obj0
= 0 ;
10093 PyObject
* obj1
= 0 ;
10094 char * kwnames
[] = {
10095 (char *) "self",(char *) "width", NULL
10098 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10099 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10100 if (!SWIG_IsOK(res1
)) {
10101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10103 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10104 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10105 if (!SWIG_IsOK(ecode2
)) {
10106 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10108 arg2
= static_cast< int >(val2
);
10110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10111 (arg1
)->SetSashSize(arg2
);
10112 wxPyEndAllowThreads(__tstate
);
10113 if (PyErr_Occurred()) SWIG_fail
;
10115 resultobj
= SWIG_Py_Void();
10122 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10123 PyObject
*resultobj
= 0;
10124 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10130 PyObject
* obj0
= 0 ;
10131 PyObject
* obj1
= 0 ;
10132 char * kwnames
[] = {
10133 (char *) "self",(char *) "width", NULL
10136 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10137 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10138 if (!SWIG_IsOK(res1
)) {
10139 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10141 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10142 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10143 if (!SWIG_IsOK(ecode2
)) {
10144 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10146 arg2
= static_cast< int >(val2
);
10148 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10149 (arg1
)->SetBorderSize(arg2
);
10150 wxPyEndAllowThreads(__tstate
);
10151 if (PyErr_Occurred()) SWIG_fail
;
10153 resultobj
= SWIG_Py_Void();
10160 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10161 PyObject
*resultobj
= 0;
10162 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10166 PyObject
*swig_obj
[1] ;
10168 if (!args
) SWIG_fail
;
10169 swig_obj
[0] = args
;
10170 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10171 if (!SWIG_IsOK(res1
)) {
10172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10174 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10177 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10178 wxPyEndAllowThreads(__tstate
);
10179 if (PyErr_Occurred()) SWIG_fail
;
10181 resultobj
= SWIG_From_int(static_cast< int >(result
));
10188 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10189 PyObject
*resultobj
= 0;
10190 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10194 PyObject
*swig_obj
[1] ;
10196 if (!args
) SWIG_fail
;
10197 swig_obj
[0] = args
;
10198 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10199 if (!SWIG_IsOK(res1
)) {
10200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10202 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10204 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10205 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10206 wxPyEndAllowThreads(__tstate
);
10207 if (PyErr_Occurred()) SWIG_fail
;
10209 resultobj
= SWIG_From_int(static_cast< int >(result
));
10216 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10217 PyObject
*resultobj
= 0;
10218 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10220 bool arg3
= (bool) true ;
10227 PyObject
* obj0
= 0 ;
10228 PyObject
* obj1
= 0 ;
10229 PyObject
* obj2
= 0 ;
10230 char * kwnames
[] = {
10231 (char *) "self",(char *) "position",(char *) "redraw", NULL
10234 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10235 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10236 if (!SWIG_IsOK(res1
)) {
10237 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10239 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10240 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10241 if (!SWIG_IsOK(ecode2
)) {
10242 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10244 arg2
= static_cast< int >(val2
);
10246 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10247 if (!SWIG_IsOK(ecode3
)) {
10248 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10250 arg3
= static_cast< bool >(val3
);
10253 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10254 (arg1
)->SetSashPosition(arg2
,arg3
);
10255 wxPyEndAllowThreads(__tstate
);
10256 if (PyErr_Occurred()) SWIG_fail
;
10258 resultobj
= SWIG_Py_Void();
10265 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10266 PyObject
*resultobj
= 0;
10267 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10271 PyObject
*swig_obj
[1] ;
10273 if (!args
) SWIG_fail
;
10274 swig_obj
[0] = args
;
10275 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10276 if (!SWIG_IsOK(res1
)) {
10277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10279 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10281 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10282 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10283 wxPyEndAllowThreads(__tstate
);
10284 if (PyErr_Occurred()) SWIG_fail
;
10286 resultobj
= SWIG_From_int(static_cast< int >(result
));
10293 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10294 PyObject
*resultobj
= 0;
10295 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10301 PyObject
* obj0
= 0 ;
10302 PyObject
* obj1
= 0 ;
10303 char * kwnames
[] = {
10304 (char *) "self",(char *) "gravity", NULL
10307 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10308 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10309 if (!SWIG_IsOK(res1
)) {
10310 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10312 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10313 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10314 if (!SWIG_IsOK(ecode2
)) {
10315 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10317 arg2
= static_cast< double >(val2
);
10319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10320 (arg1
)->SetSashGravity(arg2
);
10321 wxPyEndAllowThreads(__tstate
);
10322 if (PyErr_Occurred()) SWIG_fail
;
10324 resultobj
= SWIG_Py_Void();
10331 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10332 PyObject
*resultobj
= 0;
10333 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10337 PyObject
*swig_obj
[1] ;
10339 if (!args
) SWIG_fail
;
10340 swig_obj
[0] = args
;
10341 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10342 if (!SWIG_IsOK(res1
)) {
10343 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10345 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10347 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10348 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10349 wxPyEndAllowThreads(__tstate
);
10350 if (PyErr_Occurred()) SWIG_fail
;
10352 resultobj
= SWIG_From_double(static_cast< double >(result
));
10359 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10360 PyObject
*resultobj
= 0;
10361 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10367 PyObject
* obj0
= 0 ;
10368 PyObject
* obj1
= 0 ;
10369 char * kwnames
[] = {
10370 (char *) "self",(char *) "min", NULL
10373 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10374 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10375 if (!SWIG_IsOK(res1
)) {
10376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10378 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10379 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10380 if (!SWIG_IsOK(ecode2
)) {
10381 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10383 arg2
= static_cast< int >(val2
);
10385 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10386 (arg1
)->SetMinimumPaneSize(arg2
);
10387 wxPyEndAllowThreads(__tstate
);
10388 if (PyErr_Occurred()) SWIG_fail
;
10390 resultobj
= SWIG_Py_Void();
10397 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10398 PyObject
*resultobj
= 0;
10399 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10403 PyObject
*swig_obj
[1] ;
10405 if (!args
) SWIG_fail
;
10406 swig_obj
[0] = args
;
10407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10408 if (!SWIG_IsOK(res1
)) {
10409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10411 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10414 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10415 wxPyEndAllowThreads(__tstate
);
10416 if (PyErr_Occurred()) SWIG_fail
;
10418 resultobj
= SWIG_From_int(static_cast< int >(result
));
10425 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10426 PyObject
*resultobj
= 0;
10427 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10430 int arg4
= (int) 5 ;
10440 PyObject
* obj0
= 0 ;
10441 PyObject
* obj1
= 0 ;
10442 PyObject
* obj2
= 0 ;
10443 PyObject
* obj3
= 0 ;
10444 char * kwnames
[] = {
10445 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10448 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10449 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10450 if (!SWIG_IsOK(res1
)) {
10451 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10453 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10454 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10455 if (!SWIG_IsOK(ecode2
)) {
10456 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10458 arg2
= static_cast< int >(val2
);
10459 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10460 if (!SWIG_IsOK(ecode3
)) {
10461 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10463 arg3
= static_cast< int >(val3
);
10465 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10466 if (!SWIG_IsOK(ecode4
)) {
10467 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10469 arg4
= static_cast< int >(val4
);
10472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10473 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10474 wxPyEndAllowThreads(__tstate
);
10475 if (PyErr_Occurred()) SWIG_fail
;
10478 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10486 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10487 PyObject
*resultobj
= 0;
10488 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10491 PyObject
*swig_obj
[1] ;
10493 if (!args
) SWIG_fail
;
10494 swig_obj
[0] = args
;
10495 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10496 if (!SWIG_IsOK(res1
)) {
10497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10499 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10502 (arg1
)->SizeWindows();
10503 wxPyEndAllowThreads(__tstate
);
10504 if (PyErr_Occurred()) SWIG_fail
;
10506 resultobj
= SWIG_Py_Void();
10513 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10514 PyObject
*resultobj
= 0;
10515 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10521 PyObject
* obj0
= 0 ;
10522 PyObject
* obj1
= 0 ;
10523 char * kwnames
[] = {
10524 (char *) "self",(char *) "needUpdating", NULL
10527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10529 if (!SWIG_IsOK(res1
)) {
10530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10532 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10533 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10534 if (!SWIG_IsOK(ecode2
)) {
10535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10537 arg2
= static_cast< bool >(val2
);
10539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10540 (arg1
)->SetNeedUpdating(arg2
);
10541 wxPyEndAllowThreads(__tstate
);
10542 if (PyErr_Occurred()) SWIG_fail
;
10544 resultobj
= SWIG_Py_Void();
10551 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10552 PyObject
*resultobj
= 0;
10553 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10557 PyObject
*swig_obj
[1] ;
10559 if (!args
) SWIG_fail
;
10560 swig_obj
[0] = args
;
10561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10562 if (!SWIG_IsOK(res1
)) {
10563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10565 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10568 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10569 wxPyEndAllowThreads(__tstate
);
10570 if (PyErr_Occurred()) SWIG_fail
;
10573 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10581 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10582 PyObject
*resultobj
= 0;
10583 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10584 SwigValueWrapper
<wxVisualAttributes
> result
;
10587 PyObject
* obj0
= 0 ;
10588 char * kwnames
[] = {
10589 (char *) "variant", NULL
10592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10594 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10595 if (!SWIG_IsOK(ecode1
)) {
10596 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10598 arg1
= static_cast< wxWindowVariant
>(val1
);
10601 if (!wxPyCheckForApp()) SWIG_fail
;
10602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10603 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10604 wxPyEndAllowThreads(__tstate
);
10605 if (PyErr_Occurred()) SWIG_fail
;
10607 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10614 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10616 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10617 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10618 return SWIG_Py_Void();
10621 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10622 return SWIG_Python_InitShadowInstance(args
);
10625 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10626 PyObject
*resultobj
= 0;
10627 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10628 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10629 wxSplitterEvent
*result
= 0 ;
10634 PyObject
* obj0
= 0 ;
10635 PyObject
* obj1
= 0 ;
10636 char * kwnames
[] = {
10637 (char *) "type",(char *) "splitter", NULL
10640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10642 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10643 if (!SWIG_IsOK(ecode1
)) {
10644 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10646 arg1
= static_cast< wxEventType
>(val1
);
10649 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10650 if (!SWIG_IsOK(res2
)) {
10651 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10653 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10657 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10658 wxPyEndAllowThreads(__tstate
);
10659 if (PyErr_Occurred()) SWIG_fail
;
10661 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10668 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10669 PyObject
*resultobj
= 0;
10670 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10676 PyObject
* obj0
= 0 ;
10677 PyObject
* obj1
= 0 ;
10678 char * kwnames
[] = {
10679 (char *) "self",(char *) "pos", NULL
10682 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10683 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10684 if (!SWIG_IsOK(res1
)) {
10685 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10687 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10688 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10689 if (!SWIG_IsOK(ecode2
)) {
10690 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10692 arg2
= static_cast< int >(val2
);
10694 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10695 (arg1
)->SetSashPosition(arg2
);
10696 wxPyEndAllowThreads(__tstate
);
10697 if (PyErr_Occurred()) SWIG_fail
;
10699 resultobj
= SWIG_Py_Void();
10706 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10707 PyObject
*resultobj
= 0;
10708 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10712 PyObject
*swig_obj
[1] ;
10714 if (!args
) SWIG_fail
;
10715 swig_obj
[0] = args
;
10716 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10717 if (!SWIG_IsOK(res1
)) {
10718 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10720 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10722 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10723 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10724 wxPyEndAllowThreads(__tstate
);
10725 if (PyErr_Occurred()) SWIG_fail
;
10727 resultobj
= SWIG_From_int(static_cast< int >(result
));
10734 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10735 PyObject
*resultobj
= 0;
10736 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10737 wxWindow
*result
= 0 ;
10740 PyObject
*swig_obj
[1] ;
10742 if (!args
) SWIG_fail
;
10743 swig_obj
[0] = args
;
10744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10745 if (!SWIG_IsOK(res1
)) {
10746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10748 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10751 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10752 wxPyEndAllowThreads(__tstate
);
10753 if (PyErr_Occurred()) SWIG_fail
;
10756 resultobj
= wxPyMake_wxObject(result
, 0);
10764 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10765 PyObject
*resultobj
= 0;
10766 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10770 PyObject
*swig_obj
[1] ;
10772 if (!args
) SWIG_fail
;
10773 swig_obj
[0] = args
;
10774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10775 if (!SWIG_IsOK(res1
)) {
10776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10778 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10781 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10782 wxPyEndAllowThreads(__tstate
);
10783 if (PyErr_Occurred()) SWIG_fail
;
10785 resultobj
= SWIG_From_int(static_cast< int >(result
));
10792 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10793 PyObject
*resultobj
= 0;
10794 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10798 PyObject
*swig_obj
[1] ;
10800 if (!args
) SWIG_fail
;
10801 swig_obj
[0] = args
;
10802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10803 if (!SWIG_IsOK(res1
)) {
10804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10806 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10809 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10810 wxPyEndAllowThreads(__tstate
);
10811 if (PyErr_Occurred()) SWIG_fail
;
10813 resultobj
= SWIG_From_int(static_cast< int >(result
));
10820 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10823 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10824 return SWIG_Py_Void();
10827 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10828 return SWIG_Python_InitShadowInstance(args
);
10831 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10832 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10837 SWIGINTERN PyObject
*SashNameStr_get(void) {
10838 PyObject
*pyobj
= 0;
10842 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10844 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10851 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10852 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10857 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10858 PyObject
*pyobj
= 0;
10862 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10864 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10871 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10872 PyObject
*resultobj
= 0;
10873 wxWindow
*arg1
= (wxWindow
*) 0 ;
10874 int arg2
= (int) -1 ;
10875 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10876 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10877 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10878 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10879 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10880 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10881 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10882 wxSashWindow
*result
= 0 ;
10891 bool temp6
= false ;
10892 PyObject
* obj0
= 0 ;
10893 PyObject
* obj1
= 0 ;
10894 PyObject
* obj2
= 0 ;
10895 PyObject
* obj3
= 0 ;
10896 PyObject
* obj4
= 0 ;
10897 PyObject
* obj5
= 0 ;
10898 char * kwnames
[] = {
10899 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10902 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10903 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10904 if (!SWIG_IsOK(res1
)) {
10905 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10907 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10909 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10910 if (!SWIG_IsOK(ecode2
)) {
10911 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10913 arg2
= static_cast< int >(val2
);
10918 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10924 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10928 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10929 if (!SWIG_IsOK(ecode5
)) {
10930 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10932 arg5
= static_cast< long >(val5
);
10936 arg6
= wxString_in_helper(obj5
);
10937 if (arg6
== NULL
) SWIG_fail
;
10942 if (!wxPyCheckForApp()) SWIG_fail
;
10943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10944 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10945 wxPyEndAllowThreads(__tstate
);
10946 if (PyErr_Occurred()) SWIG_fail
;
10948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10963 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10964 PyObject
*resultobj
= 0;
10965 wxSashWindow
*result
= 0 ;
10967 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10969 if (!wxPyCheckForApp()) SWIG_fail
;
10970 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10971 result
= (wxSashWindow
*)new wxSashWindow();
10972 wxPyEndAllowThreads(__tstate
);
10973 if (PyErr_Occurred()) SWIG_fail
;
10975 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10982 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10983 PyObject
*resultobj
= 0;
10984 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10985 wxWindow
*arg2
= (wxWindow
*) 0 ;
10986 int arg3
= (int) -1 ;
10987 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10988 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10989 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10990 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10991 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10992 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10993 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
11005 bool temp7
= false ;
11006 PyObject
* obj0
= 0 ;
11007 PyObject
* obj1
= 0 ;
11008 PyObject
* obj2
= 0 ;
11009 PyObject
* obj3
= 0 ;
11010 PyObject
* obj4
= 0 ;
11011 PyObject
* obj5
= 0 ;
11012 PyObject
* obj6
= 0 ;
11013 char * kwnames
[] = {
11014 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
11017 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
11018 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11019 if (!SWIG_IsOK(res1
)) {
11020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11022 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11023 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
11024 if (!SWIG_IsOK(res2
)) {
11025 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11027 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11029 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11030 if (!SWIG_IsOK(ecode3
)) {
11031 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11033 arg3
= static_cast< int >(val3
);
11038 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11044 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11048 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11049 if (!SWIG_IsOK(ecode6
)) {
11050 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11052 arg6
= static_cast< long >(val6
);
11056 arg7
= wxString_in_helper(obj6
);
11057 if (arg7
== NULL
) SWIG_fail
;
11062 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11063 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11064 wxPyEndAllowThreads(__tstate
);
11065 if (PyErr_Occurred()) SWIG_fail
;
11068 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11084 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11085 PyObject
*resultobj
= 0;
11086 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11087 wxSashEdgePosition arg2
;
11095 PyObject
* obj0
= 0 ;
11096 PyObject
* obj1
= 0 ;
11097 PyObject
* obj2
= 0 ;
11098 char * kwnames
[] = {
11099 (char *) "self",(char *) "edge",(char *) "sash", NULL
11102 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11103 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11104 if (!SWIG_IsOK(res1
)) {
11105 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11107 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11109 if (!SWIG_IsOK(ecode2
)) {
11110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11112 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11113 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11114 if (!SWIG_IsOK(ecode3
)) {
11115 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11117 arg3
= static_cast< bool >(val3
);
11119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11120 (arg1
)->SetSashVisible(arg2
,arg3
);
11121 wxPyEndAllowThreads(__tstate
);
11122 if (PyErr_Occurred()) SWIG_fail
;
11124 resultobj
= SWIG_Py_Void();
11131 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11132 PyObject
*resultobj
= 0;
11133 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11134 wxSashEdgePosition arg2
;
11140 PyObject
* obj0
= 0 ;
11141 PyObject
* obj1
= 0 ;
11142 char * kwnames
[] = {
11143 (char *) "self",(char *) "edge", NULL
11146 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11147 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11148 if (!SWIG_IsOK(res1
)) {
11149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11151 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11152 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11153 if (!SWIG_IsOK(ecode2
)) {
11154 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11156 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11159 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11160 wxPyEndAllowThreads(__tstate
);
11161 if (PyErr_Occurred()) SWIG_fail
;
11164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11172 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11173 PyObject
*resultobj
= 0;
11174 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11175 wxSashEdgePosition arg2
;
11181 PyObject
* obj0
= 0 ;
11182 PyObject
* obj1
= 0 ;
11183 char * kwnames
[] = {
11184 (char *) "self",(char *) "edge", NULL
11187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11189 if (!SWIG_IsOK(res1
)) {
11190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11192 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11193 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11194 if (!SWIG_IsOK(ecode2
)) {
11195 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11197 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11200 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11201 wxPyEndAllowThreads(__tstate
);
11202 if (PyErr_Occurred()) SWIG_fail
;
11204 resultobj
= SWIG_From_int(static_cast< int >(result
));
11211 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11212 PyObject
*resultobj
= 0;
11213 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11219 PyObject
* obj0
= 0 ;
11220 PyObject
* obj1
= 0 ;
11221 char * kwnames
[] = {
11222 (char *) "self",(char *) "width", NULL
11225 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11226 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11227 if (!SWIG_IsOK(res1
)) {
11228 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11230 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11231 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11232 if (!SWIG_IsOK(ecode2
)) {
11233 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11235 arg2
= static_cast< int >(val2
);
11237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11238 (arg1
)->SetDefaultBorderSize(arg2
);
11239 wxPyEndAllowThreads(__tstate
);
11240 if (PyErr_Occurred()) SWIG_fail
;
11242 resultobj
= SWIG_Py_Void();
11249 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11250 PyObject
*resultobj
= 0;
11251 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11255 PyObject
*swig_obj
[1] ;
11257 if (!args
) SWIG_fail
;
11258 swig_obj
[0] = args
;
11259 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11260 if (!SWIG_IsOK(res1
)) {
11261 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11263 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11266 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11267 wxPyEndAllowThreads(__tstate
);
11268 if (PyErr_Occurred()) SWIG_fail
;
11270 resultobj
= SWIG_From_int(static_cast< int >(result
));
11277 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11278 PyObject
*resultobj
= 0;
11279 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11285 PyObject
* obj0
= 0 ;
11286 PyObject
* obj1
= 0 ;
11287 char * kwnames
[] = {
11288 (char *) "self",(char *) "width", NULL
11291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11293 if (!SWIG_IsOK(res1
)) {
11294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11296 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11298 if (!SWIG_IsOK(ecode2
)) {
11299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11301 arg2
= static_cast< int >(val2
);
11303 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11304 (arg1
)->SetExtraBorderSize(arg2
);
11305 wxPyEndAllowThreads(__tstate
);
11306 if (PyErr_Occurred()) SWIG_fail
;
11308 resultobj
= SWIG_Py_Void();
11315 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11316 PyObject
*resultobj
= 0;
11317 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11321 PyObject
*swig_obj
[1] ;
11323 if (!args
) SWIG_fail
;
11324 swig_obj
[0] = args
;
11325 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11326 if (!SWIG_IsOK(res1
)) {
11327 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11329 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11331 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11332 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11333 wxPyEndAllowThreads(__tstate
);
11334 if (PyErr_Occurred()) SWIG_fail
;
11336 resultobj
= SWIG_From_int(static_cast< int >(result
));
11343 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11344 PyObject
*resultobj
= 0;
11345 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11351 PyObject
* obj0
= 0 ;
11352 PyObject
* obj1
= 0 ;
11353 char * kwnames
[] = {
11354 (char *) "self",(char *) "min", NULL
11357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11358 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11359 if (!SWIG_IsOK(res1
)) {
11360 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11362 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11363 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11364 if (!SWIG_IsOK(ecode2
)) {
11365 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11367 arg2
= static_cast< int >(val2
);
11369 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11370 (arg1
)->SetMinimumSizeX(arg2
);
11371 wxPyEndAllowThreads(__tstate
);
11372 if (PyErr_Occurred()) SWIG_fail
;
11374 resultobj
= SWIG_Py_Void();
11381 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11382 PyObject
*resultobj
= 0;
11383 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11389 PyObject
* obj0
= 0 ;
11390 PyObject
* obj1
= 0 ;
11391 char * kwnames
[] = {
11392 (char *) "self",(char *) "min", NULL
11395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11397 if (!SWIG_IsOK(res1
)) {
11398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11400 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11401 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11402 if (!SWIG_IsOK(ecode2
)) {
11403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11405 arg2
= static_cast< int >(val2
);
11407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11408 (arg1
)->SetMinimumSizeY(arg2
);
11409 wxPyEndAllowThreads(__tstate
);
11410 if (PyErr_Occurred()) SWIG_fail
;
11412 resultobj
= SWIG_Py_Void();
11419 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11420 PyObject
*resultobj
= 0;
11421 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11425 PyObject
*swig_obj
[1] ;
11427 if (!args
) SWIG_fail
;
11428 swig_obj
[0] = args
;
11429 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11430 if (!SWIG_IsOK(res1
)) {
11431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11433 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11435 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11436 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11437 wxPyEndAllowThreads(__tstate
);
11438 if (PyErr_Occurred()) SWIG_fail
;
11440 resultobj
= SWIG_From_int(static_cast< int >(result
));
11447 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11448 PyObject
*resultobj
= 0;
11449 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11453 PyObject
*swig_obj
[1] ;
11455 if (!args
) SWIG_fail
;
11456 swig_obj
[0] = args
;
11457 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11458 if (!SWIG_IsOK(res1
)) {
11459 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11461 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11464 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11465 wxPyEndAllowThreads(__tstate
);
11466 if (PyErr_Occurred()) SWIG_fail
;
11468 resultobj
= SWIG_From_int(static_cast< int >(result
));
11475 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11476 PyObject
*resultobj
= 0;
11477 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11483 PyObject
* obj0
= 0 ;
11484 PyObject
* obj1
= 0 ;
11485 char * kwnames
[] = {
11486 (char *) "self",(char *) "max", NULL
11489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11491 if (!SWIG_IsOK(res1
)) {
11492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11494 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11495 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11496 if (!SWIG_IsOK(ecode2
)) {
11497 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11499 arg2
= static_cast< int >(val2
);
11501 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11502 (arg1
)->SetMaximumSizeX(arg2
);
11503 wxPyEndAllowThreads(__tstate
);
11504 if (PyErr_Occurred()) SWIG_fail
;
11506 resultobj
= SWIG_Py_Void();
11513 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11514 PyObject
*resultobj
= 0;
11515 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11521 PyObject
* obj0
= 0 ;
11522 PyObject
* obj1
= 0 ;
11523 char * kwnames
[] = {
11524 (char *) "self",(char *) "max", NULL
11527 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11528 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11529 if (!SWIG_IsOK(res1
)) {
11530 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11532 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11533 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11534 if (!SWIG_IsOK(ecode2
)) {
11535 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11537 arg2
= static_cast< int >(val2
);
11539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11540 (arg1
)->SetMaximumSizeY(arg2
);
11541 wxPyEndAllowThreads(__tstate
);
11542 if (PyErr_Occurred()) SWIG_fail
;
11544 resultobj
= SWIG_Py_Void();
11551 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11552 PyObject
*resultobj
= 0;
11553 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11557 PyObject
*swig_obj
[1] ;
11559 if (!args
) SWIG_fail
;
11560 swig_obj
[0] = args
;
11561 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11562 if (!SWIG_IsOK(res1
)) {
11563 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11565 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11567 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11568 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11569 wxPyEndAllowThreads(__tstate
);
11570 if (PyErr_Occurred()) SWIG_fail
;
11572 resultobj
= SWIG_From_int(static_cast< int >(result
));
11579 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11580 PyObject
*resultobj
= 0;
11581 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11585 PyObject
*swig_obj
[1] ;
11587 if (!args
) SWIG_fail
;
11588 swig_obj
[0] = args
;
11589 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11590 if (!SWIG_IsOK(res1
)) {
11591 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11593 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11595 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11596 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11597 wxPyEndAllowThreads(__tstate
);
11598 if (PyErr_Occurred()) SWIG_fail
;
11600 resultobj
= SWIG_From_int(static_cast< int >(result
));
11607 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11608 PyObject
*resultobj
= 0;
11609 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11612 int arg4
= (int) 2 ;
11613 wxSashEdgePosition result
;
11622 PyObject
* obj0
= 0 ;
11623 PyObject
* obj1
= 0 ;
11624 PyObject
* obj2
= 0 ;
11625 PyObject
* obj3
= 0 ;
11626 char * kwnames
[] = {
11627 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11632 if (!SWIG_IsOK(res1
)) {
11633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11635 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11636 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11637 if (!SWIG_IsOK(ecode2
)) {
11638 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11640 arg2
= static_cast< int >(val2
);
11641 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11642 if (!SWIG_IsOK(ecode3
)) {
11643 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11645 arg3
= static_cast< int >(val3
);
11647 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11648 if (!SWIG_IsOK(ecode4
)) {
11649 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11651 arg4
= static_cast< int >(val4
);
11654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11655 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11656 wxPyEndAllowThreads(__tstate
);
11657 if (PyErr_Occurred()) SWIG_fail
;
11659 resultobj
= SWIG_From_int(static_cast< int >(result
));
11666 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11667 PyObject
*resultobj
= 0;
11668 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11671 PyObject
*swig_obj
[1] ;
11673 if (!args
) SWIG_fail
;
11674 swig_obj
[0] = args
;
11675 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11676 if (!SWIG_IsOK(res1
)) {
11677 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11679 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11681 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11682 (arg1
)->SizeWindows();
11683 wxPyEndAllowThreads(__tstate
);
11684 if (PyErr_Occurred()) SWIG_fail
;
11686 resultobj
= SWIG_Py_Void();
11693 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11695 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11696 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11697 return SWIG_Py_Void();
11700 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11701 return SWIG_Python_InitShadowInstance(args
);
11704 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11705 PyObject
*resultobj
= 0;
11706 int arg1
= (int) 0 ;
11707 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11708 wxSashEvent
*result
= 0 ;
11713 PyObject
* obj0
= 0 ;
11714 PyObject
* obj1
= 0 ;
11715 char * kwnames
[] = {
11716 (char *) "id",(char *) "edge", NULL
11719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11721 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11722 if (!SWIG_IsOK(ecode1
)) {
11723 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11725 arg1
= static_cast< int >(val1
);
11728 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11729 if (!SWIG_IsOK(ecode2
)) {
11730 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11732 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11736 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11737 wxPyEndAllowThreads(__tstate
);
11738 if (PyErr_Occurred()) SWIG_fail
;
11740 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11747 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11748 PyObject
*resultobj
= 0;
11749 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11750 wxSashEdgePosition arg2
;
11755 PyObject
* obj0
= 0 ;
11756 PyObject
* obj1
= 0 ;
11757 char * kwnames
[] = {
11758 (char *) "self",(char *) "edge", NULL
11761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11763 if (!SWIG_IsOK(res1
)) {
11764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11766 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11767 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11768 if (!SWIG_IsOK(ecode2
)) {
11769 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11771 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11774 (arg1
)->SetEdge(arg2
);
11775 wxPyEndAllowThreads(__tstate
);
11776 if (PyErr_Occurred()) SWIG_fail
;
11778 resultobj
= SWIG_Py_Void();
11785 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11786 PyObject
*resultobj
= 0;
11787 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11788 wxSashEdgePosition result
;
11791 PyObject
*swig_obj
[1] ;
11793 if (!args
) SWIG_fail
;
11794 swig_obj
[0] = args
;
11795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11796 if (!SWIG_IsOK(res1
)) {
11797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11799 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11802 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11803 wxPyEndAllowThreads(__tstate
);
11804 if (PyErr_Occurred()) SWIG_fail
;
11806 resultobj
= SWIG_From_int(static_cast< int >(result
));
11813 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11814 PyObject
*resultobj
= 0;
11815 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11820 PyObject
* obj0
= 0 ;
11821 PyObject
* obj1
= 0 ;
11822 char * kwnames
[] = {
11823 (char *) "self",(char *) "rect", NULL
11826 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11827 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11828 if (!SWIG_IsOK(res1
)) {
11829 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11831 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11834 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11838 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11839 wxPyEndAllowThreads(__tstate
);
11840 if (PyErr_Occurred()) SWIG_fail
;
11842 resultobj
= SWIG_Py_Void();
11849 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11850 PyObject
*resultobj
= 0;
11851 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11855 PyObject
*swig_obj
[1] ;
11857 if (!args
) SWIG_fail
;
11858 swig_obj
[0] = args
;
11859 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11860 if (!SWIG_IsOK(res1
)) {
11861 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11863 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11866 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11867 wxPyEndAllowThreads(__tstate
);
11868 if (PyErr_Occurred()) SWIG_fail
;
11870 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11877 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11878 PyObject
*resultobj
= 0;
11879 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11880 wxSashDragStatus arg2
;
11885 PyObject
* obj0
= 0 ;
11886 PyObject
* obj1
= 0 ;
11887 char * kwnames
[] = {
11888 (char *) "self",(char *) "status", NULL
11891 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11892 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11893 if (!SWIG_IsOK(res1
)) {
11894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11896 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11897 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11898 if (!SWIG_IsOK(ecode2
)) {
11899 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11901 arg2
= static_cast< wxSashDragStatus
>(val2
);
11903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11904 (arg1
)->SetDragStatus(arg2
);
11905 wxPyEndAllowThreads(__tstate
);
11906 if (PyErr_Occurred()) SWIG_fail
;
11908 resultobj
= SWIG_Py_Void();
11915 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11916 PyObject
*resultobj
= 0;
11917 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11918 wxSashDragStatus result
;
11921 PyObject
*swig_obj
[1] ;
11923 if (!args
) SWIG_fail
;
11924 swig_obj
[0] = args
;
11925 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11926 if (!SWIG_IsOK(res1
)) {
11927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11929 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11932 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11933 wxPyEndAllowThreads(__tstate
);
11934 if (PyErr_Occurred()) SWIG_fail
;
11936 resultobj
= SWIG_From_int(static_cast< int >(result
));
11943 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11945 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11946 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
11947 return SWIG_Py_Void();
11950 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11951 return SWIG_Python_InitShadowInstance(args
);
11954 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11955 PyObject
*resultobj
= 0;
11956 int arg1
= (int) 0 ;
11957 wxQueryLayoutInfoEvent
*result
= 0 ;
11960 PyObject
* obj0
= 0 ;
11961 char * kwnames
[] = {
11962 (char *) "id", NULL
11965 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
11967 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11968 if (!SWIG_IsOK(ecode1
)) {
11969 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
11971 arg1
= static_cast< int >(val1
);
11974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11975 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
11976 wxPyEndAllowThreads(__tstate
);
11977 if (PyErr_Occurred()) SWIG_fail
;
11979 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
11986 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11987 PyObject
*resultobj
= 0;
11988 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
11994 PyObject
* obj0
= 0 ;
11995 PyObject
* obj1
= 0 ;
11996 char * kwnames
[] = {
11997 (char *) "self",(char *) "length", NULL
12000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12002 if (!SWIG_IsOK(res1
)) {
12003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12005 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12007 if (!SWIG_IsOK(ecode2
)) {
12008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12010 arg2
= static_cast< int >(val2
);
12012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12013 (arg1
)->SetRequestedLength(arg2
);
12014 wxPyEndAllowThreads(__tstate
);
12015 if (PyErr_Occurred()) SWIG_fail
;
12017 resultobj
= SWIG_Py_Void();
12024 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12025 PyObject
*resultobj
= 0;
12026 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12030 PyObject
*swig_obj
[1] ;
12032 if (!args
) SWIG_fail
;
12033 swig_obj
[0] = args
;
12034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12035 if (!SWIG_IsOK(res1
)) {
12036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12038 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12041 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12042 wxPyEndAllowThreads(__tstate
);
12043 if (PyErr_Occurred()) SWIG_fail
;
12045 resultobj
= SWIG_From_int(static_cast< int >(result
));
12052 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12053 PyObject
*resultobj
= 0;
12054 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12060 PyObject
* obj0
= 0 ;
12061 PyObject
* obj1
= 0 ;
12062 char * kwnames
[] = {
12063 (char *) "self",(char *) "flags", NULL
12066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12068 if (!SWIG_IsOK(res1
)) {
12069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12071 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12073 if (!SWIG_IsOK(ecode2
)) {
12074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12076 arg2
= static_cast< int >(val2
);
12078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12079 (arg1
)->SetFlags(arg2
);
12080 wxPyEndAllowThreads(__tstate
);
12081 if (PyErr_Occurred()) SWIG_fail
;
12083 resultobj
= SWIG_Py_Void();
12090 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12091 PyObject
*resultobj
= 0;
12092 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12096 PyObject
*swig_obj
[1] ;
12098 if (!args
) SWIG_fail
;
12099 swig_obj
[0] = args
;
12100 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12101 if (!SWIG_IsOK(res1
)) {
12102 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12104 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12106 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12107 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12108 wxPyEndAllowThreads(__tstate
);
12109 if (PyErr_Occurred()) SWIG_fail
;
12111 resultobj
= SWIG_From_int(static_cast< int >(result
));
12118 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12119 PyObject
*resultobj
= 0;
12120 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12125 PyObject
* obj0
= 0 ;
12126 PyObject
* obj1
= 0 ;
12127 char * kwnames
[] = {
12128 (char *) "self",(char *) "size", NULL
12131 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12132 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12133 if (!SWIG_IsOK(res1
)) {
12134 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12136 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12139 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12143 (arg1
)->SetSize((wxSize
const &)*arg2
);
12144 wxPyEndAllowThreads(__tstate
);
12145 if (PyErr_Occurred()) SWIG_fail
;
12147 resultobj
= SWIG_Py_Void();
12154 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12155 PyObject
*resultobj
= 0;
12156 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12160 PyObject
*swig_obj
[1] ;
12162 if (!args
) SWIG_fail
;
12163 swig_obj
[0] = args
;
12164 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12165 if (!SWIG_IsOK(res1
)) {
12166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12168 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12170 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12171 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12172 wxPyEndAllowThreads(__tstate
);
12173 if (PyErr_Occurred()) SWIG_fail
;
12175 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12182 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12183 PyObject
*resultobj
= 0;
12184 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12185 wxLayoutOrientation arg2
;
12190 PyObject
* obj0
= 0 ;
12191 PyObject
* obj1
= 0 ;
12192 char * kwnames
[] = {
12193 (char *) "self",(char *) "orient", NULL
12196 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12197 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12198 if (!SWIG_IsOK(res1
)) {
12199 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12201 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12202 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12203 if (!SWIG_IsOK(ecode2
)) {
12204 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12206 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12209 (arg1
)->SetOrientation(arg2
);
12210 wxPyEndAllowThreads(__tstate
);
12211 if (PyErr_Occurred()) SWIG_fail
;
12213 resultobj
= SWIG_Py_Void();
12220 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12221 PyObject
*resultobj
= 0;
12222 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12223 wxLayoutOrientation result
;
12226 PyObject
*swig_obj
[1] ;
12228 if (!args
) SWIG_fail
;
12229 swig_obj
[0] = args
;
12230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12231 if (!SWIG_IsOK(res1
)) {
12232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12234 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12237 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12238 wxPyEndAllowThreads(__tstate
);
12239 if (PyErr_Occurred()) SWIG_fail
;
12241 resultobj
= SWIG_From_int(static_cast< int >(result
));
12248 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12249 PyObject
*resultobj
= 0;
12250 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12251 wxLayoutAlignment arg2
;
12256 PyObject
* obj0
= 0 ;
12257 PyObject
* obj1
= 0 ;
12258 char * kwnames
[] = {
12259 (char *) "self",(char *) "align", NULL
12262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12264 if (!SWIG_IsOK(res1
)) {
12265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12267 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12268 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12269 if (!SWIG_IsOK(ecode2
)) {
12270 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12272 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12274 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12275 (arg1
)->SetAlignment(arg2
);
12276 wxPyEndAllowThreads(__tstate
);
12277 if (PyErr_Occurred()) SWIG_fail
;
12279 resultobj
= SWIG_Py_Void();
12286 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12287 PyObject
*resultobj
= 0;
12288 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12289 wxLayoutAlignment result
;
12292 PyObject
*swig_obj
[1] ;
12294 if (!args
) SWIG_fail
;
12295 swig_obj
[0] = args
;
12296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12297 if (!SWIG_IsOK(res1
)) {
12298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12300 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12303 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12304 wxPyEndAllowThreads(__tstate
);
12305 if (PyErr_Occurred()) SWIG_fail
;
12307 resultobj
= SWIG_From_int(static_cast< int >(result
));
12314 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12316 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12317 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12318 return SWIG_Py_Void();
12321 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12322 return SWIG_Python_InitShadowInstance(args
);
12325 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12326 PyObject
*resultobj
= 0;
12327 int arg1
= (int) 0 ;
12328 wxCalculateLayoutEvent
*result
= 0 ;
12331 PyObject
* obj0
= 0 ;
12332 char * kwnames
[] = {
12333 (char *) "id", NULL
12336 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12338 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12339 if (!SWIG_IsOK(ecode1
)) {
12340 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12342 arg1
= static_cast< int >(val1
);
12345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12346 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12347 wxPyEndAllowThreads(__tstate
);
12348 if (PyErr_Occurred()) SWIG_fail
;
12350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12357 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12358 PyObject
*resultobj
= 0;
12359 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12365 PyObject
* obj0
= 0 ;
12366 PyObject
* obj1
= 0 ;
12367 char * kwnames
[] = {
12368 (char *) "self",(char *) "flags", NULL
12371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12373 if (!SWIG_IsOK(res1
)) {
12374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12376 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12377 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12378 if (!SWIG_IsOK(ecode2
)) {
12379 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12381 arg2
= static_cast< int >(val2
);
12383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12384 (arg1
)->SetFlags(arg2
);
12385 wxPyEndAllowThreads(__tstate
);
12386 if (PyErr_Occurred()) SWIG_fail
;
12388 resultobj
= SWIG_Py_Void();
12395 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12396 PyObject
*resultobj
= 0;
12397 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12401 PyObject
*swig_obj
[1] ;
12403 if (!args
) SWIG_fail
;
12404 swig_obj
[0] = args
;
12405 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12406 if (!SWIG_IsOK(res1
)) {
12407 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12409 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12411 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12412 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12413 wxPyEndAllowThreads(__tstate
);
12414 if (PyErr_Occurred()) SWIG_fail
;
12416 resultobj
= SWIG_From_int(static_cast< int >(result
));
12423 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12424 PyObject
*resultobj
= 0;
12425 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12430 PyObject
* obj0
= 0 ;
12431 PyObject
* obj1
= 0 ;
12432 char * kwnames
[] = {
12433 (char *) "self",(char *) "rect", NULL
12436 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12437 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12438 if (!SWIG_IsOK(res1
)) {
12439 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12441 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12444 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12448 (arg1
)->SetRect((wxRect
const &)*arg2
);
12449 wxPyEndAllowThreads(__tstate
);
12450 if (PyErr_Occurred()) SWIG_fail
;
12452 resultobj
= SWIG_Py_Void();
12459 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12460 PyObject
*resultobj
= 0;
12461 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12465 PyObject
*swig_obj
[1] ;
12467 if (!args
) SWIG_fail
;
12468 swig_obj
[0] = args
;
12469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12470 if (!SWIG_IsOK(res1
)) {
12471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12473 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12476 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12477 wxPyEndAllowThreads(__tstate
);
12478 if (PyErr_Occurred()) SWIG_fail
;
12480 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12487 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12489 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12490 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12491 return SWIG_Py_Void();
12494 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12495 return SWIG_Python_InitShadowInstance(args
);
12498 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12499 PyObject
*resultobj
= 0;
12500 wxWindow
*arg1
= (wxWindow
*) 0 ;
12501 int arg2
= (int) -1 ;
12502 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12503 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12504 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12505 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12506 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12507 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12508 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12509 wxSashLayoutWindow
*result
= 0 ;
12518 bool temp6
= false ;
12519 PyObject
* obj0
= 0 ;
12520 PyObject
* obj1
= 0 ;
12521 PyObject
* obj2
= 0 ;
12522 PyObject
* obj3
= 0 ;
12523 PyObject
* obj4
= 0 ;
12524 PyObject
* obj5
= 0 ;
12525 char * kwnames
[] = {
12526 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12529 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12530 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12531 if (!SWIG_IsOK(res1
)) {
12532 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12534 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12536 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12537 if (!SWIG_IsOK(ecode2
)) {
12538 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12540 arg2
= static_cast< int >(val2
);
12545 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12551 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12555 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12556 if (!SWIG_IsOK(ecode5
)) {
12557 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12559 arg5
= static_cast< long >(val5
);
12563 arg6
= wxString_in_helper(obj5
);
12564 if (arg6
== NULL
) SWIG_fail
;
12569 if (!wxPyCheckForApp()) SWIG_fail
;
12570 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12571 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12572 wxPyEndAllowThreads(__tstate
);
12573 if (PyErr_Occurred()) SWIG_fail
;
12575 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12590 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12591 PyObject
*resultobj
= 0;
12592 wxSashLayoutWindow
*result
= 0 ;
12594 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12596 if (!wxPyCheckForApp()) SWIG_fail
;
12597 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12598 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12599 wxPyEndAllowThreads(__tstate
);
12600 if (PyErr_Occurred()) SWIG_fail
;
12602 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12609 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12610 PyObject
*resultobj
= 0;
12611 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12612 wxWindow
*arg2
= (wxWindow
*) 0 ;
12613 int arg3
= (int) -1 ;
12614 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12615 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12616 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12617 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12618 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12619 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12620 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12632 bool temp7
= false ;
12633 PyObject
* obj0
= 0 ;
12634 PyObject
* obj1
= 0 ;
12635 PyObject
* obj2
= 0 ;
12636 PyObject
* obj3
= 0 ;
12637 PyObject
* obj4
= 0 ;
12638 PyObject
* obj5
= 0 ;
12639 PyObject
* obj6
= 0 ;
12640 char * kwnames
[] = {
12641 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12646 if (!SWIG_IsOK(res1
)) {
12647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12649 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12650 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12651 if (!SWIG_IsOK(res2
)) {
12652 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12654 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12656 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12657 if (!SWIG_IsOK(ecode3
)) {
12658 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12660 arg3
= static_cast< int >(val3
);
12665 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12671 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12675 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12676 if (!SWIG_IsOK(ecode6
)) {
12677 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12679 arg6
= static_cast< long >(val6
);
12683 arg7
= wxString_in_helper(obj6
);
12684 if (arg7
== NULL
) SWIG_fail
;
12689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12690 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12691 wxPyEndAllowThreads(__tstate
);
12692 if (PyErr_Occurred()) SWIG_fail
;
12695 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12711 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12712 PyObject
*resultobj
= 0;
12713 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12714 wxLayoutAlignment result
;
12717 PyObject
*swig_obj
[1] ;
12719 if (!args
) SWIG_fail
;
12720 swig_obj
[0] = args
;
12721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12722 if (!SWIG_IsOK(res1
)) {
12723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12725 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12728 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12729 wxPyEndAllowThreads(__tstate
);
12730 if (PyErr_Occurred()) SWIG_fail
;
12732 resultobj
= SWIG_From_int(static_cast< int >(result
));
12739 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12740 PyObject
*resultobj
= 0;
12741 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12742 wxLayoutOrientation result
;
12745 PyObject
*swig_obj
[1] ;
12747 if (!args
) SWIG_fail
;
12748 swig_obj
[0] = args
;
12749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12750 if (!SWIG_IsOK(res1
)) {
12751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12753 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12756 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12757 wxPyEndAllowThreads(__tstate
);
12758 if (PyErr_Occurred()) SWIG_fail
;
12760 resultobj
= SWIG_From_int(static_cast< int >(result
));
12767 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12768 PyObject
*resultobj
= 0;
12769 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12770 wxLayoutAlignment arg2
;
12775 PyObject
* obj0
= 0 ;
12776 PyObject
* obj1
= 0 ;
12777 char * kwnames
[] = {
12778 (char *) "self",(char *) "alignment", NULL
12781 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12782 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12783 if (!SWIG_IsOK(res1
)) {
12784 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12786 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12787 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12788 if (!SWIG_IsOK(ecode2
)) {
12789 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12791 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12793 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12794 (arg1
)->SetAlignment(arg2
);
12795 wxPyEndAllowThreads(__tstate
);
12796 if (PyErr_Occurred()) SWIG_fail
;
12798 resultobj
= SWIG_Py_Void();
12805 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12806 PyObject
*resultobj
= 0;
12807 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12812 PyObject
* obj0
= 0 ;
12813 PyObject
* obj1
= 0 ;
12814 char * kwnames
[] = {
12815 (char *) "self",(char *) "size", NULL
12818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12820 if (!SWIG_IsOK(res1
)) {
12821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12823 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12826 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12829 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12830 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12831 wxPyEndAllowThreads(__tstate
);
12832 if (PyErr_Occurred()) SWIG_fail
;
12834 resultobj
= SWIG_Py_Void();
12841 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12842 PyObject
*resultobj
= 0;
12843 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12844 wxLayoutOrientation arg2
;
12849 PyObject
* obj0
= 0 ;
12850 PyObject
* obj1
= 0 ;
12851 char * kwnames
[] = {
12852 (char *) "self",(char *) "orientation", NULL
12855 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12856 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12857 if (!SWIG_IsOK(res1
)) {
12858 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12860 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12861 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12862 if (!SWIG_IsOK(ecode2
)) {
12863 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12865 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12868 (arg1
)->SetOrientation(arg2
);
12869 wxPyEndAllowThreads(__tstate
);
12870 if (PyErr_Occurred()) SWIG_fail
;
12872 resultobj
= SWIG_Py_Void();
12879 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12881 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12882 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12883 return SWIG_Py_Void();
12886 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12887 return SWIG_Python_InitShadowInstance(args
);
12890 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12891 PyObject
*resultobj
= 0;
12892 wxLayoutAlgorithm
*result
= 0 ;
12894 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12897 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12898 wxPyEndAllowThreads(__tstate
);
12899 if (PyErr_Occurred()) SWIG_fail
;
12901 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12908 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12909 PyObject
*resultobj
= 0;
12910 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12913 PyObject
*swig_obj
[1] ;
12915 if (!args
) SWIG_fail
;
12916 swig_obj
[0] = args
;
12917 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12918 if (!SWIG_IsOK(res1
)) {
12919 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12921 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12923 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12926 wxPyEndAllowThreads(__tstate
);
12927 if (PyErr_Occurred()) SWIG_fail
;
12929 resultobj
= SWIG_Py_Void();
12936 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12937 PyObject
*resultobj
= 0;
12938 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12939 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
12940 wxRect
*arg3
= (wxRect
*) NULL
;
12948 PyObject
* obj0
= 0 ;
12949 PyObject
* obj1
= 0 ;
12950 PyObject
* obj2
= 0 ;
12951 char * kwnames
[] = {
12952 (char *) "self",(char *) "frame",(char *) "rect", NULL
12955 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
12956 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
12957 if (!SWIG_IsOK(res1
)) {
12958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12960 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12961 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
12962 if (!SWIG_IsOK(res2
)) {
12963 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
12965 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
12967 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
12968 if (!SWIG_IsOK(res3
)) {
12969 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
12971 arg3
= reinterpret_cast< wxRect
* >(argp3
);
12974 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12975 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
12976 wxPyEndAllowThreads(__tstate
);
12977 if (PyErr_Occurred()) SWIG_fail
;
12980 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12988 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12989 PyObject
*resultobj
= 0;
12990 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12991 wxFrame
*arg2
= (wxFrame
*) 0 ;
12992 wxWindow
*arg3
= (wxWindow
*) NULL
;
13000 PyObject
* obj0
= 0 ;
13001 PyObject
* obj1
= 0 ;
13002 PyObject
* obj2
= 0 ;
13003 char * kwnames
[] = {
13004 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13007 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13008 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13009 if (!SWIG_IsOK(res1
)) {
13010 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13012 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13013 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13014 if (!SWIG_IsOK(res2
)) {
13015 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13017 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13019 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13020 if (!SWIG_IsOK(res3
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13023 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13027 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13028 wxPyEndAllowThreads(__tstate
);
13029 if (PyErr_Occurred()) SWIG_fail
;
13032 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13040 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13041 PyObject
*resultobj
= 0;
13042 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13043 wxWindow
*arg2
= (wxWindow
*) 0 ;
13044 wxWindow
*arg3
= (wxWindow
*) NULL
;
13052 PyObject
* obj0
= 0 ;
13053 PyObject
* obj1
= 0 ;
13054 PyObject
* obj2
= 0 ;
13055 char * kwnames
[] = {
13056 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13059 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13060 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13061 if (!SWIG_IsOK(res1
)) {
13062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13064 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13065 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13066 if (!SWIG_IsOK(res2
)) {
13067 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13069 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13071 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13072 if (!SWIG_IsOK(res3
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13075 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13078 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13079 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13080 wxPyEndAllowThreads(__tstate
);
13081 if (PyErr_Occurred()) SWIG_fail
;
13084 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13092 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13094 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13095 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13096 return SWIG_Py_Void();
13099 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13100 return SWIG_Python_InitShadowInstance(args
);
13103 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxWindow
*arg1
= (wxWindow
*) 0 ;
13106 int arg2
= (int) wxBORDER_NONE
;
13107 wxPopupWindow
*result
= 0 ;
13112 PyObject
* obj0
= 0 ;
13113 PyObject
* obj1
= 0 ;
13114 char * kwnames
[] = {
13115 (char *) "parent",(char *) "flags", NULL
13118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13120 if (!SWIG_IsOK(res1
)) {
13121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13123 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13125 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13126 if (!SWIG_IsOK(ecode2
)) {
13127 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13129 arg2
= static_cast< int >(val2
);
13132 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13133 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13134 wxPyEndAllowThreads(__tstate
);
13135 if (PyErr_Occurred()) SWIG_fail
;
13137 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13144 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13145 PyObject
*resultobj
= 0;
13146 wxPopupWindow
*result
= 0 ;
13148 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13150 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13151 result
= (wxPopupWindow
*)new wxPopupWindow();
13152 wxPyEndAllowThreads(__tstate
);
13153 if (PyErr_Occurred()) SWIG_fail
;
13155 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13162 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13164 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13165 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13166 return SWIG_Py_Void();
13169 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13170 return SWIG_Python_InitShadowInstance(args
);
13173 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13174 PyObject
*resultobj
= 0;
13175 wxWindow
*arg1
= (wxWindow
*) 0 ;
13176 int arg2
= (int) wxBORDER_NONE
;
13177 wxPyPopupTransientWindow
*result
= 0 ;
13182 PyObject
* obj0
= 0 ;
13183 PyObject
* obj1
= 0 ;
13184 char * kwnames
[] = {
13185 (char *) "parent",(char *) "style", NULL
13188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13190 if (!SWIG_IsOK(res1
)) {
13191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13193 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13195 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13196 if (!SWIG_IsOK(ecode2
)) {
13197 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13199 arg2
= static_cast< int >(val2
);
13202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13203 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13204 wxPyEndAllowThreads(__tstate
);
13205 if (PyErr_Occurred()) SWIG_fail
;
13207 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13214 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13215 PyObject
*resultobj
= 0;
13216 wxPyPopupTransientWindow
*result
= 0 ;
13218 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13221 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13222 wxPyEndAllowThreads(__tstate
);
13223 if (PyErr_Occurred()) SWIG_fail
;
13225 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13232 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13234 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13235 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13236 return SWIG_Py_Void();
13239 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13240 return SWIG_Python_InitShadowInstance(args
);
13243 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13244 PyObject
*resultobj
= 0;
13245 wxWindow
*arg1
= (wxWindow
*) 0 ;
13246 wxString
*arg2
= 0 ;
13247 int arg3
= (int) 100 ;
13248 wxRect
*arg4
= (wxRect
*) NULL
;
13249 wxTipWindow
*result
= 0 ;
13252 bool temp2
= false ;
13257 PyObject
* obj0
= 0 ;
13258 PyObject
* obj1
= 0 ;
13259 PyObject
* obj2
= 0 ;
13260 PyObject
* obj3
= 0 ;
13261 char * kwnames
[] = {
13262 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13265 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13266 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13267 if (!SWIG_IsOK(res1
)) {
13268 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13270 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13272 arg2
= wxString_in_helper(obj1
);
13273 if (arg2
== NULL
) SWIG_fail
;
13277 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13278 if (!SWIG_IsOK(ecode3
)) {
13279 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13281 arg3
= static_cast< int >(val3
);
13284 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13285 if (!SWIG_IsOK(res4
)) {
13286 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13288 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13291 if (!wxPyCheckForApp()) SWIG_fail
;
13292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13293 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13294 wxPyEndAllowThreads(__tstate
);
13295 if (PyErr_Occurred()) SWIG_fail
;
13297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13312 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13313 PyObject
*resultobj
= 0;
13314 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13319 PyObject
* obj0
= 0 ;
13320 PyObject
* obj1
= 0 ;
13321 char * kwnames
[] = {
13322 (char *) "self",(char *) "rectBound", NULL
13325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13327 if (!SWIG_IsOK(res1
)) {
13328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13330 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13333 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13336 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13337 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13338 wxPyEndAllowThreads(__tstate
);
13339 if (PyErr_Occurred()) SWIG_fail
;
13341 resultobj
= SWIG_Py_Void();
13348 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13349 PyObject
*resultobj
= 0;
13350 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13353 PyObject
*swig_obj
[1] ;
13355 if (!args
) SWIG_fail
;
13356 swig_obj
[0] = args
;
13357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13358 if (!SWIG_IsOK(res1
)) {
13359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13361 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13365 wxPyEndAllowThreads(__tstate
);
13366 if (PyErr_Occurred()) SWIG_fail
;
13368 resultobj
= SWIG_Py_Void();
13375 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13377 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13378 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13379 return SWIG_Py_Void();
13382 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13383 return SWIG_Python_InitShadowInstance(args
);
13386 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13387 PyObject
*resultobj
= 0;
13388 wxWindow
*arg1
= (wxWindow
*) 0 ;
13389 int arg2
= (int) wxID_ANY
;
13390 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13391 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13392 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13393 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13394 long arg5
= (long) 0 ;
13395 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13396 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13397 wxPyVScrolledWindow
*result
= 0 ;
13406 bool temp6
= false ;
13407 PyObject
* obj0
= 0 ;
13408 PyObject
* obj1
= 0 ;
13409 PyObject
* obj2
= 0 ;
13410 PyObject
* obj3
= 0 ;
13411 PyObject
* obj4
= 0 ;
13412 PyObject
* obj5
= 0 ;
13413 char * kwnames
[] = {
13414 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13419 if (!SWIG_IsOK(res1
)) {
13420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13422 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13424 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13425 if (!SWIG_IsOK(ecode2
)) {
13426 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13428 arg2
= static_cast< int >(val2
);
13433 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13439 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13443 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13444 if (!SWIG_IsOK(ecode5
)) {
13445 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13447 arg5
= static_cast< long >(val5
);
13451 arg6
= wxString_in_helper(obj5
);
13452 if (arg6
== NULL
) SWIG_fail
;
13457 if (!wxPyCheckForApp()) SWIG_fail
;
13458 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13459 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13460 wxPyEndAllowThreads(__tstate
);
13461 if (PyErr_Occurred()) SWIG_fail
;
13463 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13478 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13479 PyObject
*resultobj
= 0;
13480 wxPyVScrolledWindow
*result
= 0 ;
13482 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13484 if (!wxPyCheckForApp()) SWIG_fail
;
13485 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13486 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13487 wxPyEndAllowThreads(__tstate
);
13488 if (PyErr_Occurred()) SWIG_fail
;
13490 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13497 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13498 PyObject
*resultobj
= 0;
13499 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13500 PyObject
*arg2
= (PyObject
*) 0 ;
13501 PyObject
*arg3
= (PyObject
*) 0 ;
13504 PyObject
* obj0
= 0 ;
13505 PyObject
* obj1
= 0 ;
13506 PyObject
* obj2
= 0 ;
13507 char * kwnames
[] = {
13508 (char *) "self",(char *) "self",(char *) "_class", NULL
13511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13513 if (!SWIG_IsOK(res1
)) {
13514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13516 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13521 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13522 wxPyEndAllowThreads(__tstate
);
13523 if (PyErr_Occurred()) SWIG_fail
;
13525 resultobj
= SWIG_Py_Void();
13532 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13533 PyObject
*resultobj
= 0;
13534 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13535 wxWindow
*arg2
= (wxWindow
*) 0 ;
13536 int arg3
= (int) wxID_ANY
;
13537 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13538 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13539 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13540 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13541 long arg6
= (long) 0 ;
13542 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13543 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13555 bool temp7
= false ;
13556 PyObject
* obj0
= 0 ;
13557 PyObject
* obj1
= 0 ;
13558 PyObject
* obj2
= 0 ;
13559 PyObject
* obj3
= 0 ;
13560 PyObject
* obj4
= 0 ;
13561 PyObject
* obj5
= 0 ;
13562 PyObject
* obj6
= 0 ;
13563 char * kwnames
[] = {
13564 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13569 if (!SWIG_IsOK(res1
)) {
13570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13572 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13573 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13574 if (!SWIG_IsOK(res2
)) {
13575 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13577 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13579 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13580 if (!SWIG_IsOK(ecode3
)) {
13581 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13583 arg3
= static_cast< int >(val3
);
13588 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13594 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13598 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13599 if (!SWIG_IsOK(ecode6
)) {
13600 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13602 arg6
= static_cast< long >(val6
);
13606 arg7
= wxString_in_helper(obj6
);
13607 if (arg7
== NULL
) SWIG_fail
;
13612 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13613 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13614 wxPyEndAllowThreads(__tstate
);
13615 if (PyErr_Occurred()) SWIG_fail
;
13618 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13634 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13635 PyObject
*resultobj
= 0;
13636 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13642 PyObject
* obj0
= 0 ;
13643 PyObject
* obj1
= 0 ;
13644 char * kwnames
[] = {
13645 (char *) "self",(char *) "count", NULL
13648 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13650 if (!SWIG_IsOK(res1
)) {
13651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13653 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13654 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13655 if (!SWIG_IsOK(ecode2
)) {
13656 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13658 arg2
= static_cast< size_t >(val2
);
13660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13661 (arg1
)->SetLineCount(arg2
);
13662 wxPyEndAllowThreads(__tstate
);
13663 if (PyErr_Occurred()) SWIG_fail
;
13665 resultobj
= SWIG_Py_Void();
13672 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13673 PyObject
*resultobj
= 0;
13674 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13681 PyObject
* obj0
= 0 ;
13682 PyObject
* obj1
= 0 ;
13683 char * kwnames
[] = {
13684 (char *) "self",(char *) "line", NULL
13687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13689 if (!SWIG_IsOK(res1
)) {
13690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13692 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13693 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13694 if (!SWIG_IsOK(ecode2
)) {
13695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13697 arg2
= static_cast< size_t >(val2
);
13699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13700 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13701 wxPyEndAllowThreads(__tstate
);
13702 if (PyErr_Occurred()) SWIG_fail
;
13705 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13713 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13714 PyObject
*resultobj
= 0;
13715 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13721 PyObject
* obj0
= 0 ;
13722 PyObject
* obj1
= 0 ;
13723 char * kwnames
[] = {
13724 (char *) "self",(char *) "line", NULL
13727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13729 if (!SWIG_IsOK(res1
)) {
13730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13732 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13733 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13734 if (!SWIG_IsOK(ecode2
)) {
13735 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13737 arg2
= static_cast< size_t >(val2
);
13739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13740 (arg1
)->RefreshLine(arg2
);
13741 wxPyEndAllowThreads(__tstate
);
13742 if (PyErr_Occurred()) SWIG_fail
;
13744 resultobj
= SWIG_Py_Void();
13751 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13752 PyObject
*resultobj
= 0;
13753 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13762 PyObject
* obj0
= 0 ;
13763 PyObject
* obj1
= 0 ;
13764 PyObject
* obj2
= 0 ;
13765 char * kwnames
[] = {
13766 (char *) "self",(char *) "from",(char *) "to", NULL
13769 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13770 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13771 if (!SWIG_IsOK(res1
)) {
13772 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13774 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13775 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13776 if (!SWIG_IsOK(ecode2
)) {
13777 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13779 arg2
= static_cast< size_t >(val2
);
13780 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13781 if (!SWIG_IsOK(ecode3
)) {
13782 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13784 arg3
= static_cast< size_t >(val3
);
13786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13787 (arg1
)->RefreshLines(arg2
,arg3
);
13788 wxPyEndAllowThreads(__tstate
);
13789 if (PyErr_Occurred()) SWIG_fail
;
13791 resultobj
= SWIG_Py_Void();
13798 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13799 PyObject
*resultobj
= 0;
13800 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13810 PyObject
* obj0
= 0 ;
13811 PyObject
* obj1
= 0 ;
13812 PyObject
* obj2
= 0 ;
13813 char * kwnames
[] = {
13814 (char *) "self",(char *) "x",(char *) "y", NULL
13817 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13818 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13819 if (!SWIG_IsOK(res1
)) {
13820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13822 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13823 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13824 if (!SWIG_IsOK(ecode2
)) {
13825 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13827 arg2
= static_cast< int >(val2
);
13828 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13829 if (!SWIG_IsOK(ecode3
)) {
13830 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13832 arg3
= static_cast< int >(val3
);
13834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13835 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13836 wxPyEndAllowThreads(__tstate
);
13837 if (PyErr_Occurred()) SWIG_fail
;
13839 resultobj
= SWIG_From_int(static_cast< int >(result
));
13846 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13847 PyObject
*resultobj
= 0;
13848 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13849 wxPoint
*arg2
= 0 ;
13854 PyObject
* obj0
= 0 ;
13855 PyObject
* obj1
= 0 ;
13856 char * kwnames
[] = {
13857 (char *) "self",(char *) "pt", NULL
13860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13861 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13862 if (!SWIG_IsOK(res1
)) {
13863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13865 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13868 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13871 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13872 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13873 wxPyEndAllowThreads(__tstate
);
13874 if (PyErr_Occurred()) SWIG_fail
;
13876 resultobj
= SWIG_From_int(static_cast< int >(result
));
13883 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13884 PyObject
*resultobj
= 0;
13885 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13888 PyObject
*swig_obj
[1] ;
13890 if (!args
) SWIG_fail
;
13891 swig_obj
[0] = args
;
13892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13893 if (!SWIG_IsOK(res1
)) {
13894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13896 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13899 (arg1
)->RefreshAll();
13900 wxPyEndAllowThreads(__tstate
);
13901 if (PyErr_Occurred()) SWIG_fail
;
13903 resultobj
= SWIG_Py_Void();
13910 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13911 PyObject
*resultobj
= 0;
13912 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13916 PyObject
*swig_obj
[1] ;
13918 if (!args
) SWIG_fail
;
13919 swig_obj
[0] = args
;
13920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13921 if (!SWIG_IsOK(res1
)) {
13922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13924 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13927 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13928 wxPyEndAllowThreads(__tstate
);
13929 if (PyErr_Occurred()) SWIG_fail
;
13931 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13938 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13939 PyObject
*resultobj
= 0;
13940 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13944 PyObject
*swig_obj
[1] ;
13946 if (!args
) SWIG_fail
;
13947 swig_obj
[0] = args
;
13948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13949 if (!SWIG_IsOK(res1
)) {
13950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13952 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13955 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
13956 wxPyEndAllowThreads(__tstate
);
13957 if (PyErr_Occurred()) SWIG_fail
;
13959 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13966 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13967 PyObject
*resultobj
= 0;
13968 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13972 PyObject
*swig_obj
[1] ;
13974 if (!args
) SWIG_fail
;
13975 swig_obj
[0] = args
;
13976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13977 if (!SWIG_IsOK(res1
)) {
13978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13980 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13983 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
13984 wxPyEndAllowThreads(__tstate
);
13985 if (PyErr_Occurred()) SWIG_fail
;
13987 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
13994 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13995 PyObject
*resultobj
= 0;
13996 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14003 PyObject
* obj0
= 0 ;
14004 PyObject
* obj1
= 0 ;
14005 char * kwnames
[] = {
14006 (char *) "self",(char *) "line", NULL
14009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14011 if (!SWIG_IsOK(res1
)) {
14012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14014 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14015 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14016 if (!SWIG_IsOK(ecode2
)) {
14017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14019 arg2
= static_cast< size_t >(val2
);
14021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14022 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14023 wxPyEndAllowThreads(__tstate
);
14024 if (PyErr_Occurred()) SWIG_fail
;
14027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14035 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14036 PyObject
*resultobj
= 0;
14037 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14041 PyObject
*swig_obj
[1] ;
14043 if (!args
) SWIG_fail
;
14044 swig_obj
[0] = args
;
14045 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14046 if (!SWIG_IsOK(res1
)) {
14047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14049 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14051 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14052 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14053 wxPyEndAllowThreads(__tstate
);
14054 if (PyErr_Occurred()) SWIG_fail
;
14056 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14063 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14064 PyObject
*resultobj
= 0;
14065 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14069 PyObject
*swig_obj
[1] ;
14071 if (!args
) SWIG_fail
;
14072 swig_obj
[0] = args
;
14073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14077 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14080 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14081 wxPyEndAllowThreads(__tstate
);
14082 if (PyErr_Occurred()) SWIG_fail
;
14084 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14091 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14092 PyObject
*resultobj
= 0;
14093 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14095 bool arg3
= (bool) false ;
14103 PyObject
* obj0
= 0 ;
14104 PyObject
* obj1
= 0 ;
14105 PyObject
* obj2
= 0 ;
14106 char * kwnames
[] = {
14107 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14110 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14111 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14112 if (!SWIG_IsOK(res1
)) {
14113 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14115 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14116 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14117 if (!SWIG_IsOK(ecode2
)) {
14118 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14120 arg2
= static_cast< size_t >(val2
);
14122 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14123 if (!SWIG_IsOK(ecode3
)) {
14124 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14126 arg3
= static_cast< bool >(val3
);
14129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14130 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14131 wxPyEndAllowThreads(__tstate
);
14132 if (PyErr_Occurred()) SWIG_fail
;
14134 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14141 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14142 PyObject
*resultobj
= 0;
14143 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14153 PyObject
* obj0
= 0 ;
14154 PyObject
* obj1
= 0 ;
14155 PyObject
* obj2
= 0 ;
14156 char * kwnames
[] = {
14157 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14160 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14161 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14162 if (!SWIG_IsOK(res1
)) {
14163 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14165 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14166 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14167 if (!SWIG_IsOK(ecode2
)) {
14168 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14170 arg2
= static_cast< size_t >(val2
);
14171 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14172 if (!SWIG_IsOK(ecode3
)) {
14173 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14175 arg3
= static_cast< size_t >(val3
);
14177 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14178 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14179 wxPyEndAllowThreads(__tstate
);
14180 if (PyErr_Occurred()) SWIG_fail
;
14182 resultobj
= SWIG_From_int(static_cast< int >(result
));
14189 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14191 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14192 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14193 return SWIG_Py_Void();
14196 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14197 return SWIG_Python_InitShadowInstance(args
);
14200 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14201 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14206 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14207 PyObject
*pyobj
= 0;
14211 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14213 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14220 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14221 PyObject
*resultobj
= 0;
14222 wxWindow
*arg1
= (wxWindow
*) 0 ;
14223 int arg2
= (int) wxID_ANY
;
14224 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14225 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14226 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14227 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14228 long arg5
= (long) 0 ;
14229 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14230 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14231 wxPyVListBox
*result
= 0 ;
14240 bool temp6
= false ;
14241 PyObject
* obj0
= 0 ;
14242 PyObject
* obj1
= 0 ;
14243 PyObject
* obj2
= 0 ;
14244 PyObject
* obj3
= 0 ;
14245 PyObject
* obj4
= 0 ;
14246 PyObject
* obj5
= 0 ;
14247 char * kwnames
[] = {
14248 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14253 if (!SWIG_IsOK(res1
)) {
14254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14259 if (!SWIG_IsOK(ecode2
)) {
14260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14262 arg2
= static_cast< int >(val2
);
14267 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14273 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14277 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14278 if (!SWIG_IsOK(ecode5
)) {
14279 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14281 arg5
= static_cast< long >(val5
);
14285 arg6
= wxString_in_helper(obj5
);
14286 if (arg6
== NULL
) SWIG_fail
;
14291 if (!wxPyCheckForApp()) SWIG_fail
;
14292 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14293 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14294 wxPyEndAllowThreads(__tstate
);
14295 if (PyErr_Occurred()) SWIG_fail
;
14297 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14312 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14313 PyObject
*resultobj
= 0;
14314 wxPyVListBox
*result
= 0 ;
14316 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14318 if (!wxPyCheckForApp()) SWIG_fail
;
14319 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14320 result
= (wxPyVListBox
*)new wxPyVListBox();
14321 wxPyEndAllowThreads(__tstate
);
14322 if (PyErr_Occurred()) SWIG_fail
;
14324 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14331 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14332 PyObject
*resultobj
= 0;
14333 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14334 PyObject
*arg2
= (PyObject
*) 0 ;
14335 PyObject
*arg3
= (PyObject
*) 0 ;
14338 PyObject
* obj0
= 0 ;
14339 PyObject
* obj1
= 0 ;
14340 PyObject
* obj2
= 0 ;
14341 char * kwnames
[] = {
14342 (char *) "self",(char *) "self",(char *) "_class", NULL
14345 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14346 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14347 if (!SWIG_IsOK(res1
)) {
14348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14350 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14355 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14356 wxPyEndAllowThreads(__tstate
);
14357 if (PyErr_Occurred()) SWIG_fail
;
14359 resultobj
= SWIG_Py_Void();
14366 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14367 PyObject
*resultobj
= 0;
14368 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14369 wxWindow
*arg2
= (wxWindow
*) 0 ;
14370 int arg3
= (int) wxID_ANY
;
14371 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14372 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14373 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14374 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14375 long arg6
= (long) 0 ;
14376 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14377 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14389 bool temp7
= false ;
14390 PyObject
* obj0
= 0 ;
14391 PyObject
* obj1
= 0 ;
14392 PyObject
* obj2
= 0 ;
14393 PyObject
* obj3
= 0 ;
14394 PyObject
* obj4
= 0 ;
14395 PyObject
* obj5
= 0 ;
14396 PyObject
* obj6
= 0 ;
14397 char * kwnames
[] = {
14398 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14401 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14402 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14403 if (!SWIG_IsOK(res1
)) {
14404 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14406 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14407 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14408 if (!SWIG_IsOK(res2
)) {
14409 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14411 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14413 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14414 if (!SWIG_IsOK(ecode3
)) {
14415 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14417 arg3
= static_cast< int >(val3
);
14422 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14428 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14432 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14433 if (!SWIG_IsOK(ecode6
)) {
14434 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14436 arg6
= static_cast< long >(val6
);
14440 arg7
= wxString_in_helper(obj6
);
14441 if (arg7
== NULL
) SWIG_fail
;
14446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14447 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14448 wxPyEndAllowThreads(__tstate
);
14449 if (PyErr_Occurred()) SWIG_fail
;
14452 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14468 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14469 PyObject
*resultobj
= 0;
14470 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14474 PyObject
*swig_obj
[1] ;
14476 if (!args
) SWIG_fail
;
14477 swig_obj
[0] = args
;
14478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14479 if (!SWIG_IsOK(res1
)) {
14480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14482 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14485 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14486 wxPyEndAllowThreads(__tstate
);
14487 if (PyErr_Occurred()) SWIG_fail
;
14489 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14496 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14497 PyObject
*resultobj
= 0;
14498 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14502 PyObject
*swig_obj
[1] ;
14504 if (!args
) SWIG_fail
;
14505 swig_obj
[0] = args
;
14506 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14507 if (!SWIG_IsOK(res1
)) {
14508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14510 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14512 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14513 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14514 wxPyEndAllowThreads(__tstate
);
14515 if (PyErr_Occurred()) SWIG_fail
;
14518 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14526 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14527 PyObject
*resultobj
= 0;
14528 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14532 PyObject
*swig_obj
[1] ;
14534 if (!args
) SWIG_fail
;
14535 swig_obj
[0] = args
;
14536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14537 if (!SWIG_IsOK(res1
)) {
14538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14540 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14543 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14544 wxPyEndAllowThreads(__tstate
);
14545 if (PyErr_Occurred()) SWIG_fail
;
14547 resultobj
= SWIG_From_int(static_cast< int >(result
));
14554 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14555 PyObject
*resultobj
= 0;
14556 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14563 PyObject
* obj0
= 0 ;
14564 PyObject
* obj1
= 0 ;
14565 char * kwnames
[] = {
14566 (char *) "self",(char *) "item", NULL
14569 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14570 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14571 if (!SWIG_IsOK(res1
)) {
14572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14574 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14575 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14576 if (!SWIG_IsOK(ecode2
)) {
14577 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14579 arg2
= static_cast< size_t >(val2
);
14581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14582 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14583 wxPyEndAllowThreads(__tstate
);
14584 if (PyErr_Occurred()) SWIG_fail
;
14587 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14595 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14596 PyObject
*resultobj
= 0;
14597 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14604 PyObject
* obj0
= 0 ;
14605 PyObject
* obj1
= 0 ;
14606 char * kwnames
[] = {
14607 (char *) "self",(char *) "item", NULL
14610 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14611 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14612 if (!SWIG_IsOK(res1
)) {
14613 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14615 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14616 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14617 if (!SWIG_IsOK(ecode2
)) {
14618 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14620 arg2
= static_cast< size_t >(val2
);
14622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14623 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14624 wxPyEndAllowThreads(__tstate
);
14625 if (PyErr_Occurred()) SWIG_fail
;
14628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14636 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14637 PyObject
*resultobj
= 0;
14638 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14642 PyObject
*swig_obj
[1] ;
14644 if (!args
) SWIG_fail
;
14645 swig_obj
[0] = args
;
14646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14647 if (!SWIG_IsOK(res1
)) {
14648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14650 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14653 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14654 wxPyEndAllowThreads(__tstate
);
14655 if (PyErr_Occurred()) SWIG_fail
;
14657 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14664 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14665 PyObject
*resultobj
= 0;
14666 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14667 PyObject
*result
= 0 ;
14670 PyObject
*swig_obj
[1] ;
14672 if (!args
) SWIG_fail
;
14673 swig_obj
[0] = args
;
14674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14678 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14681 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14682 wxPyEndAllowThreads(__tstate
);
14683 if (PyErr_Occurred()) SWIG_fail
;
14685 resultobj
= result
;
14692 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14693 PyObject
*resultobj
= 0;
14694 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14695 unsigned long arg2
;
14696 PyObject
*result
= 0 ;
14699 unsigned long val2
;
14701 PyObject
* obj0
= 0 ;
14702 PyObject
* obj1
= 0 ;
14703 char * kwnames
[] = {
14704 (char *) "self",(char *) "cookie", NULL
14707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14709 if (!SWIG_IsOK(res1
)) {
14710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14712 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14713 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14714 if (!SWIG_IsOK(ecode2
)) {
14715 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14717 arg2
= static_cast< unsigned long >(val2
);
14719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14720 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14721 wxPyEndAllowThreads(__tstate
);
14722 if (PyErr_Occurred()) SWIG_fail
;
14724 resultobj
= result
;
14731 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14732 PyObject
*resultobj
= 0;
14733 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14737 PyObject
*swig_obj
[1] ;
14739 if (!args
) SWIG_fail
;
14740 swig_obj
[0] = args
;
14741 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14742 if (!SWIG_IsOK(res1
)) {
14743 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14745 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14747 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14748 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14749 wxPyEndAllowThreads(__tstate
);
14750 if (PyErr_Occurred()) SWIG_fail
;
14752 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14759 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14760 PyObject
*resultobj
= 0;
14761 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14762 wxColour
*result
= 0 ;
14765 PyObject
*swig_obj
[1] ;
14767 if (!args
) SWIG_fail
;
14768 swig_obj
[0] = args
;
14769 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14770 if (!SWIG_IsOK(res1
)) {
14771 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14773 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14777 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14778 result
= (wxColour
*) &_result_ref
;
14780 wxPyEndAllowThreads(__tstate
);
14781 if (PyErr_Occurred()) SWIG_fail
;
14783 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14790 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14791 PyObject
*resultobj
= 0;
14792 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14798 PyObject
* obj0
= 0 ;
14799 PyObject
* obj1
= 0 ;
14800 char * kwnames
[] = {
14801 (char *) "self",(char *) "count", NULL
14804 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14805 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14806 if (!SWIG_IsOK(res1
)) {
14807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14809 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14810 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14811 if (!SWIG_IsOK(ecode2
)) {
14812 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14814 arg2
= static_cast< size_t >(val2
);
14816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14817 (arg1
)->SetItemCount(arg2
);
14818 wxPyEndAllowThreads(__tstate
);
14819 if (PyErr_Occurred()) SWIG_fail
;
14821 resultobj
= SWIG_Py_Void();
14828 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14829 PyObject
*resultobj
= 0;
14830 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14833 PyObject
*swig_obj
[1] ;
14835 if (!args
) SWIG_fail
;
14836 swig_obj
[0] = args
;
14837 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14838 if (!SWIG_IsOK(res1
)) {
14839 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14841 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14843 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14845 wxPyEndAllowThreads(__tstate
);
14846 if (PyErr_Occurred()) SWIG_fail
;
14848 resultobj
= SWIG_Py_Void();
14855 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14856 PyObject
*resultobj
= 0;
14857 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14863 PyObject
* obj0
= 0 ;
14864 PyObject
* obj1
= 0 ;
14865 char * kwnames
[] = {
14866 (char *) "self",(char *) "selection", NULL
14869 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14870 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14871 if (!SWIG_IsOK(res1
)) {
14872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14874 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14875 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14876 if (!SWIG_IsOK(ecode2
)) {
14877 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14879 arg2
= static_cast< int >(val2
);
14881 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14882 (arg1
)->SetSelection(arg2
);
14883 wxPyEndAllowThreads(__tstate
);
14884 if (PyErr_Occurred()) SWIG_fail
;
14886 resultobj
= SWIG_Py_Void();
14893 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14894 PyObject
*resultobj
= 0;
14895 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14897 bool arg3
= (bool) true ;
14905 PyObject
* obj0
= 0 ;
14906 PyObject
* obj1
= 0 ;
14907 PyObject
* obj2
= 0 ;
14908 char * kwnames
[] = {
14909 (char *) "self",(char *) "item",(char *) "select", NULL
14912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14914 if (!SWIG_IsOK(res1
)) {
14915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14917 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14918 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14919 if (!SWIG_IsOK(ecode2
)) {
14920 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14922 arg2
= static_cast< size_t >(val2
);
14924 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14925 if (!SWIG_IsOK(ecode3
)) {
14926 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14928 arg3
= static_cast< bool >(val3
);
14931 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14932 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14933 wxPyEndAllowThreads(__tstate
);
14934 if (PyErr_Occurred()) SWIG_fail
;
14937 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14945 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14946 PyObject
*resultobj
= 0;
14947 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14957 PyObject
* obj0
= 0 ;
14958 PyObject
* obj1
= 0 ;
14959 PyObject
* obj2
= 0 ;
14960 char * kwnames
[] = {
14961 (char *) "self",(char *) "from",(char *) "to", NULL
14964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14966 if (!SWIG_IsOK(res1
)) {
14967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14969 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14970 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14971 if (!SWIG_IsOK(ecode2
)) {
14972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
14974 arg2
= static_cast< size_t >(val2
);
14975 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14976 if (!SWIG_IsOK(ecode3
)) {
14977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
14979 arg3
= static_cast< size_t >(val3
);
14981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14982 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
14983 wxPyEndAllowThreads(__tstate
);
14984 if (PyErr_Occurred()) SWIG_fail
;
14987 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14995 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14996 PyObject
*resultobj
= 0;
14997 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15003 PyObject
* obj0
= 0 ;
15004 PyObject
* obj1
= 0 ;
15005 char * kwnames
[] = {
15006 (char *) "self",(char *) "item", NULL
15009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15011 if (!SWIG_IsOK(res1
)) {
15012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15014 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15015 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15016 if (!SWIG_IsOK(ecode2
)) {
15017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15019 arg2
= static_cast< size_t >(val2
);
15021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15022 (arg1
)->Toggle(arg2
);
15023 wxPyEndAllowThreads(__tstate
);
15024 if (PyErr_Occurred()) SWIG_fail
;
15026 resultobj
= SWIG_Py_Void();
15033 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15034 PyObject
*resultobj
= 0;
15035 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15039 PyObject
*swig_obj
[1] ;
15041 if (!args
) SWIG_fail
;
15042 swig_obj
[0] = args
;
15043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15044 if (!SWIG_IsOK(res1
)) {
15045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15047 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15050 result
= (bool)(arg1
)->SelectAll();
15051 wxPyEndAllowThreads(__tstate
);
15052 if (PyErr_Occurred()) SWIG_fail
;
15055 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15063 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15064 PyObject
*resultobj
= 0;
15065 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15069 PyObject
*swig_obj
[1] ;
15071 if (!args
) SWIG_fail
;
15072 swig_obj
[0] = args
;
15073 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15077 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15080 result
= (bool)(arg1
)->DeselectAll();
15081 wxPyEndAllowThreads(__tstate
);
15082 if (PyErr_Occurred()) SWIG_fail
;
15085 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15093 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15094 PyObject
*resultobj
= 0;
15095 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15096 wxPoint
*arg2
= 0 ;
15100 PyObject
* obj0
= 0 ;
15101 PyObject
* obj1
= 0 ;
15102 char * kwnames
[] = {
15103 (char *) "self",(char *) "pt", NULL
15106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15108 if (!SWIG_IsOK(res1
)) {
15109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15111 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15114 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15117 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15118 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15119 wxPyEndAllowThreads(__tstate
);
15120 if (PyErr_Occurred()) SWIG_fail
;
15122 resultobj
= SWIG_Py_Void();
15129 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15130 PyObject
*resultobj
= 0;
15131 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15140 PyObject
* obj0
= 0 ;
15141 PyObject
* obj1
= 0 ;
15142 PyObject
* obj2
= 0 ;
15143 char * kwnames
[] = {
15144 (char *) "self",(char *) "x",(char *) "y", NULL
15147 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15148 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15149 if (!SWIG_IsOK(res1
)) {
15150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15152 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15153 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15154 if (!SWIG_IsOK(ecode2
)) {
15155 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15157 arg2
= static_cast< int >(val2
);
15158 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15159 if (!SWIG_IsOK(ecode3
)) {
15160 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15162 arg3
= static_cast< int >(val3
);
15164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15165 (arg1
)->SetMargins(arg2
,arg3
);
15166 wxPyEndAllowThreads(__tstate
);
15167 if (PyErr_Occurred()) SWIG_fail
;
15169 resultobj
= SWIG_Py_Void();
15176 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15177 PyObject
*resultobj
= 0;
15178 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15179 wxColour
*arg2
= 0 ;
15183 PyObject
* obj0
= 0 ;
15184 PyObject
* obj1
= 0 ;
15185 char * kwnames
[] = {
15186 (char *) "self",(char *) "col", NULL
15189 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15190 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15191 if (!SWIG_IsOK(res1
)) {
15192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15194 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15197 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15201 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15202 wxPyEndAllowThreads(__tstate
);
15203 if (PyErr_Occurred()) SWIG_fail
;
15205 resultobj
= SWIG_Py_Void();
15212 SWIGINTERN PyObject
*_wrap_VListBox_RefreshSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15213 PyObject
*resultobj
= 0;
15214 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15217 PyObject
*swig_obj
[1] ;
15219 if (!args
) SWIG_fail
;
15220 swig_obj
[0] = args
;
15221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15222 if (!SWIG_IsOK(res1
)) {
15223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_RefreshSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15225 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->RefreshSelected();
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= SWIG_Py_Void();
15239 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15252 PyObject
* obj0
= 0 ;
15253 PyObject
* obj1
= 0 ;
15254 PyObject
* obj2
= 0 ;
15255 PyObject
* obj3
= 0 ;
15256 char * kwnames
[] = {
15257 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15260 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15261 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15262 if (!SWIG_IsOK(res1
)) {
15263 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15265 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15266 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15267 if (!SWIG_IsOK(res2
)) {
15268 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15271 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15273 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15276 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15278 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15279 if (!SWIG_IsOK(ecode4
)) {
15280 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15282 arg4
= static_cast< size_t >(val4
);
15284 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15285 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15286 wxPyEndAllowThreads(__tstate
);
15287 if (PyErr_Occurred()) SWIG_fail
;
15289 resultobj
= SWIG_Py_Void();
15296 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15297 PyObject
*resultobj
= 0;
15298 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15309 PyObject
* obj0
= 0 ;
15310 PyObject
* obj1
= 0 ;
15311 PyObject
* obj2
= 0 ;
15312 PyObject
* obj3
= 0 ;
15313 char * kwnames
[] = {
15314 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15317 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15318 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15319 if (!SWIG_IsOK(res1
)) {
15320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15322 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15323 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15324 if (!SWIG_IsOK(res2
)) {
15325 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15328 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15330 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15333 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15335 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15336 if (!SWIG_IsOK(ecode4
)) {
15337 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15339 arg4
= static_cast< size_t >(val4
);
15341 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15342 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15343 wxPyEndAllowThreads(__tstate
);
15344 if (PyErr_Occurred()) SWIG_fail
;
15346 resultobj
= SWIG_Py_Void();
15353 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15355 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15356 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15357 return SWIG_Py_Void();
15360 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15361 return SWIG_Python_InitShadowInstance(args
);
15364 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15365 PyObject
*resultobj
= 0;
15366 wxWindow
*arg1
= (wxWindow
*) 0 ;
15367 int arg2
= (int) wxID_ANY
;
15368 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15369 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15370 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15371 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15372 long arg5
= (long) 0 ;
15373 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15374 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15375 wxPyHtmlListBox
*result
= 0 ;
15384 bool temp6
= false ;
15385 PyObject
* obj0
= 0 ;
15386 PyObject
* obj1
= 0 ;
15387 PyObject
* obj2
= 0 ;
15388 PyObject
* obj3
= 0 ;
15389 PyObject
* obj4
= 0 ;
15390 PyObject
* obj5
= 0 ;
15391 char * kwnames
[] = {
15392 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15395 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15396 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15397 if (!SWIG_IsOK(res1
)) {
15398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15400 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15402 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15403 if (!SWIG_IsOK(ecode2
)) {
15404 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15406 arg2
= static_cast< int >(val2
);
15411 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15417 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15421 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15422 if (!SWIG_IsOK(ecode5
)) {
15423 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15425 arg5
= static_cast< long >(val5
);
15429 arg6
= wxString_in_helper(obj5
);
15430 if (arg6
== NULL
) SWIG_fail
;
15435 if (!wxPyCheckForApp()) SWIG_fail
;
15436 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15437 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15438 wxPyEndAllowThreads(__tstate
);
15439 if (PyErr_Occurred()) SWIG_fail
;
15441 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15456 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15457 PyObject
*resultobj
= 0;
15458 wxPyHtmlListBox
*result
= 0 ;
15460 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15462 if (!wxPyCheckForApp()) SWIG_fail
;
15463 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15464 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15465 wxPyEndAllowThreads(__tstate
);
15466 if (PyErr_Occurred()) SWIG_fail
;
15468 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15475 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15476 PyObject
*resultobj
= 0;
15477 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15478 PyObject
*arg2
= (PyObject
*) 0 ;
15479 PyObject
*arg3
= (PyObject
*) 0 ;
15482 PyObject
* obj0
= 0 ;
15483 PyObject
* obj1
= 0 ;
15484 PyObject
* obj2
= 0 ;
15485 char * kwnames
[] = {
15486 (char *) "self",(char *) "self",(char *) "_class", NULL
15489 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15490 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15491 if (!SWIG_IsOK(res1
)) {
15492 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15494 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15499 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15500 wxPyEndAllowThreads(__tstate
);
15501 if (PyErr_Occurred()) SWIG_fail
;
15503 resultobj
= SWIG_Py_Void();
15510 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15511 PyObject
*resultobj
= 0;
15512 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15513 wxWindow
*arg2
= (wxWindow
*) 0 ;
15514 int arg3
= (int) wxID_ANY
;
15515 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15516 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15517 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15518 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15519 long arg6
= (long) 0 ;
15520 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15521 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15533 bool temp7
= false ;
15534 PyObject
* obj0
= 0 ;
15535 PyObject
* obj1
= 0 ;
15536 PyObject
* obj2
= 0 ;
15537 PyObject
* obj3
= 0 ;
15538 PyObject
* obj4
= 0 ;
15539 PyObject
* obj5
= 0 ;
15540 PyObject
* obj6
= 0 ;
15541 char * kwnames
[] = {
15542 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15545 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15546 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15547 if (!SWIG_IsOK(res1
)) {
15548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15550 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15551 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15552 if (!SWIG_IsOK(res2
)) {
15553 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15555 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15558 if (!SWIG_IsOK(ecode3
)) {
15559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15561 arg3
= static_cast< int >(val3
);
15566 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15572 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15576 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15577 if (!SWIG_IsOK(ecode6
)) {
15578 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15580 arg6
= static_cast< long >(val6
);
15584 arg7
= wxString_in_helper(obj6
);
15585 if (arg7
== NULL
) SWIG_fail
;
15590 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15591 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15592 wxPyEndAllowThreads(__tstate
);
15593 if (PyErr_Occurred()) SWIG_fail
;
15596 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15612 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15613 PyObject
*resultobj
= 0;
15614 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15620 PyObject
* obj0
= 0 ;
15621 PyObject
* obj1
= 0 ;
15622 char * kwnames
[] = {
15623 (char *) "self",(char *) "count", NULL
15626 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15627 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15628 if (!SWIG_IsOK(res1
)) {
15629 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15631 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15632 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15633 if (!SWIG_IsOK(ecode2
)) {
15634 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15636 arg2
= static_cast< size_t >(val2
);
15638 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15639 (arg1
)->SetItemCount(arg2
);
15640 wxPyEndAllowThreads(__tstate
);
15641 if (PyErr_Occurred()) SWIG_fail
;
15643 resultobj
= SWIG_Py_Void();
15650 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15651 PyObject
*resultobj
= 0;
15652 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15653 wxFileSystem
*result
= 0 ;
15656 PyObject
*swig_obj
[1] ;
15658 if (!args
) SWIG_fail
;
15659 swig_obj
[0] = args
;
15660 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15661 if (!SWIG_IsOK(res1
)) {
15662 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15664 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15666 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15668 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15669 result
= (wxFileSystem
*) &_result_ref
;
15671 wxPyEndAllowThreads(__tstate
);
15672 if (PyErr_Occurred()) SWIG_fail
;
15674 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15681 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15682 PyObject
*resultobj
= 0;
15683 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15685 wxHtmlLinkInfo
*arg3
= 0 ;
15692 PyObject
* obj0
= 0 ;
15693 PyObject
* obj1
= 0 ;
15694 PyObject
* obj2
= 0 ;
15695 char * kwnames
[] = {
15696 (char *) "self",(char *) "n",(char *) "link", NULL
15699 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15700 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15701 if (!SWIG_IsOK(res1
)) {
15702 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15704 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15705 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15706 if (!SWIG_IsOK(ecode2
)) {
15707 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15709 arg2
= static_cast< size_t >(val2
);
15710 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15711 if (!SWIG_IsOK(res3
)) {
15712 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15715 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15717 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15720 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15721 wxPyEndAllowThreads(__tstate
);
15722 if (PyErr_Occurred()) SWIG_fail
;
15724 resultobj
= SWIG_Py_Void();
15731 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15733 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15734 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15735 return SWIG_Py_Void();
15738 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15739 return SWIG_Python_InitShadowInstance(args
);
15742 SWIGINTERN
int SimpleHtmlListBoxNameStr_set(PyObject
*) {
15743 SWIG_Error(SWIG_AttributeError
,"Variable SimpleHtmlListBoxNameStr is read-only.");
15748 SWIGINTERN PyObject
*SimpleHtmlListBoxNameStr_get(void) {
15749 PyObject
*pyobj
= 0;
15753 pyobj
= PyUnicode_FromWideChar((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15755 pyobj
= PyString_FromStringAndSize((&wxPySimpleHtmlListBoxNameStr
)->c_str(), (&wxPySimpleHtmlListBoxNameStr
)->Len());
15762 SWIGINTERN PyObject
*_wrap_new_SimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15763 PyObject
*resultobj
= 0;
15764 wxWindow
*arg1
= (wxWindow
*) 0 ;
15765 int arg2
= (int) -1 ;
15766 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15767 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15768 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15769 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15770 wxArrayString
const &arg5_defvalue
= wxPyEmptyStringArray
;
15771 wxArrayString
*arg5
= (wxArrayString
*) &arg5_defvalue
;
15772 long arg6
= (long) wxHLB_DEFAULT_STYLE
;
15773 wxValidator
const &arg7_defvalue
= wxDefaultValidator
;
15774 wxValidator
*arg7
= (wxValidator
*) &arg7_defvalue
;
15775 wxString
const &arg8_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15776 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
15777 wxSimpleHtmlListBox
*result
= 0 ;
15784 bool temp5
= false ;
15789 bool temp8
= false ;
15790 PyObject
* obj0
= 0 ;
15791 PyObject
* obj1
= 0 ;
15792 PyObject
* obj2
= 0 ;
15793 PyObject
* obj3
= 0 ;
15794 PyObject
* obj4
= 0 ;
15795 PyObject
* obj5
= 0 ;
15796 PyObject
* obj6
= 0 ;
15797 PyObject
* obj7
= 0 ;
15798 char * kwnames
[] = {
15799 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15802 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOOO:new_SimpleHtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
15803 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15804 if (!SWIG_IsOK(res1
)) {
15805 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15807 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15810 if (!SWIG_IsOK(ecode2
)) {
15811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "2"" of type '" "int""'");
15813 arg2
= static_cast< int >(val2
);
15818 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15824 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15829 if (! PySequence_Check(obj4
)) {
15830 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15833 arg5
= new wxArrayString
;
15835 int i
, len
=PySequence_Length(obj4
);
15836 for (i
=0; i
<len
; i
++) {
15837 PyObject
* item
= PySequence_GetItem(obj4
, i
);
15838 wxString
* s
= wxString_in_helper(item
);
15839 if (PyErr_Occurred()) SWIG_fail
;
15847 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15848 if (!SWIG_IsOK(ecode6
)) {
15849 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "6"" of type '" "long""'");
15851 arg6
= static_cast< long >(val6
);
15854 res7
= SWIG_ConvertPtr(obj6
, &argp7
, SWIGTYPE_p_wxValidator
, 0 | 0);
15855 if (!SWIG_IsOK(res7
)) {
15856 SWIG_exception_fail(SWIG_ArgError(res7
), "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15859 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SimpleHtmlListBox" "', expected argument " "7"" of type '" "wxValidator const &""'");
15861 arg7
= reinterpret_cast< wxValidator
* >(argp7
);
15865 arg8
= wxString_in_helper(obj7
);
15866 if (arg8
== NULL
) SWIG_fail
;
15871 if (!wxPyCheckForApp()) SWIG_fail
;
15872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15873 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,(wxArrayString
const &)*arg5
,arg6
,(wxValidator
const &)*arg7
,(wxString
const &)*arg8
);
15874 wxPyEndAllowThreads(__tstate
);
15875 if (PyErr_Occurred()) SWIG_fail
;
15877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15879 if (temp5
) delete arg5
;
15888 if (temp5
) delete arg5
;
15898 SWIGINTERN PyObject
*_wrap_new_PreSimpleHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15899 PyObject
*resultobj
= 0;
15900 wxSimpleHtmlListBox
*result
= 0 ;
15902 if (!SWIG_Python_UnpackTuple(args
,"new_PreSimpleHtmlListBox",0,0,0)) SWIG_fail
;
15904 if (!wxPyCheckForApp()) SWIG_fail
;
15905 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15906 result
= (wxSimpleHtmlListBox
*)new wxSimpleHtmlListBox();
15907 wxPyEndAllowThreads(__tstate
);
15908 if (PyErr_Occurred()) SWIG_fail
;
15910 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15917 SWIGINTERN PyObject
*_wrap_SimpleHtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15918 PyObject
*resultobj
= 0;
15919 wxSimpleHtmlListBox
*arg1
= (wxSimpleHtmlListBox
*) 0 ;
15920 wxWindow
*arg2
= (wxWindow
*) 0 ;
15921 int arg3
= (int) -1 ;
15922 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15923 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15924 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15925 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15926 wxArrayString
const &arg6_defvalue
= wxPyEmptyStringArray
;
15927 wxArrayString
*arg6
= (wxArrayString
*) &arg6_defvalue
;
15928 long arg7
= (long) wxHLB_DEFAULT_STYLE
;
15929 wxValidator
const &arg8_defvalue
= wxDefaultValidator
;
15930 wxValidator
*arg8
= (wxValidator
*) &arg8_defvalue
;
15931 wxString
const &arg9_defvalue
= wxPySimpleHtmlListBoxNameStr
;
15932 wxString
*arg9
= (wxString
*) &arg9_defvalue
;
15942 bool temp6
= false ;
15947 bool temp9
= false ;
15948 PyObject
* obj0
= 0 ;
15949 PyObject
* obj1
= 0 ;
15950 PyObject
* obj2
= 0 ;
15951 PyObject
* obj3
= 0 ;
15952 PyObject
* obj4
= 0 ;
15953 PyObject
* obj5
= 0 ;
15954 PyObject
* obj6
= 0 ;
15955 PyObject
* obj7
= 0 ;
15956 PyObject
* obj8
= 0 ;
15957 char * kwnames
[] = {
15958 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "choices",(char *) "style",(char *) "validator",(char *) "name", NULL
15961 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOOO:SimpleHtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
,&obj8
)) SWIG_fail
;
15962 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSimpleHtmlListBox
, 0 | 0 );
15963 if (!SWIG_IsOK(res1
)) {
15964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "1"" of type '" "wxSimpleHtmlListBox *""'");
15966 arg1
= reinterpret_cast< wxSimpleHtmlListBox
* >(argp1
);
15967 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15968 if (!SWIG_IsOK(res2
)) {
15969 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15971 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15973 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15974 if (!SWIG_IsOK(ecode3
)) {
15975 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15977 arg3
= static_cast< int >(val3
);
15982 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15988 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15993 if (! PySequence_Check(obj5
)) {
15994 PyErr_SetString(PyExc_TypeError
, "Sequence of strings expected.");
15997 arg6
= new wxArrayString
;
15999 int i
, len
=PySequence_Length(obj5
);
16000 for (i
=0; i
<len
; i
++) {
16001 PyObject
* item
= PySequence_GetItem(obj5
, i
);
16002 wxString
* s
= wxString_in_helper(item
);
16003 if (PyErr_Occurred()) SWIG_fail
;
16011 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
16012 if (!SWIG_IsOK(ecode7
)) {
16013 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "7"" of type '" "long""'");
16015 arg7
= static_cast< long >(val7
);
16018 res8
= SWIG_ConvertPtr(obj7
, &argp8
, SWIGTYPE_p_wxValidator
, 0 | 0);
16019 if (!SWIG_IsOK(res8
)) {
16020 SWIG_exception_fail(SWIG_ArgError(res8
), "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16023 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SimpleHtmlListBox_Create" "', expected argument " "8"" of type '" "wxValidator const &""'");
16025 arg8
= reinterpret_cast< wxValidator
* >(argp8
);
16029 arg9
= wxString_in_helper(obj8
);
16030 if (arg9
== NULL
) SWIG_fail
;
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,(wxArrayString
const &)*arg6
,arg7
,(wxValidator
const &)*arg8
,(wxString
const &)*arg9
);
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16044 if (temp6
) delete arg6
;
16053 if (temp6
) delete arg6
;
16063 SWIGINTERN PyObject
*SimpleHtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16065 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16066 SWIG_TypeNewClientData(SWIGTYPE_p_wxSimpleHtmlListBox
, SWIG_NewClientData(obj
));
16067 return SWIG_Py_Void();
16070 SWIGINTERN PyObject
*SimpleHtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16071 return SWIG_Python_InitShadowInstance(args
);
16074 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16075 PyObject
*resultobj
= 0;
16076 wxPyTaskBarIcon
*result
= 0 ;
16078 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
16080 if (!wxPyCheckForApp()) SWIG_fail
;
16081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16082 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
16083 wxPyEndAllowThreads(__tstate
);
16084 if (PyErr_Occurred()) SWIG_fail
;
16086 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
16093 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16094 PyObject
*resultobj
= 0;
16095 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16098 PyObject
*swig_obj
[1] ;
16100 if (!args
) SWIG_fail
;
16101 swig_obj
[0] = args
;
16102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
16103 if (!SWIG_IsOK(res1
)) {
16104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16106 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16111 wxPyEndAllowThreads(__tstate
);
16112 if (PyErr_Occurred()) SWIG_fail
;
16114 resultobj
= SWIG_Py_Void();
16121 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16122 PyObject
*resultobj
= 0;
16123 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16124 PyObject
*arg2
= (PyObject
*) 0 ;
16125 PyObject
*arg3
= (PyObject
*) 0 ;
16126 int arg4
= (int) 0 ;
16131 PyObject
* obj0
= 0 ;
16132 PyObject
* obj1
= 0 ;
16133 PyObject
* obj2
= 0 ;
16134 PyObject
* obj3
= 0 ;
16135 char * kwnames
[] = {
16136 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
16139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
16140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16141 if (!SWIG_IsOK(res1
)) {
16142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16144 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16148 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
16149 if (!SWIG_IsOK(ecode4
)) {
16150 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
16152 arg4
= static_cast< int >(val4
);
16155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16156 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
16157 wxPyEndAllowThreads(__tstate
);
16158 if (PyErr_Occurred()) SWIG_fail
;
16160 resultobj
= SWIG_Py_Void();
16167 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16168 PyObject
*resultobj
= 0;
16169 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16172 PyObject
*swig_obj
[1] ;
16174 if (!args
) SWIG_fail
;
16175 swig_obj
[0] = args
;
16176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16177 if (!SWIG_IsOK(res1
)) {
16178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16180 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16183 wxPyTaskBarIcon_Destroy(arg1
);
16184 wxPyEndAllowThreads(__tstate
);
16185 if (PyErr_Occurred()) SWIG_fail
;
16187 resultobj
= SWIG_Py_Void();
16194 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16195 PyObject
*resultobj
= 0;
16196 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16200 PyObject
*swig_obj
[1] ;
16202 if (!args
) SWIG_fail
;
16203 swig_obj
[0] = args
;
16204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16205 if (!SWIG_IsOK(res1
)) {
16206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16208 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16211 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
16212 wxPyEndAllowThreads(__tstate
);
16213 if (PyErr_Occurred()) SWIG_fail
;
16216 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16224 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16225 PyObject
*resultobj
= 0;
16226 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16230 PyObject
*swig_obj
[1] ;
16232 if (!args
) SWIG_fail
;
16233 swig_obj
[0] = args
;
16234 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16235 if (!SWIG_IsOK(res1
)) {
16236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
16238 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16241 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
16242 wxPyEndAllowThreads(__tstate
);
16243 if (PyErr_Occurred()) SWIG_fail
;
16246 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16254 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16255 PyObject
*resultobj
= 0;
16256 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16258 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16259 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16265 bool temp3
= false ;
16266 PyObject
* obj0
= 0 ;
16267 PyObject
* obj1
= 0 ;
16268 PyObject
* obj2
= 0 ;
16269 char * kwnames
[] = {
16270 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
16273 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16274 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16275 if (!SWIG_IsOK(res1
)) {
16276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16278 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16279 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
16280 if (!SWIG_IsOK(res2
)) {
16281 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16284 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
16286 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
16289 arg3
= wxString_in_helper(obj2
);
16290 if (arg3
== NULL
) SWIG_fail
;
16295 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16296 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
16297 wxPyEndAllowThreads(__tstate
);
16298 if (PyErr_Occurred()) SWIG_fail
;
16301 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16317 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16318 PyObject
*resultobj
= 0;
16319 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16323 PyObject
*swig_obj
[1] ;
16325 if (!args
) SWIG_fail
;
16326 swig_obj
[0] = args
;
16327 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16331 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (bool)(arg1
)->RemoveIcon();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16348 PyObject
*resultobj
= 0;
16349 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16350 wxMenu
*arg2
= (wxMenu
*) 0 ;
16356 PyObject
* obj0
= 0 ;
16357 PyObject
* obj1
= 0 ;
16358 char * kwnames
[] = {
16359 (char *) "self",(char *) "menu", NULL
16362 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16363 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16364 if (!SWIG_IsOK(res1
)) {
16365 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16367 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16368 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16369 if (!SWIG_IsOK(res2
)) {
16370 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16372 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16374 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16375 result
= (bool)(arg1
)->PopupMenu(arg2
);
16376 wxPyEndAllowThreads(__tstate
);
16377 if (PyErr_Occurred()) SWIG_fail
;
16380 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16388 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16390 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16391 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16392 return SWIG_Py_Void();
16395 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16396 return SWIG_Python_InitShadowInstance(args
);
16399 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16400 PyObject
*resultobj
= 0;
16402 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16403 wxTaskBarIconEvent
*result
= 0 ;
16408 PyObject
* obj0
= 0 ;
16409 PyObject
* obj1
= 0 ;
16410 char * kwnames
[] = {
16411 (char *) "evtType",(char *) "tbIcon", NULL
16414 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16415 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16416 if (!SWIG_IsOK(ecode1
)) {
16417 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16419 arg1
= static_cast< wxEventType
>(val1
);
16420 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16421 if (!SWIG_IsOK(res2
)) {
16422 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16424 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16427 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16428 wxPyEndAllowThreads(__tstate
);
16429 if (PyErr_Occurred()) SWIG_fail
;
16431 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16438 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16442 return SWIG_Py_Void();
16445 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16446 return SWIG_Python_InitShadowInstance(args
);
16449 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16450 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16455 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16456 PyObject
*pyobj
= 0;
16460 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16462 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16469 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16470 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16475 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16476 PyObject
*pyobj
= 0;
16480 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16482 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16489 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16490 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16495 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16496 PyObject
*pyobj
= 0;
16500 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16502 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16509 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16510 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16515 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16516 PyObject
*pyobj
= 0;
16520 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16522 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16529 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16530 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16535 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16536 PyObject
*pyobj
= 0;
16540 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16542 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16549 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16550 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16555 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16556 PyObject
*pyobj
= 0;
16560 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16562 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16569 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16570 PyObject
*resultobj
= 0;
16571 wxColourData
*result
= 0 ;
16573 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16576 result
= (wxColourData
*)new wxColourData();
16577 wxPyEndAllowThreads(__tstate
);
16578 if (PyErr_Occurred()) SWIG_fail
;
16580 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16587 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16588 PyObject
*resultobj
= 0;
16589 wxColourData
*arg1
= (wxColourData
*) 0 ;
16592 PyObject
*swig_obj
[1] ;
16594 if (!args
) SWIG_fail
;
16595 swig_obj
[0] = args
;
16596 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16600 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16605 wxPyEndAllowThreads(__tstate
);
16606 if (PyErr_Occurred()) SWIG_fail
;
16608 resultobj
= SWIG_Py_Void();
16615 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16616 PyObject
*resultobj
= 0;
16617 wxColourData
*arg1
= (wxColourData
*) 0 ;
16621 PyObject
*swig_obj
[1] ;
16623 if (!args
) SWIG_fail
;
16624 swig_obj
[0] = args
;
16625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16626 if (!SWIG_IsOK(res1
)) {
16627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16629 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16632 result
= (bool)(arg1
)->GetChooseFull();
16633 wxPyEndAllowThreads(__tstate
);
16634 if (PyErr_Occurred()) SWIG_fail
;
16637 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16645 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16646 PyObject
*resultobj
= 0;
16647 wxColourData
*arg1
= (wxColourData
*) 0 ;
16651 PyObject
*swig_obj
[1] ;
16653 if (!args
) SWIG_fail
;
16654 swig_obj
[0] = args
;
16655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16656 if (!SWIG_IsOK(res1
)) {
16657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16659 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16662 result
= (arg1
)->GetColour();
16663 wxPyEndAllowThreads(__tstate
);
16664 if (PyErr_Occurred()) SWIG_fail
;
16666 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16673 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16674 PyObject
*resultobj
= 0;
16675 wxColourData
*arg1
= (wxColourData
*) 0 ;
16682 PyObject
* obj0
= 0 ;
16683 PyObject
* obj1
= 0 ;
16684 char * kwnames
[] = {
16685 (char *) "self",(char *) "i", NULL
16688 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16689 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16690 if (!SWIG_IsOK(res1
)) {
16691 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16693 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16694 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16695 if (!SWIG_IsOK(ecode2
)) {
16696 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16698 arg2
= static_cast< int >(val2
);
16700 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16701 result
= (arg1
)->GetCustomColour(arg2
);
16702 wxPyEndAllowThreads(__tstate
);
16703 if (PyErr_Occurred()) SWIG_fail
;
16705 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16712 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16713 PyObject
*resultobj
= 0;
16714 wxColourData
*arg1
= (wxColourData
*) 0 ;
16720 PyObject
* obj0
= 0 ;
16721 PyObject
* obj1
= 0 ;
16722 char * kwnames
[] = {
16723 (char *) "self",(char *) "flag", NULL
16726 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16727 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16728 if (!SWIG_IsOK(res1
)) {
16729 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16731 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16732 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16733 if (!SWIG_IsOK(ecode2
)) {
16734 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16736 arg2
= static_cast< int >(val2
);
16738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16739 (arg1
)->SetChooseFull(arg2
);
16740 wxPyEndAllowThreads(__tstate
);
16741 if (PyErr_Occurred()) SWIG_fail
;
16743 resultobj
= SWIG_Py_Void();
16750 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16751 PyObject
*resultobj
= 0;
16752 wxColourData
*arg1
= (wxColourData
*) 0 ;
16753 wxColour
*arg2
= 0 ;
16757 PyObject
* obj0
= 0 ;
16758 PyObject
* obj1
= 0 ;
16759 char * kwnames
[] = {
16760 (char *) "self",(char *) "colour", NULL
16763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16765 if (!SWIG_IsOK(res1
)) {
16766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16768 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16771 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16774 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16775 (arg1
)->SetColour((wxColour
const &)*arg2
);
16776 wxPyEndAllowThreads(__tstate
);
16777 if (PyErr_Occurred()) SWIG_fail
;
16779 resultobj
= SWIG_Py_Void();
16786 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16787 PyObject
*resultobj
= 0;
16788 wxColourData
*arg1
= (wxColourData
*) 0 ;
16790 wxColour
*arg3
= 0 ;
16796 PyObject
* obj0
= 0 ;
16797 PyObject
* obj1
= 0 ;
16798 PyObject
* obj2
= 0 ;
16799 char * kwnames
[] = {
16800 (char *) "self",(char *) "i",(char *) "colour", NULL
16803 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16804 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16805 if (!SWIG_IsOK(res1
)) {
16806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16808 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16809 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16810 if (!SWIG_IsOK(ecode2
)) {
16811 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16813 arg2
= static_cast< int >(val2
);
16816 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16820 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16821 wxPyEndAllowThreads(__tstate
);
16822 if (PyErr_Occurred()) SWIG_fail
;
16824 resultobj
= SWIG_Py_Void();
16831 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16833 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16834 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16835 return SWIG_Py_Void();
16838 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16839 return SWIG_Python_InitShadowInstance(args
);
16842 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16843 PyObject
*resultobj
= 0;
16844 wxWindow
*arg1
= (wxWindow
*) 0 ;
16845 wxColourData
*arg2
= (wxColourData
*) NULL
;
16846 wxColourDialog
*result
= 0 ;
16851 PyObject
* obj0
= 0 ;
16852 PyObject
* obj1
= 0 ;
16853 char * kwnames
[] = {
16854 (char *) "parent",(char *) "data", NULL
16857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16859 if (!SWIG_IsOK(res1
)) {
16860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16862 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16864 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16865 if (!SWIG_IsOK(res2
)) {
16866 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16868 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16871 if (!wxPyCheckForApp()) SWIG_fail
;
16872 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16873 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16874 wxPyEndAllowThreads(__tstate
);
16875 if (PyErr_Occurred()) SWIG_fail
;
16877 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16884 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16885 PyObject
*resultobj
= 0;
16886 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16887 wxColourData
*result
= 0 ;
16890 PyObject
*swig_obj
[1] ;
16892 if (!args
) SWIG_fail
;
16893 swig_obj
[0] = args
;
16894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourDialog
, 0 | 0 );
16895 if (!SWIG_IsOK(res1
)) {
16896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16898 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16903 result
= (wxColourData
*) &_result_ref
;
16905 wxPyEndAllowThreads(__tstate
);
16906 if (PyErr_Occurred()) SWIG_fail
;
16908 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16915 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16917 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16918 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16919 return SWIG_Py_Void();
16922 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16923 return SWIG_Python_InitShadowInstance(args
);
16926 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16927 PyObject
*resultobj
= 0;
16928 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16929 wxColour
const &arg2_defvalue
= wxNullColour
;
16930 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16931 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16932 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16937 bool temp3
= false ;
16938 PyObject
* obj0
= 0 ;
16939 PyObject
* obj1
= 0 ;
16940 PyObject
* obj2
= 0 ;
16941 char * kwnames
[] = {
16942 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16947 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16948 if (!SWIG_IsOK(res1
)) {
16949 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16951 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16956 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16961 arg3
= wxString_in_helper(obj2
);
16962 if (arg3
== NULL
) SWIG_fail
;
16967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16968 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16969 wxPyEndAllowThreads(__tstate
);
16970 if (PyErr_Occurred()) SWIG_fail
;
16972 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16987 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16988 PyObject
*resultobj
= 0;
16989 wxWindow
*arg1
= (wxWindow
*) 0 ;
16990 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16991 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16992 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16993 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16994 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16995 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16996 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16997 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16998 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16999 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
17000 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
17001 wxDirDialog
*result
= 0 ;
17004 bool temp2
= false ;
17005 bool temp3
= false ;
17010 bool temp7
= false ;
17011 PyObject
* obj0
= 0 ;
17012 PyObject
* obj1
= 0 ;
17013 PyObject
* obj2
= 0 ;
17014 PyObject
* obj3
= 0 ;
17015 PyObject
* obj4
= 0 ;
17016 PyObject
* obj5
= 0 ;
17017 PyObject
* obj6
= 0 ;
17018 char * kwnames
[] = {
17019 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
17022 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17023 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17024 if (!SWIG_IsOK(res1
)) {
17025 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17027 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17030 arg2
= wxString_in_helper(obj1
);
17031 if (arg2
== NULL
) SWIG_fail
;
17037 arg3
= wxString_in_helper(obj2
);
17038 if (arg3
== NULL
) SWIG_fail
;
17043 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
17044 if (!SWIG_IsOK(ecode4
)) {
17045 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
17047 arg4
= static_cast< long >(val4
);
17052 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
17058 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
17063 arg7
= wxString_in_helper(obj6
);
17064 if (arg7
== NULL
) SWIG_fail
;
17069 if (!wxPyCheckForApp()) SWIG_fail
;
17070 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17071 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
17072 wxPyEndAllowThreads(__tstate
);
17073 if (PyErr_Occurred()) SWIG_fail
;
17075 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
17106 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17107 PyObject
*resultobj
= 0;
17108 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17112 PyObject
*swig_obj
[1] ;
17114 if (!args
) SWIG_fail
;
17115 swig_obj
[0] = args
;
17116 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17117 if (!SWIG_IsOK(res1
)) {
17118 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17120 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17122 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17123 result
= (arg1
)->GetPath();
17124 wxPyEndAllowThreads(__tstate
);
17125 if (PyErr_Occurred()) SWIG_fail
;
17129 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17131 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17140 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17141 PyObject
*resultobj
= 0;
17142 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17146 PyObject
*swig_obj
[1] ;
17148 if (!args
) SWIG_fail
;
17149 swig_obj
[0] = args
;
17150 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17151 if (!SWIG_IsOK(res1
)) {
17152 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17154 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17157 result
= (arg1
)->GetMessage();
17158 wxPyEndAllowThreads(__tstate
);
17159 if (PyErr_Occurred()) SWIG_fail
;
17163 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17165 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17174 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17175 PyObject
*resultobj
= 0;
17176 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17177 wxString
*arg2
= 0 ;
17180 bool temp2
= false ;
17181 PyObject
* obj0
= 0 ;
17182 PyObject
* obj1
= 0 ;
17183 char * kwnames
[] = {
17184 (char *) "self",(char *) "message", NULL
17187 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17188 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17189 if (!SWIG_IsOK(res1
)) {
17190 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17192 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17194 arg2
= wxString_in_helper(obj1
);
17195 if (arg2
== NULL
) SWIG_fail
;
17199 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17200 (arg1
)->SetMessage((wxString
const &)*arg2
);
17201 wxPyEndAllowThreads(__tstate
);
17202 if (PyErr_Occurred()) SWIG_fail
;
17204 resultobj
= SWIG_Py_Void();
17219 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17220 PyObject
*resultobj
= 0;
17221 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
17222 wxString
*arg2
= 0 ;
17225 bool temp2
= false ;
17226 PyObject
* obj0
= 0 ;
17227 PyObject
* obj1
= 0 ;
17228 char * kwnames
[] = {
17229 (char *) "self",(char *) "path", NULL
17232 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17233 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
17234 if (!SWIG_IsOK(res1
)) {
17235 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
17237 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
17239 arg2
= wxString_in_helper(obj1
);
17240 if (arg2
== NULL
) SWIG_fail
;
17244 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17245 (arg1
)->SetPath((wxString
const &)*arg2
);
17246 wxPyEndAllowThreads(__tstate
);
17247 if (PyErr_Occurred()) SWIG_fail
;
17249 resultobj
= SWIG_Py_Void();
17264 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17266 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17267 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
17268 return SWIG_Py_Void();
17271 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17272 return SWIG_Python_InitShadowInstance(args
);
17275 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17276 PyObject
*resultobj
= 0;
17277 wxWindow
*arg1
= (wxWindow
*) 0 ;
17278 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
17279 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
17280 wxString
const &arg3_defvalue
= wxPyEmptyString
;
17281 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
17282 wxString
const &arg4_defvalue
= wxPyEmptyString
;
17283 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
17284 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
17285 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
17286 long arg6
= (long) wxFD_DEFAULT_STYLE
;
17287 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17288 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17289 wxFileDialog
*result
= 0 ;
17292 bool temp2
= false ;
17293 bool temp3
= false ;
17294 bool temp4
= false ;
17295 bool temp5
= false ;
17299 PyObject
* obj0
= 0 ;
17300 PyObject
* obj1
= 0 ;
17301 PyObject
* obj2
= 0 ;
17302 PyObject
* obj3
= 0 ;
17303 PyObject
* obj4
= 0 ;
17304 PyObject
* obj5
= 0 ;
17305 PyObject
* obj6
= 0 ;
17306 char * kwnames
[] = {
17307 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17310 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17311 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17312 if (!SWIG_IsOK(res1
)) {
17313 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17315 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17318 arg2
= wxString_in_helper(obj1
);
17319 if (arg2
== NULL
) SWIG_fail
;
17325 arg3
= wxString_in_helper(obj2
);
17326 if (arg3
== NULL
) SWIG_fail
;
17332 arg4
= wxString_in_helper(obj3
);
17333 if (arg4
== NULL
) SWIG_fail
;
17339 arg5
= wxString_in_helper(obj4
);
17340 if (arg5
== NULL
) SWIG_fail
;
17345 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17346 if (!SWIG_IsOK(ecode6
)) {
17347 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17349 arg6
= static_cast< long >(val6
);
17354 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17358 if (!wxPyCheckForApp()) SWIG_fail
;
17359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17360 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17361 wxPyEndAllowThreads(__tstate
);
17362 if (PyErr_Occurred()) SWIG_fail
;
17364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17403 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17404 PyObject
*resultobj
= 0;
17405 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17406 wxString
*arg2
= 0 ;
17409 bool temp2
= false ;
17410 PyObject
* obj0
= 0 ;
17411 PyObject
* obj1
= 0 ;
17412 char * kwnames
[] = {
17413 (char *) "self",(char *) "message", NULL
17416 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17417 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17418 if (!SWIG_IsOK(res1
)) {
17419 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17421 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17423 arg2
= wxString_in_helper(obj1
);
17424 if (arg2
== NULL
) SWIG_fail
;
17428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17429 (arg1
)->SetMessage((wxString
const &)*arg2
);
17430 wxPyEndAllowThreads(__tstate
);
17431 if (PyErr_Occurred()) SWIG_fail
;
17433 resultobj
= SWIG_Py_Void();
17448 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17449 PyObject
*resultobj
= 0;
17450 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17451 wxString
*arg2
= 0 ;
17454 bool temp2
= false ;
17455 PyObject
* obj0
= 0 ;
17456 PyObject
* obj1
= 0 ;
17457 char * kwnames
[] = {
17458 (char *) "self",(char *) "path", NULL
17461 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17462 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17463 if (!SWIG_IsOK(res1
)) {
17464 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17466 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17468 arg2
= wxString_in_helper(obj1
);
17469 if (arg2
== NULL
) SWIG_fail
;
17473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17474 (arg1
)->SetPath((wxString
const &)*arg2
);
17475 wxPyEndAllowThreads(__tstate
);
17476 if (PyErr_Occurred()) SWIG_fail
;
17478 resultobj
= SWIG_Py_Void();
17493 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17494 PyObject
*resultobj
= 0;
17495 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17496 wxString
*arg2
= 0 ;
17499 bool temp2
= false ;
17500 PyObject
* obj0
= 0 ;
17501 PyObject
* obj1
= 0 ;
17502 char * kwnames
[] = {
17503 (char *) "self",(char *) "dir", NULL
17506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17508 if (!SWIG_IsOK(res1
)) {
17509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17511 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17513 arg2
= wxString_in_helper(obj1
);
17514 if (arg2
== NULL
) SWIG_fail
;
17518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17519 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17520 wxPyEndAllowThreads(__tstate
);
17521 if (PyErr_Occurred()) SWIG_fail
;
17523 resultobj
= SWIG_Py_Void();
17538 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17539 PyObject
*resultobj
= 0;
17540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17541 wxString
*arg2
= 0 ;
17544 bool temp2
= false ;
17545 PyObject
* obj0
= 0 ;
17546 PyObject
* obj1
= 0 ;
17547 char * kwnames
[] = {
17548 (char *) "self",(char *) "name", NULL
17551 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17552 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17553 if (!SWIG_IsOK(res1
)) {
17554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17556 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17558 arg2
= wxString_in_helper(obj1
);
17559 if (arg2
== NULL
) SWIG_fail
;
17563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17564 (arg1
)->SetFilename((wxString
const &)*arg2
);
17565 wxPyEndAllowThreads(__tstate
);
17566 if (PyErr_Occurred()) SWIG_fail
;
17568 resultobj
= SWIG_Py_Void();
17583 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17584 PyObject
*resultobj
= 0;
17585 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17586 wxString
*arg2
= 0 ;
17589 bool temp2
= false ;
17590 PyObject
* obj0
= 0 ;
17591 PyObject
* obj1
= 0 ;
17592 char * kwnames
[] = {
17593 (char *) "self",(char *) "wildCard", NULL
17596 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17597 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17598 if (!SWIG_IsOK(res1
)) {
17599 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17601 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17603 arg2
= wxString_in_helper(obj1
);
17604 if (arg2
== NULL
) SWIG_fail
;
17608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17609 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17610 wxPyEndAllowThreads(__tstate
);
17611 if (PyErr_Occurred()) SWIG_fail
;
17613 resultobj
= SWIG_Py_Void();
17628 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17629 PyObject
*resultobj
= 0;
17630 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17636 PyObject
* obj0
= 0 ;
17637 PyObject
* obj1
= 0 ;
17638 char * kwnames
[] = {
17639 (char *) "self",(char *) "filterIndex", NULL
17642 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17643 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17644 if (!SWIG_IsOK(res1
)) {
17645 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17647 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17648 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17649 if (!SWIG_IsOK(ecode2
)) {
17650 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17652 arg2
= static_cast< int >(val2
);
17654 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17655 (arg1
)->SetFilterIndex(arg2
);
17656 wxPyEndAllowThreads(__tstate
);
17657 if (PyErr_Occurred()) SWIG_fail
;
17659 resultobj
= SWIG_Py_Void();
17666 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17667 PyObject
*resultobj
= 0;
17668 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17672 PyObject
*swig_obj
[1] ;
17674 if (!args
) SWIG_fail
;
17675 swig_obj
[0] = args
;
17676 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17677 if (!SWIG_IsOK(res1
)) {
17678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17680 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17683 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17684 wxPyEndAllowThreads(__tstate
);
17685 if (PyErr_Occurred()) SWIG_fail
;
17689 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17691 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17700 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17701 PyObject
*resultobj
= 0;
17702 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17706 PyObject
*swig_obj
[1] ;
17708 if (!args
) SWIG_fail
;
17709 swig_obj
[0] = args
;
17710 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17711 if (!SWIG_IsOK(res1
)) {
17712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17714 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17716 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17717 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17718 wxPyEndAllowThreads(__tstate
);
17719 if (PyErr_Occurred()) SWIG_fail
;
17723 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17725 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17734 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17735 PyObject
*resultobj
= 0;
17736 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17740 PyObject
*swig_obj
[1] ;
17742 if (!args
) SWIG_fail
;
17743 swig_obj
[0] = args
;
17744 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17745 if (!SWIG_IsOK(res1
)) {
17746 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17748 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17750 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17751 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17752 wxPyEndAllowThreads(__tstate
);
17753 if (PyErr_Occurred()) SWIG_fail
;
17757 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17759 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17768 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17769 PyObject
*resultobj
= 0;
17770 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17774 PyObject
*swig_obj
[1] ;
17776 if (!args
) SWIG_fail
;
17777 swig_obj
[0] = args
;
17778 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17779 if (!SWIG_IsOK(res1
)) {
17780 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17782 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17785 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17786 wxPyEndAllowThreads(__tstate
);
17787 if (PyErr_Occurred()) SWIG_fail
;
17791 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17793 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17802 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17803 PyObject
*resultobj
= 0;
17804 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17808 PyObject
*swig_obj
[1] ;
17810 if (!args
) SWIG_fail
;
17811 swig_obj
[0] = args
;
17812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17813 if (!SWIG_IsOK(res1
)) {
17814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17816 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17819 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17820 wxPyEndAllowThreads(__tstate
);
17821 if (PyErr_Occurred()) SWIG_fail
;
17825 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17827 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17836 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17837 PyObject
*resultobj
= 0;
17838 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17842 PyObject
*swig_obj
[1] ;
17844 if (!args
) SWIG_fail
;
17845 swig_obj
[0] = args
;
17846 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17847 if (!SWIG_IsOK(res1
)) {
17848 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17850 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17852 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17853 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17854 wxPyEndAllowThreads(__tstate
);
17855 if (PyErr_Occurred()) SWIG_fail
;
17857 resultobj
= SWIG_From_int(static_cast< int >(result
));
17864 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17865 PyObject
*resultobj
= 0;
17866 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17867 PyObject
*result
= 0 ;
17870 PyObject
*swig_obj
[1] ;
17872 if (!args
) SWIG_fail
;
17873 swig_obj
[0] = args
;
17874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17875 if (!SWIG_IsOK(res1
)) {
17876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17878 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17881 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17882 wxPyEndAllowThreads(__tstate
);
17883 if (PyErr_Occurred()) SWIG_fail
;
17885 resultobj
= result
;
17892 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17893 PyObject
*resultobj
= 0;
17894 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17895 PyObject
*result
= 0 ;
17898 PyObject
*swig_obj
[1] ;
17900 if (!args
) SWIG_fail
;
17901 swig_obj
[0] = args
;
17902 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17903 if (!SWIG_IsOK(res1
)) {
17904 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17906 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17908 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17909 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17910 wxPyEndAllowThreads(__tstate
);
17911 if (PyErr_Occurred()) SWIG_fail
;
17913 resultobj
= result
;
17920 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17922 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17923 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17924 return SWIG_Py_Void();
17927 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17928 return SWIG_Python_InitShadowInstance(args
);
17931 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17932 PyObject
*resultobj
= 0;
17933 wxWindow
*arg1
= (wxWindow
*) 0 ;
17934 wxString
*arg2
= 0 ;
17935 wxString
*arg3
= 0 ;
17936 int arg4
= (int) 0 ;
17937 wxString
*arg5
= (wxString
*) NULL
;
17938 long arg6
= (long) wxCHOICEDLG_STYLE
;
17939 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17940 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17941 wxMultiChoiceDialog
*result
= 0 ;
17944 bool temp2
= false ;
17945 bool temp3
= false ;
17949 PyObject
* obj0
= 0 ;
17950 PyObject
* obj1
= 0 ;
17951 PyObject
* obj2
= 0 ;
17952 PyObject
* obj3
= 0 ;
17953 PyObject
* obj4
= 0 ;
17954 PyObject
* obj5
= 0 ;
17955 char * kwnames
[] = {
17956 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17959 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17960 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17961 if (!SWIG_IsOK(res1
)) {
17962 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17964 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17966 arg2
= wxString_in_helper(obj1
);
17967 if (arg2
== NULL
) SWIG_fail
;
17971 arg3
= wxString_in_helper(obj2
);
17972 if (arg3
== NULL
) SWIG_fail
;
17977 arg4
= PyList_Size(obj3
);
17978 arg5
= wxString_LIST_helper(obj3
);
17979 if (arg5
== NULL
) SWIG_fail
;
17983 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17984 if (!SWIG_IsOK(ecode6
)) {
17985 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17987 arg6
= static_cast< long >(val6
);
17992 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17996 if (!wxPyCheckForApp()) SWIG_fail
;
17997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17998 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17999 wxPyEndAllowThreads(__tstate
);
18000 if (PyErr_Occurred()) SWIG_fail
;
18002 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18012 if (arg5
) delete [] arg5
;
18025 if (arg5
) delete [] arg5
;
18031 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18032 PyObject
*resultobj
= 0;
18033 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18034 wxArrayInt
*arg2
= 0 ;
18037 bool temp2
= false ;
18038 PyObject
* obj0
= 0 ;
18039 PyObject
* obj1
= 0 ;
18040 char * kwnames
[] = {
18041 (char *) "self",(char *) "selections", NULL
18044 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18045 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18046 if (!SWIG_IsOK(res1
)) {
18047 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18049 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18051 if (! PySequence_Check(obj1
)) {
18052 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18055 arg2
= new wxArrayInt
;
18057 int i
, len
=PySequence_Length(obj1
);
18058 for (i
=0; i
<len
; i
++) {
18059 PyObject
* item
= PySequence_GetItem(obj1
, i
);
18060 PyObject
* number
= PyNumber_Int(item
);
18062 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
18065 arg2
->Add(PyInt_AS_LONG(number
));
18071 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18072 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
18073 wxPyEndAllowThreads(__tstate
);
18074 if (PyErr_Occurred()) SWIG_fail
;
18076 resultobj
= SWIG_Py_Void();
18078 if (temp2
) delete arg2
;
18083 if (temp2
) delete arg2
;
18089 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18090 PyObject
*resultobj
= 0;
18091 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
18092 PyObject
*result
= 0 ;
18095 PyObject
*swig_obj
[1] ;
18097 if (!args
) SWIG_fail
;
18098 swig_obj
[0] = args
;
18099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
18100 if (!SWIG_IsOK(res1
)) {
18101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
18103 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= result
;
18117 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18119 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18120 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
18121 return SWIG_Py_Void();
18124 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18125 return SWIG_Python_InitShadowInstance(args
);
18128 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18129 PyObject
*resultobj
= 0;
18130 wxWindow
*arg1
= (wxWindow
*) 0 ;
18131 wxString
*arg2
= 0 ;
18132 wxString
*arg3
= 0 ;
18134 wxString
*arg5
= (wxString
*) 0 ;
18135 long arg6
= (long) wxCHOICEDLG_STYLE
;
18136 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
18137 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
18138 wxSingleChoiceDialog
*result
= 0 ;
18141 bool temp2
= false ;
18142 bool temp3
= false ;
18146 PyObject
* obj0
= 0 ;
18147 PyObject
* obj1
= 0 ;
18148 PyObject
* obj2
= 0 ;
18149 PyObject
* obj3
= 0 ;
18150 PyObject
* obj4
= 0 ;
18151 PyObject
* obj5
= 0 ;
18152 char * kwnames
[] = {
18153 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
18156 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18157 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18158 if (!SWIG_IsOK(res1
)) {
18159 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18161 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18163 arg2
= wxString_in_helper(obj1
);
18164 if (arg2
== NULL
) SWIG_fail
;
18168 arg3
= wxString_in_helper(obj2
);
18169 if (arg3
== NULL
) SWIG_fail
;
18173 arg4
= PyList_Size(obj3
);
18174 arg5
= wxString_LIST_helper(obj3
);
18175 if (arg5
== NULL
) SWIG_fail
;
18178 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
18179 if (!SWIG_IsOK(ecode6
)) {
18180 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
18182 arg6
= static_cast< long >(val6
);
18187 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
18191 if (!wxPyCheckForApp()) SWIG_fail
;
18192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18193 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
18194 wxPyEndAllowThreads(__tstate
);
18195 if (PyErr_Occurred()) SWIG_fail
;
18197 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
18207 if (arg5
) delete [] arg5
;
18220 if (arg5
) delete [] arg5
;
18226 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18227 PyObject
*resultobj
= 0;
18228 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18232 PyObject
*swig_obj
[1] ;
18234 if (!args
) SWIG_fail
;
18235 swig_obj
[0] = args
;
18236 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18237 if (!SWIG_IsOK(res1
)) {
18238 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18240 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18243 result
= (int)(arg1
)->GetSelection();
18244 wxPyEndAllowThreads(__tstate
);
18245 if (PyErr_Occurred()) SWIG_fail
;
18247 resultobj
= SWIG_From_int(static_cast< int >(result
));
18254 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18255 PyObject
*resultobj
= 0;
18256 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18260 PyObject
*swig_obj
[1] ;
18262 if (!args
) SWIG_fail
;
18263 swig_obj
[0] = args
;
18264 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18265 if (!SWIG_IsOK(res1
)) {
18266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18268 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18271 result
= (arg1
)->GetStringSelection();
18272 wxPyEndAllowThreads(__tstate
);
18273 if (PyErr_Occurred()) SWIG_fail
;
18277 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18279 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18288 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18289 PyObject
*resultobj
= 0;
18290 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
18296 PyObject
* obj0
= 0 ;
18297 PyObject
* obj1
= 0 ;
18298 char * kwnames
[] = {
18299 (char *) "self",(char *) "sel", NULL
18302 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18303 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18304 if (!SWIG_IsOK(res1
)) {
18305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18307 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18308 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18309 if (!SWIG_IsOK(ecode2
)) {
18310 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18312 arg2
= static_cast< int >(val2
);
18314 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18315 (arg1
)->SetSelection(arg2
);
18316 wxPyEndAllowThreads(__tstate
);
18317 if (PyErr_Occurred()) SWIG_fail
;
18319 resultobj
= SWIG_Py_Void();
18326 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18328 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18329 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18330 return SWIG_Py_Void();
18333 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18334 return SWIG_Python_InitShadowInstance(args
);
18337 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18338 PyObject
*resultobj
= 0;
18339 wxWindow
*arg1
= (wxWindow
*) 0 ;
18340 wxString
*arg2
= 0 ;
18341 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18342 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18343 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18344 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18345 long arg5
= (long) wxTextEntryDialogStyle
;
18346 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18347 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18348 wxTextEntryDialog
*result
= 0 ;
18351 bool temp2
= false ;
18352 bool temp3
= false ;
18353 bool temp4
= false ;
18357 PyObject
* obj0
= 0 ;
18358 PyObject
* obj1
= 0 ;
18359 PyObject
* obj2
= 0 ;
18360 PyObject
* obj3
= 0 ;
18361 PyObject
* obj4
= 0 ;
18362 PyObject
* obj5
= 0 ;
18363 char * kwnames
[] = {
18364 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18367 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18368 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18369 if (!SWIG_IsOK(res1
)) {
18370 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18372 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18374 arg2
= wxString_in_helper(obj1
);
18375 if (arg2
== NULL
) SWIG_fail
;
18380 arg3
= wxString_in_helper(obj2
);
18381 if (arg3
== NULL
) SWIG_fail
;
18387 arg4
= wxString_in_helper(obj3
);
18388 if (arg4
== NULL
) SWIG_fail
;
18393 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18394 if (!SWIG_IsOK(ecode5
)) {
18395 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18397 arg5
= static_cast< long >(val5
);
18402 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18406 if (!wxPyCheckForApp()) SWIG_fail
;
18407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18408 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18409 wxPyEndAllowThreads(__tstate
);
18410 if (PyErr_Occurred()) SWIG_fail
;
18412 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18443 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18444 PyObject
*resultobj
= 0;
18445 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18449 PyObject
*swig_obj
[1] ;
18451 if (!args
) SWIG_fail
;
18452 swig_obj
[0] = args
;
18453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18454 if (!SWIG_IsOK(res1
)) {
18455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18457 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18460 result
= (arg1
)->GetValue();
18461 wxPyEndAllowThreads(__tstate
);
18462 if (PyErr_Occurred()) SWIG_fail
;
18466 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18468 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18477 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18478 PyObject
*resultobj
= 0;
18479 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18480 wxString
*arg2
= 0 ;
18483 bool temp2
= false ;
18484 PyObject
* obj0
= 0 ;
18485 PyObject
* obj1
= 0 ;
18486 char * kwnames
[] = {
18487 (char *) "self",(char *) "value", NULL
18490 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18491 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18492 if (!SWIG_IsOK(res1
)) {
18493 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18495 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18497 arg2
= wxString_in_helper(obj1
);
18498 if (arg2
== NULL
) SWIG_fail
;
18502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18503 (arg1
)->SetValue((wxString
const &)*arg2
);
18504 wxPyEndAllowThreads(__tstate
);
18505 if (PyErr_Occurred()) SWIG_fail
;
18507 resultobj
= SWIG_Py_Void();
18522 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18524 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18525 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18526 return SWIG_Py_Void();
18529 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18530 return SWIG_Python_InitShadowInstance(args
);
18533 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18534 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18539 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18540 PyObject
*pyobj
= 0;
18544 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18546 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18553 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18554 PyObject
*resultobj
= 0;
18555 wxWindow
*arg1
= (wxWindow
*) 0 ;
18556 wxString
*arg2
= 0 ;
18557 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18558 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18559 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18560 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18561 long arg5
= (long) wxTextEntryDialogStyle
;
18562 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18563 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18564 wxPasswordEntryDialog
*result
= 0 ;
18567 bool temp2
= false ;
18568 bool temp3
= false ;
18569 bool temp4
= false ;
18573 PyObject
* obj0
= 0 ;
18574 PyObject
* obj1
= 0 ;
18575 PyObject
* obj2
= 0 ;
18576 PyObject
* obj3
= 0 ;
18577 PyObject
* obj4
= 0 ;
18578 PyObject
* obj5
= 0 ;
18579 char * kwnames
[] = {
18580 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18583 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18584 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18585 if (!SWIG_IsOK(res1
)) {
18586 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18588 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18590 arg2
= wxString_in_helper(obj1
);
18591 if (arg2
== NULL
) SWIG_fail
;
18596 arg3
= wxString_in_helper(obj2
);
18597 if (arg3
== NULL
) SWIG_fail
;
18603 arg4
= wxString_in_helper(obj3
);
18604 if (arg4
== NULL
) SWIG_fail
;
18609 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18610 if (!SWIG_IsOK(ecode5
)) {
18611 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18613 arg5
= static_cast< long >(val5
);
18618 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18627 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18658 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18660 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18661 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18662 return SWIG_Py_Void();
18665 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18666 return SWIG_Python_InitShadowInstance(args
);
18669 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18670 PyObject
*resultobj
= 0;
18671 wxWindow
*arg1
= (wxWindow
*) 0 ;
18672 wxString
*arg2
= 0 ;
18673 wxString
*arg3
= 0 ;
18674 wxString
*arg4
= 0 ;
18678 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18679 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18680 wxNumberEntryDialog
*result
= 0 ;
18683 bool temp2
= false ;
18684 bool temp3
= false ;
18685 bool temp4
= false ;
18693 PyObject
* obj0
= 0 ;
18694 PyObject
* obj1
= 0 ;
18695 PyObject
* obj2
= 0 ;
18696 PyObject
* obj3
= 0 ;
18697 PyObject
* obj4
= 0 ;
18698 PyObject
* obj5
= 0 ;
18699 PyObject
* obj6
= 0 ;
18700 PyObject
* obj7
= 0 ;
18701 char * kwnames
[] = {
18702 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18705 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18706 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18707 if (!SWIG_IsOK(res1
)) {
18708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18710 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18712 arg2
= wxString_in_helper(obj1
);
18713 if (arg2
== NULL
) SWIG_fail
;
18717 arg3
= wxString_in_helper(obj2
);
18718 if (arg3
== NULL
) SWIG_fail
;
18722 arg4
= wxString_in_helper(obj3
);
18723 if (arg4
== NULL
) SWIG_fail
;
18726 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18727 if (!SWIG_IsOK(ecode5
)) {
18728 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18730 arg5
= static_cast< long >(val5
);
18731 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18732 if (!SWIG_IsOK(ecode6
)) {
18733 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18735 arg6
= static_cast< long >(val6
);
18736 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18737 if (!SWIG_IsOK(ecode7
)) {
18738 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18740 arg7
= static_cast< long >(val7
);
18744 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18748 if (!wxPyCheckForApp()) SWIG_fail
;
18749 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18750 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18751 wxPyEndAllowThreads(__tstate
);
18752 if (PyErr_Occurred()) SWIG_fail
;
18754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18785 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18786 PyObject
*resultobj
= 0;
18787 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18791 PyObject
*swig_obj
[1] ;
18793 if (!args
) SWIG_fail
;
18794 swig_obj
[0] = args
;
18795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18799 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18802 result
= (long)(arg1
)->GetValue();
18803 wxPyEndAllowThreads(__tstate
);
18804 if (PyErr_Occurred()) SWIG_fail
;
18806 resultobj
= SWIG_From_long(static_cast< long >(result
));
18813 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18815 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18816 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18817 return SWIG_Py_Void();
18820 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18821 return SWIG_Python_InitShadowInstance(args
);
18824 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18825 PyObject
*resultobj
= 0;
18826 wxFontData
*result
= 0 ;
18828 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18831 result
= (wxFontData
*)new wxFontData();
18832 wxPyEndAllowThreads(__tstate
);
18833 if (PyErr_Occurred()) SWIG_fail
;
18835 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18842 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18843 PyObject
*resultobj
= 0;
18844 wxFontData
*arg1
= (wxFontData
*) 0 ;
18847 PyObject
*swig_obj
[1] ;
18849 if (!args
) SWIG_fail
;
18850 swig_obj
[0] = args
;
18851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18852 if (!SWIG_IsOK(res1
)) {
18853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18855 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18860 wxPyEndAllowThreads(__tstate
);
18861 if (PyErr_Occurred()) SWIG_fail
;
18863 resultobj
= SWIG_Py_Void();
18870 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18871 PyObject
*resultobj
= 0;
18872 wxFontData
*arg1
= (wxFontData
*) 0 ;
18878 PyObject
* obj0
= 0 ;
18879 PyObject
* obj1
= 0 ;
18880 char * kwnames
[] = {
18881 (char *) "self",(char *) "enable", NULL
18884 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18885 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18886 if (!SWIG_IsOK(res1
)) {
18887 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18889 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18890 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18891 if (!SWIG_IsOK(ecode2
)) {
18892 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18894 arg2
= static_cast< bool >(val2
);
18896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18897 (arg1
)->EnableEffects(arg2
);
18898 wxPyEndAllowThreads(__tstate
);
18899 if (PyErr_Occurred()) SWIG_fail
;
18901 resultobj
= SWIG_Py_Void();
18908 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18909 PyObject
*resultobj
= 0;
18910 wxFontData
*arg1
= (wxFontData
*) 0 ;
18914 PyObject
*swig_obj
[1] ;
18916 if (!args
) SWIG_fail
;
18917 swig_obj
[0] = args
;
18918 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18919 if (!SWIG_IsOK(res1
)) {
18920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18922 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 result
= (bool)(arg1
)->GetAllowSymbols();
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18938 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18939 PyObject
*resultobj
= 0;
18940 wxFontData
*arg1
= (wxFontData
*) 0 ;
18944 PyObject
*swig_obj
[1] ;
18946 if (!args
) SWIG_fail
;
18947 swig_obj
[0] = args
;
18948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18949 if (!SWIG_IsOK(res1
)) {
18950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18952 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18955 result
= (arg1
)->GetColour();
18956 wxPyEndAllowThreads(__tstate
);
18957 if (PyErr_Occurred()) SWIG_fail
;
18959 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18966 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18967 PyObject
*resultobj
= 0;
18968 wxFontData
*arg1
= (wxFontData
*) 0 ;
18972 PyObject
*swig_obj
[1] ;
18974 if (!args
) SWIG_fail
;
18975 swig_obj
[0] = args
;
18976 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18977 if (!SWIG_IsOK(res1
)) {
18978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18980 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18983 result
= (arg1
)->GetChosenFont();
18984 wxPyEndAllowThreads(__tstate
);
18985 if (PyErr_Occurred()) SWIG_fail
;
18987 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18994 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18995 PyObject
*resultobj
= 0;
18996 wxFontData
*arg1
= (wxFontData
*) 0 ;
19000 PyObject
*swig_obj
[1] ;
19002 if (!args
) SWIG_fail
;
19003 swig_obj
[0] = args
;
19004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19005 if (!SWIG_IsOK(res1
)) {
19006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
19008 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19011 result
= (bool)(arg1
)->GetEnableEffects();
19012 wxPyEndAllowThreads(__tstate
);
19013 if (PyErr_Occurred()) SWIG_fail
;
19016 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19024 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19025 PyObject
*resultobj
= 0;
19026 wxFontData
*arg1
= (wxFontData
*) 0 ;
19030 PyObject
*swig_obj
[1] ;
19032 if (!args
) SWIG_fail
;
19033 swig_obj
[0] = args
;
19034 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19035 if (!SWIG_IsOK(res1
)) {
19036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19038 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19040 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19041 result
= (arg1
)->GetInitialFont();
19042 wxPyEndAllowThreads(__tstate
);
19043 if (PyErr_Occurred()) SWIG_fail
;
19045 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19052 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19053 PyObject
*resultobj
= 0;
19054 wxFontData
*arg1
= (wxFontData
*) 0 ;
19058 PyObject
*swig_obj
[1] ;
19060 if (!args
) SWIG_fail
;
19061 swig_obj
[0] = args
;
19062 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19063 if (!SWIG_IsOK(res1
)) {
19064 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19066 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19068 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19069 result
= (bool)(arg1
)->GetShowHelp();
19070 wxPyEndAllowThreads(__tstate
);
19071 if (PyErr_Occurred()) SWIG_fail
;
19074 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19082 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19083 PyObject
*resultobj
= 0;
19084 wxFontData
*arg1
= (wxFontData
*) 0 ;
19090 PyObject
* obj0
= 0 ;
19091 PyObject
* obj1
= 0 ;
19092 char * kwnames
[] = {
19093 (char *) "self",(char *) "allowSymbols", NULL
19096 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19097 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19098 if (!SWIG_IsOK(res1
)) {
19099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
19101 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19102 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19103 if (!SWIG_IsOK(ecode2
)) {
19104 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
19106 arg2
= static_cast< bool >(val2
);
19108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19109 (arg1
)->SetAllowSymbols(arg2
);
19110 wxPyEndAllowThreads(__tstate
);
19111 if (PyErr_Occurred()) SWIG_fail
;
19113 resultobj
= SWIG_Py_Void();
19120 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19121 PyObject
*resultobj
= 0;
19122 wxFontData
*arg1
= (wxFontData
*) 0 ;
19128 PyObject
* obj0
= 0 ;
19129 PyObject
* obj1
= 0 ;
19130 char * kwnames
[] = {
19131 (char *) "self",(char *) "font", NULL
19134 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19135 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19136 if (!SWIG_IsOK(res1
)) {
19137 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19139 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19140 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19141 if (!SWIG_IsOK(res2
)) {
19142 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19145 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19147 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19149 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19150 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
19151 wxPyEndAllowThreads(__tstate
);
19152 if (PyErr_Occurred()) SWIG_fail
;
19154 resultobj
= SWIG_Py_Void();
19161 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19162 PyObject
*resultobj
= 0;
19163 wxFontData
*arg1
= (wxFontData
*) 0 ;
19164 wxColour
*arg2
= 0 ;
19168 PyObject
* obj0
= 0 ;
19169 PyObject
* obj1
= 0 ;
19170 char * kwnames
[] = {
19171 (char *) "self",(char *) "colour", NULL
19174 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19175 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19176 if (!SWIG_IsOK(res1
)) {
19177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
19179 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19182 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
19185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19186 (arg1
)->SetColour((wxColour
const &)*arg2
);
19187 wxPyEndAllowThreads(__tstate
);
19188 if (PyErr_Occurred()) SWIG_fail
;
19190 resultobj
= SWIG_Py_Void();
19197 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19198 PyObject
*resultobj
= 0;
19199 wxFontData
*arg1
= (wxFontData
*) 0 ;
19205 PyObject
* obj0
= 0 ;
19206 PyObject
* obj1
= 0 ;
19207 char * kwnames
[] = {
19208 (char *) "self",(char *) "font", NULL
19211 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19212 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19213 if (!SWIG_IsOK(res1
)) {
19214 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
19216 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19217 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19218 if (!SWIG_IsOK(res2
)) {
19219 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19222 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
19224 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19226 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19227 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
19228 wxPyEndAllowThreads(__tstate
);
19229 if (PyErr_Occurred()) SWIG_fail
;
19231 resultobj
= SWIG_Py_Void();
19238 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19239 PyObject
*resultobj
= 0;
19240 wxFontData
*arg1
= (wxFontData
*) 0 ;
19249 PyObject
* obj0
= 0 ;
19250 PyObject
* obj1
= 0 ;
19251 PyObject
* obj2
= 0 ;
19252 char * kwnames
[] = {
19253 (char *) "self",(char *) "min",(char *) "max", NULL
19256 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19257 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19258 if (!SWIG_IsOK(res1
)) {
19259 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
19261 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19262 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19263 if (!SWIG_IsOK(ecode2
)) {
19264 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
19266 arg2
= static_cast< int >(val2
);
19267 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19268 if (!SWIG_IsOK(ecode3
)) {
19269 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
19271 arg3
= static_cast< int >(val3
);
19273 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19274 (arg1
)->SetRange(arg2
,arg3
);
19275 wxPyEndAllowThreads(__tstate
);
19276 if (PyErr_Occurred()) SWIG_fail
;
19278 resultobj
= SWIG_Py_Void();
19285 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19286 PyObject
*resultobj
= 0;
19287 wxFontData
*arg1
= (wxFontData
*) 0 ;
19293 PyObject
* obj0
= 0 ;
19294 PyObject
* obj1
= 0 ;
19295 char * kwnames
[] = {
19296 (char *) "self",(char *) "showHelp", NULL
19299 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19300 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
19301 if (!SWIG_IsOK(res1
)) {
19302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19304 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19305 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19306 if (!SWIG_IsOK(ecode2
)) {
19307 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19309 arg2
= static_cast< bool >(val2
);
19311 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19312 (arg1
)->SetShowHelp(arg2
);
19313 wxPyEndAllowThreads(__tstate
);
19314 if (PyErr_Occurred()) SWIG_fail
;
19316 resultobj
= SWIG_Py_Void();
19323 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19325 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19326 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19327 return SWIG_Py_Void();
19330 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19331 return SWIG_Python_InitShadowInstance(args
);
19334 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19335 PyObject
*resultobj
= 0;
19336 wxWindow
*arg1
= (wxWindow
*) 0 ;
19337 wxFontData
*arg2
= 0 ;
19338 wxFontDialog
*result
= 0 ;
19343 PyObject
* obj0
= 0 ;
19344 PyObject
* obj1
= 0 ;
19345 char * kwnames
[] = {
19346 (char *) "parent",(char *) "data", NULL
19349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19351 if (!SWIG_IsOK(res1
)) {
19352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19354 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19355 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19356 if (!SWIG_IsOK(res2
)) {
19357 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19360 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19362 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19364 if (!wxPyCheckForApp()) SWIG_fail
;
19365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19366 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19367 wxPyEndAllowThreads(__tstate
);
19368 if (PyErr_Occurred()) SWIG_fail
;
19370 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19377 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19378 PyObject
*resultobj
= 0;
19379 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19380 wxFontData
*result
= 0 ;
19383 PyObject
*swig_obj
[1] ;
19385 if (!args
) SWIG_fail
;
19386 swig_obj
[0] = args
;
19387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19388 if (!SWIG_IsOK(res1
)) {
19389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19391 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19395 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19396 result
= (wxFontData
*) &_result_ref
;
19398 wxPyEndAllowThreads(__tstate
);
19399 if (PyErr_Occurred()) SWIG_fail
;
19401 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19408 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19410 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19411 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19412 return SWIG_Py_Void();
19415 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19416 return SWIG_Python_InitShadowInstance(args
);
19419 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19420 PyObject
*resultobj
= 0;
19421 wxWindow
*arg1
= (wxWindow
*) NULL
;
19422 wxFont
const &arg2_defvalue
= wxNullFont
;
19423 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19424 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19425 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19431 bool temp3
= false ;
19432 PyObject
* obj0
= 0 ;
19433 PyObject
* obj1
= 0 ;
19434 PyObject
* obj2
= 0 ;
19435 char * kwnames
[] = {
19436 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19439 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19441 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19442 if (!SWIG_IsOK(res1
)) {
19443 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19445 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19448 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19449 if (!SWIG_IsOK(res2
)) {
19450 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19453 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19455 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19459 arg3
= wxString_in_helper(obj2
);
19460 if (arg3
== NULL
) SWIG_fail
;
19465 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19466 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19467 wxPyEndAllowThreads(__tstate
);
19468 if (PyErr_Occurred()) SWIG_fail
;
19470 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19485 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19486 PyObject
*resultobj
= 0;
19487 wxWindow
*arg1
= (wxWindow
*) 0 ;
19488 wxString
*arg2
= 0 ;
19489 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19490 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19491 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19492 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19493 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19494 wxMessageDialog
*result
= 0 ;
19497 bool temp2
= false ;
19498 bool temp3
= false ;
19502 PyObject
* obj0
= 0 ;
19503 PyObject
* obj1
= 0 ;
19504 PyObject
* obj2
= 0 ;
19505 PyObject
* obj3
= 0 ;
19506 PyObject
* obj4
= 0 ;
19507 char * kwnames
[] = {
19508 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19511 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19512 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19513 if (!SWIG_IsOK(res1
)) {
19514 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19516 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19518 arg2
= wxString_in_helper(obj1
);
19519 if (arg2
== NULL
) SWIG_fail
;
19524 arg3
= wxString_in_helper(obj2
);
19525 if (arg3
== NULL
) SWIG_fail
;
19530 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19531 if (!SWIG_IsOK(ecode4
)) {
19532 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19534 arg4
= static_cast< long >(val4
);
19539 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19543 if (!wxPyCheckForApp()) SWIG_fail
;
19544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19545 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19546 wxPyEndAllowThreads(__tstate
);
19547 if (PyErr_Occurred()) SWIG_fail
;
19549 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19572 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19574 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19575 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19576 return SWIG_Py_Void();
19579 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19580 return SWIG_Python_InitShadowInstance(args
);
19583 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19584 PyObject
*resultobj
= 0;
19585 wxString
*arg1
= 0 ;
19586 wxString
*arg2
= 0 ;
19587 int arg3
= (int) 100 ;
19588 wxWindow
*arg4
= (wxWindow
*) NULL
;
19589 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19590 wxProgressDialog
*result
= 0 ;
19591 bool temp1
= false ;
19592 bool temp2
= false ;
19599 PyObject
* obj0
= 0 ;
19600 PyObject
* obj1
= 0 ;
19601 PyObject
* obj2
= 0 ;
19602 PyObject
* obj3
= 0 ;
19603 PyObject
* obj4
= 0 ;
19604 char * kwnames
[] = {
19605 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19608 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19610 arg1
= wxString_in_helper(obj0
);
19611 if (arg1
== NULL
) SWIG_fail
;
19615 arg2
= wxString_in_helper(obj1
);
19616 if (arg2
== NULL
) SWIG_fail
;
19620 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19621 if (!SWIG_IsOK(ecode3
)) {
19622 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19624 arg3
= static_cast< int >(val3
);
19627 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19628 if (!SWIG_IsOK(res4
)) {
19629 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19631 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19634 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19635 if (!SWIG_IsOK(ecode5
)) {
19636 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19638 arg5
= static_cast< int >(val5
);
19641 if (!wxPyCheckForApp()) SWIG_fail
;
19642 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19643 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19644 wxPyEndAllowThreads(__tstate
);
19645 if (PyErr_Occurred()) SWIG_fail
;
19647 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19670 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19671 PyObject
*resultobj
= 0;
19672 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19674 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19675 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19676 bool *arg4
= (bool *) 0 ;
19682 bool temp3
= false ;
19684 int res4
= SWIG_TMPOBJ
;
19685 PyObject
* obj0
= 0 ;
19686 PyObject
* obj1
= 0 ;
19687 PyObject
* obj2
= 0 ;
19688 char * kwnames
[] = {
19689 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19695 if (!SWIG_IsOK(res1
)) {
19696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19698 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19700 if (!SWIG_IsOK(ecode2
)) {
19701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19703 arg2
= static_cast< int >(val2
);
19706 arg3
= wxString_in_helper(obj2
);
19707 if (arg3
== NULL
) SWIG_fail
;
19712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19713 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19714 wxPyEndAllowThreads(__tstate
);
19715 if (PyErr_Occurred()) SWIG_fail
;
19718 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19720 if (SWIG_IsTmpObj(res4
)) {
19721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19723 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19724 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19740 SWIGINTERN PyObject
*_wrap_ProgressDialog_Pulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19741 PyObject
*resultobj
= 0;
19742 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19743 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19744 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19745 bool *arg3
= (bool *) 0 ;
19749 bool temp2
= false ;
19751 int res3
= SWIG_TMPOBJ
;
19752 PyObject
* obj0
= 0 ;
19753 PyObject
* obj1
= 0 ;
19754 char * kwnames
[] = {
19755 (char *) "self",(char *) "newmsg", NULL
19759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_Pulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19761 if (!SWIG_IsOK(res1
)) {
19762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Pulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19764 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19767 arg2
= wxString_in_helper(obj1
);
19768 if (arg2
== NULL
) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 result
= (bool)(arg1
)->Pulse((wxString
const &)*arg2
,arg3
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19779 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19781 if (SWIG_IsTmpObj(res3
)) {
19782 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19784 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19785 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19801 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19802 PyObject
*resultobj
= 0;
19803 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19806 PyObject
*swig_obj
[1] ;
19808 if (!args
) SWIG_fail
;
19809 swig_obj
[0] = args
;
19810 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19811 if (!SWIG_IsOK(res1
)) {
19812 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19814 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19816 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19818 wxPyEndAllowThreads(__tstate
);
19819 if (PyErr_Occurred()) SWIG_fail
;
19821 resultobj
= SWIG_Py_Void();
19828 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19830 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19831 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19832 return SWIG_Py_Void();
19835 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19836 return SWIG_Python_InitShadowInstance(args
);
19839 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19840 PyObject
*resultobj
= 0;
19841 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19842 int arg2
= (int) 0 ;
19843 wxFindDialogEvent
*result
= 0 ;
19848 PyObject
* obj0
= 0 ;
19849 PyObject
* obj1
= 0 ;
19850 char * kwnames
[] = {
19851 (char *) "commandType",(char *) "id", NULL
19854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19856 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19857 if (!SWIG_IsOK(ecode1
)) {
19858 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19860 arg1
= static_cast< wxEventType
>(val1
);
19863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19864 if (!SWIG_IsOK(ecode2
)) {
19865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19867 arg2
= static_cast< int >(val2
);
19870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19871 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19872 wxPyEndAllowThreads(__tstate
);
19873 if (PyErr_Occurred()) SWIG_fail
;
19875 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19882 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19883 PyObject
*resultobj
= 0;
19884 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19888 PyObject
*swig_obj
[1] ;
19890 if (!args
) SWIG_fail
;
19891 swig_obj
[0] = args
;
19892 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19893 if (!SWIG_IsOK(res1
)) {
19894 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19896 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19898 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 result
= (int)(arg1
)->GetFlags();
19900 wxPyEndAllowThreads(__tstate
);
19901 if (PyErr_Occurred()) SWIG_fail
;
19903 resultobj
= SWIG_From_int(static_cast< int >(result
));
19910 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19911 PyObject
*resultobj
= 0;
19912 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19913 wxString
*result
= 0 ;
19916 PyObject
*swig_obj
[1] ;
19918 if (!args
) SWIG_fail
;
19919 swig_obj
[0] = args
;
19920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19921 if (!SWIG_IsOK(res1
)) {
19922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19924 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19928 wxString
const &_result_ref
= (arg1
)->GetFindString();
19929 result
= (wxString
*) &_result_ref
;
19931 wxPyEndAllowThreads(__tstate
);
19932 if (PyErr_Occurred()) SWIG_fail
;
19936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19947 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19948 PyObject
*resultobj
= 0;
19949 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19950 wxString
*result
= 0 ;
19953 PyObject
*swig_obj
[1] ;
19955 if (!args
) SWIG_fail
;
19956 swig_obj
[0] = args
;
19957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19958 if (!SWIG_IsOK(res1
)) {
19959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19961 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19965 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19966 result
= (wxString
*) &_result_ref
;
19968 wxPyEndAllowThreads(__tstate
);
19969 if (PyErr_Occurred()) SWIG_fail
;
19973 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19975 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19984 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19985 PyObject
*resultobj
= 0;
19986 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19987 wxFindReplaceDialog
*result
= 0 ;
19990 PyObject
*swig_obj
[1] ;
19992 if (!args
) SWIG_fail
;
19993 swig_obj
[0] = args
;
19994 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19995 if (!SWIG_IsOK(res1
)) {
19996 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19998 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20001 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
20002 wxPyEndAllowThreads(__tstate
);
20003 if (PyErr_Occurred()) SWIG_fail
;
20005 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20012 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20013 PyObject
*resultobj
= 0;
20014 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20020 PyObject
* obj0
= 0 ;
20021 PyObject
* obj1
= 0 ;
20022 char * kwnames
[] = {
20023 (char *) "self",(char *) "flags", NULL
20026 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20027 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20028 if (!SWIG_IsOK(res1
)) {
20029 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20031 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20033 if (!SWIG_IsOK(ecode2
)) {
20034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
20036 arg2
= static_cast< int >(val2
);
20038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20039 (arg1
)->SetFlags(arg2
);
20040 wxPyEndAllowThreads(__tstate
);
20041 if (PyErr_Occurred()) SWIG_fail
;
20043 resultobj
= SWIG_Py_Void();
20050 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20051 PyObject
*resultobj
= 0;
20052 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20053 wxString
*arg2
= 0 ;
20056 bool temp2
= false ;
20057 PyObject
* obj0
= 0 ;
20058 PyObject
* obj1
= 0 ;
20059 char * kwnames
[] = {
20060 (char *) "self",(char *) "str", NULL
20063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20065 if (!SWIG_IsOK(res1
)) {
20066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20068 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20070 arg2
= wxString_in_helper(obj1
);
20071 if (arg2
== NULL
) SWIG_fail
;
20075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20076 (arg1
)->SetFindString((wxString
const &)*arg2
);
20077 wxPyEndAllowThreads(__tstate
);
20078 if (PyErr_Occurred()) SWIG_fail
;
20080 resultobj
= SWIG_Py_Void();
20095 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20096 PyObject
*resultobj
= 0;
20097 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
20098 wxString
*arg2
= 0 ;
20101 bool temp2
= false ;
20102 PyObject
* obj0
= 0 ;
20103 PyObject
* obj1
= 0 ;
20104 char * kwnames
[] = {
20105 (char *) "self",(char *) "str", NULL
20108 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20109 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
20110 if (!SWIG_IsOK(res1
)) {
20111 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
20113 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
20115 arg2
= wxString_in_helper(obj1
);
20116 if (arg2
== NULL
) SWIG_fail
;
20120 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20121 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20122 wxPyEndAllowThreads(__tstate
);
20123 if (PyErr_Occurred()) SWIG_fail
;
20125 resultobj
= SWIG_Py_Void();
20140 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20143 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
20144 return SWIG_Py_Void();
20147 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20148 return SWIG_Python_InitShadowInstance(args
);
20151 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20152 PyObject
*resultobj
= 0;
20153 int arg1
= (int) 0 ;
20154 wxFindReplaceData
*result
= 0 ;
20157 PyObject
* obj0
= 0 ;
20158 char * kwnames
[] = {
20159 (char *) "flags", NULL
20162 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
20164 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
20165 if (!SWIG_IsOK(ecode1
)) {
20166 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
20168 arg1
= static_cast< int >(val1
);
20171 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20172 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
20173 wxPyEndAllowThreads(__tstate
);
20174 if (PyErr_Occurred()) SWIG_fail
;
20176 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
20183 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20184 PyObject
*resultobj
= 0;
20185 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20188 PyObject
*swig_obj
[1] ;
20190 if (!args
) SWIG_fail
;
20191 swig_obj
[0] = args
;
20192 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
20193 if (!SWIG_IsOK(res1
)) {
20194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20196 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20201 wxPyEndAllowThreads(__tstate
);
20202 if (PyErr_Occurred()) SWIG_fail
;
20204 resultobj
= SWIG_Py_Void();
20211 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20212 PyObject
*resultobj
= 0;
20213 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20214 wxString
*result
= 0 ;
20217 PyObject
*swig_obj
[1] ;
20219 if (!args
) SWIG_fail
;
20220 swig_obj
[0] = args
;
20221 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20222 if (!SWIG_IsOK(res1
)) {
20223 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20225 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20229 wxString
const &_result_ref
= (arg1
)->GetFindString();
20230 result
= (wxString
*) &_result_ref
;
20232 wxPyEndAllowThreads(__tstate
);
20233 if (PyErr_Occurred()) SWIG_fail
;
20237 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20239 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20248 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20249 PyObject
*resultobj
= 0;
20250 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20251 wxString
*result
= 0 ;
20254 PyObject
*swig_obj
[1] ;
20256 if (!args
) SWIG_fail
;
20257 swig_obj
[0] = args
;
20258 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20259 if (!SWIG_IsOK(res1
)) {
20260 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20262 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20264 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20266 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
20267 result
= (wxString
*) &_result_ref
;
20269 wxPyEndAllowThreads(__tstate
);
20270 if (PyErr_Occurred()) SWIG_fail
;
20274 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
20276 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
20285 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20286 PyObject
*resultobj
= 0;
20287 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20291 PyObject
*swig_obj
[1] ;
20293 if (!args
) SWIG_fail
;
20294 swig_obj
[0] = args
;
20295 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20296 if (!SWIG_IsOK(res1
)) {
20297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20299 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20301 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20302 result
= (int)(arg1
)->GetFlags();
20303 wxPyEndAllowThreads(__tstate
);
20304 if (PyErr_Occurred()) SWIG_fail
;
20306 resultobj
= SWIG_From_int(static_cast< int >(result
));
20313 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20314 PyObject
*resultobj
= 0;
20315 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20321 PyObject
* obj0
= 0 ;
20322 PyObject
* obj1
= 0 ;
20323 char * kwnames
[] = {
20324 (char *) "self",(char *) "flags", NULL
20327 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20328 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20329 if (!SWIG_IsOK(res1
)) {
20330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20332 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20333 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20334 if (!SWIG_IsOK(ecode2
)) {
20335 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20337 arg2
= static_cast< int >(val2
);
20339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20340 (arg1
)->SetFlags(arg2
);
20341 wxPyEndAllowThreads(__tstate
);
20342 if (PyErr_Occurred()) SWIG_fail
;
20344 resultobj
= SWIG_Py_Void();
20351 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20352 PyObject
*resultobj
= 0;
20353 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20354 wxString
*arg2
= 0 ;
20357 bool temp2
= false ;
20358 PyObject
* obj0
= 0 ;
20359 PyObject
* obj1
= 0 ;
20360 char * kwnames
[] = {
20361 (char *) "self",(char *) "str", NULL
20364 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20365 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20366 if (!SWIG_IsOK(res1
)) {
20367 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20369 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20371 arg2
= wxString_in_helper(obj1
);
20372 if (arg2
== NULL
) SWIG_fail
;
20376 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20377 (arg1
)->SetFindString((wxString
const &)*arg2
);
20378 wxPyEndAllowThreads(__tstate
);
20379 if (PyErr_Occurred()) SWIG_fail
;
20381 resultobj
= SWIG_Py_Void();
20396 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20397 PyObject
*resultobj
= 0;
20398 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20399 wxString
*arg2
= 0 ;
20402 bool temp2
= false ;
20403 PyObject
* obj0
= 0 ;
20404 PyObject
* obj1
= 0 ;
20405 char * kwnames
[] = {
20406 (char *) "self",(char *) "str", NULL
20409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20411 if (!SWIG_IsOK(res1
)) {
20412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20414 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20416 arg2
= wxString_in_helper(obj1
);
20417 if (arg2
== NULL
) SWIG_fail
;
20421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20422 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20423 wxPyEndAllowThreads(__tstate
);
20424 if (PyErr_Occurred()) SWIG_fail
;
20426 resultobj
= SWIG_Py_Void();
20441 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20443 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20444 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20445 return SWIG_Py_Void();
20448 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20449 return SWIG_Python_InitShadowInstance(args
);
20452 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20453 PyObject
*resultobj
= 0;
20454 wxWindow
*arg1
= (wxWindow
*) 0 ;
20455 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20456 wxString
*arg3
= 0 ;
20457 int arg4
= (int) 0 ;
20458 wxFindReplaceDialog
*result
= 0 ;
20463 bool temp3
= false ;
20466 PyObject
* obj0
= 0 ;
20467 PyObject
* obj1
= 0 ;
20468 PyObject
* obj2
= 0 ;
20469 PyObject
* obj3
= 0 ;
20470 char * kwnames
[] = {
20471 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20474 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20475 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20476 if (!SWIG_IsOK(res1
)) {
20477 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20479 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20480 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20481 if (!SWIG_IsOK(res2
)) {
20482 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20484 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20486 arg3
= wxString_in_helper(obj2
);
20487 if (arg3
== NULL
) SWIG_fail
;
20491 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20492 if (!SWIG_IsOK(ecode4
)) {
20493 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20495 arg4
= static_cast< int >(val4
);
20498 if (!wxPyCheckForApp()) SWIG_fail
;
20499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20500 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20501 wxPyEndAllowThreads(__tstate
);
20502 if (PyErr_Occurred()) SWIG_fail
;
20504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20519 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20520 PyObject
*resultobj
= 0;
20521 wxFindReplaceDialog
*result
= 0 ;
20523 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20525 if (!wxPyCheckForApp()) SWIG_fail
;
20526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20527 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20528 wxPyEndAllowThreads(__tstate
);
20529 if (PyErr_Occurred()) SWIG_fail
;
20531 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20538 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20539 PyObject
*resultobj
= 0;
20540 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20541 wxWindow
*arg2
= (wxWindow
*) 0 ;
20542 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20543 wxString
*arg4
= 0 ;
20544 int arg5
= (int) 0 ;
20552 bool temp4
= false ;
20555 PyObject
* obj0
= 0 ;
20556 PyObject
* obj1
= 0 ;
20557 PyObject
* obj2
= 0 ;
20558 PyObject
* obj3
= 0 ;
20559 PyObject
* obj4
= 0 ;
20560 char * kwnames
[] = {
20561 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20564 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20565 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20566 if (!SWIG_IsOK(res1
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20569 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20570 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20571 if (!SWIG_IsOK(res2
)) {
20572 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20574 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20575 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20576 if (!SWIG_IsOK(res3
)) {
20577 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20579 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20581 arg4
= wxString_in_helper(obj3
);
20582 if (arg4
== NULL
) SWIG_fail
;
20586 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20587 if (!SWIG_IsOK(ecode5
)) {
20588 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20590 arg5
= static_cast< int >(val5
);
20593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20594 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20595 wxPyEndAllowThreads(__tstate
);
20596 if (PyErr_Occurred()) SWIG_fail
;
20599 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20615 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20616 PyObject
*resultobj
= 0;
20617 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20618 wxFindReplaceData
*result
= 0 ;
20621 PyObject
*swig_obj
[1] ;
20623 if (!args
) SWIG_fail
;
20624 swig_obj
[0] = args
;
20625 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20626 if (!SWIG_IsOK(res1
)) {
20627 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20629 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20632 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20633 wxPyEndAllowThreads(__tstate
);
20634 if (PyErr_Occurred()) SWIG_fail
;
20636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20643 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20644 PyObject
*resultobj
= 0;
20645 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20646 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20651 PyObject
* obj0
= 0 ;
20652 PyObject
* obj1
= 0 ;
20653 char * kwnames
[] = {
20654 (char *) "self",(char *) "data", NULL
20657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20659 if (!SWIG_IsOK(res1
)) {
20660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20662 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20663 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20664 if (!SWIG_IsOK(res2
)) {
20665 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20667 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20670 (arg1
)->SetData(arg2
);
20671 wxPyEndAllowThreads(__tstate
);
20672 if (PyErr_Occurred()) SWIG_fail
;
20674 resultobj
= SWIG_Py_Void();
20681 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20683 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20684 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20685 return SWIG_Py_Void();
20688 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20689 return SWIG_Python_InitShadowInstance(args
);
20692 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20693 PyObject
*resultobj
= 0;
20694 wxWindow
*arg1
= (wxWindow
*) 0 ;
20695 int arg2
= (int) (int)-1 ;
20696 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20697 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20698 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20699 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20700 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20701 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20702 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20703 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20704 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20705 wxMDIParentFrame
*result
= 0 ;
20710 bool temp3
= false ;
20715 bool temp7
= false ;
20716 PyObject
* obj0
= 0 ;
20717 PyObject
* obj1
= 0 ;
20718 PyObject
* obj2
= 0 ;
20719 PyObject
* obj3
= 0 ;
20720 PyObject
* obj4
= 0 ;
20721 PyObject
* obj5
= 0 ;
20722 PyObject
* obj6
= 0 ;
20723 char * kwnames
[] = {
20724 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20727 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20728 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20729 if (!SWIG_IsOK(res1
)) {
20730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20732 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20734 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20735 if (!SWIG_IsOK(ecode2
)) {
20736 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20738 arg2
= static_cast< int >(val2
);
20742 arg3
= wxString_in_helper(obj2
);
20743 if (arg3
== NULL
) SWIG_fail
;
20750 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20756 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20760 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20761 if (!SWIG_IsOK(ecode6
)) {
20762 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20764 arg6
= static_cast< long >(val6
);
20768 arg7
= wxString_in_helper(obj6
);
20769 if (arg7
== NULL
) SWIG_fail
;
20774 if (!wxPyCheckForApp()) SWIG_fail
;
20775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20776 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20777 wxPyEndAllowThreads(__tstate
);
20778 if (PyErr_Occurred()) SWIG_fail
;
20780 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20803 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20804 PyObject
*resultobj
= 0;
20805 wxMDIParentFrame
*result
= 0 ;
20807 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20809 if (!wxPyCheckForApp()) SWIG_fail
;
20810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20811 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20812 wxPyEndAllowThreads(__tstate
);
20813 if (PyErr_Occurred()) SWIG_fail
;
20815 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20822 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20823 PyObject
*resultobj
= 0;
20824 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20825 wxWindow
*arg2
= (wxWindow
*) 0 ;
20826 int arg3
= (int) (int)-1 ;
20827 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20828 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20829 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20830 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20831 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20832 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20833 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20834 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20835 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20843 bool temp4
= false ;
20848 bool temp8
= false ;
20849 PyObject
* obj0
= 0 ;
20850 PyObject
* obj1
= 0 ;
20851 PyObject
* obj2
= 0 ;
20852 PyObject
* obj3
= 0 ;
20853 PyObject
* obj4
= 0 ;
20854 PyObject
* obj5
= 0 ;
20855 PyObject
* obj6
= 0 ;
20856 PyObject
* obj7
= 0 ;
20857 char * kwnames
[] = {
20858 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20861 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20862 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20863 if (!SWIG_IsOK(res1
)) {
20864 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20866 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20867 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20868 if (!SWIG_IsOK(res2
)) {
20869 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20871 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20873 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20874 if (!SWIG_IsOK(ecode3
)) {
20875 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20877 arg3
= static_cast< int >(val3
);
20881 arg4
= wxString_in_helper(obj3
);
20882 if (arg4
== NULL
) SWIG_fail
;
20889 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20895 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20899 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20900 if (!SWIG_IsOK(ecode7
)) {
20901 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20903 arg7
= static_cast< long >(val7
);
20907 arg8
= wxString_in_helper(obj7
);
20908 if (arg8
== NULL
) SWIG_fail
;
20913 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20914 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20915 wxPyEndAllowThreads(__tstate
);
20916 if (PyErr_Occurred()) SWIG_fail
;
20919 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20943 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20944 PyObject
*resultobj
= 0;
20945 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20948 PyObject
*swig_obj
[1] ;
20950 if (!args
) SWIG_fail
;
20951 swig_obj
[0] = args
;
20952 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20953 if (!SWIG_IsOK(res1
)) {
20954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20956 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20958 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20959 (arg1
)->ActivateNext();
20960 wxPyEndAllowThreads(__tstate
);
20961 if (PyErr_Occurred()) SWIG_fail
;
20963 resultobj
= SWIG_Py_Void();
20970 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20971 PyObject
*resultobj
= 0;
20972 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20975 PyObject
*swig_obj
[1] ;
20977 if (!args
) SWIG_fail
;
20978 swig_obj
[0] = args
;
20979 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20980 if (!SWIG_IsOK(res1
)) {
20981 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20983 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20986 (arg1
)->ActivatePrevious();
20987 wxPyEndAllowThreads(__tstate
);
20988 if (PyErr_Occurred()) SWIG_fail
;
20990 resultobj
= SWIG_Py_Void();
20997 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20998 PyObject
*resultobj
= 0;
20999 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21002 PyObject
*swig_obj
[1] ;
21004 if (!args
) SWIG_fail
;
21005 swig_obj
[0] = args
;
21006 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21007 if (!SWIG_IsOK(res1
)) {
21008 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21010 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21013 (arg1
)->ArrangeIcons();
21014 wxPyEndAllowThreads(__tstate
);
21015 if (PyErr_Occurred()) SWIG_fail
;
21017 resultobj
= SWIG_Py_Void();
21024 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21025 PyObject
*resultobj
= 0;
21026 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21029 PyObject
*swig_obj
[1] ;
21031 if (!args
) SWIG_fail
;
21032 swig_obj
[0] = args
;
21033 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21034 if (!SWIG_IsOK(res1
)) {
21035 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21037 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21041 wxPyEndAllowThreads(__tstate
);
21042 if (PyErr_Occurred()) SWIG_fail
;
21044 resultobj
= SWIG_Py_Void();
21051 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21052 PyObject
*resultobj
= 0;
21053 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21054 wxMDIChildFrame
*result
= 0 ;
21057 PyObject
*swig_obj
[1] ;
21059 if (!args
) SWIG_fail
;
21060 swig_obj
[0] = args
;
21061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21062 if (!SWIG_IsOK(res1
)) {
21063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21065 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21068 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
21069 wxPyEndAllowThreads(__tstate
);
21070 if (PyErr_Occurred()) SWIG_fail
;
21073 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21081 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21082 PyObject
*resultobj
= 0;
21083 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21084 wxMDIClientWindow
*result
= 0 ;
21087 PyObject
*swig_obj
[1] ;
21089 if (!args
) SWIG_fail
;
21090 swig_obj
[0] = args
;
21091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21092 if (!SWIG_IsOK(res1
)) {
21093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21095 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21098 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
21099 wxPyEndAllowThreads(__tstate
);
21100 if (PyErr_Occurred()) SWIG_fail
;
21103 resultobj
= wxPyMake_wxObject(result
, (bool)0);
21111 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21112 PyObject
*resultobj
= 0;
21113 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21114 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
21119 PyObject
* obj0
= 0 ;
21120 PyObject
* obj1
= 0 ;
21121 char * kwnames
[] = {
21122 (char *) "self",(char *) "orient", NULL
21125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21127 if (!SWIG_IsOK(res1
)) {
21128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21130 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21132 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21133 if (!SWIG_IsOK(ecode2
)) {
21134 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
21136 arg2
= static_cast< wxOrientation
>(val2
);
21139 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21140 (arg1
)->Tile(arg2
);
21141 wxPyEndAllowThreads(__tstate
);
21142 if (PyErr_Occurred()) SWIG_fail
;
21144 resultobj
= SWIG_Py_Void();
21151 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21153 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21154 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
21155 return SWIG_Py_Void();
21158 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21159 return SWIG_Python_InitShadowInstance(args
);
21162 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21163 PyObject
*resultobj
= 0;
21164 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21165 int arg2
= (int) (int)-1 ;
21166 wxString
const &arg3_defvalue
= wxPyEmptyString
;
21167 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
21168 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
21169 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
21170 wxSize
const &arg5_defvalue
= wxDefaultSize
;
21171 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
21172 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
21173 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
21174 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
21175 wxMDIChildFrame
*result
= 0 ;
21180 bool temp3
= false ;
21185 bool temp7
= false ;
21186 PyObject
* obj0
= 0 ;
21187 PyObject
* obj1
= 0 ;
21188 PyObject
* obj2
= 0 ;
21189 PyObject
* obj3
= 0 ;
21190 PyObject
* obj4
= 0 ;
21191 PyObject
* obj5
= 0 ;
21192 PyObject
* obj6
= 0 ;
21193 char * kwnames
[] = {
21194 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
21198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21199 if (!SWIG_IsOK(res1
)) {
21200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21202 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21204 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21205 if (!SWIG_IsOK(ecode2
)) {
21206 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
21208 arg2
= static_cast< int >(val2
);
21212 arg3
= wxString_in_helper(obj2
);
21213 if (arg3
== NULL
) SWIG_fail
;
21220 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
21226 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
21230 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
21231 if (!SWIG_IsOK(ecode6
)) {
21232 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
21234 arg6
= static_cast< long >(val6
);
21238 arg7
= wxString_in_helper(obj6
);
21239 if (arg7
== NULL
) SWIG_fail
;
21244 if (!wxPyCheckForApp()) SWIG_fail
;
21245 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21246 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
21247 wxPyEndAllowThreads(__tstate
);
21248 if (PyErr_Occurred()) SWIG_fail
;
21250 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
21273 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21274 PyObject
*resultobj
= 0;
21275 wxMDIChildFrame
*result
= 0 ;
21277 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
21279 if (!wxPyCheckForApp()) SWIG_fail
;
21280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21281 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
21282 wxPyEndAllowThreads(__tstate
);
21283 if (PyErr_Occurred()) SWIG_fail
;
21285 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
21292 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21293 PyObject
*resultobj
= 0;
21294 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21295 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21296 int arg3
= (int) (int)-1 ;
21297 wxString
const &arg4_defvalue
= wxPyEmptyString
;
21298 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
21299 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
21300 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
21301 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21302 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21303 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21304 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21305 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21313 bool temp4
= false ;
21318 bool temp8
= false ;
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 PyObject
* obj6
= 0 ;
21326 PyObject
* obj7
= 0 ;
21327 char * kwnames
[] = {
21328 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21331 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21332 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21333 if (!SWIG_IsOK(res1
)) {
21334 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21336 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21337 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21338 if (!SWIG_IsOK(res2
)) {
21339 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21341 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21343 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21344 if (!SWIG_IsOK(ecode3
)) {
21345 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21347 arg3
= static_cast< int >(val3
);
21351 arg4
= wxString_in_helper(obj3
);
21352 if (arg4
== NULL
) SWIG_fail
;
21359 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21365 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21369 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21370 if (!SWIG_IsOK(ecode7
)) {
21371 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21373 arg7
= static_cast< long >(val7
);
21377 arg8
= wxString_in_helper(obj7
);
21378 if (arg8
== NULL
) SWIG_fail
;
21383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21384 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21385 wxPyEndAllowThreads(__tstate
);
21386 if (PyErr_Occurred()) SWIG_fail
;
21389 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21413 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21414 PyObject
*resultobj
= 0;
21415 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21418 PyObject
*swig_obj
[1] ;
21420 if (!args
) SWIG_fail
;
21421 swig_obj
[0] = args
;
21422 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21423 if (!SWIG_IsOK(res1
)) {
21424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21426 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21428 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21429 (arg1
)->Activate();
21430 wxPyEndAllowThreads(__tstate
);
21431 if (PyErr_Occurred()) SWIG_fail
;
21433 resultobj
= SWIG_Py_Void();
21440 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21442 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21443 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21444 return SWIG_Py_Void();
21447 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21448 return SWIG_Python_InitShadowInstance(args
);
21451 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21452 PyObject
*resultobj
= 0;
21453 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21454 long arg2
= (long) 0 ;
21455 wxMDIClientWindow
*result
= 0 ;
21460 PyObject
* obj0
= 0 ;
21461 PyObject
* obj1
= 0 ;
21462 char * kwnames
[] = {
21463 (char *) "parent",(char *) "style", NULL
21466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21468 if (!SWIG_IsOK(res1
)) {
21469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21471 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21473 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21474 if (!SWIG_IsOK(ecode2
)) {
21475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21477 arg2
= static_cast< long >(val2
);
21480 if (!wxPyCheckForApp()) SWIG_fail
;
21481 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21482 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21483 wxPyEndAllowThreads(__tstate
);
21484 if (PyErr_Occurred()) SWIG_fail
;
21486 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21493 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21494 PyObject
*resultobj
= 0;
21495 wxMDIClientWindow
*result
= 0 ;
21497 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21499 if (!wxPyCheckForApp()) SWIG_fail
;
21500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21501 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21502 wxPyEndAllowThreads(__tstate
);
21503 if (PyErr_Occurred()) SWIG_fail
;
21505 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21512 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21513 PyObject
*resultobj
= 0;
21514 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21515 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21516 long arg3
= (long) 0 ;
21524 PyObject
* obj0
= 0 ;
21525 PyObject
* obj1
= 0 ;
21526 PyObject
* obj2
= 0 ;
21527 char * kwnames
[] = {
21528 (char *) "self",(char *) "parent",(char *) "style", NULL
21531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21533 if (!SWIG_IsOK(res1
)) {
21534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21536 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21537 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21538 if (!SWIG_IsOK(res2
)) {
21539 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21541 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21543 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21544 if (!SWIG_IsOK(ecode3
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21547 arg3
= static_cast< long >(val3
);
21550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21551 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21552 wxPyEndAllowThreads(__tstate
);
21553 if (PyErr_Occurred()) SWIG_fail
;
21556 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21564 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21566 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21567 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21568 return SWIG_Py_Void();
21571 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21572 return SWIG_Python_InitShadowInstance(args
);
21575 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21576 PyObject
*resultobj
= 0;
21577 wxWindow
*arg1
= (wxWindow
*) 0 ;
21578 int arg2
= (int) (int)-1 ;
21579 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21580 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21581 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21582 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21583 long arg5
= (long) 0 ;
21584 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21585 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21586 wxPyWindow
*result
= 0 ;
21595 bool temp6
= false ;
21596 PyObject
* obj0
= 0 ;
21597 PyObject
* obj1
= 0 ;
21598 PyObject
* obj2
= 0 ;
21599 PyObject
* obj3
= 0 ;
21600 PyObject
* obj4
= 0 ;
21601 PyObject
* obj5
= 0 ;
21602 char * kwnames
[] = {
21603 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21608 if (!SWIG_IsOK(res1
)) {
21609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21611 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21613 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21614 if (!SWIG_IsOK(ecode2
)) {
21615 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21617 arg2
= static_cast< int >(val2
);
21622 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21628 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21632 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21633 if (!SWIG_IsOK(ecode5
)) {
21634 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21636 arg5
= static_cast< long >(val5
);
21640 arg6
= wxString_in_helper(obj5
);
21641 if (arg6
== NULL
) SWIG_fail
;
21646 if (!wxPyCheckForApp()) SWIG_fail
;
21647 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21648 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21649 wxPyEndAllowThreads(__tstate
);
21650 if (PyErr_Occurred()) SWIG_fail
;
21652 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21667 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21668 PyObject
*resultobj
= 0;
21669 wxPyWindow
*result
= 0 ;
21671 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21673 if (!wxPyCheckForApp()) SWIG_fail
;
21674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21675 result
= (wxPyWindow
*)new wxPyWindow();
21676 wxPyEndAllowThreads(__tstate
);
21677 if (PyErr_Occurred()) SWIG_fail
;
21679 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21686 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21687 PyObject
*resultobj
= 0;
21688 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21689 PyObject
*arg2
= (PyObject
*) 0 ;
21690 PyObject
*arg3
= (PyObject
*) 0 ;
21693 PyObject
* obj0
= 0 ;
21694 PyObject
* obj1
= 0 ;
21695 PyObject
* obj2
= 0 ;
21696 char * kwnames
[] = {
21697 (char *) "self",(char *) "self",(char *) "_class", NULL
21700 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21701 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21702 if (!SWIG_IsOK(res1
)) {
21703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21705 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21710 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21711 wxPyEndAllowThreads(__tstate
);
21712 if (PyErr_Occurred()) SWIG_fail
;
21714 resultobj
= SWIG_Py_Void();
21721 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21722 PyObject
*resultobj
= 0;
21723 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21724 wxDC
*arg2
= (wxDC
*) 0 ;
21730 PyObject
* obj0
= 0 ;
21731 PyObject
* obj1
= 0 ;
21732 char * kwnames
[] = {
21733 (char *) "self",(char *) "dc", NULL
21736 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21737 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21738 if (!SWIG_IsOK(res1
)) {
21739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21741 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21742 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21743 if (!SWIG_IsOK(res2
)) {
21744 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21746 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21748 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21749 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21750 wxPyEndAllowThreads(__tstate
);
21751 if (PyErr_Occurred()) SWIG_fail
;
21754 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21762 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21763 PyObject
*resultobj
= 0;
21764 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21779 PyObject
* obj0
= 0 ;
21780 PyObject
* obj1
= 0 ;
21781 PyObject
* obj2
= 0 ;
21782 PyObject
* obj3
= 0 ;
21783 PyObject
* obj4
= 0 ;
21784 char * kwnames
[] = {
21785 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21788 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21789 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21790 if (!SWIG_IsOK(res1
)) {
21791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21793 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21794 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21795 if (!SWIG_IsOK(ecode2
)) {
21796 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21798 arg2
= static_cast< int >(val2
);
21799 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21800 if (!SWIG_IsOK(ecode3
)) {
21801 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21803 arg3
= static_cast< int >(val3
);
21804 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21805 if (!SWIG_IsOK(ecode4
)) {
21806 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21808 arg4
= static_cast< int >(val4
);
21809 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21810 if (!SWIG_IsOK(ecode5
)) {
21811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21813 arg5
= static_cast< int >(val5
);
21815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21816 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21817 wxPyEndAllowThreads(__tstate
);
21818 if (PyErr_Occurred()) SWIG_fail
;
21820 resultobj
= SWIG_Py_Void();
21827 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21828 PyObject
*resultobj
= 0;
21829 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21834 int arg6
= (int) wxSIZE_AUTO
;
21847 PyObject
* obj0
= 0 ;
21848 PyObject
* obj1
= 0 ;
21849 PyObject
* obj2
= 0 ;
21850 PyObject
* obj3
= 0 ;
21851 PyObject
* obj4
= 0 ;
21852 PyObject
* obj5
= 0 ;
21853 char * kwnames
[] = {
21854 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21857 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21858 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21859 if (!SWIG_IsOK(res1
)) {
21860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21862 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21863 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21864 if (!SWIG_IsOK(ecode2
)) {
21865 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21867 arg2
= static_cast< int >(val2
);
21868 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21869 if (!SWIG_IsOK(ecode3
)) {
21870 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21872 arg3
= static_cast< int >(val3
);
21873 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21874 if (!SWIG_IsOK(ecode4
)) {
21875 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21877 arg4
= static_cast< int >(val4
);
21878 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21879 if (!SWIG_IsOK(ecode5
)) {
21880 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21882 arg5
= static_cast< int >(val5
);
21884 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21885 if (!SWIG_IsOK(ecode6
)) {
21886 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21888 arg6
= static_cast< int >(val6
);
21891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21892 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21893 wxPyEndAllowThreads(__tstate
);
21894 if (PyErr_Occurred()) SWIG_fail
;
21896 resultobj
= SWIG_Py_Void();
21903 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21904 PyObject
*resultobj
= 0;
21905 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21914 PyObject
* obj0
= 0 ;
21915 PyObject
* obj1
= 0 ;
21916 PyObject
* obj2
= 0 ;
21917 char * kwnames
[] = {
21918 (char *) "self",(char *) "width",(char *) "height", NULL
21921 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21922 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21923 if (!SWIG_IsOK(res1
)) {
21924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21926 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21927 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21928 if (!SWIG_IsOK(ecode2
)) {
21929 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21931 arg2
= static_cast< int >(val2
);
21932 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21933 if (!SWIG_IsOK(ecode3
)) {
21934 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21936 arg3
= static_cast< int >(val3
);
21938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21939 (arg1
)->DoSetClientSize(arg2
,arg3
);
21940 wxPyEndAllowThreads(__tstate
);
21941 if (PyErr_Occurred()) SWIG_fail
;
21943 resultobj
= SWIG_Py_Void();
21950 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21951 PyObject
*resultobj
= 0;
21952 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21961 PyObject
* obj0
= 0 ;
21962 PyObject
* obj1
= 0 ;
21963 PyObject
* obj2
= 0 ;
21964 char * kwnames
[] = {
21965 (char *) "self",(char *) "x",(char *) "y", NULL
21968 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21969 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21970 if (!SWIG_IsOK(res1
)) {
21971 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21973 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21974 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21975 if (!SWIG_IsOK(ecode2
)) {
21976 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21978 arg2
= static_cast< int >(val2
);
21979 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21980 if (!SWIG_IsOK(ecode3
)) {
21981 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21983 arg3
= static_cast< int >(val3
);
21985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21986 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21987 wxPyEndAllowThreads(__tstate
);
21988 if (PyErr_Occurred()) SWIG_fail
;
21990 resultobj
= SWIG_Py_Void();
21997 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21998 PyObject
*resultobj
= 0;
21999 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22000 int *arg2
= (int *) 0 ;
22001 int *arg3
= (int *) 0 ;
22005 int res2
= SWIG_TMPOBJ
;
22007 int res3
= SWIG_TMPOBJ
;
22008 PyObject
*swig_obj
[1] ;
22012 if (!args
) SWIG_fail
;
22013 swig_obj
[0] = args
;
22014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22015 if (!SWIG_IsOK(res1
)) {
22016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22018 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22021 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
22022 wxPyEndAllowThreads(__tstate
);
22023 if (PyErr_Occurred()) SWIG_fail
;
22025 resultobj
= SWIG_Py_Void();
22026 if (SWIG_IsTmpObj(res2
)) {
22027 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22029 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22030 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22032 if (SWIG_IsTmpObj(res3
)) {
22033 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22035 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22036 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22044 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22045 PyObject
*resultobj
= 0;
22046 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22047 int *arg2
= (int *) 0 ;
22048 int *arg3
= (int *) 0 ;
22052 int res2
= SWIG_TMPOBJ
;
22054 int res3
= SWIG_TMPOBJ
;
22055 PyObject
*swig_obj
[1] ;
22059 if (!args
) SWIG_fail
;
22060 swig_obj
[0] = args
;
22061 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22062 if (!SWIG_IsOK(res1
)) {
22063 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22065 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22068 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22069 wxPyEndAllowThreads(__tstate
);
22070 if (PyErr_Occurred()) SWIG_fail
;
22072 resultobj
= SWIG_Py_Void();
22073 if (SWIG_IsTmpObj(res2
)) {
22074 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22076 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22077 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22079 if (SWIG_IsTmpObj(res3
)) {
22080 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22082 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22083 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22091 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22092 PyObject
*resultobj
= 0;
22093 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22094 int *arg2
= (int *) 0 ;
22095 int *arg3
= (int *) 0 ;
22099 int res2
= SWIG_TMPOBJ
;
22101 int res3
= SWIG_TMPOBJ
;
22102 PyObject
*swig_obj
[1] ;
22106 if (!args
) SWIG_fail
;
22107 swig_obj
[0] = args
;
22108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22109 if (!SWIG_IsOK(res1
)) {
22110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22112 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22115 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22116 wxPyEndAllowThreads(__tstate
);
22117 if (PyErr_Occurred()) SWIG_fail
;
22119 resultobj
= SWIG_Py_Void();
22120 if (SWIG_IsTmpObj(res2
)) {
22121 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22123 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22124 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22126 if (SWIG_IsTmpObj(res3
)) {
22127 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22129 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22130 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22138 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22139 PyObject
*resultobj
= 0;
22140 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22144 PyObject
*swig_obj
[1] ;
22146 if (!args
) SWIG_fail
;
22147 swig_obj
[0] = args
;
22148 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22149 if (!SWIG_IsOK(res1
)) {
22150 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22152 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22155 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
22156 wxPyEndAllowThreads(__tstate
);
22157 if (PyErr_Occurred()) SWIG_fail
;
22159 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22166 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22167 PyObject
*resultobj
= 0;
22168 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22172 PyObject
*swig_obj
[1] ;
22174 if (!args
) SWIG_fail
;
22175 swig_obj
[0] = args
;
22176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22177 if (!SWIG_IsOK(res1
)) {
22178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
22180 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22183 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
22184 wxPyEndAllowThreads(__tstate
);
22185 if (PyErr_Occurred()) SWIG_fail
;
22187 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22194 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22195 PyObject
*resultobj
= 0;
22196 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22197 SwigValueWrapper
<wxVisualAttributes
> result
;
22200 PyObject
*swig_obj
[1] ;
22202 if (!args
) SWIG_fail
;
22203 swig_obj
[0] = args
;
22204 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22205 if (!SWIG_IsOK(res1
)) {
22206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22208 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22210 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22211 result
= (arg1
)->GetDefaultAttributes();
22212 wxPyEndAllowThreads(__tstate
);
22213 if (PyErr_Occurred()) SWIG_fail
;
22215 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22222 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22223 PyObject
*resultobj
= 0;
22224 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
22227 PyObject
*swig_obj
[1] ;
22229 if (!args
) SWIG_fail
;
22230 swig_obj
[0] = args
;
22231 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
22232 if (!SWIG_IsOK(res1
)) {
22233 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
22235 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
22237 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22238 (arg1
)->OnInternalIdle();
22239 wxPyEndAllowThreads(__tstate
);
22240 if (PyErr_Occurred()) SWIG_fail
;
22242 resultobj
= SWIG_Py_Void();
22249 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22251 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22252 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
22253 return SWIG_Py_Void();
22256 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22257 return SWIG_Python_InitShadowInstance(args
);
22260 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22261 PyObject
*resultobj
= 0;
22262 wxWindow
*arg1
= (wxWindow
*) 0 ;
22263 int arg2
= (int) (int)-1 ;
22264 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22265 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22266 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22267 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22268 long arg5
= (long) 0 ;
22269 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22270 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22271 wxPyPanel
*result
= 0 ;
22280 bool temp6
= false ;
22281 PyObject
* obj0
= 0 ;
22282 PyObject
* obj1
= 0 ;
22283 PyObject
* obj2
= 0 ;
22284 PyObject
* obj3
= 0 ;
22285 PyObject
* obj4
= 0 ;
22286 PyObject
* obj5
= 0 ;
22287 char * kwnames
[] = {
22288 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22293 if (!SWIG_IsOK(res1
)) {
22294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22296 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22298 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22299 if (!SWIG_IsOK(ecode2
)) {
22300 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22302 arg2
= static_cast< int >(val2
);
22307 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22313 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22317 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22318 if (!SWIG_IsOK(ecode5
)) {
22319 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22321 arg5
= static_cast< long >(val5
);
22325 arg6
= wxString_in_helper(obj5
);
22326 if (arg6
== NULL
) SWIG_fail
;
22331 if (!wxPyCheckForApp()) SWIG_fail
;
22332 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22333 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22334 wxPyEndAllowThreads(__tstate
);
22335 if (PyErr_Occurred()) SWIG_fail
;
22337 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22352 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22353 PyObject
*resultobj
= 0;
22354 wxPyPanel
*result
= 0 ;
22356 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22358 if (!wxPyCheckForApp()) SWIG_fail
;
22359 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22360 result
= (wxPyPanel
*)new wxPyPanel();
22361 wxPyEndAllowThreads(__tstate
);
22362 if (PyErr_Occurred()) SWIG_fail
;
22364 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22371 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22372 PyObject
*resultobj
= 0;
22373 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22374 PyObject
*arg2
= (PyObject
*) 0 ;
22375 PyObject
*arg3
= (PyObject
*) 0 ;
22378 PyObject
* obj0
= 0 ;
22379 PyObject
* obj1
= 0 ;
22380 PyObject
* obj2
= 0 ;
22381 char * kwnames
[] = {
22382 (char *) "self",(char *) "self",(char *) "_class", NULL
22385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22387 if (!SWIG_IsOK(res1
)) {
22388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22390 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22395 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22396 wxPyEndAllowThreads(__tstate
);
22397 if (PyErr_Occurred()) SWIG_fail
;
22399 resultobj
= SWIG_Py_Void();
22406 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22407 PyObject
*resultobj
= 0;
22408 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22409 wxDC
*arg2
= (wxDC
*) 0 ;
22415 PyObject
* obj0
= 0 ;
22416 PyObject
* obj1
= 0 ;
22417 char * kwnames
[] = {
22418 (char *) "self",(char *) "dc", NULL
22421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22423 if (!SWIG_IsOK(res1
)) {
22424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22426 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22427 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22428 if (!SWIG_IsOK(res2
)) {
22429 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22431 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22433 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22434 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22435 wxPyEndAllowThreads(__tstate
);
22436 if (PyErr_Occurred()) SWIG_fail
;
22439 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22447 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22448 PyObject
*resultobj
= 0;
22449 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22464 PyObject
* obj0
= 0 ;
22465 PyObject
* obj1
= 0 ;
22466 PyObject
* obj2
= 0 ;
22467 PyObject
* obj3
= 0 ;
22468 PyObject
* obj4
= 0 ;
22469 char * kwnames
[] = {
22470 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22475 if (!SWIG_IsOK(res1
)) {
22476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22478 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22479 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22480 if (!SWIG_IsOK(ecode2
)) {
22481 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22483 arg2
= static_cast< int >(val2
);
22484 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22485 if (!SWIG_IsOK(ecode3
)) {
22486 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22488 arg3
= static_cast< int >(val3
);
22489 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22490 if (!SWIG_IsOK(ecode4
)) {
22491 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22493 arg4
= static_cast< int >(val4
);
22494 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22495 if (!SWIG_IsOK(ecode5
)) {
22496 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22498 arg5
= static_cast< int >(val5
);
22500 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22501 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22502 wxPyEndAllowThreads(__tstate
);
22503 if (PyErr_Occurred()) SWIG_fail
;
22505 resultobj
= SWIG_Py_Void();
22512 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22513 PyObject
*resultobj
= 0;
22514 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22519 int arg6
= (int) wxSIZE_AUTO
;
22532 PyObject
* obj0
= 0 ;
22533 PyObject
* obj1
= 0 ;
22534 PyObject
* obj2
= 0 ;
22535 PyObject
* obj3
= 0 ;
22536 PyObject
* obj4
= 0 ;
22537 PyObject
* obj5
= 0 ;
22538 char * kwnames
[] = {
22539 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22542 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22543 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22544 if (!SWIG_IsOK(res1
)) {
22545 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22547 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22548 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22549 if (!SWIG_IsOK(ecode2
)) {
22550 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22552 arg2
= static_cast< int >(val2
);
22553 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22554 if (!SWIG_IsOK(ecode3
)) {
22555 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22557 arg3
= static_cast< int >(val3
);
22558 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22559 if (!SWIG_IsOK(ecode4
)) {
22560 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22562 arg4
= static_cast< int >(val4
);
22563 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22564 if (!SWIG_IsOK(ecode5
)) {
22565 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22567 arg5
= static_cast< int >(val5
);
22569 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22570 if (!SWIG_IsOK(ecode6
)) {
22571 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22573 arg6
= static_cast< int >(val6
);
22576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22577 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22578 wxPyEndAllowThreads(__tstate
);
22579 if (PyErr_Occurred()) SWIG_fail
;
22581 resultobj
= SWIG_Py_Void();
22588 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22589 PyObject
*resultobj
= 0;
22590 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22599 PyObject
* obj0
= 0 ;
22600 PyObject
* obj1
= 0 ;
22601 PyObject
* obj2
= 0 ;
22602 char * kwnames
[] = {
22603 (char *) "self",(char *) "width",(char *) "height", NULL
22606 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22607 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22608 if (!SWIG_IsOK(res1
)) {
22609 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22611 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22612 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22613 if (!SWIG_IsOK(ecode2
)) {
22614 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22616 arg2
= static_cast< int >(val2
);
22617 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22618 if (!SWIG_IsOK(ecode3
)) {
22619 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22621 arg3
= static_cast< int >(val3
);
22623 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22624 (arg1
)->DoSetClientSize(arg2
,arg3
);
22625 wxPyEndAllowThreads(__tstate
);
22626 if (PyErr_Occurred()) SWIG_fail
;
22628 resultobj
= SWIG_Py_Void();
22635 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22636 PyObject
*resultobj
= 0;
22637 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22646 PyObject
* obj0
= 0 ;
22647 PyObject
* obj1
= 0 ;
22648 PyObject
* obj2
= 0 ;
22649 char * kwnames
[] = {
22650 (char *) "self",(char *) "x",(char *) "y", NULL
22653 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22654 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22655 if (!SWIG_IsOK(res1
)) {
22656 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22658 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22659 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22660 if (!SWIG_IsOK(ecode2
)) {
22661 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22663 arg2
= static_cast< int >(val2
);
22664 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22665 if (!SWIG_IsOK(ecode3
)) {
22666 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22668 arg3
= static_cast< int >(val3
);
22670 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22671 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22672 wxPyEndAllowThreads(__tstate
);
22673 if (PyErr_Occurred()) SWIG_fail
;
22675 resultobj
= SWIG_Py_Void();
22682 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22683 PyObject
*resultobj
= 0;
22684 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22685 int *arg2
= (int *) 0 ;
22686 int *arg3
= (int *) 0 ;
22690 int res2
= SWIG_TMPOBJ
;
22692 int res3
= SWIG_TMPOBJ
;
22693 PyObject
*swig_obj
[1] ;
22697 if (!args
) SWIG_fail
;
22698 swig_obj
[0] = args
;
22699 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22700 if (!SWIG_IsOK(res1
)) {
22701 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22703 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22706 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22707 wxPyEndAllowThreads(__tstate
);
22708 if (PyErr_Occurred()) SWIG_fail
;
22710 resultobj
= SWIG_Py_Void();
22711 if (SWIG_IsTmpObj(res2
)) {
22712 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22714 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22715 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22717 if (SWIG_IsTmpObj(res3
)) {
22718 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22720 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22721 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22729 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22730 PyObject
*resultobj
= 0;
22731 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22732 int *arg2
= (int *) 0 ;
22733 int *arg3
= (int *) 0 ;
22737 int res2
= SWIG_TMPOBJ
;
22739 int res3
= SWIG_TMPOBJ
;
22740 PyObject
*swig_obj
[1] ;
22744 if (!args
) SWIG_fail
;
22745 swig_obj
[0] = args
;
22746 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22747 if (!SWIG_IsOK(res1
)) {
22748 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22750 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22753 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22754 wxPyEndAllowThreads(__tstate
);
22755 if (PyErr_Occurred()) SWIG_fail
;
22757 resultobj
= SWIG_Py_Void();
22758 if (SWIG_IsTmpObj(res2
)) {
22759 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22761 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22762 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22764 if (SWIG_IsTmpObj(res3
)) {
22765 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22767 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22768 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22776 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22777 PyObject
*resultobj
= 0;
22778 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22779 int *arg2
= (int *) 0 ;
22780 int *arg3
= (int *) 0 ;
22784 int res2
= SWIG_TMPOBJ
;
22786 int res3
= SWIG_TMPOBJ
;
22787 PyObject
*swig_obj
[1] ;
22791 if (!args
) SWIG_fail
;
22792 swig_obj
[0] = args
;
22793 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22794 if (!SWIG_IsOK(res1
)) {
22795 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22797 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22799 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22800 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22801 wxPyEndAllowThreads(__tstate
);
22802 if (PyErr_Occurred()) SWIG_fail
;
22804 resultobj
= SWIG_Py_Void();
22805 if (SWIG_IsTmpObj(res2
)) {
22806 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22808 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22809 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22811 if (SWIG_IsTmpObj(res3
)) {
22812 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22814 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22815 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22823 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22824 PyObject
*resultobj
= 0;
22825 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22829 PyObject
*swig_obj
[1] ;
22831 if (!args
) SWIG_fail
;
22832 swig_obj
[0] = args
;
22833 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22834 if (!SWIG_IsOK(res1
)) {
22835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22837 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22839 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22840 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22841 wxPyEndAllowThreads(__tstate
);
22842 if (PyErr_Occurred()) SWIG_fail
;
22844 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22851 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22852 PyObject
*resultobj
= 0;
22853 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22857 PyObject
*swig_obj
[1] ;
22859 if (!args
) SWIG_fail
;
22860 swig_obj
[0] = args
;
22861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22862 if (!SWIG_IsOK(res1
)) {
22863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22865 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22868 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22869 wxPyEndAllowThreads(__tstate
);
22870 if (PyErr_Occurred()) SWIG_fail
;
22872 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22879 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22880 PyObject
*resultobj
= 0;
22881 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22882 SwigValueWrapper
<wxVisualAttributes
> result
;
22885 PyObject
*swig_obj
[1] ;
22887 if (!args
) SWIG_fail
;
22888 swig_obj
[0] = args
;
22889 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22890 if (!SWIG_IsOK(res1
)) {
22891 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22893 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22896 result
= (arg1
)->GetDefaultAttributes();
22897 wxPyEndAllowThreads(__tstate
);
22898 if (PyErr_Occurred()) SWIG_fail
;
22900 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22907 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22908 PyObject
*resultobj
= 0;
22909 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22912 PyObject
*swig_obj
[1] ;
22914 if (!args
) SWIG_fail
;
22915 swig_obj
[0] = args
;
22916 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22917 if (!SWIG_IsOK(res1
)) {
22918 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22920 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22922 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22923 (arg1
)->OnInternalIdle();
22924 wxPyEndAllowThreads(__tstate
);
22925 if (PyErr_Occurred()) SWIG_fail
;
22927 resultobj
= SWIG_Py_Void();
22934 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22936 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22937 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22938 return SWIG_Py_Void();
22941 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22942 return SWIG_Python_InitShadowInstance(args
);
22945 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22946 PyObject
*resultobj
= 0;
22947 wxWindow
*arg1
= (wxWindow
*) 0 ;
22948 int arg2
= (int) (int)-1 ;
22949 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22950 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22951 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22952 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22953 long arg5
= (long) 0 ;
22954 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22955 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22956 wxPyScrolledWindow
*result
= 0 ;
22965 bool temp6
= false ;
22966 PyObject
* obj0
= 0 ;
22967 PyObject
* obj1
= 0 ;
22968 PyObject
* obj2
= 0 ;
22969 PyObject
* obj3
= 0 ;
22970 PyObject
* obj4
= 0 ;
22971 PyObject
* obj5
= 0 ;
22972 char * kwnames
[] = {
22973 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22978 if (!SWIG_IsOK(res1
)) {
22979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22981 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22983 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22984 if (!SWIG_IsOK(ecode2
)) {
22985 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22987 arg2
= static_cast< int >(val2
);
22992 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22998 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
23002 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
23003 if (!SWIG_IsOK(ecode5
)) {
23004 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
23006 arg5
= static_cast< long >(val5
);
23010 arg6
= wxString_in_helper(obj5
);
23011 if (arg6
== NULL
) SWIG_fail
;
23016 if (!wxPyCheckForApp()) SWIG_fail
;
23017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23018 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
23019 wxPyEndAllowThreads(__tstate
);
23020 if (PyErr_Occurred()) SWIG_fail
;
23022 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
23037 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23038 PyObject
*resultobj
= 0;
23039 wxPyScrolledWindow
*result
= 0 ;
23041 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
23043 if (!wxPyCheckForApp()) SWIG_fail
;
23044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23045 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
23046 wxPyEndAllowThreads(__tstate
);
23047 if (PyErr_Occurred()) SWIG_fail
;
23049 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
23056 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23057 PyObject
*resultobj
= 0;
23058 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23059 PyObject
*arg2
= (PyObject
*) 0 ;
23060 PyObject
*arg3
= (PyObject
*) 0 ;
23063 PyObject
* obj0
= 0 ;
23064 PyObject
* obj1
= 0 ;
23065 PyObject
* obj2
= 0 ;
23066 char * kwnames
[] = {
23067 (char *) "self",(char *) "self",(char *) "_class", NULL
23070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23072 if (!SWIG_IsOK(res1
)) {
23073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23075 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23079 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23080 (arg1
)->_setCallbackInfo(arg2
,arg3
);
23081 wxPyEndAllowThreads(__tstate
);
23082 if (PyErr_Occurred()) SWIG_fail
;
23084 resultobj
= SWIG_Py_Void();
23091 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23092 PyObject
*resultobj
= 0;
23093 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23094 wxDC
*arg2
= (wxDC
*) 0 ;
23100 PyObject
* obj0
= 0 ;
23101 PyObject
* obj1
= 0 ;
23102 char * kwnames
[] = {
23103 (char *) "self",(char *) "dc", NULL
23106 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23107 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23108 if (!SWIG_IsOK(res1
)) {
23109 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23111 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23112 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
23113 if (!SWIG_IsOK(res2
)) {
23114 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
23116 arg2
= reinterpret_cast< wxDC
* >(argp2
);
23118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23119 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
23120 wxPyEndAllowThreads(__tstate
);
23121 if (PyErr_Occurred()) SWIG_fail
;
23124 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23132 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23133 PyObject
*resultobj
= 0;
23134 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23149 PyObject
* obj0
= 0 ;
23150 PyObject
* obj1
= 0 ;
23151 PyObject
* obj2
= 0 ;
23152 PyObject
* obj3
= 0 ;
23153 PyObject
* obj4
= 0 ;
23154 char * kwnames
[] = {
23155 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
23158 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
23159 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23160 if (!SWIG_IsOK(res1
)) {
23161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23163 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23164 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23165 if (!SWIG_IsOK(ecode2
)) {
23166 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
23168 arg2
= static_cast< int >(val2
);
23169 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23170 if (!SWIG_IsOK(ecode3
)) {
23171 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
23173 arg3
= static_cast< int >(val3
);
23174 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23175 if (!SWIG_IsOK(ecode4
)) {
23176 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
23178 arg4
= static_cast< int >(val4
);
23179 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23180 if (!SWIG_IsOK(ecode5
)) {
23181 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
23183 arg5
= static_cast< int >(val5
);
23185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23186 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
23187 wxPyEndAllowThreads(__tstate
);
23188 if (PyErr_Occurred()) SWIG_fail
;
23190 resultobj
= SWIG_Py_Void();
23197 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23198 PyObject
*resultobj
= 0;
23199 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23204 int arg6
= (int) wxSIZE_AUTO
;
23217 PyObject
* obj0
= 0 ;
23218 PyObject
* obj1
= 0 ;
23219 PyObject
* obj2
= 0 ;
23220 PyObject
* obj3
= 0 ;
23221 PyObject
* obj4
= 0 ;
23222 PyObject
* obj5
= 0 ;
23223 char * kwnames
[] = {
23224 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23229 if (!SWIG_IsOK(res1
)) {
23230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23232 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23233 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23234 if (!SWIG_IsOK(ecode2
)) {
23235 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23237 arg2
= static_cast< int >(val2
);
23238 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23239 if (!SWIG_IsOK(ecode3
)) {
23240 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23242 arg3
= static_cast< int >(val3
);
23243 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23244 if (!SWIG_IsOK(ecode4
)) {
23245 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23247 arg4
= static_cast< int >(val4
);
23248 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23249 if (!SWIG_IsOK(ecode5
)) {
23250 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23252 arg5
= static_cast< int >(val5
);
23254 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23255 if (!SWIG_IsOK(ecode6
)) {
23256 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23258 arg6
= static_cast< int >(val6
);
23261 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23262 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23263 wxPyEndAllowThreads(__tstate
);
23264 if (PyErr_Occurred()) SWIG_fail
;
23266 resultobj
= SWIG_Py_Void();
23273 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23274 PyObject
*resultobj
= 0;
23275 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23284 PyObject
* obj0
= 0 ;
23285 PyObject
* obj1
= 0 ;
23286 PyObject
* obj2
= 0 ;
23287 char * kwnames
[] = {
23288 (char *) "self",(char *) "width",(char *) "height", NULL
23291 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23292 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23293 if (!SWIG_IsOK(res1
)) {
23294 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23296 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23297 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23298 if (!SWIG_IsOK(ecode2
)) {
23299 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23301 arg2
= static_cast< int >(val2
);
23302 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23303 if (!SWIG_IsOK(ecode3
)) {
23304 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23306 arg3
= static_cast< int >(val3
);
23308 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23309 (arg1
)->DoSetClientSize(arg2
,arg3
);
23310 wxPyEndAllowThreads(__tstate
);
23311 if (PyErr_Occurred()) SWIG_fail
;
23313 resultobj
= SWIG_Py_Void();
23320 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23321 PyObject
*resultobj
= 0;
23322 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23331 PyObject
* obj0
= 0 ;
23332 PyObject
* obj1
= 0 ;
23333 PyObject
* obj2
= 0 ;
23334 char * kwnames
[] = {
23335 (char *) "self",(char *) "x",(char *) "y", NULL
23338 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23339 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23340 if (!SWIG_IsOK(res1
)) {
23341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23343 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23344 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23345 if (!SWIG_IsOK(ecode2
)) {
23346 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23348 arg2
= static_cast< int >(val2
);
23349 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23350 if (!SWIG_IsOK(ecode3
)) {
23351 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23353 arg3
= static_cast< int >(val3
);
23355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23356 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23357 wxPyEndAllowThreads(__tstate
);
23358 if (PyErr_Occurred()) SWIG_fail
;
23360 resultobj
= SWIG_Py_Void();
23367 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23368 PyObject
*resultobj
= 0;
23369 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23370 int *arg2
= (int *) 0 ;
23371 int *arg3
= (int *) 0 ;
23375 int res2
= SWIG_TMPOBJ
;
23377 int res3
= SWIG_TMPOBJ
;
23378 PyObject
*swig_obj
[1] ;
23382 if (!args
) SWIG_fail
;
23383 swig_obj
[0] = args
;
23384 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23385 if (!SWIG_IsOK(res1
)) {
23386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23388 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23390 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23391 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23392 wxPyEndAllowThreads(__tstate
);
23393 if (PyErr_Occurred()) SWIG_fail
;
23395 resultobj
= SWIG_Py_Void();
23396 if (SWIG_IsTmpObj(res2
)) {
23397 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23399 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23400 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23402 if (SWIG_IsTmpObj(res3
)) {
23403 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23405 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23406 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23414 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23415 PyObject
*resultobj
= 0;
23416 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23417 int *arg2
= (int *) 0 ;
23418 int *arg3
= (int *) 0 ;
23422 int res2
= SWIG_TMPOBJ
;
23424 int res3
= SWIG_TMPOBJ
;
23425 PyObject
*swig_obj
[1] ;
23429 if (!args
) SWIG_fail
;
23430 swig_obj
[0] = args
;
23431 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23432 if (!SWIG_IsOK(res1
)) {
23433 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23435 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23438 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23439 wxPyEndAllowThreads(__tstate
);
23440 if (PyErr_Occurred()) SWIG_fail
;
23442 resultobj
= SWIG_Py_Void();
23443 if (SWIG_IsTmpObj(res2
)) {
23444 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23446 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23449 if (SWIG_IsTmpObj(res3
)) {
23450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23452 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23461 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23462 PyObject
*resultobj
= 0;
23463 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23464 int *arg2
= (int *) 0 ;
23465 int *arg3
= (int *) 0 ;
23469 int res2
= SWIG_TMPOBJ
;
23471 int res3
= SWIG_TMPOBJ
;
23472 PyObject
*swig_obj
[1] ;
23476 if (!args
) SWIG_fail
;
23477 swig_obj
[0] = args
;
23478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23479 if (!SWIG_IsOK(res1
)) {
23480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23482 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23485 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23486 wxPyEndAllowThreads(__tstate
);
23487 if (PyErr_Occurred()) SWIG_fail
;
23489 resultobj
= SWIG_Py_Void();
23490 if (SWIG_IsTmpObj(res2
)) {
23491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23493 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23494 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23496 if (SWIG_IsTmpObj(res3
)) {
23497 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23499 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23500 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23508 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23509 PyObject
*resultobj
= 0;
23510 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23514 PyObject
*swig_obj
[1] ;
23516 if (!args
) SWIG_fail
;
23517 swig_obj
[0] = args
;
23518 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23519 if (!SWIG_IsOK(res1
)) {
23520 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23522 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23524 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23525 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23526 wxPyEndAllowThreads(__tstate
);
23527 if (PyErr_Occurred()) SWIG_fail
;
23529 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23536 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23537 PyObject
*resultobj
= 0;
23538 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23542 PyObject
*swig_obj
[1] ;
23544 if (!args
) SWIG_fail
;
23545 swig_obj
[0] = args
;
23546 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23547 if (!SWIG_IsOK(res1
)) {
23548 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23550 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23552 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23553 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23554 wxPyEndAllowThreads(__tstate
);
23555 if (PyErr_Occurred()) SWIG_fail
;
23557 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23564 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23565 PyObject
*resultobj
= 0;
23566 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23567 SwigValueWrapper
<wxVisualAttributes
> result
;
23570 PyObject
*swig_obj
[1] ;
23572 if (!args
) SWIG_fail
;
23573 swig_obj
[0] = args
;
23574 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23575 if (!SWIG_IsOK(res1
)) {
23576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23578 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23581 result
= (arg1
)->GetDefaultAttributes();
23582 wxPyEndAllowThreads(__tstate
);
23583 if (PyErr_Occurred()) SWIG_fail
;
23585 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23592 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23593 PyObject
*resultobj
= 0;
23594 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23597 PyObject
*swig_obj
[1] ;
23599 if (!args
) SWIG_fail
;
23600 swig_obj
[0] = args
;
23601 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23602 if (!SWIG_IsOK(res1
)) {
23603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23605 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23607 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23608 (arg1
)->OnInternalIdle();
23609 wxPyEndAllowThreads(__tstate
);
23610 if (PyErr_Occurred()) SWIG_fail
;
23612 resultobj
= SWIG_Py_Void();
23619 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23621 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23622 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23623 return SWIG_Py_Void();
23626 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23627 return SWIG_Python_InitShadowInstance(args
);
23630 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23631 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23636 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23637 PyObject
*pyobj
= 0;
23641 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23643 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23650 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23651 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23656 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23657 PyObject
*pyobj
= 0;
23661 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23663 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23670 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23671 PyObject
*resultobj
= 0;
23672 wxPrintData
*result
= 0 ;
23674 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23676 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23677 result
= (wxPrintData
*)new wxPrintData();
23678 wxPyEndAllowThreads(__tstate
);
23679 if (PyErr_Occurred()) SWIG_fail
;
23681 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23688 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23689 PyObject
*resultobj
= 0;
23690 wxPrintData
*arg1
= 0 ;
23691 wxPrintData
*result
= 0 ;
23695 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23697 if (!SWIG_IsOK(res1
)) {
23698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23701 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23703 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23705 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23706 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23717 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23721 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23724 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23727 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23731 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23736 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23737 PyObject
*resultobj
= 0;
23738 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23741 PyObject
*swig_obj
[1] ;
23743 if (!args
) SWIG_fail
;
23744 swig_obj
[0] = args
;
23745 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23746 if (!SWIG_IsOK(res1
)) {
23747 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23749 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23754 wxPyEndAllowThreads(__tstate
);
23755 if (PyErr_Occurred()) SWIG_fail
;
23757 resultobj
= SWIG_Py_Void();
23764 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23765 PyObject
*resultobj
= 0;
23766 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23770 PyObject
*swig_obj
[1] ;
23772 if (!args
) SWIG_fail
;
23773 swig_obj
[0] = args
;
23774 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23775 if (!SWIG_IsOK(res1
)) {
23776 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23778 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23780 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23781 result
= (int)(arg1
)->GetNoCopies();
23782 wxPyEndAllowThreads(__tstate
);
23783 if (PyErr_Occurred()) SWIG_fail
;
23785 resultobj
= SWIG_From_int(static_cast< int >(result
));
23792 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23793 PyObject
*resultobj
= 0;
23794 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23798 PyObject
*swig_obj
[1] ;
23800 if (!args
) SWIG_fail
;
23801 swig_obj
[0] = args
;
23802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23803 if (!SWIG_IsOK(res1
)) {
23804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23806 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23809 result
= (bool)(arg1
)->GetCollate();
23810 wxPyEndAllowThreads(__tstate
);
23811 if (PyErr_Occurred()) SWIG_fail
;
23814 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23822 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23823 PyObject
*resultobj
= 0;
23824 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23828 PyObject
*swig_obj
[1] ;
23830 if (!args
) SWIG_fail
;
23831 swig_obj
[0] = args
;
23832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23833 if (!SWIG_IsOK(res1
)) {
23834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23836 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23839 result
= (int)(arg1
)->GetOrientation();
23840 wxPyEndAllowThreads(__tstate
);
23841 if (PyErr_Occurred()) SWIG_fail
;
23843 resultobj
= SWIG_From_int(static_cast< int >(result
));
23850 SWIGINTERN PyObject
*_wrap_PrintData_IsOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23851 PyObject
*resultobj
= 0;
23852 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23856 PyObject
*swig_obj
[1] ;
23858 if (!args
) SWIG_fail
;
23859 swig_obj
[0] = args
;
23860 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23861 if (!SWIG_IsOK(res1
)) {
23862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23864 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23867 result
= (bool)((wxPrintData
const *)arg1
)->IsOrientationReversed();
23868 wxPyEndAllowThreads(__tstate
);
23869 if (PyErr_Occurred()) SWIG_fail
;
23872 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23880 SWIGINTERN PyObject
*_wrap_PrintData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23881 PyObject
*resultobj
= 0;
23882 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23886 PyObject
*swig_obj
[1] ;
23888 if (!args
) SWIG_fail
;
23889 swig_obj
[0] = args
;
23890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23891 if (!SWIG_IsOK(res1
)) {
23892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_IsOk" "', expected argument " "1"" of type '" "wxPrintData *""'");
23894 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23897 result
= (bool)(arg1
)->IsOk();
23898 wxPyEndAllowThreads(__tstate
);
23899 if (PyErr_Occurred()) SWIG_fail
;
23902 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23910 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23911 PyObject
*resultobj
= 0;
23912 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23913 wxString
*result
= 0 ;
23916 PyObject
*swig_obj
[1] ;
23918 if (!args
) SWIG_fail
;
23919 swig_obj
[0] = args
;
23920 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23921 if (!SWIG_IsOK(res1
)) {
23922 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23924 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23926 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23928 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23929 result
= (wxString
*) &_result_ref
;
23931 wxPyEndAllowThreads(__tstate
);
23932 if (PyErr_Occurred()) SWIG_fail
;
23936 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23938 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23947 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23948 PyObject
*resultobj
= 0;
23949 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23953 PyObject
*swig_obj
[1] ;
23955 if (!args
) SWIG_fail
;
23956 swig_obj
[0] = args
;
23957 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23958 if (!SWIG_IsOK(res1
)) {
23959 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23961 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23963 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23964 result
= (bool)(arg1
)->GetColour();
23965 wxPyEndAllowThreads(__tstate
);
23966 if (PyErr_Occurred()) SWIG_fail
;
23969 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23977 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23978 PyObject
*resultobj
= 0;
23979 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23980 wxDuplexMode result
;
23983 PyObject
*swig_obj
[1] ;
23985 if (!args
) SWIG_fail
;
23986 swig_obj
[0] = args
;
23987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23988 if (!SWIG_IsOK(res1
)) {
23989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23991 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23994 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23995 wxPyEndAllowThreads(__tstate
);
23996 if (PyErr_Occurred()) SWIG_fail
;
23998 resultobj
= SWIG_From_int(static_cast< int >(result
));
24005 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24006 PyObject
*resultobj
= 0;
24007 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24008 wxPaperSize result
;
24011 PyObject
*swig_obj
[1] ;
24013 if (!args
) SWIG_fail
;
24014 swig_obj
[0] = args
;
24015 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24022 result
= (wxPaperSize
)(arg1
)->GetPaperId();
24023 wxPyEndAllowThreads(__tstate
);
24024 if (PyErr_Occurred()) SWIG_fail
;
24026 resultobj
= SWIG_From_int(static_cast< int >(result
));
24033 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24034 PyObject
*resultobj
= 0;
24035 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24036 wxSize
*result
= 0 ;
24039 PyObject
*swig_obj
[1] ;
24041 if (!args
) SWIG_fail
;
24042 swig_obj
[0] = args
;
24043 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24044 if (!SWIG_IsOK(res1
)) {
24045 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24047 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24049 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24051 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
24052 result
= (wxSize
*) &_result_ref
;
24054 wxPyEndAllowThreads(__tstate
);
24055 if (PyErr_Occurred()) SWIG_fail
;
24057 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
24064 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24065 PyObject
*resultobj
= 0;
24066 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24070 PyObject
*swig_obj
[1] ;
24072 if (!args
) SWIG_fail
;
24073 swig_obj
[0] = args
;
24074 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24075 if (!SWIG_IsOK(res1
)) {
24076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24078 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24081 result
= (int)(arg1
)->GetQuality();
24082 wxPyEndAllowThreads(__tstate
);
24083 if (PyErr_Occurred()) SWIG_fail
;
24085 resultobj
= SWIG_From_int(static_cast< int >(result
));
24092 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24093 PyObject
*resultobj
= 0;
24094 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24098 PyObject
*swig_obj
[1] ;
24100 if (!args
) SWIG_fail
;
24101 swig_obj
[0] = args
;
24102 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24103 if (!SWIG_IsOK(res1
)) {
24104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24106 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24109 result
= (wxPrintBin
)(arg1
)->GetBin();
24110 wxPyEndAllowThreads(__tstate
);
24111 if (PyErr_Occurred()) SWIG_fail
;
24113 resultobj
= SWIG_From_int(static_cast< int >(result
));
24120 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24121 PyObject
*resultobj
= 0;
24122 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24123 wxPrintMode result
;
24126 PyObject
*swig_obj
[1] ;
24128 if (!args
) SWIG_fail
;
24129 swig_obj
[0] = args
;
24130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24131 if (!SWIG_IsOK(res1
)) {
24132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24134 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24137 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
24138 wxPyEndAllowThreads(__tstate
);
24139 if (PyErr_Occurred()) SWIG_fail
;
24141 resultobj
= SWIG_From_int(static_cast< int >(result
));
24148 SWIGINTERN PyObject
*_wrap_PrintData_GetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24149 PyObject
*resultobj
= 0;
24150 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24154 PyObject
*swig_obj
[1] ;
24156 if (!args
) SWIG_fail
;
24157 swig_obj
[0] = args
;
24158 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24159 if (!SWIG_IsOK(res1
)) {
24160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetMedia" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24162 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24165 result
= (int)((wxPrintData
const *)arg1
)->GetMedia();
24166 wxPyEndAllowThreads(__tstate
);
24167 if (PyErr_Occurred()) SWIG_fail
;
24169 resultobj
= SWIG_From_int(static_cast< int >(result
));
24176 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24177 PyObject
*resultobj
= 0;
24178 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24184 PyObject
* obj0
= 0 ;
24185 PyObject
* obj1
= 0 ;
24186 char * kwnames
[] = {
24187 (char *) "self",(char *) "v", NULL
24190 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24191 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24192 if (!SWIG_IsOK(res1
)) {
24193 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
24195 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24196 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24197 if (!SWIG_IsOK(ecode2
)) {
24198 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
24200 arg2
= static_cast< int >(val2
);
24202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24203 (arg1
)->SetNoCopies(arg2
);
24204 wxPyEndAllowThreads(__tstate
);
24205 if (PyErr_Occurred()) SWIG_fail
;
24207 resultobj
= SWIG_Py_Void();
24214 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24215 PyObject
*resultobj
= 0;
24216 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24222 PyObject
* obj0
= 0 ;
24223 PyObject
* obj1
= 0 ;
24224 char * kwnames
[] = {
24225 (char *) "self",(char *) "flag", NULL
24228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24230 if (!SWIG_IsOK(res1
)) {
24231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
24233 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24234 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24235 if (!SWIG_IsOK(ecode2
)) {
24236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
24238 arg2
= static_cast< bool >(val2
);
24240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24241 (arg1
)->SetCollate(arg2
);
24242 wxPyEndAllowThreads(__tstate
);
24243 if (PyErr_Occurred()) SWIG_fail
;
24245 resultobj
= SWIG_Py_Void();
24252 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24253 PyObject
*resultobj
= 0;
24254 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24260 PyObject
* obj0
= 0 ;
24261 PyObject
* obj1
= 0 ;
24262 char * kwnames
[] = {
24263 (char *) "self",(char *) "orient", NULL
24266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24268 if (!SWIG_IsOK(res1
)) {
24269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24271 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24273 if (!SWIG_IsOK(ecode2
)) {
24274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24276 arg2
= static_cast< int >(val2
);
24278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24279 (arg1
)->SetOrientation(arg2
);
24280 wxPyEndAllowThreads(__tstate
);
24281 if (PyErr_Occurred()) SWIG_fail
;
24283 resultobj
= SWIG_Py_Void();
24290 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientationReversed(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24291 PyObject
*resultobj
= 0;
24292 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24298 PyObject
* obj0
= 0 ;
24299 PyObject
* obj1
= 0 ;
24300 char * kwnames
[] = {
24301 (char *) "self",(char *) "reversed", NULL
24304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientationReversed",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24306 if (!SWIG_IsOK(res1
)) {
24307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "1"" of type '" "wxPrintData *""'");
24309 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24310 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24311 if (!SWIG_IsOK(ecode2
)) {
24312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientationReversed" "', expected argument " "2"" of type '" "bool""'");
24314 arg2
= static_cast< bool >(val2
);
24316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24317 (arg1
)->SetOrientationReversed(arg2
);
24318 wxPyEndAllowThreads(__tstate
);
24319 if (PyErr_Occurred()) SWIG_fail
;
24321 resultobj
= SWIG_Py_Void();
24328 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24329 PyObject
*resultobj
= 0;
24330 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24331 wxString
*arg2
= 0 ;
24334 bool temp2
= false ;
24335 PyObject
* obj0
= 0 ;
24336 PyObject
* obj1
= 0 ;
24337 char * kwnames
[] = {
24338 (char *) "self",(char *) "name", NULL
24341 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24342 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24343 if (!SWIG_IsOK(res1
)) {
24344 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24346 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24348 arg2
= wxString_in_helper(obj1
);
24349 if (arg2
== NULL
) SWIG_fail
;
24353 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24354 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24355 wxPyEndAllowThreads(__tstate
);
24356 if (PyErr_Occurred()) SWIG_fail
;
24358 resultobj
= SWIG_Py_Void();
24373 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24374 PyObject
*resultobj
= 0;
24375 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24381 PyObject
* obj0
= 0 ;
24382 PyObject
* obj1
= 0 ;
24383 char * kwnames
[] = {
24384 (char *) "self",(char *) "colour", NULL
24387 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24388 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24389 if (!SWIG_IsOK(res1
)) {
24390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24392 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24393 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24394 if (!SWIG_IsOK(ecode2
)) {
24395 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24397 arg2
= static_cast< bool >(val2
);
24399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24400 (arg1
)->SetColour(arg2
);
24401 wxPyEndAllowThreads(__tstate
);
24402 if (PyErr_Occurred()) SWIG_fail
;
24404 resultobj
= SWIG_Py_Void();
24411 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24412 PyObject
*resultobj
= 0;
24413 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24414 wxDuplexMode arg2
;
24419 PyObject
* obj0
= 0 ;
24420 PyObject
* obj1
= 0 ;
24421 char * kwnames
[] = {
24422 (char *) "self",(char *) "duplex", NULL
24425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24427 if (!SWIG_IsOK(res1
)) {
24428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24430 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24431 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24432 if (!SWIG_IsOK(ecode2
)) {
24433 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24435 arg2
= static_cast< wxDuplexMode
>(val2
);
24437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24438 (arg1
)->SetDuplex(arg2
);
24439 wxPyEndAllowThreads(__tstate
);
24440 if (PyErr_Occurred()) SWIG_fail
;
24442 resultobj
= SWIG_Py_Void();
24449 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24450 PyObject
*resultobj
= 0;
24451 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24457 PyObject
* obj0
= 0 ;
24458 PyObject
* obj1
= 0 ;
24459 char * kwnames
[] = {
24460 (char *) "self",(char *) "sizeId", NULL
24463 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24464 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24465 if (!SWIG_IsOK(res1
)) {
24466 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24468 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24469 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24470 if (!SWIG_IsOK(ecode2
)) {
24471 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24473 arg2
= static_cast< wxPaperSize
>(val2
);
24475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24476 (arg1
)->SetPaperId(arg2
);
24477 wxPyEndAllowThreads(__tstate
);
24478 if (PyErr_Occurred()) SWIG_fail
;
24480 resultobj
= SWIG_Py_Void();
24487 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24488 PyObject
*resultobj
= 0;
24489 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24494 PyObject
* obj0
= 0 ;
24495 PyObject
* obj1
= 0 ;
24496 char * kwnames
[] = {
24497 (char *) "self",(char *) "sz", NULL
24500 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24501 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24502 if (!SWIG_IsOK(res1
)) {
24503 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24505 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24508 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24512 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24513 wxPyEndAllowThreads(__tstate
);
24514 if (PyErr_Occurred()) SWIG_fail
;
24516 resultobj
= SWIG_Py_Void();
24523 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24524 PyObject
*resultobj
= 0;
24525 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24531 PyObject
* obj0
= 0 ;
24532 PyObject
* obj1
= 0 ;
24533 char * kwnames
[] = {
24534 (char *) "self",(char *) "quality", NULL
24537 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24538 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24539 if (!SWIG_IsOK(res1
)) {
24540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24542 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24543 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24544 if (!SWIG_IsOK(ecode2
)) {
24545 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24547 arg2
= static_cast< int >(val2
);
24549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24550 (arg1
)->SetQuality(arg2
);
24551 wxPyEndAllowThreads(__tstate
);
24552 if (PyErr_Occurred()) SWIG_fail
;
24554 resultobj
= SWIG_Py_Void();
24561 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24562 PyObject
*resultobj
= 0;
24563 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24569 PyObject
* obj0
= 0 ;
24570 PyObject
* obj1
= 0 ;
24571 char * kwnames
[] = {
24572 (char *) "self",(char *) "bin", NULL
24575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24577 if (!SWIG_IsOK(res1
)) {
24578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24580 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24581 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24582 if (!SWIG_IsOK(ecode2
)) {
24583 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24585 arg2
= static_cast< wxPrintBin
>(val2
);
24587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24588 (arg1
)->SetBin(arg2
);
24589 wxPyEndAllowThreads(__tstate
);
24590 if (PyErr_Occurred()) SWIG_fail
;
24592 resultobj
= SWIG_Py_Void();
24599 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24600 PyObject
*resultobj
= 0;
24601 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24607 PyObject
* obj0
= 0 ;
24608 PyObject
* obj1
= 0 ;
24609 char * kwnames
[] = {
24610 (char *) "self",(char *) "printMode", NULL
24613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24615 if (!SWIG_IsOK(res1
)) {
24616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24618 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24619 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24620 if (!SWIG_IsOK(ecode2
)) {
24621 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24623 arg2
= static_cast< wxPrintMode
>(val2
);
24625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24626 (arg1
)->SetPrintMode(arg2
);
24627 wxPyEndAllowThreads(__tstate
);
24628 if (PyErr_Occurred()) SWIG_fail
;
24630 resultobj
= SWIG_Py_Void();
24637 SWIGINTERN PyObject
*_wrap_PrintData_SetMedia(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24638 PyObject
*resultobj
= 0;
24639 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24645 PyObject
* obj0
= 0 ;
24646 PyObject
* obj1
= 0 ;
24647 char * kwnames
[] = {
24648 (char *) "self",(char *) "media", NULL
24651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetMedia",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24653 if (!SWIG_IsOK(res1
)) {
24654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetMedia" "', expected argument " "1"" of type '" "wxPrintData *""'");
24656 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24657 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24658 if (!SWIG_IsOK(ecode2
)) {
24659 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetMedia" "', expected argument " "2"" of type '" "int""'");
24661 arg2
= static_cast< int >(val2
);
24663 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24664 (arg1
)->SetMedia(arg2
);
24665 wxPyEndAllowThreads(__tstate
);
24666 if (PyErr_Occurred()) SWIG_fail
;
24668 resultobj
= SWIG_Py_Void();
24675 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24676 PyObject
*resultobj
= 0;
24677 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24681 PyObject
*swig_obj
[1] ;
24683 if (!args
) SWIG_fail
;
24684 swig_obj
[0] = args
;
24685 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24686 if (!SWIG_IsOK(res1
)) {
24687 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24689 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24691 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24692 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24693 wxPyEndAllowThreads(__tstate
);
24694 if (PyErr_Occurred()) SWIG_fail
;
24698 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24700 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24709 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24710 PyObject
*resultobj
= 0;
24711 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24712 wxString
*arg2
= 0 ;
24715 bool temp2
= false ;
24716 PyObject
* obj0
= 0 ;
24717 PyObject
* obj1
= 0 ;
24718 char * kwnames
[] = {
24719 (char *) "self",(char *) "filename", NULL
24722 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24723 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24724 if (!SWIG_IsOK(res1
)) {
24725 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24727 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24729 arg2
= wxString_in_helper(obj1
);
24730 if (arg2
== NULL
) SWIG_fail
;
24734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24735 (arg1
)->SetFilename((wxString
const &)*arg2
);
24736 wxPyEndAllowThreads(__tstate
);
24737 if (PyErr_Occurred()) SWIG_fail
;
24739 resultobj
= SWIG_Py_Void();
24754 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24755 PyObject
*resultobj
= 0;
24756 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24757 PyObject
*result
= 0 ;
24760 PyObject
*swig_obj
[1] ;
24762 if (!args
) SWIG_fail
;
24763 swig_obj
[0] = args
;
24764 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24765 if (!SWIG_IsOK(res1
)) {
24766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24768 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24770 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24771 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24772 wxPyEndAllowThreads(__tstate
);
24773 if (PyErr_Occurred()) SWIG_fail
;
24775 resultobj
= result
;
24782 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24783 PyObject
*resultobj
= 0;
24784 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24785 PyObject
*arg2
= (PyObject
*) 0 ;
24788 PyObject
* obj0
= 0 ;
24789 PyObject
* obj1
= 0 ;
24790 char * kwnames
[] = {
24791 (char *) "self",(char *) "data", NULL
24794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24796 if (!SWIG_IsOK(res1
)) {
24797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24799 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24803 wxPrintData_SetPrivData(arg1
,arg2
);
24804 wxPyEndAllowThreads(__tstate
);
24805 if (PyErr_Occurred()) SWIG_fail
;
24807 resultobj
= SWIG_Py_Void();
24814 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24816 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24817 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24818 return SWIG_Py_Void();
24821 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 return SWIG_Python_InitShadowInstance(args
);
24825 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24826 PyObject
*resultobj
= 0;
24827 wxPageSetupDialogData
*result
= 0 ;
24829 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24831 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24832 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24833 wxPyEndAllowThreads(__tstate
);
24834 if (PyErr_Occurred()) SWIG_fail
;
24836 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24843 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24844 PyObject
*resultobj
= 0;
24845 wxPageSetupDialogData
*arg1
= 0 ;
24846 wxPageSetupDialogData
*result
= 0 ;
24850 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24851 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24852 if (!SWIG_IsOK(res1
)) {
24853 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24856 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24858 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24861 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24862 wxPyEndAllowThreads(__tstate
);
24863 if (PyErr_Occurred()) SWIG_fail
;
24865 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24872 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24873 PyObject
*resultobj
= 0;
24874 wxPrintData
*arg1
= 0 ;
24875 wxPageSetupDialogData
*result
= 0 ;
24879 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24881 if (!SWIG_IsOK(res1
)) {
24882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24885 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24887 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24889 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24890 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24891 wxPyEndAllowThreads(__tstate
);
24892 if (PyErr_Occurred()) SWIG_fail
;
24894 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24901 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24905 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24908 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24913 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24914 _v
= SWIG_CheckState(res
);
24916 if (!_v
) goto check_2
;
24917 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24922 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24926 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24931 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24932 PyObject
*resultobj
= 0;
24933 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24936 PyObject
*swig_obj
[1] ;
24938 if (!args
) SWIG_fail
;
24939 swig_obj
[0] = args
;
24940 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24941 if (!SWIG_IsOK(res1
)) {
24942 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24944 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24949 wxPyEndAllowThreads(__tstate
);
24950 if (PyErr_Occurred()) SWIG_fail
;
24952 resultobj
= SWIG_Py_Void();
24959 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24960 PyObject
*resultobj
= 0;
24961 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24967 PyObject
* obj0
= 0 ;
24968 PyObject
* obj1
= 0 ;
24969 char * kwnames
[] = {
24970 (char *) "self",(char *) "flag", NULL
24973 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24974 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24975 if (!SWIG_IsOK(res1
)) {
24976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24978 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24979 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24980 if (!SWIG_IsOK(ecode2
)) {
24981 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24983 arg2
= static_cast< bool >(val2
);
24985 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24986 (arg1
)->EnableHelp(arg2
);
24987 wxPyEndAllowThreads(__tstate
);
24988 if (PyErr_Occurred()) SWIG_fail
;
24990 resultobj
= SWIG_Py_Void();
24997 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24998 PyObject
*resultobj
= 0;
24999 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25005 PyObject
* obj0
= 0 ;
25006 PyObject
* obj1
= 0 ;
25007 char * kwnames
[] = {
25008 (char *) "self",(char *) "flag", NULL
25011 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25012 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25013 if (!SWIG_IsOK(res1
)) {
25014 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25016 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25017 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25018 if (!SWIG_IsOK(ecode2
)) {
25019 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
25021 arg2
= static_cast< bool >(val2
);
25023 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25024 (arg1
)->EnableMargins(arg2
);
25025 wxPyEndAllowThreads(__tstate
);
25026 if (PyErr_Occurred()) SWIG_fail
;
25028 resultobj
= SWIG_Py_Void();
25035 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25036 PyObject
*resultobj
= 0;
25037 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25043 PyObject
* obj0
= 0 ;
25044 PyObject
* obj1
= 0 ;
25045 char * kwnames
[] = {
25046 (char *) "self",(char *) "flag", NULL
25049 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25050 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25051 if (!SWIG_IsOK(res1
)) {
25052 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25054 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25055 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25056 if (!SWIG_IsOK(ecode2
)) {
25057 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
25059 arg2
= static_cast< bool >(val2
);
25061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25062 (arg1
)->EnableOrientation(arg2
);
25063 wxPyEndAllowThreads(__tstate
);
25064 if (PyErr_Occurred()) SWIG_fail
;
25066 resultobj
= SWIG_Py_Void();
25073 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25074 PyObject
*resultobj
= 0;
25075 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25081 PyObject
* obj0
= 0 ;
25082 PyObject
* obj1
= 0 ;
25083 char * kwnames
[] = {
25084 (char *) "self",(char *) "flag", NULL
25087 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",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_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25092 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25093 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25094 if (!SWIG_IsOK(ecode2
)) {
25095 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
25097 arg2
= static_cast< bool >(val2
);
25099 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25100 (arg1
)->EnablePaper(arg2
);
25101 wxPyEndAllowThreads(__tstate
);
25102 if (PyErr_Occurred()) SWIG_fail
;
25104 resultobj
= SWIG_Py_Void();
25111 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25112 PyObject
*resultobj
= 0;
25113 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25119 PyObject
* obj0
= 0 ;
25120 PyObject
* obj1
= 0 ;
25121 char * kwnames
[] = {
25122 (char *) "self",(char *) "flag", NULL
25125 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25126 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25127 if (!SWIG_IsOK(res1
)) {
25128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25130 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25132 if (!SWIG_IsOK(ecode2
)) {
25133 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
25135 arg2
= static_cast< bool >(val2
);
25137 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25138 (arg1
)->EnablePrinter(arg2
);
25139 wxPyEndAllowThreads(__tstate
);
25140 if (PyErr_Occurred()) SWIG_fail
;
25142 resultobj
= SWIG_Py_Void();
25149 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25150 PyObject
*resultobj
= 0;
25151 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25155 PyObject
*swig_obj
[1] ;
25157 if (!args
) SWIG_fail
;
25158 swig_obj
[0] = args
;
25159 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25160 if (!SWIG_IsOK(res1
)) {
25161 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25163 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25166 result
= (bool)(arg1
)->GetDefaultMinMargins();
25167 wxPyEndAllowThreads(__tstate
);
25168 if (PyErr_Occurred()) SWIG_fail
;
25171 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25179 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25180 PyObject
*resultobj
= 0;
25181 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25185 PyObject
*swig_obj
[1] ;
25187 if (!args
) SWIG_fail
;
25188 swig_obj
[0] = args
;
25189 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25190 if (!SWIG_IsOK(res1
)) {
25191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25193 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25196 result
= (bool)(arg1
)->GetEnableMargins();
25197 wxPyEndAllowThreads(__tstate
);
25198 if (PyErr_Occurred()) SWIG_fail
;
25201 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25209 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25210 PyObject
*resultobj
= 0;
25211 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25215 PyObject
*swig_obj
[1] ;
25217 if (!args
) SWIG_fail
;
25218 swig_obj
[0] = args
;
25219 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25220 if (!SWIG_IsOK(res1
)) {
25221 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25223 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25226 result
= (bool)(arg1
)->GetEnableOrientation();
25227 wxPyEndAllowThreads(__tstate
);
25228 if (PyErr_Occurred()) SWIG_fail
;
25231 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25239 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25240 PyObject
*resultobj
= 0;
25241 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25245 PyObject
*swig_obj
[1] ;
25247 if (!args
) SWIG_fail
;
25248 swig_obj
[0] = args
;
25249 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25250 if (!SWIG_IsOK(res1
)) {
25251 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25253 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25255 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25256 result
= (bool)(arg1
)->GetEnablePaper();
25257 wxPyEndAllowThreads(__tstate
);
25258 if (PyErr_Occurred()) SWIG_fail
;
25261 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25269 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25270 PyObject
*resultobj
= 0;
25271 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25275 PyObject
*swig_obj
[1] ;
25277 if (!args
) SWIG_fail
;
25278 swig_obj
[0] = args
;
25279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25280 if (!SWIG_IsOK(res1
)) {
25281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25283 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25286 result
= (bool)(arg1
)->GetEnablePrinter();
25287 wxPyEndAllowThreads(__tstate
);
25288 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25299 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25300 PyObject
*resultobj
= 0;
25301 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25305 PyObject
*swig_obj
[1] ;
25307 if (!args
) SWIG_fail
;
25308 swig_obj
[0] = args
;
25309 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25310 if (!SWIG_IsOK(res1
)) {
25311 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25313 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25315 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25316 result
= (bool)(arg1
)->GetEnableHelp();
25317 wxPyEndAllowThreads(__tstate
);
25318 if (PyErr_Occurred()) SWIG_fail
;
25321 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25329 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25330 PyObject
*resultobj
= 0;
25331 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25335 PyObject
*swig_obj
[1] ;
25337 if (!args
) SWIG_fail
;
25338 swig_obj
[0] = args
;
25339 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25340 if (!SWIG_IsOK(res1
)) {
25341 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25343 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25346 result
= (bool)(arg1
)->GetDefaultInfo();
25347 wxPyEndAllowThreads(__tstate
);
25348 if (PyErr_Occurred()) SWIG_fail
;
25351 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25359 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25360 PyObject
*resultobj
= 0;
25361 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_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25373 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25375 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25376 result
= (arg1
)->GetMarginTopLeft();
25377 wxPyEndAllowThreads(__tstate
);
25378 if (PyErr_Occurred()) SWIG_fail
;
25380 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25387 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25388 PyObject
*resultobj
= 0;
25389 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25393 PyObject
*swig_obj
[1] ;
25395 if (!args
) SWIG_fail
;
25396 swig_obj
[0] = args
;
25397 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25398 if (!SWIG_IsOK(res1
)) {
25399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25401 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25404 result
= (arg1
)->GetMarginBottomRight();
25405 wxPyEndAllowThreads(__tstate
);
25406 if (PyErr_Occurred()) SWIG_fail
;
25408 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25415 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25416 PyObject
*resultobj
= 0;
25417 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25421 PyObject
*swig_obj
[1] ;
25423 if (!args
) SWIG_fail
;
25424 swig_obj
[0] = args
;
25425 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25426 if (!SWIG_IsOK(res1
)) {
25427 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25429 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25431 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25432 result
= (arg1
)->GetMinMarginTopLeft();
25433 wxPyEndAllowThreads(__tstate
);
25434 if (PyErr_Occurred()) SWIG_fail
;
25436 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25443 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25444 PyObject
*resultobj
= 0;
25445 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25449 PyObject
*swig_obj
[1] ;
25451 if (!args
) SWIG_fail
;
25452 swig_obj
[0] = args
;
25453 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25454 if (!SWIG_IsOK(res1
)) {
25455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25457 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25459 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25460 result
= (arg1
)->GetMinMarginBottomRight();
25461 wxPyEndAllowThreads(__tstate
);
25462 if (PyErr_Occurred()) SWIG_fail
;
25464 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25471 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25472 PyObject
*resultobj
= 0;
25473 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25474 wxPaperSize result
;
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_wxPageSetupDialogData
, 0 | 0 );
25482 if (!SWIG_IsOK(res1
)) {
25483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25485 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25487 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25488 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25489 wxPyEndAllowThreads(__tstate
);
25490 if (PyErr_Occurred()) SWIG_fail
;
25492 resultobj
= SWIG_From_int(static_cast< int >(result
));
25499 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25500 PyObject
*resultobj
= 0;
25501 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25505 PyObject
*swig_obj
[1] ;
25507 if (!args
) SWIG_fail
;
25508 swig_obj
[0] = args
;
25509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25510 if (!SWIG_IsOK(res1
)) {
25511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25513 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25516 result
= (arg1
)->GetPaperSize();
25517 wxPyEndAllowThreads(__tstate
);
25518 if (PyErr_Occurred()) SWIG_fail
;
25520 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25527 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25528 PyObject
*resultobj
= 0;
25529 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25530 wxPrintData
*result
= 0 ;
25533 PyObject
*swig_obj
[1] ;
25535 if (!args
) SWIG_fail
;
25536 swig_obj
[0] = args
;
25537 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25538 if (!SWIG_IsOK(res1
)) {
25539 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25541 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25543 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25545 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25546 result
= (wxPrintData
*) &_result_ref
;
25548 wxPyEndAllowThreads(__tstate
);
25549 if (PyErr_Occurred()) SWIG_fail
;
25551 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25558 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25559 PyObject
*resultobj
= 0;
25560 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25564 PyObject
*swig_obj
[1] ;
25566 if (!args
) SWIG_fail
;
25567 swig_obj
[0] = args
;
25568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25569 if (!SWIG_IsOK(res1
)) {
25570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_IsOk" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25572 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25575 result
= (bool)(arg1
)->IsOk();
25576 wxPyEndAllowThreads(__tstate
);
25577 if (PyErr_Occurred()) SWIG_fail
;
25580 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25588 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25589 PyObject
*resultobj
= 0;
25590 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25596 PyObject
* obj0
= 0 ;
25597 PyObject
* obj1
= 0 ;
25598 char * kwnames
[] = {
25599 (char *) "self",(char *) "flag", NULL
25602 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25603 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25604 if (!SWIG_IsOK(res1
)) {
25605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25607 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25608 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25609 if (!SWIG_IsOK(ecode2
)) {
25610 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25612 arg2
= static_cast< bool >(val2
);
25614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25615 (arg1
)->SetDefaultInfo(arg2
);
25616 wxPyEndAllowThreads(__tstate
);
25617 if (PyErr_Occurred()) SWIG_fail
;
25619 resultobj
= SWIG_Py_Void();
25626 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25627 PyObject
*resultobj
= 0;
25628 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25634 PyObject
* obj0
= 0 ;
25635 PyObject
* obj1
= 0 ;
25636 char * kwnames
[] = {
25637 (char *) "self",(char *) "flag", NULL
25640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25642 if (!SWIG_IsOK(res1
)) {
25643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25645 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25646 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25647 if (!SWIG_IsOK(ecode2
)) {
25648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25650 arg2
= static_cast< bool >(val2
);
25652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25653 (arg1
)->SetDefaultMinMargins(arg2
);
25654 wxPyEndAllowThreads(__tstate
);
25655 if (PyErr_Occurred()) SWIG_fail
;
25657 resultobj
= SWIG_Py_Void();
25664 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25665 PyObject
*resultobj
= 0;
25666 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25667 wxPoint
*arg2
= 0 ;
25671 PyObject
* obj0
= 0 ;
25672 PyObject
* obj1
= 0 ;
25673 char * kwnames
[] = {
25674 (char *) "self",(char *) "pt", NULL
25677 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25678 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25679 if (!SWIG_IsOK(res1
)) {
25680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25682 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25685 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25688 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25689 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25690 wxPyEndAllowThreads(__tstate
);
25691 if (PyErr_Occurred()) SWIG_fail
;
25693 resultobj
= SWIG_Py_Void();
25700 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25701 PyObject
*resultobj
= 0;
25702 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25703 wxPoint
*arg2
= 0 ;
25707 PyObject
* obj0
= 0 ;
25708 PyObject
* obj1
= 0 ;
25709 char * kwnames
[] = {
25710 (char *) "self",(char *) "pt", NULL
25713 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25714 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25715 if (!SWIG_IsOK(res1
)) {
25716 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25718 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25721 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25724 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25725 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25726 wxPyEndAllowThreads(__tstate
);
25727 if (PyErr_Occurred()) SWIG_fail
;
25729 resultobj
= SWIG_Py_Void();
25736 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25737 PyObject
*resultobj
= 0;
25738 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25739 wxPoint
*arg2
= 0 ;
25743 PyObject
* obj0
= 0 ;
25744 PyObject
* obj1
= 0 ;
25745 char * kwnames
[] = {
25746 (char *) "self",(char *) "pt", NULL
25749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25751 if (!SWIG_IsOK(res1
)) {
25752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25754 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25757 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25760 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25761 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25762 wxPyEndAllowThreads(__tstate
);
25763 if (PyErr_Occurred()) SWIG_fail
;
25765 resultobj
= SWIG_Py_Void();
25772 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25773 PyObject
*resultobj
= 0;
25774 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25775 wxPoint
*arg2
= 0 ;
25779 PyObject
* obj0
= 0 ;
25780 PyObject
* obj1
= 0 ;
25781 char * kwnames
[] = {
25782 (char *) "self",(char *) "pt", NULL
25785 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25786 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25787 if (!SWIG_IsOK(res1
)) {
25788 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25790 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25793 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25796 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25797 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25798 wxPyEndAllowThreads(__tstate
);
25799 if (PyErr_Occurred()) SWIG_fail
;
25801 resultobj
= SWIG_Py_Void();
25808 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25809 PyObject
*resultobj
= 0;
25810 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25816 PyObject
* obj0
= 0 ;
25817 PyObject
* obj1
= 0 ;
25818 char * kwnames
[] = {
25819 (char *) "self",(char *) "id", NULL
25822 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25823 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25824 if (!SWIG_IsOK(res1
)) {
25825 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25827 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25828 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25829 if (!SWIG_IsOK(ecode2
)) {
25830 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25832 arg2
= static_cast< wxPaperSize
>(val2
);
25834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25835 (arg1
)->SetPaperId(arg2
);
25836 wxPyEndAllowThreads(__tstate
);
25837 if (PyErr_Occurred()) SWIG_fail
;
25839 resultobj
= SWIG_Py_Void();
25846 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25847 PyObject
*resultobj
= 0;
25848 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25853 PyObject
* obj0
= 0 ;
25854 PyObject
* obj1
= 0 ;
25855 char * kwnames
[] = {
25856 (char *) "self",(char *) "size", NULL
25859 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25860 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25861 if (!SWIG_IsOK(res1
)) {
25862 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25864 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25867 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25870 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25871 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25872 wxPyEndAllowThreads(__tstate
);
25873 if (PyErr_Occurred()) SWIG_fail
;
25875 resultobj
= SWIG_Py_Void();
25882 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25883 PyObject
*resultobj
= 0;
25884 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25885 wxPrintData
*arg2
= 0 ;
25890 PyObject
* obj0
= 0 ;
25891 PyObject
* obj1
= 0 ;
25892 char * kwnames
[] = {
25893 (char *) "self",(char *) "printData", NULL
25896 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25897 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25898 if (!SWIG_IsOK(res1
)) {
25899 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25901 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25902 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25903 if (!SWIG_IsOK(res2
)) {
25904 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25907 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25909 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25911 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25912 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25913 wxPyEndAllowThreads(__tstate
);
25914 if (PyErr_Occurred()) SWIG_fail
;
25916 resultobj
= SWIG_Py_Void();
25923 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25924 PyObject
*resultobj
= 0;
25925 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25928 PyObject
*swig_obj
[1] ;
25930 if (!args
) SWIG_fail
;
25931 swig_obj
[0] = args
;
25932 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25933 if (!SWIG_IsOK(res1
)) {
25934 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25936 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25939 (arg1
)->CalculateIdFromPaperSize();
25940 wxPyEndAllowThreads(__tstate
);
25941 if (PyErr_Occurred()) SWIG_fail
;
25943 resultobj
= SWIG_Py_Void();
25950 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25951 PyObject
*resultobj
= 0;
25952 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25955 PyObject
*swig_obj
[1] ;
25957 if (!args
) SWIG_fail
;
25958 swig_obj
[0] = args
;
25959 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25960 if (!SWIG_IsOK(res1
)) {
25961 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25963 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25966 (arg1
)->CalculatePaperSizeFromId();
25967 wxPyEndAllowThreads(__tstate
);
25968 if (PyErr_Occurred()) SWIG_fail
;
25970 resultobj
= SWIG_Py_Void();
25977 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25979 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25980 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25981 return SWIG_Py_Void();
25984 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25985 return SWIG_Python_InitShadowInstance(args
);
25988 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25989 PyObject
*resultobj
= 0;
25990 wxWindow
*arg1
= (wxWindow
*) 0 ;
25991 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25992 wxPageSetupDialog
*result
= 0 ;
25997 PyObject
* obj0
= 0 ;
25998 PyObject
* obj1
= 0 ;
25999 char * kwnames
[] = {
26000 (char *) "parent",(char *) "data", NULL
26003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26004 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26005 if (!SWIG_IsOK(res1
)) {
26006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26008 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26010 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26011 if (!SWIG_IsOK(res2
)) {
26012 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
26014 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
26017 if (!wxPyCheckForApp()) SWIG_fail
;
26018 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26019 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
26020 wxPyEndAllowThreads(__tstate
);
26021 if (PyErr_Occurred()) SWIG_fail
;
26023 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
26030 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26031 PyObject
*resultobj
= 0;
26032 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26035 PyObject
*swig_obj
[1] ;
26037 if (!args
) SWIG_fail
;
26038 swig_obj
[0] = args
;
26039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
26040 if (!SWIG_IsOK(res1
)) {
26041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26043 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26048 wxPyEndAllowThreads(__tstate
);
26049 if (PyErr_Occurred()) SWIG_fail
;
26051 resultobj
= SWIG_Py_Void();
26058 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26059 PyObject
*resultobj
= 0;
26060 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26061 wxPageSetupDialogData
*result
= 0 ;
26064 PyObject
*swig_obj
[1] ;
26066 if (!args
) SWIG_fail
;
26067 swig_obj
[0] = args
;
26068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26069 if (!SWIG_IsOK(res1
)) {
26070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26072 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26076 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
26077 result
= (wxPageSetupDialogData
*) &_result_ref
;
26079 wxPyEndAllowThreads(__tstate
);
26080 if (PyErr_Occurred()) SWIG_fail
;
26082 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26089 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26090 PyObject
*resultobj
= 0;
26091 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26092 wxPageSetupDialogData
*result
= 0 ;
26095 PyObject
*swig_obj
[1] ;
26097 if (!args
) SWIG_fail
;
26098 swig_obj
[0] = args
;
26099 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26100 if (!SWIG_IsOK(res1
)) {
26101 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26103 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26107 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
26108 result
= (wxPageSetupDialogData
*) &_result_ref
;
26110 wxPyEndAllowThreads(__tstate
);
26111 if (PyErr_Occurred()) SWIG_fail
;
26113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
26120 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26121 PyObject
*resultobj
= 0;
26122 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
26126 PyObject
*swig_obj
[1] ;
26128 if (!args
) SWIG_fail
;
26129 swig_obj
[0] = args
;
26130 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
26131 if (!SWIG_IsOK(res1
)) {
26132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
26134 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
26136 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26137 result
= (int)(arg1
)->ShowModal();
26138 wxPyEndAllowThreads(__tstate
);
26139 if (PyErr_Occurred()) SWIG_fail
;
26141 resultobj
= SWIG_From_int(static_cast< int >(result
));
26148 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26150 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26151 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
26152 return SWIG_Py_Void();
26155 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26156 return SWIG_Python_InitShadowInstance(args
);
26159 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
26160 PyObject
*resultobj
= 0;
26161 wxPrintDialogData
*result
= 0 ;
26163 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
26165 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26166 result
= (wxPrintDialogData
*)new wxPrintDialogData();
26167 wxPyEndAllowThreads(__tstate
);
26168 if (PyErr_Occurred()) SWIG_fail
;
26170 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26177 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26178 PyObject
*resultobj
= 0;
26179 wxPrintData
*arg1
= 0 ;
26180 wxPrintDialogData
*result
= 0 ;
26184 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26185 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26186 if (!SWIG_IsOK(res1
)) {
26187 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26190 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
26192 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
26194 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26195 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
26196 wxPyEndAllowThreads(__tstate
);
26197 if (PyErr_Occurred()) SWIG_fail
;
26199 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26206 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
26207 PyObject
*resultobj
= 0;
26208 wxPrintDialogData
*arg1
= 0 ;
26209 wxPrintDialogData
*result
= 0 ;
26213 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
26214 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
26215 if (!SWIG_IsOK(res1
)) {
26216 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26219 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
26221 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26223 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26224 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
26225 wxPyEndAllowThreads(__tstate
);
26226 if (PyErr_Occurred()) SWIG_fail
;
26228 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
26235 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
26239 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
26242 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
26247 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
26248 _v
= SWIG_CheckState(res
);
26250 if (!_v
) goto check_2
;
26251 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
26256 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
26260 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
26265 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26266 PyObject
*resultobj
= 0;
26267 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26270 PyObject
*swig_obj
[1] ;
26272 if (!args
) SWIG_fail
;
26273 swig_obj
[0] = args
;
26274 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
26275 if (!SWIG_IsOK(res1
)) {
26276 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26278 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26280 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26283 wxPyEndAllowThreads(__tstate
);
26284 if (PyErr_Occurred()) SWIG_fail
;
26286 resultobj
= SWIG_Py_Void();
26293 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26294 PyObject
*resultobj
= 0;
26295 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26299 PyObject
*swig_obj
[1] ;
26301 if (!args
) SWIG_fail
;
26302 swig_obj
[0] = args
;
26303 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26304 if (!SWIG_IsOK(res1
)) {
26305 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26307 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26309 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26310 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
26311 wxPyEndAllowThreads(__tstate
);
26312 if (PyErr_Occurred()) SWIG_fail
;
26314 resultobj
= SWIG_From_int(static_cast< int >(result
));
26321 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26322 PyObject
*resultobj
= 0;
26323 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26327 PyObject
*swig_obj
[1] ;
26329 if (!args
) SWIG_fail
;
26330 swig_obj
[0] = args
;
26331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26332 if (!SWIG_IsOK(res1
)) {
26333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26335 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26338 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26339 wxPyEndAllowThreads(__tstate
);
26340 if (PyErr_Occurred()) SWIG_fail
;
26342 resultobj
= SWIG_From_int(static_cast< int >(result
));
26349 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26350 PyObject
*resultobj
= 0;
26351 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26355 PyObject
*swig_obj
[1] ;
26357 if (!args
) SWIG_fail
;
26358 swig_obj
[0] = args
;
26359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26360 if (!SWIG_IsOK(res1
)) {
26361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26363 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_From_int(static_cast< int >(result
));
26377 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26378 PyObject
*resultobj
= 0;
26379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26383 PyObject
*swig_obj
[1] ;
26385 if (!args
) SWIG_fail
;
26386 swig_obj
[0] = args
;
26387 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26388 if (!SWIG_IsOK(res1
)) {
26389 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26391 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26394 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26395 wxPyEndAllowThreads(__tstate
);
26396 if (PyErr_Occurred()) SWIG_fail
;
26398 resultobj
= SWIG_From_int(static_cast< int >(result
));
26405 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26406 PyObject
*resultobj
= 0;
26407 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26411 PyObject
*swig_obj
[1] ;
26413 if (!args
) SWIG_fail
;
26414 swig_obj
[0] = args
;
26415 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26416 if (!SWIG_IsOK(res1
)) {
26417 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26419 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26422 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26423 wxPyEndAllowThreads(__tstate
);
26424 if (PyErr_Occurred()) SWIG_fail
;
26426 resultobj
= SWIG_From_int(static_cast< int >(result
));
26433 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26434 PyObject
*resultobj
= 0;
26435 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26439 PyObject
*swig_obj
[1] ;
26441 if (!args
) SWIG_fail
;
26442 swig_obj
[0] = args
;
26443 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26444 if (!SWIG_IsOK(res1
)) {
26445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26447 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26449 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26450 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26451 wxPyEndAllowThreads(__tstate
);
26452 if (PyErr_Occurred()) SWIG_fail
;
26455 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26463 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26464 PyObject
*resultobj
= 0;
26465 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26469 PyObject
*swig_obj
[1] ;
26471 if (!args
) SWIG_fail
;
26472 swig_obj
[0] = args
;
26473 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26474 if (!SWIG_IsOK(res1
)) {
26475 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26477 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26485 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26493 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26494 PyObject
*resultobj
= 0;
26495 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26499 PyObject
*swig_obj
[1] ;
26501 if (!args
) SWIG_fail
;
26502 swig_obj
[0] = args
;
26503 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26504 if (!SWIG_IsOK(res1
)) {
26505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26507 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26510 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26511 wxPyEndAllowThreads(__tstate
);
26512 if (PyErr_Occurred()) SWIG_fail
;
26515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26523 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26524 PyObject
*resultobj
= 0;
26525 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26529 PyObject
*swig_obj
[1] ;
26531 if (!args
) SWIG_fail
;
26532 swig_obj
[0] = args
;
26533 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26534 if (!SWIG_IsOK(res1
)) {
26535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26537 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26539 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26540 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26541 wxPyEndAllowThreads(__tstate
);
26542 if (PyErr_Occurred()) SWIG_fail
;
26545 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26553 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26554 PyObject
*resultobj
= 0;
26555 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26561 PyObject
* obj0
= 0 ;
26562 PyObject
* obj1
= 0 ;
26563 char * kwnames
[] = {
26564 (char *) "self",(char *) "v", NULL
26567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26568 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26569 if (!SWIG_IsOK(res1
)) {
26570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26572 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26573 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26574 if (!SWIG_IsOK(ecode2
)) {
26575 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26577 arg2
= static_cast< int >(val2
);
26579 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26580 (arg1
)->SetFromPage(arg2
);
26581 wxPyEndAllowThreads(__tstate
);
26582 if (PyErr_Occurred()) SWIG_fail
;
26584 resultobj
= SWIG_Py_Void();
26591 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26592 PyObject
*resultobj
= 0;
26593 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26599 PyObject
* obj0
= 0 ;
26600 PyObject
* obj1
= 0 ;
26601 char * kwnames
[] = {
26602 (char *) "self",(char *) "v", NULL
26605 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26606 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26607 if (!SWIG_IsOK(res1
)) {
26608 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26610 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26611 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26612 if (!SWIG_IsOK(ecode2
)) {
26613 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26615 arg2
= static_cast< int >(val2
);
26617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26618 (arg1
)->SetToPage(arg2
);
26619 wxPyEndAllowThreads(__tstate
);
26620 if (PyErr_Occurred()) SWIG_fail
;
26622 resultobj
= SWIG_Py_Void();
26629 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26630 PyObject
*resultobj
= 0;
26631 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26637 PyObject
* obj0
= 0 ;
26638 PyObject
* obj1
= 0 ;
26639 char * kwnames
[] = {
26640 (char *) "self",(char *) "v", NULL
26643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26645 if (!SWIG_IsOK(res1
)) {
26646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26648 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26649 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26650 if (!SWIG_IsOK(ecode2
)) {
26651 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26653 arg2
= static_cast< int >(val2
);
26655 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26656 (arg1
)->SetMinPage(arg2
);
26657 wxPyEndAllowThreads(__tstate
);
26658 if (PyErr_Occurred()) SWIG_fail
;
26660 resultobj
= SWIG_Py_Void();
26667 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26668 PyObject
*resultobj
= 0;
26669 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26675 PyObject
* obj0
= 0 ;
26676 PyObject
* obj1
= 0 ;
26677 char * kwnames
[] = {
26678 (char *) "self",(char *) "v", NULL
26681 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26682 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26683 if (!SWIG_IsOK(res1
)) {
26684 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26686 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26687 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26688 if (!SWIG_IsOK(ecode2
)) {
26689 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26691 arg2
= static_cast< int >(val2
);
26693 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26694 (arg1
)->SetMaxPage(arg2
);
26695 wxPyEndAllowThreads(__tstate
);
26696 if (PyErr_Occurred()) SWIG_fail
;
26698 resultobj
= SWIG_Py_Void();
26705 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26706 PyObject
*resultobj
= 0;
26707 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26713 PyObject
* obj0
= 0 ;
26714 PyObject
* obj1
= 0 ;
26715 char * kwnames
[] = {
26716 (char *) "self",(char *) "v", NULL
26719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26721 if (!SWIG_IsOK(res1
)) {
26722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26724 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26725 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26726 if (!SWIG_IsOK(ecode2
)) {
26727 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26729 arg2
= static_cast< int >(val2
);
26731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26732 (arg1
)->SetNoCopies(arg2
);
26733 wxPyEndAllowThreads(__tstate
);
26734 if (PyErr_Occurred()) SWIG_fail
;
26736 resultobj
= SWIG_Py_Void();
26743 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26744 PyObject
*resultobj
= 0;
26745 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26751 PyObject
* obj0
= 0 ;
26752 PyObject
* obj1
= 0 ;
26753 char * kwnames
[] = {
26754 (char *) "self",(char *) "flag", NULL
26757 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26758 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26759 if (!SWIG_IsOK(res1
)) {
26760 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26762 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26763 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26764 if (!SWIG_IsOK(ecode2
)) {
26765 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26767 arg2
= static_cast< bool >(val2
);
26769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26770 (arg1
)->SetAllPages(arg2
);
26771 wxPyEndAllowThreads(__tstate
);
26772 if (PyErr_Occurred()) SWIG_fail
;
26774 resultobj
= SWIG_Py_Void();
26781 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26782 PyObject
*resultobj
= 0;
26783 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26789 PyObject
* obj0
= 0 ;
26790 PyObject
* obj1
= 0 ;
26791 char * kwnames
[] = {
26792 (char *) "self",(char *) "flag", NULL
26795 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26796 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26797 if (!SWIG_IsOK(res1
)) {
26798 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26800 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26801 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26802 if (!SWIG_IsOK(ecode2
)) {
26803 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26805 arg2
= static_cast< bool >(val2
);
26807 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26808 (arg1
)->SetSelection(arg2
);
26809 wxPyEndAllowThreads(__tstate
);
26810 if (PyErr_Occurred()) SWIG_fail
;
26812 resultobj
= SWIG_Py_Void();
26819 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26820 PyObject
*resultobj
= 0;
26821 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26827 PyObject
* obj0
= 0 ;
26828 PyObject
* obj1
= 0 ;
26829 char * kwnames
[] = {
26830 (char *) "self",(char *) "flag", NULL
26833 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26834 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26835 if (!SWIG_IsOK(res1
)) {
26836 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26838 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26839 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26840 if (!SWIG_IsOK(ecode2
)) {
26841 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26843 arg2
= static_cast< bool >(val2
);
26845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26846 (arg1
)->SetCollate(arg2
);
26847 wxPyEndAllowThreads(__tstate
);
26848 if (PyErr_Occurred()) SWIG_fail
;
26850 resultobj
= SWIG_Py_Void();
26857 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26858 PyObject
*resultobj
= 0;
26859 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26865 PyObject
* obj0
= 0 ;
26866 PyObject
* obj1
= 0 ;
26867 char * kwnames
[] = {
26868 (char *) "self",(char *) "flag", NULL
26871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26873 if (!SWIG_IsOK(res1
)) {
26874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26876 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26877 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26878 if (!SWIG_IsOK(ecode2
)) {
26879 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26881 arg2
= static_cast< bool >(val2
);
26883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26884 (arg1
)->SetPrintToFile(arg2
);
26885 wxPyEndAllowThreads(__tstate
);
26886 if (PyErr_Occurred()) SWIG_fail
;
26888 resultobj
= SWIG_Py_Void();
26895 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26896 PyObject
*resultobj
= 0;
26897 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26903 PyObject
* obj0
= 0 ;
26904 PyObject
* obj1
= 0 ;
26905 char * kwnames
[] = {
26906 (char *) "self",(char *) "flag", NULL
26909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26911 if (!SWIG_IsOK(res1
)) {
26912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26914 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26915 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26916 if (!SWIG_IsOK(ecode2
)) {
26917 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26919 arg2
= static_cast< bool >(val2
);
26921 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26922 (arg1
)->EnablePrintToFile(arg2
);
26923 wxPyEndAllowThreads(__tstate
);
26924 if (PyErr_Occurred()) SWIG_fail
;
26926 resultobj
= SWIG_Py_Void();
26933 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26934 PyObject
*resultobj
= 0;
26935 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26941 PyObject
* obj0
= 0 ;
26942 PyObject
* obj1
= 0 ;
26943 char * kwnames
[] = {
26944 (char *) "self",(char *) "flag", NULL
26947 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26948 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26949 if (!SWIG_IsOK(res1
)) {
26950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26952 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26953 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26954 if (!SWIG_IsOK(ecode2
)) {
26955 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26957 arg2
= static_cast< bool >(val2
);
26959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26960 (arg1
)->EnableSelection(arg2
);
26961 wxPyEndAllowThreads(__tstate
);
26962 if (PyErr_Occurred()) SWIG_fail
;
26964 resultobj
= SWIG_Py_Void();
26971 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26972 PyObject
*resultobj
= 0;
26973 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26979 PyObject
* obj0
= 0 ;
26980 PyObject
* obj1
= 0 ;
26981 char * kwnames
[] = {
26982 (char *) "self",(char *) "flag", NULL
26985 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26986 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26987 if (!SWIG_IsOK(res1
)) {
26988 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26990 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26991 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26992 if (!SWIG_IsOK(ecode2
)) {
26993 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26995 arg2
= static_cast< bool >(val2
);
26997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26998 (arg1
)->EnablePageNumbers(arg2
);
26999 wxPyEndAllowThreads(__tstate
);
27000 if (PyErr_Occurred()) SWIG_fail
;
27002 resultobj
= SWIG_Py_Void();
27009 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27010 PyObject
*resultobj
= 0;
27011 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27017 PyObject
* obj0
= 0 ;
27018 PyObject
* obj1
= 0 ;
27019 char * kwnames
[] = {
27020 (char *) "self",(char *) "flag", NULL
27023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27025 if (!SWIG_IsOK(res1
)) {
27026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27028 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27029 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
27030 if (!SWIG_IsOK(ecode2
)) {
27031 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
27033 arg2
= static_cast< bool >(val2
);
27035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27036 (arg1
)->EnableHelp(arg2
);
27037 wxPyEndAllowThreads(__tstate
);
27038 if (PyErr_Occurred()) SWIG_fail
;
27040 resultobj
= SWIG_Py_Void();
27047 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27048 PyObject
*resultobj
= 0;
27049 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27053 PyObject
*swig_obj
[1] ;
27055 if (!args
) SWIG_fail
;
27056 swig_obj
[0] = args
;
27057 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27058 if (!SWIG_IsOK(res1
)) {
27059 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27061 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27064 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
27065 wxPyEndAllowThreads(__tstate
);
27066 if (PyErr_Occurred()) SWIG_fail
;
27069 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27077 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27078 PyObject
*resultobj
= 0;
27079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27083 PyObject
*swig_obj
[1] ;
27085 if (!args
) SWIG_fail
;
27086 swig_obj
[0] = args
;
27087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27088 if (!SWIG_IsOK(res1
)) {
27089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27091 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27094 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
27095 wxPyEndAllowThreads(__tstate
);
27096 if (PyErr_Occurred()) SWIG_fail
;
27099 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27107 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27108 PyObject
*resultobj
= 0;
27109 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27113 PyObject
*swig_obj
[1] ;
27115 if (!args
) SWIG_fail
;
27116 swig_obj
[0] = args
;
27117 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27118 if (!SWIG_IsOK(res1
)) {
27119 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27121 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27124 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
27125 wxPyEndAllowThreads(__tstate
);
27126 if (PyErr_Occurred()) SWIG_fail
;
27129 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27137 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27138 PyObject
*resultobj
= 0;
27139 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27143 PyObject
*swig_obj
[1] ;
27145 if (!args
) SWIG_fail
;
27146 swig_obj
[0] = args
;
27147 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27148 if (!SWIG_IsOK(res1
)) {
27149 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27151 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27153 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27154 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
27155 wxPyEndAllowThreads(__tstate
);
27156 if (PyErr_Occurred()) SWIG_fail
;
27159 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27167 SWIGINTERN PyObject
*_wrap_PrintDialogData_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27168 PyObject
*resultobj
= 0;
27169 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27173 PyObject
*swig_obj
[1] ;
27175 if (!args
) SWIG_fail
;
27176 swig_obj
[0] = args
;
27177 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27178 if (!SWIG_IsOK(res1
)) {
27179 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_IsOk" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
27181 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27183 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27184 result
= (bool)((wxPrintDialogData
const *)arg1
)->IsOk();
27185 wxPyEndAllowThreads(__tstate
);
27186 if (PyErr_Occurred()) SWIG_fail
;
27189 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27197 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27198 PyObject
*resultobj
= 0;
27199 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27200 wxPrintData
*result
= 0 ;
27203 PyObject
*swig_obj
[1] ;
27205 if (!args
) SWIG_fail
;
27206 swig_obj
[0] = args
;
27207 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27208 if (!SWIG_IsOK(res1
)) {
27209 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27211 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27215 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27216 result
= (wxPrintData
*) &_result_ref
;
27218 wxPyEndAllowThreads(__tstate
);
27219 if (PyErr_Occurred()) SWIG_fail
;
27221 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27228 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27229 PyObject
*resultobj
= 0;
27230 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
27231 wxPrintData
*arg2
= 0 ;
27236 PyObject
* obj0
= 0 ;
27237 PyObject
* obj1
= 0 ;
27238 char * kwnames
[] = {
27239 (char *) "self",(char *) "printData", NULL
27242 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27243 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27244 if (!SWIG_IsOK(res1
)) {
27245 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27247 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27248 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
27249 if (!SWIG_IsOK(res2
)) {
27250 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27253 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
27255 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
27257 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27258 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
27259 wxPyEndAllowThreads(__tstate
);
27260 if (PyErr_Occurred()) SWIG_fail
;
27262 resultobj
= SWIG_Py_Void();
27269 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27271 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27272 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
27273 return SWIG_Py_Void();
27276 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27277 return SWIG_Python_InitShadowInstance(args
);
27280 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27281 PyObject
*resultobj
= 0;
27282 wxWindow
*arg1
= (wxWindow
*) 0 ;
27283 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
27284 wxPrintDialog
*result
= 0 ;
27289 PyObject
* obj0
= 0 ;
27290 PyObject
* obj1
= 0 ;
27291 char * kwnames
[] = {
27292 (char *) "parent",(char *) "data", NULL
27295 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27296 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27297 if (!SWIG_IsOK(res1
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
27300 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
27302 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27303 if (!SWIG_IsOK(res2
)) {
27304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
27306 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
27309 if (!wxPyCheckForApp()) SWIG_fail
;
27310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27311 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
27312 wxPyEndAllowThreads(__tstate
);
27313 if (PyErr_Occurred()) SWIG_fail
;
27315 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
27322 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27323 PyObject
*resultobj
= 0;
27324 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27327 PyObject
*swig_obj
[1] ;
27329 if (!args
) SWIG_fail
;
27330 swig_obj
[0] = args
;
27331 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27332 if (!SWIG_IsOK(res1
)) {
27333 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27335 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27340 wxPyEndAllowThreads(__tstate
);
27341 if (PyErr_Occurred()) SWIG_fail
;
27343 resultobj
= SWIG_Py_Void();
27350 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27351 PyObject
*resultobj
= 0;
27352 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27356 PyObject
*swig_obj
[1] ;
27358 if (!args
) SWIG_fail
;
27359 swig_obj
[0] = args
;
27360 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27361 if (!SWIG_IsOK(res1
)) {
27362 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27364 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27367 result
= (int)(arg1
)->ShowModal();
27368 wxPyEndAllowThreads(__tstate
);
27369 if (PyErr_Occurred()) SWIG_fail
;
27371 resultobj
= SWIG_From_int(static_cast< int >(result
));
27378 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27379 PyObject
*resultobj
= 0;
27380 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27381 wxPrintDialogData
*result
= 0 ;
27384 PyObject
*swig_obj
[1] ;
27386 if (!args
) SWIG_fail
;
27387 swig_obj
[0] = args
;
27388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27389 if (!SWIG_IsOK(res1
)) {
27390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27392 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27396 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27397 result
= (wxPrintDialogData
*) &_result_ref
;
27399 wxPyEndAllowThreads(__tstate
);
27400 if (PyErr_Occurred()) SWIG_fail
;
27402 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27409 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27410 PyObject
*resultobj
= 0;
27411 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27412 wxPrintData
*result
= 0 ;
27415 PyObject
*swig_obj
[1] ;
27417 if (!args
) SWIG_fail
;
27418 swig_obj
[0] = args
;
27419 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27420 if (!SWIG_IsOK(res1
)) {
27421 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27423 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27425 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27427 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27428 result
= (wxPrintData
*) &_result_ref
;
27430 wxPyEndAllowThreads(__tstate
);
27431 if (PyErr_Occurred()) SWIG_fail
;
27433 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27440 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27441 PyObject
*resultobj
= 0;
27442 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27446 PyObject
*swig_obj
[1] ;
27448 if (!args
) SWIG_fail
;
27449 swig_obj
[0] = args
;
27450 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27451 if (!SWIG_IsOK(res1
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27454 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (wxDC
*)(arg1
)->GetPrintDC();
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27470 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27472 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27473 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27474 return SWIG_Py_Void();
27477 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27478 return SWIG_Python_InitShadowInstance(args
);
27481 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27482 PyObject
*resultobj
= 0;
27483 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27484 wxPrinter
*result
= 0 ;
27487 PyObject
* obj0
= 0 ;
27488 char * kwnames
[] = {
27489 (char *) "data", NULL
27492 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27494 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27495 if (!SWIG_IsOK(res1
)) {
27496 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27498 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27501 if (!wxPyCheckForApp()) SWIG_fail
;
27502 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27503 result
= (wxPrinter
*)new wxPrinter(arg1
);
27504 wxPyEndAllowThreads(__tstate
);
27505 if (PyErr_Occurred()) SWIG_fail
;
27507 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27514 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27515 PyObject
*resultobj
= 0;
27516 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27519 PyObject
*swig_obj
[1] ;
27521 if (!args
) SWIG_fail
;
27522 swig_obj
[0] = args
;
27523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27524 if (!SWIG_IsOK(res1
)) {
27525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27527 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27529 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27532 wxPyEndAllowThreads(__tstate
);
27533 if (PyErr_Occurred()) SWIG_fail
;
27535 resultobj
= SWIG_Py_Void();
27542 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27543 PyObject
*resultobj
= 0;
27544 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27545 wxWindow
*arg2
= (wxWindow
*) 0 ;
27546 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27547 wxWindow
*result
= 0 ;
27554 PyObject
* obj0
= 0 ;
27555 PyObject
* obj1
= 0 ;
27556 PyObject
* obj2
= 0 ;
27557 char * kwnames
[] = {
27558 (char *) "self",(char *) "parent",(char *) "printout", NULL
27561 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27562 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27563 if (!SWIG_IsOK(res1
)) {
27564 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27566 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27567 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27568 if (!SWIG_IsOK(res2
)) {
27569 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27571 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27572 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27573 if (!SWIG_IsOK(res3
)) {
27574 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27576 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27578 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27579 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27580 wxPyEndAllowThreads(__tstate
);
27581 if (PyErr_Occurred()) SWIG_fail
;
27584 resultobj
= wxPyMake_wxObject(result
, 0);
27592 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27593 PyObject
*resultobj
= 0;
27594 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27595 wxWindow
*arg2
= (wxWindow
*) 0 ;
27596 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27597 wxString
*arg4
= 0 ;
27604 bool temp4
= false ;
27605 PyObject
* obj0
= 0 ;
27606 PyObject
* obj1
= 0 ;
27607 PyObject
* obj2
= 0 ;
27608 PyObject
* obj3
= 0 ;
27609 char * kwnames
[] = {
27610 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27613 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27614 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27615 if (!SWIG_IsOK(res1
)) {
27616 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27618 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27619 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27620 if (!SWIG_IsOK(res2
)) {
27621 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27623 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27624 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27625 if (!SWIG_IsOK(res3
)) {
27626 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27628 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27630 arg4
= wxString_in_helper(obj3
);
27631 if (arg4
== NULL
) SWIG_fail
;
27635 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27636 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27637 wxPyEndAllowThreads(__tstate
);
27638 if (PyErr_Occurred()) SWIG_fail
;
27640 resultobj
= SWIG_Py_Void();
27655 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27656 PyObject
*resultobj
= 0;
27657 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27658 wxWindow
*arg2
= (wxWindow
*) 0 ;
27664 PyObject
* obj0
= 0 ;
27665 PyObject
* obj1
= 0 ;
27666 char * kwnames
[] = {
27667 (char *) "self",(char *) "parent", NULL
27670 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27671 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27672 if (!SWIG_IsOK(res1
)) {
27673 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27675 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27676 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27677 if (!SWIG_IsOK(res2
)) {
27678 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27680 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27682 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27683 result
= (bool)(arg1
)->Setup(arg2
);
27684 wxPyEndAllowThreads(__tstate
);
27685 if (PyErr_Occurred()) SWIG_fail
;
27688 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27696 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27697 PyObject
*resultobj
= 0;
27698 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27699 wxWindow
*arg2
= (wxWindow
*) 0 ;
27700 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27701 bool arg4
= (bool) true ;
27711 PyObject
* obj0
= 0 ;
27712 PyObject
* obj1
= 0 ;
27713 PyObject
* obj2
= 0 ;
27714 PyObject
* obj3
= 0 ;
27715 char * kwnames
[] = {
27716 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27719 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27720 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27721 if (!SWIG_IsOK(res1
)) {
27722 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27724 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27725 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27726 if (!SWIG_IsOK(res2
)) {
27727 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27729 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27730 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27731 if (!SWIG_IsOK(res3
)) {
27732 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27734 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27736 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27737 if (!SWIG_IsOK(ecode4
)) {
27738 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27740 arg4
= static_cast< bool >(val4
);
27743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27744 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27745 wxPyEndAllowThreads(__tstate
);
27746 if (PyErr_Occurred()) SWIG_fail
;
27749 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27757 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27758 PyObject
*resultobj
= 0;
27759 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27760 wxWindow
*arg2
= (wxWindow
*) 0 ;
27766 PyObject
* obj0
= 0 ;
27767 PyObject
* obj1
= 0 ;
27768 char * kwnames
[] = {
27769 (char *) "self",(char *) "parent", NULL
27772 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27773 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27774 if (!SWIG_IsOK(res1
)) {
27775 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27777 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27778 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27779 if (!SWIG_IsOK(res2
)) {
27780 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27782 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27784 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27785 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27786 wxPyEndAllowThreads(__tstate
);
27787 if (PyErr_Occurred()) SWIG_fail
;
27790 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27798 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27799 PyObject
*resultobj
= 0;
27800 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27801 wxPrintDialogData
*result
= 0 ;
27804 PyObject
*swig_obj
[1] ;
27806 if (!args
) SWIG_fail
;
27807 swig_obj
[0] = args
;
27808 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27809 if (!SWIG_IsOK(res1
)) {
27810 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27812 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27816 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27817 result
= (wxPrintDialogData
*) &_result_ref
;
27819 wxPyEndAllowThreads(__tstate
);
27820 if (PyErr_Occurred()) SWIG_fail
;
27822 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27829 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27830 PyObject
*resultobj
= 0;
27831 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27835 PyObject
*swig_obj
[1] ;
27837 if (!args
) SWIG_fail
;
27838 swig_obj
[0] = args
;
27839 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27840 if (!SWIG_IsOK(res1
)) {
27841 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27843 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27846 result
= (bool)(arg1
)->GetAbort();
27847 wxPyEndAllowThreads(__tstate
);
27848 if (PyErr_Occurred()) SWIG_fail
;
27851 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27859 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27860 PyObject
*resultobj
= 0;
27861 wxPrinterError result
;
27863 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27866 result
= (wxPrinterError
)wxPrinter::GetLastError();
27867 wxPyEndAllowThreads(__tstate
);
27868 if (PyErr_Occurred()) SWIG_fail
;
27870 resultobj
= SWIG_From_int(static_cast< int >(result
));
27877 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27879 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27880 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27881 return SWIG_Py_Void();
27884 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27885 return SWIG_Python_InitShadowInstance(args
);
27888 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27889 PyObject
*resultobj
= 0;
27890 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27891 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27892 wxPyPrintout
*result
= 0 ;
27893 bool temp1
= false ;
27894 PyObject
* obj0
= 0 ;
27895 char * kwnames
[] = {
27896 (char *) "title", NULL
27899 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27902 arg1
= wxString_in_helper(obj0
);
27903 if (arg1
== NULL
) SWIG_fail
;
27908 if (!wxPyCheckForApp()) SWIG_fail
;
27909 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27910 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27911 wxPyEndAllowThreads(__tstate
);
27912 if (PyErr_Occurred()) SWIG_fail
;
27914 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27929 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27930 PyObject
*resultobj
= 0;
27931 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27934 PyObject
*swig_obj
[1] ;
27936 if (!args
) SWIG_fail
;
27937 swig_obj
[0] = args
;
27938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27939 if (!SWIG_IsOK(res1
)) {
27940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27942 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27947 wxPyEndAllowThreads(__tstate
);
27948 if (PyErr_Occurred()) SWIG_fail
;
27950 resultobj
= SWIG_Py_Void();
27957 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27958 PyObject
*resultobj
= 0;
27959 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27960 PyObject
*arg2
= (PyObject
*) 0 ;
27961 PyObject
*arg3
= (PyObject
*) 0 ;
27964 PyObject
* obj0
= 0 ;
27965 PyObject
* obj1
= 0 ;
27966 PyObject
* obj2
= 0 ;
27967 char * kwnames
[] = {
27968 (char *) "self",(char *) "self",(char *) "_class", NULL
27971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27973 if (!SWIG_IsOK(res1
)) {
27974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27976 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27981 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27982 wxPyEndAllowThreads(__tstate
);
27983 if (PyErr_Occurred()) SWIG_fail
;
27985 resultobj
= SWIG_Py_Void();
27992 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27993 PyObject
*resultobj
= 0;
27994 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27998 PyObject
*swig_obj
[1] ;
28000 if (!args
) SWIG_fail
;
28001 swig_obj
[0] = args
;
28002 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28003 if (!SWIG_IsOK(res1
)) {
28004 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28006 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28008 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28009 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
28010 wxPyEndAllowThreads(__tstate
);
28011 if (PyErr_Occurred()) SWIG_fail
;
28015 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
28017 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
28026 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28027 PyObject
*resultobj
= 0;
28028 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28032 PyObject
*swig_obj
[1] ;
28034 if (!args
) SWIG_fail
;
28035 swig_obj
[0] = args
;
28036 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28037 if (!SWIG_IsOK(res1
)) {
28038 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28040 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28042 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28043 result
= (wxDC
*)(arg1
)->GetDC();
28044 wxPyEndAllowThreads(__tstate
);
28045 if (PyErr_Occurred()) SWIG_fail
;
28048 resultobj
= wxPyMake_wxObject(result
, (bool)0);
28056 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28057 PyObject
*resultobj
= 0;
28058 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28059 wxDC
*arg2
= (wxDC
*) 0 ;
28064 PyObject
* obj0
= 0 ;
28065 PyObject
* obj1
= 0 ;
28066 char * kwnames
[] = {
28067 (char *) "self",(char *) "dc", NULL
28070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28072 if (!SWIG_IsOK(res1
)) {
28073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28075 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
28077 if (!SWIG_IsOK(res2
)) {
28078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
28080 arg2
= reinterpret_cast< wxDC
* >(argp2
);
28082 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28083 (arg1
)->SetDC(arg2
);
28084 wxPyEndAllowThreads(__tstate
);
28085 if (PyErr_Occurred()) SWIG_fail
;
28087 resultobj
= SWIG_Py_Void();
28094 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28095 PyObject
*resultobj
= 0;
28096 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28101 PyObject
* obj0
= 0 ;
28102 PyObject
* obj1
= 0 ;
28103 char * kwnames
[] = {
28104 (char *) "self",(char *) "imageSize", NULL
28107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28109 if (!SWIG_IsOK(res1
)) {
28110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28112 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28115 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->FitThisSizeToPaper((wxSize
const &)*arg2
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_Py_Void();
28130 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28131 PyObject
*resultobj
= 0;
28132 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28137 PyObject
* obj0
= 0 ;
28138 PyObject
* obj1
= 0 ;
28139 char * kwnames
[] = {
28140 (char *) "self",(char *) "imageSize", NULL
28143 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_FitThisSizeToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28144 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28145 if (!SWIG_IsOK(res1
)) {
28146 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28148 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28151 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28154 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28155 (arg1
)->FitThisSizeToPage((wxSize
const &)*arg2
);
28156 wxPyEndAllowThreads(__tstate
);
28157 if (PyErr_Occurred()) SWIG_fail
;
28159 resultobj
= SWIG_Py_Void();
28166 SWIGINTERN PyObject
*_wrap_Printout_FitThisSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28167 PyObject
*resultobj
= 0;
28168 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28170 wxPageSetupDialogData
*arg3
= 0 ;
28176 PyObject
* obj0
= 0 ;
28177 PyObject
* obj1
= 0 ;
28178 PyObject
* obj2
= 0 ;
28179 char * kwnames
[] = {
28180 (char *) "self",(char *) "imageSize",(char *) "pageSetupData", NULL
28183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_FitThisSizeToPageMargins",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28185 if (!SWIG_IsOK(res1
)) {
28186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28188 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28191 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
28193 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28194 if (!SWIG_IsOK(res3
)) {
28195 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28198 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_FitThisSizeToPageMargins" "', expected argument " "3"" of type '" "wxPageSetupDialogData const &""'");
28200 arg3
= reinterpret_cast< wxPageSetupDialogData
* >(argp3
);
28202 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28203 (arg1
)->FitThisSizeToPageMargins((wxSize
const &)*arg2
,(wxPageSetupDialogData
const &)*arg3
);
28204 wxPyEndAllowThreads(__tstate
);
28205 if (PyErr_Occurred()) SWIG_fail
;
28207 resultobj
= SWIG_Py_Void();
28214 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28215 PyObject
*resultobj
= 0;
28216 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28219 PyObject
*swig_obj
[1] ;
28221 if (!args
) SWIG_fail
;
28222 swig_obj
[0] = args
;
28223 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28224 if (!SWIG_IsOK(res1
)) {
28225 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPaper" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28227 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28229 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28230 (arg1
)->MapScreenSizeToPaper();
28231 wxPyEndAllowThreads(__tstate
);
28232 if (PyErr_Occurred()) SWIG_fail
;
28234 resultobj
= SWIG_Py_Void();
28241 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28242 PyObject
*resultobj
= 0;
28243 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28246 PyObject
*swig_obj
[1] ;
28248 if (!args
) SWIG_fail
;
28249 swig_obj
[0] = args
;
28250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28251 if (!SWIG_IsOK(res1
)) {
28252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28254 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28257 (arg1
)->MapScreenSizeToPage();
28258 wxPyEndAllowThreads(__tstate
);
28259 if (PyErr_Occurred()) SWIG_fail
;
28261 resultobj
= SWIG_Py_Void();
28268 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToPageMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28269 PyObject
*resultobj
= 0;
28270 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28271 wxPageSetupDialogData
*arg2
= 0 ;
28276 PyObject
* obj0
= 0 ;
28277 PyObject
* obj1
= 0 ;
28278 char * kwnames
[] = {
28279 (char *) "self",(char *) "pageSetupData", NULL
28282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_MapScreenSizeToPageMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28284 if (!SWIG_IsOK(res1
)) {
28285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28287 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28288 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28289 if (!SWIG_IsOK(res2
)) {
28290 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28293 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_MapScreenSizeToPageMargins" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28295 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28298 (arg1
)->MapScreenSizeToPageMargins((wxPageSetupDialogData
const &)*arg2
);
28299 wxPyEndAllowThreads(__tstate
);
28300 if (PyErr_Occurred()) SWIG_fail
;
28302 resultobj
= SWIG_Py_Void();
28309 SWIGINTERN PyObject
*_wrap_Printout_MapScreenSizeToDevice(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28310 PyObject
*resultobj
= 0;
28311 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28314 PyObject
*swig_obj
[1] ;
28316 if (!args
) SWIG_fail
;
28317 swig_obj
[0] = args
;
28318 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28319 if (!SWIG_IsOK(res1
)) {
28320 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_MapScreenSizeToDevice" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28322 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28325 (arg1
)->MapScreenSizeToDevice();
28326 wxPyEndAllowThreads(__tstate
);
28327 if (PyErr_Occurred()) SWIG_fail
;
28329 resultobj
= SWIG_Py_Void();
28336 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPaperRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28337 PyObject
*resultobj
= 0;
28338 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28342 PyObject
*swig_obj
[1] ;
28344 if (!args
) SWIG_fail
;
28345 swig_obj
[0] = args
;
28346 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28347 if (!SWIG_IsOK(res1
)) {
28348 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPaperRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28350 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28352 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28353 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPaperRect();
28354 wxPyEndAllowThreads(__tstate
);
28355 if (PyErr_Occurred()) SWIG_fail
;
28357 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28364 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28365 PyObject
*resultobj
= 0;
28366 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28370 PyObject
*swig_obj
[1] ;
28372 if (!args
) SWIG_fail
;
28373 swig_obj
[0] = args
;
28374 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28375 if (!SWIG_IsOK(res1
)) {
28376 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28378 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28380 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28381 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageRect();
28382 wxPyEndAllowThreads(__tstate
);
28383 if (PyErr_Occurred()) SWIG_fail
;
28385 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28392 SWIGINTERN PyObject
*_wrap_Printout_GetLogicalPageMarginsRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28393 PyObject
*resultobj
= 0;
28394 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28395 wxPageSetupDialogData
*arg2
= 0 ;
28401 PyObject
* obj0
= 0 ;
28402 PyObject
* obj1
= 0 ;
28403 char * kwnames
[] = {
28404 (char *) "self",(char *) "pageSetupData", NULL
28407 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_GetLogicalPageMarginsRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28408 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28409 if (!SWIG_IsOK(res1
)) {
28410 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28412 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28413 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
28414 if (!SWIG_IsOK(res2
)) {
28415 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28418 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "Printout_GetLogicalPageMarginsRect" "', expected argument " "2"" of type '" "wxPageSetupDialogData const &""'");
28420 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
28422 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28423 result
= ((wxPyPrintout
const *)arg1
)->GetLogicalPageMarginsRect((wxPageSetupDialogData
const &)*arg2
);
28424 wxPyEndAllowThreads(__tstate
);
28425 if (PyErr_Occurred()) SWIG_fail
;
28427 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28434 SWIGINTERN PyObject
*_wrap_Printout_SetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28435 PyObject
*resultobj
= 0;
28436 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28445 PyObject
* obj0
= 0 ;
28446 PyObject
* obj1
= 0 ;
28447 PyObject
* obj2
= 0 ;
28448 char * kwnames
[] = {
28449 (char *) "self",(char *) "x",(char *) "y", NULL
28452 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28453 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28454 if (!SWIG_IsOK(res1
)) {
28455 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28457 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28458 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28459 if (!SWIG_IsOK(ecode2
)) {
28460 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28462 arg2
= static_cast< int >(val2
);
28463 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28464 if (!SWIG_IsOK(ecode3
)) {
28465 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28467 arg3
= static_cast< int >(val3
);
28469 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28470 (arg1
)->SetLogicalOrigin(arg2
,arg3
);
28471 wxPyEndAllowThreads(__tstate
);
28472 if (PyErr_Occurred()) SWIG_fail
;
28474 resultobj
= SWIG_Py_Void();
28481 SWIGINTERN PyObject
*_wrap_Printout_OffsetLogicalOrigin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28482 PyObject
*resultobj
= 0;
28483 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28492 PyObject
* obj0
= 0 ;
28493 PyObject
* obj1
= 0 ;
28494 PyObject
* obj2
= 0 ;
28495 char * kwnames
[] = {
28496 (char *) "self",(char *) "xoff",(char *) "yoff", NULL
28499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OffsetLogicalOrigin",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28501 if (!SWIG_IsOK(res1
)) {
28502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28504 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28505 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28506 if (!SWIG_IsOK(ecode2
)) {
28507 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "2"" of type '" "int""'");
28509 arg2
= static_cast< int >(val2
);
28510 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28511 if (!SWIG_IsOK(ecode3
)) {
28512 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OffsetLogicalOrigin" "', expected argument " "3"" of type '" "int""'");
28514 arg3
= static_cast< int >(val3
);
28516 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28517 (arg1
)->OffsetLogicalOrigin(arg2
,arg3
);
28518 wxPyEndAllowThreads(__tstate
);
28519 if (PyErr_Occurred()) SWIG_fail
;
28521 resultobj
= SWIG_Py_Void();
28528 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28529 PyObject
*resultobj
= 0;
28530 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28539 PyObject
* obj0
= 0 ;
28540 PyObject
* obj1
= 0 ;
28541 PyObject
* obj2
= 0 ;
28542 char * kwnames
[] = {
28543 (char *) "self",(char *) "w",(char *) "h", NULL
28546 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28547 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28548 if (!SWIG_IsOK(res1
)) {
28549 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28551 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28552 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28553 if (!SWIG_IsOK(ecode2
)) {
28554 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
28556 arg2
= static_cast< int >(val2
);
28557 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28558 if (!SWIG_IsOK(ecode3
)) {
28559 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
28561 arg3
= static_cast< int >(val3
);
28563 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28564 (arg1
)->SetPageSizePixels(arg2
,arg3
);
28565 wxPyEndAllowThreads(__tstate
);
28566 if (PyErr_Occurred()) SWIG_fail
;
28568 resultobj
= SWIG_Py_Void();
28575 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28576 PyObject
*resultobj
= 0;
28577 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28578 int *arg2
= (int *) 0 ;
28579 int *arg3
= (int *) 0 ;
28583 int res2
= SWIG_TMPOBJ
;
28585 int res3
= SWIG_TMPOBJ
;
28586 PyObject
*swig_obj
[1] ;
28590 if (!args
) SWIG_fail
;
28591 swig_obj
[0] = args
;
28592 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28593 if (!SWIG_IsOK(res1
)) {
28594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28596 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28598 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28599 (arg1
)->GetPageSizePixels(arg2
,arg3
);
28600 wxPyEndAllowThreads(__tstate
);
28601 if (PyErr_Occurred()) SWIG_fail
;
28603 resultobj
= SWIG_Py_Void();
28604 if (SWIG_IsTmpObj(res2
)) {
28605 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28607 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28608 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28610 if (SWIG_IsTmpObj(res3
)) {
28611 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28613 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28614 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28622 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28623 PyObject
*resultobj
= 0;
28624 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28633 PyObject
* obj0
= 0 ;
28634 PyObject
* obj1
= 0 ;
28635 PyObject
* obj2
= 0 ;
28636 char * kwnames
[] = {
28637 (char *) "self",(char *) "w",(char *) "h", NULL
28640 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28641 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28642 if (!SWIG_IsOK(res1
)) {
28643 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28645 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28646 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28647 if (!SWIG_IsOK(ecode2
)) {
28648 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
28650 arg2
= static_cast< int >(val2
);
28651 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28652 if (!SWIG_IsOK(ecode3
)) {
28653 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
28655 arg3
= static_cast< int >(val3
);
28657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28658 (arg1
)->SetPageSizeMM(arg2
,arg3
);
28659 wxPyEndAllowThreads(__tstate
);
28660 if (PyErr_Occurred()) SWIG_fail
;
28662 resultobj
= SWIG_Py_Void();
28669 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28670 PyObject
*resultobj
= 0;
28671 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28672 int *arg2
= (int *) 0 ;
28673 int *arg3
= (int *) 0 ;
28677 int res2
= SWIG_TMPOBJ
;
28679 int res3
= SWIG_TMPOBJ
;
28680 PyObject
*swig_obj
[1] ;
28684 if (!args
) SWIG_fail
;
28685 swig_obj
[0] = args
;
28686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28687 if (!SWIG_IsOK(res1
)) {
28688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28690 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28693 (arg1
)->GetPageSizeMM(arg2
,arg3
);
28694 wxPyEndAllowThreads(__tstate
);
28695 if (PyErr_Occurred()) SWIG_fail
;
28697 resultobj
= SWIG_Py_Void();
28698 if (SWIG_IsTmpObj(res2
)) {
28699 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28701 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28702 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28704 if (SWIG_IsTmpObj(res3
)) {
28705 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28707 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28708 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28716 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28717 PyObject
*resultobj
= 0;
28718 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28727 PyObject
* obj0
= 0 ;
28728 PyObject
* obj1
= 0 ;
28729 PyObject
* obj2
= 0 ;
28730 char * kwnames
[] = {
28731 (char *) "self",(char *) "x",(char *) "y", NULL
28734 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28735 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28736 if (!SWIG_IsOK(res1
)) {
28737 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28739 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28740 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28741 if (!SWIG_IsOK(ecode2
)) {
28742 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
28744 arg2
= static_cast< int >(val2
);
28745 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28746 if (!SWIG_IsOK(ecode3
)) {
28747 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
28749 arg3
= static_cast< int >(val3
);
28751 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28752 (arg1
)->SetPPIScreen(arg2
,arg3
);
28753 wxPyEndAllowThreads(__tstate
);
28754 if (PyErr_Occurred()) SWIG_fail
;
28756 resultobj
= SWIG_Py_Void();
28763 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28764 PyObject
*resultobj
= 0;
28765 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28766 int *arg2
= (int *) 0 ;
28767 int *arg3
= (int *) 0 ;
28771 int res2
= SWIG_TMPOBJ
;
28773 int res3
= SWIG_TMPOBJ
;
28774 PyObject
*swig_obj
[1] ;
28778 if (!args
) SWIG_fail
;
28779 swig_obj
[0] = args
;
28780 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28781 if (!SWIG_IsOK(res1
)) {
28782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28784 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28786 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28787 (arg1
)->GetPPIScreen(arg2
,arg3
);
28788 wxPyEndAllowThreads(__tstate
);
28789 if (PyErr_Occurred()) SWIG_fail
;
28791 resultobj
= SWIG_Py_Void();
28792 if (SWIG_IsTmpObj(res2
)) {
28793 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28795 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28796 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28798 if (SWIG_IsTmpObj(res3
)) {
28799 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28801 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28802 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28810 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28811 PyObject
*resultobj
= 0;
28812 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28821 PyObject
* obj0
= 0 ;
28822 PyObject
* obj1
= 0 ;
28823 PyObject
* obj2
= 0 ;
28824 char * kwnames
[] = {
28825 (char *) "self",(char *) "x",(char *) "y", NULL
28828 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28829 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28830 if (!SWIG_IsOK(res1
)) {
28831 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28833 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28834 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28835 if (!SWIG_IsOK(ecode2
)) {
28836 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28838 arg2
= static_cast< int >(val2
);
28839 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28840 if (!SWIG_IsOK(ecode3
)) {
28841 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28843 arg3
= static_cast< int >(val3
);
28845 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28846 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28847 wxPyEndAllowThreads(__tstate
);
28848 if (PyErr_Occurred()) SWIG_fail
;
28850 resultobj
= SWIG_Py_Void();
28857 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28858 PyObject
*resultobj
= 0;
28859 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28860 int *arg2
= (int *) 0 ;
28861 int *arg3
= (int *) 0 ;
28865 int res2
= SWIG_TMPOBJ
;
28867 int res3
= SWIG_TMPOBJ
;
28868 PyObject
*swig_obj
[1] ;
28872 if (!args
) SWIG_fail
;
28873 swig_obj
[0] = args
;
28874 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28875 if (!SWIG_IsOK(res1
)) {
28876 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28878 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28880 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28881 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28882 wxPyEndAllowThreads(__tstate
);
28883 if (PyErr_Occurred()) SWIG_fail
;
28885 resultobj
= SWIG_Py_Void();
28886 if (SWIG_IsTmpObj(res2
)) {
28887 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28889 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28890 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28892 if (SWIG_IsTmpObj(res3
)) {
28893 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28895 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28896 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28904 SWIGINTERN PyObject
*_wrap_Printout_SetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28905 PyObject
*resultobj
= 0;
28906 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28911 PyObject
* obj0
= 0 ;
28912 PyObject
* obj1
= 0 ;
28913 char * kwnames
[] = {
28914 (char *) "self",(char *) "paperRectPixels", NULL
28917 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetPaperRectPixels",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28918 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28919 if (!SWIG_IsOK(res1
)) {
28920 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28922 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28925 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
28928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28929 (arg1
)->SetPaperRectPixels((wxRect
const &)*arg2
);
28930 wxPyEndAllowThreads(__tstate
);
28931 if (PyErr_Occurred()) SWIG_fail
;
28933 resultobj
= SWIG_Py_Void();
28940 SWIGINTERN PyObject
*_wrap_Printout_GetPaperRectPixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28941 PyObject
*resultobj
= 0;
28942 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28946 PyObject
*swig_obj
[1] ;
28948 if (!args
) SWIG_fail
;
28949 swig_obj
[0] = args
;
28950 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28951 if (!SWIG_IsOK(res1
)) {
28952 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPaperRectPixels" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
28954 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28956 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28957 result
= ((wxPyPrintout
const *)arg1
)->GetPaperRectPixels();
28958 wxPyEndAllowThreads(__tstate
);
28959 if (PyErr_Occurred()) SWIG_fail
;
28961 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
28968 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28969 PyObject
*resultobj
= 0;
28970 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28974 PyObject
*swig_obj
[1] ;
28976 if (!args
) SWIG_fail
;
28977 swig_obj
[0] = args
;
28978 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28979 if (!SWIG_IsOK(res1
)) {
28980 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28982 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28984 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28985 result
= (bool)(arg1
)->IsPreview();
28986 wxPyEndAllowThreads(__tstate
);
28987 if (PyErr_Occurred()) SWIG_fail
;
28990 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28998 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28999 PyObject
*resultobj
= 0;
29000 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29006 PyObject
* obj0
= 0 ;
29007 PyObject
* obj1
= 0 ;
29008 char * kwnames
[] = {
29009 (char *) "self",(char *) "p", NULL
29012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29014 if (!SWIG_IsOK(res1
)) {
29015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29017 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29018 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29019 if (!SWIG_IsOK(ecode2
)) {
29020 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
29022 arg2
= static_cast< bool >(val2
);
29024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29025 (arg1
)->SetIsPreview(arg2
);
29026 wxPyEndAllowThreads(__tstate
);
29027 if (PyErr_Occurred()) SWIG_fail
;
29029 resultobj
= SWIG_Py_Void();
29036 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29037 PyObject
*resultobj
= 0;
29038 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29048 PyObject
* obj0
= 0 ;
29049 PyObject
* obj1
= 0 ;
29050 PyObject
* obj2
= 0 ;
29051 char * kwnames
[] = {
29052 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
29055 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29056 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29057 if (!SWIG_IsOK(res1
)) {
29058 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29060 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29061 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29062 if (!SWIG_IsOK(ecode2
)) {
29063 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
29065 arg2
= static_cast< int >(val2
);
29066 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
29067 if (!SWIG_IsOK(ecode3
)) {
29068 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
29070 arg3
= static_cast< int >(val3
);
29072 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29073 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
29074 wxPyEndAllowThreads(__tstate
);
29075 if (PyErr_Occurred()) SWIG_fail
;
29078 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29086 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29087 PyObject
*resultobj
= 0;
29088 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29091 PyObject
*swig_obj
[1] ;
29093 if (!args
) SWIG_fail
;
29094 swig_obj
[0] = args
;
29095 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29099 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29102 (arg1
)->OnEndDocument();
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_Py_Void();
29113 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29114 PyObject
*resultobj
= 0;
29115 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29118 PyObject
*swig_obj
[1] ;
29120 if (!args
) SWIG_fail
;
29121 swig_obj
[0] = args
;
29122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29126 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29129 (arg1
)->OnBeginPrinting();
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= SWIG_Py_Void();
29140 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29141 PyObject
*resultobj
= 0;
29142 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29145 PyObject
*swig_obj
[1] ;
29147 if (!args
) SWIG_fail
;
29148 swig_obj
[0] = args
;
29149 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29150 if (!SWIG_IsOK(res1
)) {
29151 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29153 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29155 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29156 (arg1
)->OnEndPrinting();
29157 wxPyEndAllowThreads(__tstate
);
29158 if (PyErr_Occurred()) SWIG_fail
;
29160 resultobj
= SWIG_Py_Void();
29167 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29168 PyObject
*resultobj
= 0;
29169 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29172 PyObject
*swig_obj
[1] ;
29174 if (!args
) SWIG_fail
;
29175 swig_obj
[0] = args
;
29176 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29177 if (!SWIG_IsOK(res1
)) {
29178 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29180 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29183 (arg1
)->OnPreparePrinting();
29184 wxPyEndAllowThreads(__tstate
);
29185 if (PyErr_Occurred()) SWIG_fail
;
29187 resultobj
= SWIG_Py_Void();
29194 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29195 PyObject
*resultobj
= 0;
29196 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29203 PyObject
* obj0
= 0 ;
29204 PyObject
* obj1
= 0 ;
29205 char * kwnames
[] = {
29206 (char *) "self",(char *) "page", NULL
29209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29211 if (!SWIG_IsOK(res1
)) {
29212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29214 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29216 if (!SWIG_IsOK(ecode2
)) {
29217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
29219 arg2
= static_cast< int >(val2
);
29221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29222 result
= (bool)(arg1
)->HasPage(arg2
);
29223 wxPyEndAllowThreads(__tstate
);
29224 if (PyErr_Occurred()) SWIG_fail
;
29227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29235 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29236 PyObject
*resultobj
= 0;
29237 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29238 int *arg2
= (int *) 0 ;
29239 int *arg3
= (int *) 0 ;
29240 int *arg4
= (int *) 0 ;
29241 int *arg5
= (int *) 0 ;
29245 int res2
= SWIG_TMPOBJ
;
29247 int res3
= SWIG_TMPOBJ
;
29249 int res4
= SWIG_TMPOBJ
;
29251 int res5
= SWIG_TMPOBJ
;
29252 PyObject
*swig_obj
[1] ;
29258 if (!args
) SWIG_fail
;
29259 swig_obj
[0] = args
;
29260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
29261 if (!SWIG_IsOK(res1
)) {
29262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29264 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
29266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29267 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
29268 wxPyEndAllowThreads(__tstate
);
29269 if (PyErr_Occurred()) SWIG_fail
;
29271 resultobj
= SWIG_Py_Void();
29272 if (SWIG_IsTmpObj(res2
)) {
29273 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
29275 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29276 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
29278 if (SWIG_IsTmpObj(res3
)) {
29279 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
29281 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29282 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
29284 if (SWIG_IsTmpObj(res4
)) {
29285 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
29287 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29288 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
29290 if (SWIG_IsTmpObj(res5
)) {
29291 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
29293 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
29294 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
29302 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29304 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29305 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
29306 return SWIG_Py_Void();
29309 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29310 return SWIG_Python_InitShadowInstance(args
);
29313 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29314 PyObject
*resultobj
= 0;
29315 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29316 wxWindow
*arg2
= (wxWindow
*) 0 ;
29317 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
29318 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
29319 wxSize
const &arg4_defvalue
= wxDefaultSize
;
29320 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
29321 long arg5
= (long) 0 ;
29322 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
29323 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
29324 wxPreviewCanvas
*result
= 0 ;
29333 bool temp6
= false ;
29334 PyObject
* obj0
= 0 ;
29335 PyObject
* obj1
= 0 ;
29336 PyObject
* obj2
= 0 ;
29337 PyObject
* obj3
= 0 ;
29338 PyObject
* obj4
= 0 ;
29339 PyObject
* obj5
= 0 ;
29340 char * kwnames
[] = {
29341 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
29345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29346 if (!SWIG_IsOK(res1
)) {
29347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29349 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29350 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29351 if (!SWIG_IsOK(res2
)) {
29352 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
29354 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
29358 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
29364 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
29368 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
29369 if (!SWIG_IsOK(ecode5
)) {
29370 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
29372 arg5
= static_cast< long >(val5
);
29376 arg6
= wxString_in_helper(obj5
);
29377 if (arg6
== NULL
) SWIG_fail
;
29382 if (!wxPyCheckForApp()) SWIG_fail
;
29383 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29384 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
29385 wxPyEndAllowThreads(__tstate
);
29386 if (PyErr_Occurred()) SWIG_fail
;
29388 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
29403 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29405 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29406 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
29407 return SWIG_Py_Void();
29410 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29411 return SWIG_Python_InitShadowInstance(args
);
29414 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29415 PyObject
*resultobj
= 0;
29416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29417 wxFrame
*arg2
= (wxFrame
*) 0 ;
29418 wxString
*arg3
= 0 ;
29419 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29420 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29421 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29422 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29423 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
29424 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
29425 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29426 wxPreviewFrame
*result
= 0 ;
29430 bool temp3
= false ;
29435 bool temp7
= false ;
29436 PyObject
* obj0
= 0 ;
29437 PyObject
* obj1
= 0 ;
29438 PyObject
* obj2
= 0 ;
29439 PyObject
* obj3
= 0 ;
29440 PyObject
* obj4
= 0 ;
29441 PyObject
* obj5
= 0 ;
29442 PyObject
* obj6
= 0 ;
29443 char * kwnames
[] = {
29444 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29447 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29448 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29449 if (!SWIG_IsOK(res1
)) {
29450 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29452 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29453 if (!SWIG_IsOK(res2
)) {
29454 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29456 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29458 arg3
= wxString_in_helper(obj2
);
29459 if (arg3
== NULL
) SWIG_fail
;
29465 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29471 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29475 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29476 if (!SWIG_IsOK(ecode6
)) {
29477 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
29479 arg6
= static_cast< long >(val6
);
29483 arg7
= wxString_in_helper(obj6
);
29484 if (arg7
== NULL
) SWIG_fail
;
29489 if (!wxPyCheckForApp()) SWIG_fail
;
29490 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29491 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29492 wxPyEndAllowThreads(__tstate
);
29493 if (PyErr_Occurred()) SWIG_fail
;
29495 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
29518 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29519 PyObject
*resultobj
= 0;
29520 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29523 PyObject
*swig_obj
[1] ;
29525 if (!args
) SWIG_fail
;
29526 swig_obj
[0] = args
;
29527 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29528 if (!SWIG_IsOK(res1
)) {
29529 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29531 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29533 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29534 (arg1
)->Initialize();
29535 wxPyEndAllowThreads(__tstate
);
29536 if (PyErr_Occurred()) SWIG_fail
;
29538 resultobj
= SWIG_Py_Void();
29545 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29546 PyObject
*resultobj
= 0;
29547 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29550 PyObject
*swig_obj
[1] ;
29552 if (!args
) SWIG_fail
;
29553 swig_obj
[0] = args
;
29554 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29555 if (!SWIG_IsOK(res1
)) {
29556 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29558 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29560 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29561 (arg1
)->CreateControlBar();
29562 wxPyEndAllowThreads(__tstate
);
29563 if (PyErr_Occurred()) SWIG_fail
;
29565 resultobj
= SWIG_Py_Void();
29572 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29573 PyObject
*resultobj
= 0;
29574 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29577 PyObject
*swig_obj
[1] ;
29579 if (!args
) SWIG_fail
;
29580 swig_obj
[0] = args
;
29581 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29582 if (!SWIG_IsOK(res1
)) {
29583 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
29585 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29588 (arg1
)->CreateCanvas();
29589 wxPyEndAllowThreads(__tstate
);
29590 if (PyErr_Occurred()) SWIG_fail
;
29592 resultobj
= SWIG_Py_Void();
29599 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29600 PyObject
*resultobj
= 0;
29601 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
29602 wxPreviewControlBar
*result
= 0 ;
29605 PyObject
*swig_obj
[1] ;
29607 if (!args
) SWIG_fail
;
29608 swig_obj
[0] = args
;
29609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
29610 if (!SWIG_IsOK(res1
)) {
29611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
29613 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
29615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29616 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
29617 wxPyEndAllowThreads(__tstate
);
29618 if (PyErr_Occurred()) SWIG_fail
;
29620 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29627 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29629 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29630 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
29631 return SWIG_Py_Void();
29634 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29635 return SWIG_Python_InitShadowInstance(args
);
29638 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29639 PyObject
*resultobj
= 0;
29640 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29642 wxWindow
*arg3
= (wxWindow
*) 0 ;
29643 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
29644 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
29645 wxSize
const &arg5_defvalue
= wxDefaultSize
;
29646 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
29647 long arg6
= (long) wxTAB_TRAVERSAL
;
29648 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
29649 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
29650 wxPreviewControlBar
*result
= 0 ;
29661 bool temp7
= false ;
29662 PyObject
* obj0
= 0 ;
29663 PyObject
* obj1
= 0 ;
29664 PyObject
* obj2
= 0 ;
29665 PyObject
* obj3
= 0 ;
29666 PyObject
* obj4
= 0 ;
29667 PyObject
* obj5
= 0 ;
29668 PyObject
* obj6
= 0 ;
29669 char * kwnames
[] = {
29670 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
29673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
29674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29675 if (!SWIG_IsOK(res1
)) {
29676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29678 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29679 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
29680 if (!SWIG_IsOK(ecode2
)) {
29681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
29683 arg2
= static_cast< long >(val2
);
29684 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
29685 if (!SWIG_IsOK(res3
)) {
29686 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
29688 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
29692 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
29698 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
29702 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
29703 if (!SWIG_IsOK(ecode6
)) {
29704 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
29706 arg6
= static_cast< long >(val6
);
29710 arg7
= wxString_in_helper(obj6
);
29711 if (arg7
== NULL
) SWIG_fail
;
29716 if (!wxPyCheckForApp()) SWIG_fail
;
29717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29718 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
29719 wxPyEndAllowThreads(__tstate
);
29720 if (PyErr_Occurred()) SWIG_fail
;
29722 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
29737 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29738 PyObject
*resultobj
= 0;
29739 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29743 PyObject
*swig_obj
[1] ;
29745 if (!args
) SWIG_fail
;
29746 swig_obj
[0] = args
;
29747 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29748 if (!SWIG_IsOK(res1
)) {
29749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29751 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29753 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29754 result
= (int)(arg1
)->GetZoomControl();
29755 wxPyEndAllowThreads(__tstate
);
29756 if (PyErr_Occurred()) SWIG_fail
;
29758 resultobj
= SWIG_From_int(static_cast< int >(result
));
29765 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29766 PyObject
*resultobj
= 0;
29767 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29773 PyObject
* obj0
= 0 ;
29774 PyObject
* obj1
= 0 ;
29775 char * kwnames
[] = {
29776 (char *) "self",(char *) "zoom", NULL
29779 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29780 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29781 if (!SWIG_IsOK(res1
)) {
29782 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29784 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29785 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29786 if (!SWIG_IsOK(ecode2
)) {
29787 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
29789 arg2
= static_cast< int >(val2
);
29791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29792 (arg1
)->SetZoomControl(arg2
);
29793 wxPyEndAllowThreads(__tstate
);
29794 if (PyErr_Occurred()) SWIG_fail
;
29796 resultobj
= SWIG_Py_Void();
29803 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29804 PyObject
*resultobj
= 0;
29805 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29806 wxPrintPreview
*result
= 0 ;
29809 PyObject
*swig_obj
[1] ;
29811 if (!args
) SWIG_fail
;
29812 swig_obj
[0] = args
;
29813 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29814 if (!SWIG_IsOK(res1
)) {
29815 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29817 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29819 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29820 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
29821 wxPyEndAllowThreads(__tstate
);
29822 if (PyErr_Occurred()) SWIG_fail
;
29824 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29831 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29832 PyObject
*resultobj
= 0;
29833 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29836 PyObject
*swig_obj
[1] ;
29838 if (!args
) SWIG_fail
;
29839 swig_obj
[0] = args
;
29840 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29841 if (!SWIG_IsOK(res1
)) {
29842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29844 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29846 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29848 wxPyEndAllowThreads(__tstate
);
29849 if (PyErr_Occurred()) SWIG_fail
;
29851 resultobj
= SWIG_Py_Void();
29858 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29859 PyObject
*resultobj
= 0;
29860 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29863 PyObject
*swig_obj
[1] ;
29865 if (!args
) SWIG_fail
;
29866 swig_obj
[0] = args
;
29867 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29868 if (!SWIG_IsOK(res1
)) {
29869 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29871 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29873 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29874 (arg1
)->OnPrevious();
29875 wxPyEndAllowThreads(__tstate
);
29876 if (PyErr_Occurred()) SWIG_fail
;
29878 resultobj
= SWIG_Py_Void();
29885 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29886 PyObject
*resultobj
= 0;
29887 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29890 PyObject
*swig_obj
[1] ;
29892 if (!args
) SWIG_fail
;
29893 swig_obj
[0] = args
;
29894 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29895 if (!SWIG_IsOK(res1
)) {
29896 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29898 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29902 wxPyEndAllowThreads(__tstate
);
29903 if (PyErr_Occurred()) SWIG_fail
;
29905 resultobj
= SWIG_Py_Void();
29912 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29913 PyObject
*resultobj
= 0;
29914 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29917 PyObject
*swig_obj
[1] ;
29919 if (!args
) SWIG_fail
;
29920 swig_obj
[0] = args
;
29921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29922 if (!SWIG_IsOK(res1
)) {
29923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29925 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29929 wxPyEndAllowThreads(__tstate
);
29930 if (PyErr_Occurred()) SWIG_fail
;
29932 resultobj
= SWIG_Py_Void();
29939 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29940 PyObject
*resultobj
= 0;
29941 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29944 PyObject
*swig_obj
[1] ;
29946 if (!args
) SWIG_fail
;
29947 swig_obj
[0] = args
;
29948 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29949 if (!SWIG_IsOK(res1
)) {
29950 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29952 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29954 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29956 wxPyEndAllowThreads(__tstate
);
29957 if (PyErr_Occurred()) SWIG_fail
;
29959 resultobj
= SWIG_Py_Void();
29966 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29969 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29970 return SWIG_Py_Void();
29973 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29974 return SWIG_Python_InitShadowInstance(args
);
29977 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29978 PyObject
*resultobj
= 0;
29979 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29980 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29981 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29982 wxPrintPreview
*result
= 0 ;
29988 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29989 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29990 if (!SWIG_IsOK(res1
)) {
29991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29993 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29994 if (!SWIG_IsOK(res2
)) {
29995 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29998 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29999 if (!SWIG_IsOK(res3
)) {
30000 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30002 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30005 if (!wxPyCheckForApp()) SWIG_fail
;
30006 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30007 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30008 wxPyEndAllowThreads(__tstate
);
30009 if (PyErr_Occurred()) SWIG_fail
;
30011 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30018 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30019 PyObject
*resultobj
= 0;
30020 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30021 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30022 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30023 wxPrintPreview
*result
= 0 ;
30029 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30030 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30031 if (!SWIG_IsOK(res1
)) {
30032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30034 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30035 if (!SWIG_IsOK(res2
)) {
30036 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30038 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30039 if (!SWIG_IsOK(res3
)) {
30040 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30042 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30044 if (!wxPyCheckForApp()) SWIG_fail
;
30045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30046 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
30047 wxPyEndAllowThreads(__tstate
);
30048 if (PyErr_Occurred()) SWIG_fail
;
30050 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
30057 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
30061 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
30063 if ((argc
>= 2) && (argc
<= 3)) {
30068 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30069 _v
= SWIG_CheckState(res
);
30071 if (!_v
) goto check_1
;
30073 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
30078 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
30082 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
30087 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30088 PyObject
*resultobj
= 0;
30089 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30092 PyObject
*swig_obj
[1] ;
30094 if (!args
) SWIG_fail
;
30095 swig_obj
[0] = args
;
30096 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
30097 if (!SWIG_IsOK(res1
)) {
30098 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30100 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30105 wxPyEndAllowThreads(__tstate
);
30106 if (PyErr_Occurred()) SWIG_fail
;
30108 resultobj
= SWIG_Py_Void();
30115 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30116 PyObject
*resultobj
= 0;
30117 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30124 PyObject
* obj0
= 0 ;
30125 PyObject
* obj1
= 0 ;
30126 char * kwnames
[] = {
30127 (char *) "self",(char *) "pageNum", NULL
30130 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30131 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30132 if (!SWIG_IsOK(res1
)) {
30133 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30135 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30136 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30137 if (!SWIG_IsOK(ecode2
)) {
30138 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
30140 arg2
= static_cast< int >(val2
);
30142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30143 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
30144 wxPyEndAllowThreads(__tstate
);
30145 if (PyErr_Occurred()) SWIG_fail
;
30148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30156 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30157 PyObject
*resultobj
= 0;
30158 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30162 PyObject
*swig_obj
[1] ;
30164 if (!args
) SWIG_fail
;
30165 swig_obj
[0] = args
;
30166 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30167 if (!SWIG_IsOK(res1
)) {
30168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30170 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30172 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30173 result
= (int)(arg1
)->GetCurrentPage();
30174 wxPyEndAllowThreads(__tstate
);
30175 if (PyErr_Occurred()) SWIG_fail
;
30177 resultobj
= SWIG_From_int(static_cast< int >(result
));
30184 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30185 PyObject
*resultobj
= 0;
30186 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30187 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30191 PyObject
* obj0
= 0 ;
30192 PyObject
* obj1
= 0 ;
30193 char * kwnames
[] = {
30194 (char *) "self",(char *) "printout", NULL
30197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30199 if (!SWIG_IsOK(res1
)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30202 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30203 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30204 if (!SWIG_IsOK(res2
)) {
30205 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30208 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30209 (arg1
)->SetPrintout(arg2
);
30210 wxPyEndAllowThreads(__tstate
);
30211 if (PyErr_Occurred()) SWIG_fail
;
30213 resultobj
= SWIG_Py_Void();
30220 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30221 PyObject
*resultobj
= 0;
30222 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30223 wxPyPrintout
*result
= 0 ;
30226 PyObject
*swig_obj
[1] ;
30228 if (!args
) SWIG_fail
;
30229 swig_obj
[0] = args
;
30230 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30231 if (!SWIG_IsOK(res1
)) {
30232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30234 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30236 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30237 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
30238 wxPyEndAllowThreads(__tstate
);
30239 if (PyErr_Occurred()) SWIG_fail
;
30242 resultobj
= wxPyMake_wxObject(result
, 0);
30250 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30251 PyObject
*resultobj
= 0;
30252 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30253 wxPyPrintout
*result
= 0 ;
30256 PyObject
*swig_obj
[1] ;
30258 if (!args
) SWIG_fail
;
30259 swig_obj
[0] = args
;
30260 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30261 if (!SWIG_IsOK(res1
)) {
30262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30264 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30266 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30267 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
30268 wxPyEndAllowThreads(__tstate
);
30269 if (PyErr_Occurred()) SWIG_fail
;
30272 resultobj
= wxPyMake_wxObject(result
, 0);
30280 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30281 PyObject
*resultobj
= 0;
30282 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30283 wxFrame
*arg2
= (wxFrame
*) 0 ;
30288 PyObject
* obj0
= 0 ;
30289 PyObject
* obj1
= 0 ;
30290 char * kwnames
[] = {
30291 (char *) "self",(char *) "frame", NULL
30294 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30295 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30296 if (!SWIG_IsOK(res1
)) {
30297 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30299 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30300 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30301 if (!SWIG_IsOK(res2
)) {
30302 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30304 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30307 (arg1
)->SetFrame(arg2
);
30308 wxPyEndAllowThreads(__tstate
);
30309 if (PyErr_Occurred()) SWIG_fail
;
30311 resultobj
= SWIG_Py_Void();
30318 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30319 PyObject
*resultobj
= 0;
30320 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30321 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30326 PyObject
* obj0
= 0 ;
30327 PyObject
* obj1
= 0 ;
30328 char * kwnames
[] = {
30329 (char *) "self",(char *) "canvas", NULL
30332 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30333 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30334 if (!SWIG_IsOK(res1
)) {
30335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30337 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30338 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30339 if (!SWIG_IsOK(res2
)) {
30340 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30342 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30344 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30345 (arg1
)->SetCanvas(arg2
);
30346 wxPyEndAllowThreads(__tstate
);
30347 if (PyErr_Occurred()) SWIG_fail
;
30349 resultobj
= SWIG_Py_Void();
30356 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30357 PyObject
*resultobj
= 0;
30358 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30359 wxFrame
*result
= 0 ;
30362 PyObject
*swig_obj
[1] ;
30364 if (!args
) SWIG_fail
;
30365 swig_obj
[0] = args
;
30366 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30367 if (!SWIG_IsOK(res1
)) {
30368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30370 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30373 result
= (wxFrame
*)(arg1
)->GetFrame();
30374 wxPyEndAllowThreads(__tstate
);
30375 if (PyErr_Occurred()) SWIG_fail
;
30378 resultobj
= wxPyMake_wxObject(result
, 0);
30386 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30387 PyObject
*resultobj
= 0;
30388 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30389 wxPreviewCanvas
*result
= 0 ;
30392 PyObject
*swig_obj
[1] ;
30394 if (!args
) SWIG_fail
;
30395 swig_obj
[0] = args
;
30396 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30397 if (!SWIG_IsOK(res1
)) {
30398 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30400 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30403 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
30404 wxPyEndAllowThreads(__tstate
);
30405 if (PyErr_Occurred()) SWIG_fail
;
30407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30414 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30415 PyObject
*resultobj
= 0;
30416 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30417 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30426 PyObject
* obj0
= 0 ;
30427 PyObject
* obj1
= 0 ;
30428 PyObject
* obj2
= 0 ;
30429 char * kwnames
[] = {
30430 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30433 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30434 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30435 if (!SWIG_IsOK(res1
)) {
30436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30438 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30439 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30440 if (!SWIG_IsOK(res2
)) {
30441 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30443 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30444 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30445 if (!SWIG_IsOK(res3
)) {
30446 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30449 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
30451 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30453 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30454 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
30455 wxPyEndAllowThreads(__tstate
);
30456 if (PyErr_Occurred()) SWIG_fail
;
30459 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30467 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30468 PyObject
*resultobj
= 0;
30469 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30470 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30479 PyObject
* obj0
= 0 ;
30480 PyObject
* obj1
= 0 ;
30481 PyObject
* obj2
= 0 ;
30482 char * kwnames
[] = {
30483 (char *) "self",(char *) "canvas",(char *) "dc", NULL
30486 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30487 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30488 if (!SWIG_IsOK(res1
)) {
30489 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30491 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30492 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30493 if (!SWIG_IsOK(res2
)) {
30494 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30496 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30497 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
30498 if (!SWIG_IsOK(res3
)) {
30499 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30502 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
30504 arg3
= reinterpret_cast< wxDC
* >(argp3
);
30506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30507 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
30508 wxPyEndAllowThreads(__tstate
);
30509 if (PyErr_Occurred()) SWIG_fail
;
30512 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30520 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30521 PyObject
*resultobj
= 0;
30522 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30529 PyObject
* obj0
= 0 ;
30530 PyObject
* obj1
= 0 ;
30531 char * kwnames
[] = {
30532 (char *) "self",(char *) "pageNum", NULL
30535 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30536 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30537 if (!SWIG_IsOK(res1
)) {
30538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30540 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30541 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30542 if (!SWIG_IsOK(ecode2
)) {
30543 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
30545 arg2
= static_cast< int >(val2
);
30547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30548 result
= (bool)(arg1
)->RenderPage(arg2
);
30549 wxPyEndAllowThreads(__tstate
);
30550 if (PyErr_Occurred()) SWIG_fail
;
30553 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30561 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30562 PyObject
*resultobj
= 0;
30563 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30564 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30569 PyObject
* obj0
= 0 ;
30570 PyObject
* obj1
= 0 ;
30571 char * kwnames
[] = {
30572 (char *) "self",(char *) "canvas", NULL
30575 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30576 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30577 if (!SWIG_IsOK(res1
)) {
30578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30580 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30581 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30582 if (!SWIG_IsOK(res2
)) {
30583 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30585 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30587 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30588 (arg1
)->AdjustScrollbars(arg2
);
30589 wxPyEndAllowThreads(__tstate
);
30590 if (PyErr_Occurred()) SWIG_fail
;
30592 resultobj
= SWIG_Py_Void();
30599 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30600 PyObject
*resultobj
= 0;
30601 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30602 wxPrintDialogData
*result
= 0 ;
30605 PyObject
*swig_obj
[1] ;
30607 if (!args
) SWIG_fail
;
30608 swig_obj
[0] = args
;
30609 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30610 if (!SWIG_IsOK(res1
)) {
30611 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30613 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30617 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
30618 result
= (wxPrintDialogData
*) &_result_ref
;
30620 wxPyEndAllowThreads(__tstate
);
30621 if (PyErr_Occurred()) SWIG_fail
;
30623 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30630 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30631 PyObject
*resultobj
= 0;
30632 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30638 PyObject
* obj0
= 0 ;
30639 PyObject
* obj1
= 0 ;
30640 char * kwnames
[] = {
30641 (char *) "self",(char *) "percent", NULL
30644 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30645 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30646 if (!SWIG_IsOK(res1
)) {
30647 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30649 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30650 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30651 if (!SWIG_IsOK(ecode2
)) {
30652 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
30654 arg2
= static_cast< int >(val2
);
30656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30657 (arg1
)->SetZoom(arg2
);
30658 wxPyEndAllowThreads(__tstate
);
30659 if (PyErr_Occurred()) SWIG_fail
;
30661 resultobj
= SWIG_Py_Void();
30668 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30669 PyObject
*resultobj
= 0;
30670 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30674 PyObject
*swig_obj
[1] ;
30676 if (!args
) SWIG_fail
;
30677 swig_obj
[0] = args
;
30678 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30679 if (!SWIG_IsOK(res1
)) {
30680 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30682 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30684 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30685 result
= (int)(arg1
)->GetZoom();
30686 wxPyEndAllowThreads(__tstate
);
30687 if (PyErr_Occurred()) SWIG_fail
;
30689 resultobj
= SWIG_From_int(static_cast< int >(result
));
30696 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30697 PyObject
*resultobj
= 0;
30698 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30702 PyObject
*swig_obj
[1] ;
30704 if (!args
) SWIG_fail
;
30705 swig_obj
[0] = args
;
30706 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30707 if (!SWIG_IsOK(res1
)) {
30708 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30710 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30712 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30713 result
= (int)(arg1
)->GetMaxPage();
30714 wxPyEndAllowThreads(__tstate
);
30715 if (PyErr_Occurred()) SWIG_fail
;
30717 resultobj
= SWIG_From_int(static_cast< int >(result
));
30724 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30725 PyObject
*resultobj
= 0;
30726 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30730 PyObject
*swig_obj
[1] ;
30732 if (!args
) SWIG_fail
;
30733 swig_obj
[0] = args
;
30734 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30735 if (!SWIG_IsOK(res1
)) {
30736 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30738 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30740 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30741 result
= (int)(arg1
)->GetMinPage();
30742 wxPyEndAllowThreads(__tstate
);
30743 if (PyErr_Occurred()) SWIG_fail
;
30745 resultobj
= SWIG_From_int(static_cast< int >(result
));
30752 SWIGINTERN PyObject
*_wrap_PrintPreview_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30753 PyObject
*resultobj
= 0;
30754 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30758 PyObject
*swig_obj
[1] ;
30760 if (!args
) SWIG_fail
;
30761 swig_obj
[0] = args
;
30762 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30763 if (!SWIG_IsOK(res1
)) {
30764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_IsOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30766 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30768 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30769 result
= (bool)(arg1
)->IsOk();
30770 wxPyEndAllowThreads(__tstate
);
30771 if (PyErr_Occurred()) SWIG_fail
;
30774 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30782 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30783 PyObject
*resultobj
= 0;
30784 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30790 PyObject
* obj0
= 0 ;
30791 PyObject
* obj1
= 0 ;
30792 char * kwnames
[] = {
30793 (char *) "self",(char *) "ok", NULL
30796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30798 if (!SWIG_IsOK(res1
)) {
30799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30801 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30802 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30803 if (!SWIG_IsOK(ecode2
)) {
30804 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
30806 arg2
= static_cast< bool >(val2
);
30808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30809 (arg1
)->SetOk(arg2
);
30810 wxPyEndAllowThreads(__tstate
);
30811 if (PyErr_Occurred()) SWIG_fail
;
30813 resultobj
= SWIG_Py_Void();
30820 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30821 PyObject
*resultobj
= 0;
30822 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30829 PyObject
* obj0
= 0 ;
30830 PyObject
* obj1
= 0 ;
30831 char * kwnames
[] = {
30832 (char *) "self",(char *) "interactive", NULL
30835 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30836 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30837 if (!SWIG_IsOK(res1
)) {
30838 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30840 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30841 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30842 if (!SWIG_IsOK(ecode2
)) {
30843 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30845 arg2
= static_cast< bool >(val2
);
30847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30848 result
= (bool)(arg1
)->Print(arg2
);
30849 wxPyEndAllowThreads(__tstate
);
30850 if (PyErr_Occurred()) SWIG_fail
;
30853 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30861 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30862 PyObject
*resultobj
= 0;
30863 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30866 PyObject
*swig_obj
[1] ;
30868 if (!args
) SWIG_fail
;
30869 swig_obj
[0] = args
;
30870 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30871 if (!SWIG_IsOK(res1
)) {
30872 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30874 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30876 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30877 (arg1
)->DetermineScaling();
30878 wxPyEndAllowThreads(__tstate
);
30879 if (PyErr_Occurred()) SWIG_fail
;
30881 resultobj
= SWIG_Py_Void();
30888 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30890 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30891 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30892 return SWIG_Py_Void();
30895 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30896 return SWIG_Python_InitShadowInstance(args
);
30899 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30900 PyObject
*resultobj
= 0;
30901 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30902 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30903 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30904 wxPyPrintPreview
*result
= 0 ;
30910 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30911 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30912 if (!SWIG_IsOK(res1
)) {
30913 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30915 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30916 if (!SWIG_IsOK(res2
)) {
30917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30920 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30921 if (!SWIG_IsOK(res3
)) {
30922 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30924 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30927 if (!wxPyCheckForApp()) SWIG_fail
;
30928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30929 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30930 wxPyEndAllowThreads(__tstate
);
30931 if (PyErr_Occurred()) SWIG_fail
;
30933 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30940 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30941 PyObject
*resultobj
= 0;
30942 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30943 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30944 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30945 wxPyPrintPreview
*result
= 0 ;
30951 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30952 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30953 if (!SWIG_IsOK(res1
)) {
30954 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30956 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30957 if (!SWIG_IsOK(res2
)) {
30958 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30960 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30961 if (!SWIG_IsOK(res3
)) {
30962 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30964 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30966 if (!wxPyCheckForApp()) SWIG_fail
;
30967 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30968 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30969 wxPyEndAllowThreads(__tstate
);
30970 if (PyErr_Occurred()) SWIG_fail
;
30972 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30979 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30983 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30985 if ((argc
>= 2) && (argc
<= 3)) {
30990 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30991 _v
= SWIG_CheckState(res
);
30993 if (!_v
) goto check_1
;
30995 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
31000 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
31004 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
31009 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31010 PyObject
*resultobj
= 0;
31011 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
31012 PyObject
*arg2
= (PyObject
*) 0 ;
31013 PyObject
*arg3
= (PyObject
*) 0 ;
31016 PyObject
* obj0
= 0 ;
31017 PyObject
* obj1
= 0 ;
31018 PyObject
* obj2
= 0 ;
31019 char * kwnames
[] = {
31020 (char *) "self",(char *) "self",(char *) "_class", NULL
31023 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31024 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
31025 if (!SWIG_IsOK(res1
)) {
31026 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
31028 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
31032 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31033 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31034 wxPyEndAllowThreads(__tstate
);
31035 if (PyErr_Occurred()) SWIG_fail
;
31037 resultobj
= SWIG_Py_Void();
31044 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31046 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31047 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
31048 return SWIG_Py_Void();
31051 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31052 return SWIG_Python_InitShadowInstance(args
);
31055 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31056 PyObject
*resultobj
= 0;
31057 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31058 wxFrame
*arg2
= (wxFrame
*) 0 ;
31059 wxString
*arg3
= 0 ;
31060 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31061 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31062 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31063 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31064 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
31065 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
31066 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31067 wxPyPreviewFrame
*result
= 0 ;
31071 bool temp3
= false ;
31076 bool temp7
= false ;
31077 PyObject
* obj0
= 0 ;
31078 PyObject
* obj1
= 0 ;
31079 PyObject
* obj2
= 0 ;
31080 PyObject
* obj3
= 0 ;
31081 PyObject
* obj4
= 0 ;
31082 PyObject
* obj5
= 0 ;
31083 PyObject
* obj6
= 0 ;
31084 char * kwnames
[] = {
31085 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31088 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31089 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31090 if (!SWIG_IsOK(res1
)) {
31091 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31093 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
31094 if (!SWIG_IsOK(res2
)) {
31095 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
31097 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
31099 arg3
= wxString_in_helper(obj2
);
31100 if (arg3
== NULL
) SWIG_fail
;
31106 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31112 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31116 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31117 if (!SWIG_IsOK(ecode6
)) {
31118 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
31120 arg6
= static_cast< long >(val6
);
31124 arg7
= wxString_in_helper(obj6
);
31125 if (arg7
== NULL
) SWIG_fail
;
31130 if (!wxPyCheckForApp()) SWIG_fail
;
31131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31132 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31133 wxPyEndAllowThreads(__tstate
);
31134 if (PyErr_Occurred()) SWIG_fail
;
31136 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
31159 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31160 PyObject
*resultobj
= 0;
31161 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31162 PyObject
*arg2
= (PyObject
*) 0 ;
31163 PyObject
*arg3
= (PyObject
*) 0 ;
31166 PyObject
* obj0
= 0 ;
31167 PyObject
* obj1
= 0 ;
31168 PyObject
* obj2
= 0 ;
31169 char * kwnames
[] = {
31170 (char *) "self",(char *) "self",(char *) "_class", NULL
31173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31175 if (!SWIG_IsOK(res1
)) {
31176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31178 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31183 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31184 wxPyEndAllowThreads(__tstate
);
31185 if (PyErr_Occurred()) SWIG_fail
;
31187 resultobj
= SWIG_Py_Void();
31194 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31195 PyObject
*resultobj
= 0;
31196 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31197 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
31202 PyObject
* obj0
= 0 ;
31203 PyObject
* obj1
= 0 ;
31204 char * kwnames
[] = {
31205 (char *) "self",(char *) "canvas", NULL
31208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31210 if (!SWIG_IsOK(res1
)) {
31211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31213 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31214 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
31215 if (!SWIG_IsOK(res2
)) {
31216 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
31218 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
31220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31221 (arg1
)->SetPreviewCanvas(arg2
);
31222 wxPyEndAllowThreads(__tstate
);
31223 if (PyErr_Occurred()) SWIG_fail
;
31225 resultobj
= SWIG_Py_Void();
31232 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31233 PyObject
*resultobj
= 0;
31234 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31235 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
31240 PyObject
* obj0
= 0 ;
31241 PyObject
* obj1
= 0 ;
31242 char * kwnames
[] = {
31243 (char *) "self",(char *) "bar", NULL
31246 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31247 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31248 if (!SWIG_IsOK(res1
)) {
31249 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31251 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31252 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
31253 if (!SWIG_IsOK(res2
)) {
31254 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
31256 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
31258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31259 (arg1
)->SetControlBar(arg2
);
31260 wxPyEndAllowThreads(__tstate
);
31261 if (PyErr_Occurred()) SWIG_fail
;
31263 resultobj
= SWIG_Py_Void();
31270 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31271 PyObject
*resultobj
= 0;
31272 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31275 PyObject
*swig_obj
[1] ;
31277 if (!args
) SWIG_fail
;
31278 swig_obj
[0] = args
;
31279 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31280 if (!SWIG_IsOK(res1
)) {
31281 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31283 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31285 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31286 (arg1
)->Initialize();
31287 wxPyEndAllowThreads(__tstate
);
31288 if (PyErr_Occurred()) SWIG_fail
;
31290 resultobj
= SWIG_Py_Void();
31297 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31298 PyObject
*resultobj
= 0;
31299 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31302 PyObject
*swig_obj
[1] ;
31304 if (!args
) SWIG_fail
;
31305 swig_obj
[0] = args
;
31306 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31307 if (!SWIG_IsOK(res1
)) {
31308 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31310 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31312 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31313 (arg1
)->CreateCanvas();
31314 wxPyEndAllowThreads(__tstate
);
31315 if (PyErr_Occurred()) SWIG_fail
;
31317 resultobj
= SWIG_Py_Void();
31324 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31325 PyObject
*resultobj
= 0;
31326 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
31329 PyObject
*swig_obj
[1] ;
31331 if (!args
) SWIG_fail
;
31332 swig_obj
[0] = args
;
31333 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
31334 if (!SWIG_IsOK(res1
)) {
31335 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
31337 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
31339 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31340 (arg1
)->CreateControlBar();
31341 wxPyEndAllowThreads(__tstate
);
31342 if (PyErr_Occurred()) SWIG_fail
;
31344 resultobj
= SWIG_Py_Void();
31351 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31353 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31354 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
31355 return SWIG_Py_Void();
31358 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31359 return SWIG_Python_InitShadowInstance(args
);
31362 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31363 PyObject
*resultobj
= 0;
31364 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
31366 wxWindow
*arg3
= (wxWindow
*) 0 ;
31367 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
31368 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
31369 wxSize
const &arg5_defvalue
= wxDefaultSize
;
31370 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
31371 long arg6
= (long) 0 ;
31372 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
31373 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
31374 wxPyPreviewControlBar
*result
= 0 ;
31384 bool temp7
= false ;
31385 PyObject
* obj0
= 0 ;
31386 PyObject
* obj1
= 0 ;
31387 PyObject
* obj2
= 0 ;
31388 PyObject
* obj3
= 0 ;
31389 PyObject
* obj4
= 0 ;
31390 PyObject
* obj5
= 0 ;
31391 PyObject
* obj6
= 0 ;
31392 char * kwnames
[] = {
31393 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
31396 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
31397 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31398 if (!SWIG_IsOK(res1
)) {
31399 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
31401 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
31402 if (!SWIG_IsOK(ecode2
)) {
31403 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
31405 arg2
= static_cast< long >(val2
);
31406 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
31407 if (!SWIG_IsOK(res3
)) {
31408 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
31410 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
31414 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
31420 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
31424 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
31425 if (!SWIG_IsOK(ecode6
)) {
31426 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
31428 arg6
= static_cast< long >(val6
);
31432 arg7
= wxString_in_helper(obj6
);
31433 if (arg7
== NULL
) SWIG_fail
;
31438 if (!wxPyCheckForApp()) SWIG_fail
;
31439 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31440 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
31441 wxPyEndAllowThreads(__tstate
);
31442 if (PyErr_Occurred()) SWIG_fail
;
31444 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
31459 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31460 PyObject
*resultobj
= 0;
31461 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31462 PyObject
*arg2
= (PyObject
*) 0 ;
31463 PyObject
*arg3
= (PyObject
*) 0 ;
31466 PyObject
* obj0
= 0 ;
31467 PyObject
* obj1
= 0 ;
31468 PyObject
* obj2
= 0 ;
31469 char * kwnames
[] = {
31470 (char *) "self",(char *) "self",(char *) "_class", NULL
31473 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
31474 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31475 if (!SWIG_IsOK(res1
)) {
31476 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31478 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31483 (arg1
)->_setCallbackInfo(arg2
,arg3
);
31484 wxPyEndAllowThreads(__tstate
);
31485 if (PyErr_Occurred()) SWIG_fail
;
31487 resultobj
= SWIG_Py_Void();
31494 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31495 PyObject
*resultobj
= 0;
31496 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31497 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
31501 PyObject
* obj0
= 0 ;
31502 PyObject
* obj1
= 0 ;
31503 char * kwnames
[] = {
31504 (char *) "self",(char *) "preview", NULL
31507 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31508 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31509 if (!SWIG_IsOK(res1
)) {
31510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31512 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31513 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
31514 if (!SWIG_IsOK(res2
)) {
31515 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
31518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31519 (arg1
)->SetPrintPreview(arg2
);
31520 wxPyEndAllowThreads(__tstate
);
31521 if (PyErr_Occurred()) SWIG_fail
;
31523 resultobj
= SWIG_Py_Void();
31530 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31531 PyObject
*resultobj
= 0;
31532 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31535 PyObject
*swig_obj
[1] ;
31537 if (!args
) SWIG_fail
;
31538 swig_obj
[0] = args
;
31539 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31540 if (!SWIG_IsOK(res1
)) {
31541 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31543 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31545 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31546 (arg1
)->CreateButtons();
31547 wxPyEndAllowThreads(__tstate
);
31548 if (PyErr_Occurred()) SWIG_fail
;
31550 resultobj
= SWIG_Py_Void();
31557 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
31558 PyObject
*resultobj
= 0;
31559 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
31565 PyObject
* obj0
= 0 ;
31566 PyObject
* obj1
= 0 ;
31567 char * kwnames
[] = {
31568 (char *) "self",(char *) "zoom", NULL
31571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
31572 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
31573 if (!SWIG_IsOK(res1
)) {
31574 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
31576 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
31577 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
31578 if (!SWIG_IsOK(ecode2
)) {
31579 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
31581 arg2
= static_cast< int >(val2
);
31583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
31584 (arg1
)->SetZoomControl(arg2
);
31585 wxPyEndAllowThreads(__tstate
);
31586 if (PyErr_Occurred()) SWIG_fail
;
31588 resultobj
= SWIG_Py_Void();
31595 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31597 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
31598 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
31599 return SWIG_Py_Void();
31602 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
31603 return SWIG_Python_InitShadowInstance(args
);
31606 static PyMethodDef SwigMethods
[] = {
31607 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31608 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
31609 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31610 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
31611 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31612 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
31613 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
31614 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31615 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
31616 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31617 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31618 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31619 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31620 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31621 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31622 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
31623 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31624 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
31625 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31626 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
31627 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
31628 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
31629 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
31630 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
31631 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31632 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31633 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
31634 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31635 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
31636 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31637 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31638 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31639 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31640 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31641 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
31642 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31643 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
31644 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
31645 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
31646 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
31647 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31648 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31649 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31650 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
31651 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31652 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
31653 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31654 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31655 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31656 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
31657 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31658 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
31659 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31660 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
31661 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31662 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31663 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
31664 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
31665 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31666 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
31667 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31668 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
31669 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31670 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
31671 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31672 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31673 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
31674 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31675 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31676 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31677 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31678 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31679 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31680 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
31681 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31682 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
31683 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31684 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31685 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31686 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31687 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
31688 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
31689 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31690 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
31691 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31692 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31693 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
31694 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31695 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
31696 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31697 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
31698 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31699 { (char *)"Dialog__CreateButtonSizer", (PyCFunction
) _wrap_Dialog__CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31700 { (char *)"Dialog_CreateSeparatedButtonSizer", (PyCFunction
) _wrap_Dialog_CreateSeparatedButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31701 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31702 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
31703 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
31704 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31705 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31706 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
31707 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
31708 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31709 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
31710 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31711 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
31712 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
31713 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31714 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31715 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
31716 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
31717 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
31718 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31719 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
31720 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
31721 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
31722 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
31723 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
31724 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31725 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
31726 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31727 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31728 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
31729 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31730 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31731 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31732 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31733 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31734 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31735 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31736 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31737 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
31738 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
31739 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31740 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
31741 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
31742 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31743 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
31744 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31745 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
31746 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
31747 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31748 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
31749 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31750 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31751 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31752 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31753 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31754 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
31755 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
31756 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31757 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31758 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
31759 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
31760 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31761 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
31762 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31763 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
31764 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31765 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
31766 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31767 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
31768 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31769 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
31770 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31771 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
31772 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
31773 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31774 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31775 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
31776 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
31777 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
31778 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
31779 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
31780 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
31781 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31782 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
31783 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31784 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31785 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31786 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31787 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31788 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
31789 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31790 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
31791 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31792 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31793 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
31794 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
31795 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31796 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31797 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
31798 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
31799 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31800 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
31801 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
31802 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
31803 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31804 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31805 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
31806 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31807 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
31808 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31809 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
31810 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
31811 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
31812 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31813 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31814 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
31815 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31816 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
31817 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31818 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31819 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31820 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31821 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31822 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31823 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31824 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31825 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31826 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31827 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31828 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31829 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31830 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31831 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31832 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31833 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31834 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31835 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31836 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31837 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31838 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31839 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31840 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31841 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31842 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31843 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31844 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31845 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31846 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31847 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31848 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31849 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31850 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31851 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31852 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31853 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31854 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31855 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31856 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31857 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31858 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31859 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31860 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31861 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31862 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31863 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31864 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31865 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31866 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31867 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31868 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31869 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31870 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31871 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31872 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31873 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31874 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31875 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31876 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31877 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31878 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31879 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31880 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31881 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31882 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31883 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31884 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31885 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31886 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31887 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31888 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31889 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31890 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31891 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31892 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31893 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31894 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31895 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31896 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31897 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31898 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31899 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31900 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31901 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31902 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31903 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31904 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31905 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31906 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31907 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31908 { (char *)"VListBox_RefreshSelected", (PyCFunction
)_wrap_VListBox_RefreshSelected
, METH_O
, NULL
},
31909 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31910 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31911 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31912 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31913 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31914 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31915 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31916 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31917 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31918 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31919 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31920 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31921 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31922 { (char *)"new_SimpleHtmlListBox", (PyCFunction
) _wrap_new_SimpleHtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31923 { (char *)"new_PreSimpleHtmlListBox", (PyCFunction
)_wrap_new_PreSimpleHtmlListBox
, METH_NOARGS
, NULL
},
31924 { (char *)"SimpleHtmlListBox_Create", (PyCFunction
) _wrap_SimpleHtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31925 { (char *)"SimpleHtmlListBox_swigregister", SimpleHtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31926 { (char *)"SimpleHtmlListBox_swiginit", SimpleHtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31927 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31928 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31929 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31930 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31931 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31932 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31933 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31934 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31935 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31936 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31937 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31938 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31939 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31940 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31941 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31942 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31943 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31944 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31945 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31946 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31947 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31948 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31949 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31950 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31951 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31952 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31953 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31954 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31955 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31956 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31957 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31958 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31959 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31960 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31961 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31962 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31963 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31964 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31965 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31966 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31967 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31968 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31969 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31970 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31971 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31972 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31973 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31974 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31975 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31976 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31977 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31978 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31979 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31980 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31981 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31982 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31983 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31984 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31985 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31986 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31987 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31988 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31989 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31990 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31991 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31992 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31993 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31994 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31995 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31996 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31997 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31998 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31999 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32000 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
32001 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
32002 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
32003 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
32004 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
32005 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32006 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
32007 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
32008 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
32009 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
32010 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
32011 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
32012 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32013 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32014 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32015 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32016 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32017 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32018 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
32019 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
32020 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32021 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
32022 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
32023 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
32024 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32025 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32026 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
32027 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
32028 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32029 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32030 { (char *)"ProgressDialog_Pulse", (PyCFunction
) _wrap_ProgressDialog_Pulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32031 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
32032 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
32033 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
32034 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32035 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
32036 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
32037 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
32038 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
32039 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32040 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32041 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32042 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
32043 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
32044 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32045 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
32046 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
32047 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
32048 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
32049 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32050 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32051 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32052 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
32053 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
32054 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32055 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
32056 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32057 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
32058 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32059 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
32060 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
32061 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32062 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
32063 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32064 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
32065 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
32066 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
32067 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
32068 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
32069 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
32070 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32071 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
32072 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
32073 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32074 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
32075 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32076 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
32077 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
32078 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
32079 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32080 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
32081 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32082 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
32083 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
32084 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32085 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
32086 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32087 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32088 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32089 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32090 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32091 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32092 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
32093 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
32094 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
32095 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
32096 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
32097 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
32098 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
32099 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
32100 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
32101 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32102 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
32103 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32104 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32105 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32106 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32107 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32108 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32109 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
32110 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
32111 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
32112 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
32113 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
32114 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
32115 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
32116 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
32117 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
32118 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32119 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
32120 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32121 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32122 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32123 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32124 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32125 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32126 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
32127 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
32128 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
32129 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
32130 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
32131 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
32132 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
32133 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
32134 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
32135 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
32136 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
32137 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
32138 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
32139 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
32140 { (char *)"PrintData_IsOrientationReversed", (PyCFunction
)_wrap_PrintData_IsOrientationReversed
, METH_O
, NULL
},
32141 { (char *)"PrintData_IsOk", (PyCFunction
)_wrap_PrintData_IsOk
, METH_O
, NULL
},
32142 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
32143 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
32144 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
32145 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
32146 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
32147 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
32148 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
32149 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
32150 { (char *)"PrintData_GetMedia", (PyCFunction
)_wrap_PrintData_GetMedia
, METH_O
, NULL
},
32151 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32152 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32153 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32154 { (char *)"PrintData_SetOrientationReversed", (PyCFunction
) _wrap_PrintData_SetOrientationReversed
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32155 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32156 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32157 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32158 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32159 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32160 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32161 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32162 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32163 { (char *)"PrintData_SetMedia", (PyCFunction
) _wrap_PrintData_SetMedia
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32164 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
32165 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32166 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
32167 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32168 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
32169 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
32170 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
32171 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
32172 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32173 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32174 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32175 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32176 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32177 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
32178 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
32179 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
32180 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
32181 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
32182 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
32183 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
32184 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
32185 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
32186 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
32187 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
32188 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
32189 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
32190 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
32191 { (char *)"PageSetupDialogData_IsOk", (PyCFunction
)_wrap_PageSetupDialogData_IsOk
, METH_O
, NULL
},
32192 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32193 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32194 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32195 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32196 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32197 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32198 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32199 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32200 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32201 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
32202 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
32203 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
32204 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
32205 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32206 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
32207 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
32208 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
32209 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
32210 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
32211 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
32212 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
32213 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
32214 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
32215 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
32216 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
32217 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
32218 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
32219 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
32220 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
32221 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
32222 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
32223 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32224 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32225 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32226 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32227 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32228 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32229 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32230 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32231 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32232 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32233 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32234 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32235 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32236 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
32237 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
32238 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
32239 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
32240 { (char *)"PrintDialogData_IsOk", (PyCFunction
)_wrap_PrintDialogData_IsOk
, METH_O
, NULL
},
32241 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
32242 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32243 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
32244 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
32245 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32246 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
32247 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
32248 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
32249 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
32250 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
32251 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
32252 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
32253 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32254 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
32255 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32256 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32257 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32258 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32259 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32260 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
32261 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
32262 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
32263 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
32264 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
32265 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32266 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
32267 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32268 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
32269 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
32270 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32271 { (char *)"Printout_FitThisSizeToPaper", (PyCFunction
) _wrap_Printout_FitThisSizeToPaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32272 { (char *)"Printout_FitThisSizeToPage", (PyCFunction
) _wrap_Printout_FitThisSizeToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32273 { (char *)"Printout_FitThisSizeToPageMargins", (PyCFunction
) _wrap_Printout_FitThisSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32274 { (char *)"Printout_MapScreenSizeToPaper", (PyCFunction
)_wrap_Printout_MapScreenSizeToPaper
, METH_O
, NULL
},
32275 { (char *)"Printout_MapScreenSizeToPage", (PyCFunction
)_wrap_Printout_MapScreenSizeToPage
, METH_O
, NULL
},
32276 { (char *)"Printout_MapScreenSizeToPageMargins", (PyCFunction
) _wrap_Printout_MapScreenSizeToPageMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32277 { (char *)"Printout_MapScreenSizeToDevice", (PyCFunction
)_wrap_Printout_MapScreenSizeToDevice
, METH_O
, NULL
},
32278 { (char *)"Printout_GetLogicalPaperRect", (PyCFunction
)_wrap_Printout_GetLogicalPaperRect
, METH_O
, NULL
},
32279 { (char *)"Printout_GetLogicalPageRect", (PyCFunction
)_wrap_Printout_GetLogicalPageRect
, METH_O
, NULL
},
32280 { (char *)"Printout_GetLogicalPageMarginsRect", (PyCFunction
) _wrap_Printout_GetLogicalPageMarginsRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32281 { (char *)"Printout_SetLogicalOrigin", (PyCFunction
) _wrap_Printout_SetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32282 { (char *)"Printout_OffsetLogicalOrigin", (PyCFunction
) _wrap_Printout_OffsetLogicalOrigin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32283 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32284 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
32285 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32286 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
32287 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32288 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
32289 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32290 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
32291 { (char *)"Printout_SetPaperRectPixels", (PyCFunction
) _wrap_Printout_SetPaperRectPixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32292 { (char *)"Printout_GetPaperRectPixels", (PyCFunction
)_wrap_Printout_GetPaperRectPixels
, METH_O
, NULL
},
32293 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
32294 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32295 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32296 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
32297 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
32298 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
32299 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
32300 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32301 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
32302 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
32303 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
32304 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32305 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
32306 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
32307 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32308 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
32309 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
32310 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
32311 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
32312 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32313 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32314 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32315 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
32316 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32317 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
32318 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
32319 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
32320 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
32321 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
32322 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
32323 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32324 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32325 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
32326 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
32327 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32328 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
32329 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32330 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
32331 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
32332 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32333 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32334 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
32335 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
32336 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32337 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32338 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32339 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32340 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
32341 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32342 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
32343 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
32344 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
32345 { (char *)"PrintPreview_IsOk", (PyCFunction
)_wrap_PrintPreview_IsOk
, METH_O
, NULL
},
32346 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32347 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32348 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
32349 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
32350 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
32351 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
32352 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32353 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
32354 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
32355 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32356 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32357 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32358 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32359 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
32360 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
32361 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
32362 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
32363 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
32364 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32365 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32366 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32367 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
32368 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
32369 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
32370 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
32371 { NULL
, NULL
, 0, NULL
}
32375 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
32377 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
32378 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32380 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
32381 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32383 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
32384 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
32386 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
32387 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
32389 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
32390 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
32392 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
32393 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
32395 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
32396 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
32398 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
32399 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32401 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
32402 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
32404 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
32405 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
32407 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
32408 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32410 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
32411 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32413 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
32414 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32416 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
32417 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
32419 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
32420 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32422 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
32423 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
32425 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
32426 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32428 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
32429 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32431 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
32432 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
32434 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
32435 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
32437 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
32438 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
32440 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
32441 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
32443 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
32444 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
32446 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
32447 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
32449 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
32450 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
32452 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
32453 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
32455 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
32456 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32458 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
32459 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32461 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
32462 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32464 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
32465 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32467 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
32468 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32470 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
32471 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32473 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
32474 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
32476 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
32477 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
32479 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
32480 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32482 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
32483 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
32485 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
32486 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32488 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
32489 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
32491 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
32492 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
32494 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
32495 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32497 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
32498 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32500 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
32501 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32503 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
32504 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
32506 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
32507 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
32509 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
32510 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32512 static void *_p_wxControlWithItemsTo_p_wxItemContainer(void *x
) {
32513 return (void *)((wxItemContainer
*) ((wxControlWithItems
*) x
));
32515 static void *_p_wxSimpleHtmlListBoxTo_p_wxItemContainer(void *x
) {
32516 return (void *)((wxItemContainer
*) ((wxSimpleHtmlListBox
*) x
));
32518 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
32519 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32521 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
32522 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32524 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
32525 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32527 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
32528 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32530 static void *_p_wxEventBlockerTo_p_wxEvtHandler(void *x
) {
32531 return (void *)((wxEvtHandler
*) ((wxEventBlocker
*) x
));
32533 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
32534 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32536 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
32537 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
32539 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
32540 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
32542 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
32543 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
32545 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
32546 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
32548 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
32549 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32551 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
32552 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32554 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
32555 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32557 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
32558 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32560 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
32561 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32563 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
32564 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32566 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
32567 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32569 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
32570 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32572 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
32573 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32575 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
32576 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
32578 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
32579 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
32581 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
32582 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32584 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
32585 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32587 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
32588 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32590 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
32591 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
32593 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
32594 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32596 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
32597 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
32599 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
32600 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
32602 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
32603 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
32605 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
32606 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
32608 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
32609 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32611 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
32612 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
32614 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
32615 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
32617 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
32618 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32620 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
32621 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
32623 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
32624 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32626 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
32627 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32629 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
32630 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32632 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
32633 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
32635 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
32636 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32638 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
32639 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
32641 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
32642 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32644 static void *_p_wxSimpleHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32645 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32647 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
32648 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32650 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
32651 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32653 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32654 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32656 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
32657 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32659 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
32660 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32662 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
32663 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32665 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
32666 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32668 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
32669 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32671 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
32672 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32674 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
32675 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32677 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
32678 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32680 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox(void *x
) {
32681 return (void *)((wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32683 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32684 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32686 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVListBox(void *x
) {
32687 return (void *)((wxPyVListBox
*) (wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32689 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
32690 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
32692 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
32693 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
32695 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
32696 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
32698 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
32699 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
32701 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
32702 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32704 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
32705 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
32707 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
32708 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
32710 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
32711 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
32713 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
32714 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
32716 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
32717 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
32719 static void *_p_wxEventBlockerTo_p_wxObject(void *x
) {
32720 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxEventBlocker
*) x
));
32722 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
32723 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32725 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
32726 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32728 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
32729 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
32731 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
32732 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
32734 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
32735 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
32737 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
32738 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
32740 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
32741 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
32743 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
32744 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
32746 static void *_p_wxSizerTo_p_wxObject(void *x
) {
32747 return (void *)((wxObject
*) ((wxSizer
*) x
));
32749 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
32750 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
32752 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
32753 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32755 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
32756 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
32758 static void *_p_wxEventTo_p_wxObject(void *x
) {
32759 return (void *)((wxObject
*) ((wxEvent
*) x
));
32761 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
32762 return (void *)((wxObject
*) ((wxFontData
*) x
));
32764 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
32765 return (void *)((wxObject
*) ((wxPrintData
*) x
));
32767 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
32768 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
32770 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
32771 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
32773 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
32774 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
32776 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
32777 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
32779 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
32780 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
32782 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
32783 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32785 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
32786 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32788 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
32789 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
32791 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
32792 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
32794 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
32795 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
32797 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
32798 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
32800 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
32801 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
32803 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
32804 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
32806 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
32807 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32809 static void *_p_wxControlTo_p_wxObject(void *x
) {
32810 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
32812 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
32813 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
32815 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
32816 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32818 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
32819 return (void *)((wxObject
*) ((wxFSFile
*) x
));
32821 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
32822 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
32824 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
32825 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
32827 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
32828 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32830 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
32831 return (void *)((wxObject
*) ((wxColourData
*) x
));
32833 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
32834 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
32836 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
32837 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32839 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
32840 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
32842 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
32843 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32845 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
32846 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32848 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
32849 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32851 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
32852 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32854 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
32855 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32857 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
32858 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32860 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32861 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32863 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32864 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32866 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32867 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32869 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32870 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32872 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32873 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32875 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32876 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32878 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32879 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32881 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32882 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32884 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32885 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32887 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32888 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32890 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32891 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32893 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32894 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32896 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32897 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32899 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32900 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32902 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32903 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32905 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32906 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32908 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32909 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32911 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32912 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32914 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32915 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32917 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32918 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32920 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32921 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32923 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32924 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32926 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32927 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32929 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32930 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32932 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32933 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32935 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32936 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32938 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32939 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32941 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32942 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32944 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32945 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32947 static void *_p_wxTGAHandlerTo_p_wxObject(void *x
) {
32948 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTGAHandler
*) x
));
32950 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32951 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32953 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32954 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32956 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32957 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32959 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32960 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32962 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32963 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32965 static void *_p_wxSimpleHtmlListBoxTo_p_wxObject(void *x
) {
32966 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
32968 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32969 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32971 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32972 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32974 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32975 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32977 static void *_p_wxImageTo_p_wxObject(void *x
) {
32978 return (void *)((wxObject
*) ((wxImage
*) x
));
32980 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32981 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32983 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32984 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32986 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32987 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32989 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32990 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32992 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32993 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32995 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32996 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32998 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32999 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33001 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
33002 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
33004 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
33005 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
33007 static void *_p_wxWindowTo_p_wxObject(void *x
) {
33008 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
33010 static void *_p_wxMenuTo_p_wxObject(void *x
) {
33011 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
33013 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
33014 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
33016 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
33017 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
33019 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
33020 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
33022 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
33023 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
33025 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
33026 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
33028 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
33029 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
33031 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
33032 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33034 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
33035 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
33037 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
33038 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33040 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
33041 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33043 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
33044 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33046 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
33047 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
33049 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
33050 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33052 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
33053 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
33055 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
33056 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
33058 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
33059 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33061 static void *_p_wxPanelTo_p_wxObject(void *x
) {
33062 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
33064 static void *_p_wxDialogTo_p_wxObject(void *x
) {
33065 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
33067 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
33068 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33070 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
33071 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33073 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
33074 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33076 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
33077 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
33079 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
33080 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
33082 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
33083 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
33085 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
33086 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33088 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
33089 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
33091 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
33092 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
33094 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
33095 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
33097 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
33098 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
33100 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
33101 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
33103 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
33104 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33106 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
33107 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
33109 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
33110 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
33112 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
33113 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33115 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
33116 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
33118 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
33119 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
33121 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
33122 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33124 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
33125 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
33127 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
33128 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
33130 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
33131 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
33133 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
33134 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
33136 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
33137 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
33139 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33140 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33142 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33143 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33145 static void *_p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
33146 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33148 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
33149 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33151 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
33152 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33154 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
33155 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
33157 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
33158 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
33160 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
33161 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
33163 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
33164 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
33166 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
33167 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
33169 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
33170 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
33172 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
33173 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
33175 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
33176 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
33178 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
33179 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
33181 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
33182 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
33184 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33185 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
33187 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33188 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33190 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
33191 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
33193 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33194 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33196 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
33197 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33199 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
33200 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
33202 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
33203 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
33205 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
33206 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
33208 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
33209 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
33211 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33212 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
33214 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
33215 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33217 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
33218 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
33220 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
33221 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
33223 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
33224 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
33226 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
33227 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
33229 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
33230 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
33232 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
33233 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
33235 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
33236 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
33238 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
33239 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
33241 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
33242 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33244 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
33245 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
33247 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
33248 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33250 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
33251 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33253 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
33254 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
33256 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
33257 return (void *)((wxWindow
*) ((wxPanel
*) x
));
33259 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
33260 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
33262 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
33263 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33265 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
33266 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
33268 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
33269 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
33271 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
33272 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
33274 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
33275 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
33277 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
33278 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
33280 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
33281 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
33283 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
33284 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
33286 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
33287 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
33289 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
33290 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
33292 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
33293 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
33295 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
33296 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33298 static void *_p_wxControlTo_p_wxWindow(void *x
) {
33299 return (void *)((wxWindow
*) ((wxControl
*) x
));
33301 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
33302 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
33304 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
33305 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
33307 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
33308 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
33310 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
33311 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
33313 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
33314 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
33316 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
33317 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33319 static void *_p_wxSimpleHtmlListBoxTo_p_wxWindow(void *x
) {
33320 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33322 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
33323 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33325 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
33326 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33328 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
33329 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
33331 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
33332 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33334 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
33335 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
33337 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
33338 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
33340 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
33341 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
33343 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
33344 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
33346 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
33347 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
33349 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
33350 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
33352 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
33353 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33355 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
33356 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33358 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
33359 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
33361 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
33362 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
33364 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
33365 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
33367 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
33368 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
33370 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
33371 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
33373 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
33374 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
33376 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
33377 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
33379 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
33380 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
33382 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
33383 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
33385 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
33386 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
33388 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
33389 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
33391 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
33392 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
33394 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
33395 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
33397 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
33398 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
33400 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
33401 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
33403 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
33404 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
33406 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
33407 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
33409 static void *_p_wxSimpleHtmlListBoxTo_p_wxPanel(void *x
) {
33410 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*)(wxPyHtmlListBox
*) ((wxSimpleHtmlListBox
*) x
));
33412 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
33413 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
33415 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
33416 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
33418 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
33419 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
33421 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
33422 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33424 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
33425 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
33427 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
33428 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
33430 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
33431 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
33433 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
33434 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
33436 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
33437 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
33439 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
33440 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
33442 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
33443 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
33445 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
33446 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
33448 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
33449 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
33451 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
33452 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
33454 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
33455 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
33457 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
33458 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
33460 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
33461 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
33463 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
33464 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
33466 static void *_p_wxPyValidatorTo_p_wxValidator(void *x
) {
33467 return (void *)((wxValidator
*) ((wxPyValidator
*) x
));
33469 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
33470 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
33471 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};
33472 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
33473 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
33474 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
33475 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
33476 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
33477 static swig_type_info _swigt__p_wxArrayString
= {"_p_wxArrayString", "wxArrayString *", 0, 0, (void*)0, 0};
33478 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
33479 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
33480 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
33481 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
33482 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
33483 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
33484 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
33485 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
33486 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
33487 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
33488 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
33489 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
33490 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
33491 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
33492 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
33493 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
33494 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
33495 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
33496 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
33497 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
33498 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
33499 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
33500 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
33501 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
33502 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
33503 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
33504 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
33505 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
33506 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
33507 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
33508 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
33509 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
33510 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
33511 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
33512 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
33513 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
33514 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
33515 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
33516 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
33517 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
33518 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
33519 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
33520 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
33521 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
33522 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
33523 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
33524 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
33525 static swig_type_info _swigt__p_wxEventBlocker
= {"_p_wxEventBlocker", 0, 0, 0, 0, 0};
33526 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
33527 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
33528 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
33529 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
33530 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
33531 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
33532 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
33533 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
33534 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
33535 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
33536 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
33537 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
33538 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
33539 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
33540 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
33541 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
33542 static swig_type_info _swigt__p_wxItemContainer
= {"_p_wxItemContainer", "wxItemContainer *", 0, 0, (void*)0, 0};
33543 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
33544 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
33545 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
33546 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
33547 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
33548 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
33549 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
33550 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
33551 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
33552 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
33553 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
33554 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
33555 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
33556 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
33557 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
33558 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
33559 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
33560 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
33561 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
33562 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
33563 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
33564 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
33565 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
33566 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
33567 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
33568 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
33569 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
33570 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
33571 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
33572 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
33573 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
33574 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
33575 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
33576 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
33577 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
33578 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
33579 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
33580 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
33581 static swig_type_info _swigt__p_wxTGAHandler
= {"_p_wxTGAHandler", 0, 0, 0, 0, 0};
33582 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
33583 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
33584 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
33585 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
33586 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
33587 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
33588 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
33589 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
33590 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
33591 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
33592 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
33593 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
33594 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
33595 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
33596 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
33597 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
33598 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
33599 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
33600 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
33601 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
33602 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
33603 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
33604 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
33605 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
33606 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
33607 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
33608 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
33609 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
33610 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
33611 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
33612 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
33613 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
33614 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
33615 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
33616 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
33617 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
33618 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
33619 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
33620 static swig_type_info _swigt__p_wxSimpleHtmlListBox
= {"_p_wxSimpleHtmlListBox", "wxSimpleHtmlListBox *", 0, 0, (void*)0, 0};
33621 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
33622 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
33623 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
33624 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
33625 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
33626 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
33627 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
33628 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
33629 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
33630 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
33631 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
33632 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
33633 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
33634 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
33635 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
33636 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", "wxValidator *", 0, 0, (void*)0, 0};
33637 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
33638 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
33640 static swig_type_info
*swig_type_initial
[] = {
33643 &_swigt__p_form_ops_t
,
33645 &_swigt__p_unsigned_char
,
33646 &_swigt__p_unsigned_int
,
33647 &_swigt__p_unsigned_long
,
33648 &_swigt__p_wxANIHandler
,
33649 &_swigt__p_wxAcceleratorTable
,
33650 &_swigt__p_wxActivateEvent
,
33651 &_swigt__p_wxArrayInt
,
33652 &_swigt__p_wxArrayString
,
33653 &_swigt__p_wxBMPHandler
,
33654 &_swigt__p_wxBitmap
,
33655 &_swigt__p_wxBoxSizer
,
33656 &_swigt__p_wxCURHandler
,
33657 &_swigt__p_wxCalculateLayoutEvent
,
33658 &_swigt__p_wxChildFocusEvent
,
33659 &_swigt__p_wxClipboardTextEvent
,
33660 &_swigt__p_wxCloseEvent
,
33661 &_swigt__p_wxColour
,
33662 &_swigt__p_wxColourData
,
33663 &_swigt__p_wxColourDialog
,
33664 &_swigt__p_wxCommandEvent
,
33665 &_swigt__p_wxContextMenuEvent
,
33666 &_swigt__p_wxControl
,
33667 &_swigt__p_wxControlWithItems
,
33669 &_swigt__p_wxDateEvent
,
33670 &_swigt__p_wxDialog
,
33671 &_swigt__p_wxDirDialog
,
33672 &_swigt__p_wxDisplayChangedEvent
,
33673 &_swigt__p_wxDropFilesEvent
,
33674 &_swigt__p_wxDuplexMode
,
33675 &_swigt__p_wxEraseEvent
,
33676 &_swigt__p_wxEvent
,
33677 &_swigt__p_wxEventBlocker
,
33678 &_swigt__p_wxEvtHandler
,
33679 &_swigt__p_wxFSFile
,
33680 &_swigt__p_wxFileDialog
,
33681 &_swigt__p_wxFileSystem
,
33682 &_swigt__p_wxFindDialogEvent
,
33683 &_swigt__p_wxFindReplaceData
,
33684 &_swigt__p_wxFindReplaceDialog
,
33685 &_swigt__p_wxFlexGridSizer
,
33686 &_swigt__p_wxFocusEvent
,
33688 &_swigt__p_wxFontData
,
33689 &_swigt__p_wxFontDialog
,
33690 &_swigt__p_wxFrame
,
33691 &_swigt__p_wxGBSizerItem
,
33692 &_swigt__p_wxGIFHandler
,
33693 &_swigt__p_wxGridBagSizer
,
33694 &_swigt__p_wxGridSizer
,
33695 &_swigt__p_wxHtmlLinkInfo
,
33696 &_swigt__p_wxICOHandler
,
33698 &_swigt__p_wxIconBundle
,
33699 &_swigt__p_wxIconizeEvent
,
33700 &_swigt__p_wxIdleEvent
,
33701 &_swigt__p_wxImage
,
33702 &_swigt__p_wxImageHandler
,
33703 &_swigt__p_wxIndividualLayoutConstraint
,
33704 &_swigt__p_wxInitDialogEvent
,
33705 &_swigt__p_wxItemContainer
,
33706 &_swigt__p_wxJPEGHandler
,
33707 &_swigt__p_wxKeyEvent
,
33708 &_swigt__p_wxLayoutAlgorithm
,
33709 &_swigt__p_wxLayoutConstraints
,
33710 &_swigt__p_wxMDIChildFrame
,
33711 &_swigt__p_wxMDIClientWindow
,
33712 &_swigt__p_wxMDIParentFrame
,
33713 &_swigt__p_wxMaximizeEvent
,
33715 &_swigt__p_wxMenuBar
,
33716 &_swigt__p_wxMenuEvent
,
33717 &_swigt__p_wxMenuItem
,
33718 &_swigt__p_wxMessageDialog
,
33719 &_swigt__p_wxMiniFrame
,
33720 &_swigt__p_wxMouseCaptureChangedEvent
,
33721 &_swigt__p_wxMouseCaptureLostEvent
,
33722 &_swigt__p_wxMouseEvent
,
33723 &_swigt__p_wxMoveEvent
,
33724 &_swigt__p_wxMultiChoiceDialog
,
33725 &_swigt__p_wxNavigationKeyEvent
,
33726 &_swigt__p_wxNcPaintEvent
,
33727 &_swigt__p_wxNotifyEvent
,
33728 &_swigt__p_wxNumberEntryDialog
,
33729 &_swigt__p_wxObject
,
33730 &_swigt__p_wxPCXHandler
,
33731 &_swigt__p_wxPNGHandler
,
33732 &_swigt__p_wxPNMHandler
,
33733 &_swigt__p_wxPageSetupDialog
,
33734 &_swigt__p_wxPageSetupDialogData
,
33735 &_swigt__p_wxPaintEvent
,
33736 &_swigt__p_wxPaletteChangedEvent
,
33737 &_swigt__p_wxPanel
,
33738 &_swigt__p_wxPaperSize
,
33739 &_swigt__p_wxPasswordEntryDialog
,
33740 &_swigt__p_wxPoint
,
33741 &_swigt__p_wxPopupWindow
,
33742 &_swigt__p_wxPreviewCanvas
,
33743 &_swigt__p_wxPreviewControlBar
,
33744 &_swigt__p_wxPreviewFrame
,
33745 &_swigt__p_wxPrintData
,
33746 &_swigt__p_wxPrintDialog
,
33747 &_swigt__p_wxPrintDialogData
,
33748 &_swigt__p_wxPrintPreview
,
33749 &_swigt__p_wxPrinter
,
33750 &_swigt__p_wxProgressDialog
,
33751 &_swigt__p_wxPyApp
,
33752 &_swigt__p_wxPyCommandEvent
,
33753 &_swigt__p_wxPyEvent
,
33754 &_swigt__p_wxPyHtmlListBox
,
33755 &_swigt__p_wxPyImageHandler
,
33756 &_swigt__p_wxPyPanel
,
33757 &_swigt__p_wxPyPopupTransientWindow
,
33758 &_swigt__p_wxPyPreviewControlBar
,
33759 &_swigt__p_wxPyPreviewFrame
,
33760 &_swigt__p_wxPyPrintPreview
,
33761 &_swigt__p_wxPyPrintout
,
33762 &_swigt__p_wxPyScrolledWindow
,
33763 &_swigt__p_wxPySizer
,
33764 &_swigt__p_wxPyTaskBarIcon
,
33765 &_swigt__p_wxPyVListBox
,
33766 &_swigt__p_wxPyVScrolledWindow
,
33767 &_swigt__p_wxPyValidator
,
33768 &_swigt__p_wxPyWindow
,
33769 &_swigt__p_wxQueryLayoutInfoEvent
,
33770 &_swigt__p_wxQueryNewPaletteEvent
,
33772 &_swigt__p_wxRegion
,
33773 &_swigt__p_wxSashEvent
,
33774 &_swigt__p_wxSashLayoutWindow
,
33775 &_swigt__p_wxSashWindow
,
33776 &_swigt__p_wxScrollEvent
,
33777 &_swigt__p_wxScrollWinEvent
,
33778 &_swigt__p_wxScrolledWindow
,
33779 &_swigt__p_wxSetCursorEvent
,
33780 &_swigt__p_wxShowEvent
,
33781 &_swigt__p_wxSimpleHtmlListBox
,
33782 &_swigt__p_wxSingleChoiceDialog
,
33784 &_swigt__p_wxSizeEvent
,
33785 &_swigt__p_wxSizer
,
33786 &_swigt__p_wxSizerItem
,
33787 &_swigt__p_wxSplashScreen
,
33788 &_swigt__p_wxSplashScreenWindow
,
33789 &_swigt__p_wxSplitterEvent
,
33790 &_swigt__p_wxSplitterWindow
,
33791 &_swigt__p_wxStaticBoxSizer
,
33792 &_swigt__p_wxStatusBar
,
33793 &_swigt__p_wxStdDialogButtonSizer
,
33794 &_swigt__p_wxString
,
33795 &_swigt__p_wxSysColourChangedEvent
,
33796 &_swigt__p_wxTGAHandler
,
33797 &_swigt__p_wxTIFFHandler
,
33798 &_swigt__p_wxTaskBarIcon
,
33799 &_swigt__p_wxTaskBarIconEvent
,
33800 &_swigt__p_wxTextEntryDialog
,
33801 &_swigt__p_wxTipWindow
,
33802 &_swigt__p_wxToolBar
,
33803 &_swigt__p_wxTopLevelWindow
,
33804 &_swigt__p_wxUpdateUIEvent
,
33805 &_swigt__p_wxValidator
,
33806 &_swigt__p_wxVisualAttributes
,
33807 &_swigt__p_wxWindow
,
33808 &_swigt__p_wxWindowCreateEvent
,
33809 &_swigt__p_wxWindowDestroyEvent
,
33810 &_swigt__p_wxXPMHandler
,
33813 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
33814 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
33815 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
33816 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
33817 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
33818 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
33819 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
33820 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
33821 static swig_cast_info _swigc__p_wxArrayString
[] = { {&_swigt__p_wxArrayString
, 0, 0, 0},{0, 0, 0, 0}};
33822 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
33823 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
33824 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
33825 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
33826 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
33827 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33828 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
33829 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
33830 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
33831 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33832 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33833 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33834 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33835 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
33836 static swig_cast_info _swigc__p_wxCommandEvent
[] = { {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, 0, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxCommandEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxCommandEvent
, 0, 0},{0, 0, 0, 0}};
33837 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
33838 static swig_cast_info _swigc__p_wxDialog
[] = { {&_swigt__p_wxDialog
, 0, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxDialog
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxDialog
, 0, 0},{0, 0, 0, 0}};
33839 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
33840 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
33841 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
33842 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33843 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33844 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
33845 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
33846 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33847 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33848 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
33849 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
33850 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
33851 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33852 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33853 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
33854 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
33855 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
33856 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33857 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
33858 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33859 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33860 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33861 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
33862 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
33863 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
33864 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
33865 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33866 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
33867 static swig_cast_info _swigc__p_wxEvent
[] = { {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxEvent
, 0, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxEvent
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxEvent
, 0, 0},{0, 0, 0, 0}};
33868 static swig_cast_info _swigc__p_wxEventBlocker
[] = {{&_swigt__p_wxEventBlocker
, 0, 0, 0},{0, 0, 0, 0}};
33869 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
33870 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
33871 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
33872 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
33873 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_wxEventBlocker
, _p_wxEventBlockerTo_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_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
33874 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
33875 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
33876 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
33877 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
33878 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33879 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
33880 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
33881 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
33882 static swig_cast_info _swigc__p_wxFrame
[] = { {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxFrame
, 0, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxFrame
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxFrame
, 0, 0},{0, 0, 0, 0}};
33883 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
33884 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
33885 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
33886 static swig_cast_info _swigc__p_wxItemContainer
[] = { {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxItemContainer
, 0, 0}, {&_swigt__p_wxItemContainer
, 0, 0, 0},{0, 0, 0, 0}};
33887 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
33888 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
33889 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33890 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33891 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33892 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33893 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33894 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33895 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33896 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}};
33897 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33898 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33899 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33900 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33901 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33902 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33903 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33904 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33905 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33906 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33907 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33908 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33909 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33910 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33911 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33912 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33913 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33914 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33915 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33916 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33917 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33918 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33919 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33920 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33921 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33922 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33923 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33924 static swig_cast_info _swigc__p_wxTGAHandler
[] = {{&_swigt__p_wxTGAHandler
, 0, 0, 0},{0, 0, 0, 0}};
33925 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33926 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33927 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_wxEventBlocker
, _p_wxEventBlockerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_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_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTGAHandler
, _p_wxTGAHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxChildFocusEvent
, _p_wxChildFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDropFilesEvent
, _p_wxDropFilesEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFocusEvent
, _p_wxFocusEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialogData
, _p_wxPageSetupDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialogData
, _p_wxPrintDialogDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxObject
, 0, 0},{0, 0, 0, 0}};
33928 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33929 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33930 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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
33931 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33932 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33933 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33934 static swig_cast_info _swigc__p_wxPopupWindow
[] = { {&_swigt__p_wxPopupWindow
, 0, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxPopupWindow
, 0, 0},{0, 0, 0, 0}};
33935 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33936 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}};
33937 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}};
33938 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33939 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33940 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33941 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}};
33942 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33943 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33944 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyHtmlListBox
, 0, 0},{0, 0, 0, 0}};
33945 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33946 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33947 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33948 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33949 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33950 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33951 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33952 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33953 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33954 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}, {&_swigt__p_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
33955 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33956 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33957 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33958 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33959 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33960 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33961 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}};
33962 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33963 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}};
33964 static swig_cast_info _swigc__p_wxSimpleHtmlListBox
[] = { {&_swigt__p_wxSimpleHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33965 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33966 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33967 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33968 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33969 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33970 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33971 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33972 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33973 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33974 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33975 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33976 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}};
33977 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33978 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33979 static swig_cast_info _swigc__p_wxTopLevelWindow
[] = { {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, 0, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxTopLevelWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxTopLevelWindow
, 0, 0},{0, 0, 0, 0}};
33980 static swig_cast_info _swigc__p_wxValidator
[] = { {&_swigt__p_wxValidator
, 0, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxValidator
, 0, 0},{0, 0, 0, 0}};
33981 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33982 static swig_cast_info _swigc__p_wxWindow
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxWindow
, 0, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxWindow
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_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_wxSimpleHtmlListBox
, _p_wxSimpleHtmlListBoxTo_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}};
33984 static swig_cast_info
*swig_cast_initial
[] = {
33987 _swigc__p_form_ops_t
,
33989 _swigc__p_unsigned_char
,
33990 _swigc__p_unsigned_int
,
33991 _swigc__p_unsigned_long
,
33992 _swigc__p_wxANIHandler
,
33993 _swigc__p_wxAcceleratorTable
,
33994 _swigc__p_wxActivateEvent
,
33995 _swigc__p_wxArrayInt
,
33996 _swigc__p_wxArrayString
,
33997 _swigc__p_wxBMPHandler
,
33998 _swigc__p_wxBitmap
,
33999 _swigc__p_wxBoxSizer
,
34000 _swigc__p_wxCURHandler
,
34001 _swigc__p_wxCalculateLayoutEvent
,
34002 _swigc__p_wxChildFocusEvent
,
34003 _swigc__p_wxClipboardTextEvent
,
34004 _swigc__p_wxCloseEvent
,
34005 _swigc__p_wxColour
,
34006 _swigc__p_wxColourData
,
34007 _swigc__p_wxColourDialog
,
34008 _swigc__p_wxCommandEvent
,
34009 _swigc__p_wxContextMenuEvent
,
34010 _swigc__p_wxControl
,
34011 _swigc__p_wxControlWithItems
,
34013 _swigc__p_wxDateEvent
,
34014 _swigc__p_wxDialog
,
34015 _swigc__p_wxDirDialog
,
34016 _swigc__p_wxDisplayChangedEvent
,
34017 _swigc__p_wxDropFilesEvent
,
34018 _swigc__p_wxDuplexMode
,
34019 _swigc__p_wxEraseEvent
,
34021 _swigc__p_wxEventBlocker
,
34022 _swigc__p_wxEvtHandler
,
34023 _swigc__p_wxFSFile
,
34024 _swigc__p_wxFileDialog
,
34025 _swigc__p_wxFileSystem
,
34026 _swigc__p_wxFindDialogEvent
,
34027 _swigc__p_wxFindReplaceData
,
34028 _swigc__p_wxFindReplaceDialog
,
34029 _swigc__p_wxFlexGridSizer
,
34030 _swigc__p_wxFocusEvent
,
34032 _swigc__p_wxFontData
,
34033 _swigc__p_wxFontDialog
,
34035 _swigc__p_wxGBSizerItem
,
34036 _swigc__p_wxGIFHandler
,
34037 _swigc__p_wxGridBagSizer
,
34038 _swigc__p_wxGridSizer
,
34039 _swigc__p_wxHtmlLinkInfo
,
34040 _swigc__p_wxICOHandler
,
34042 _swigc__p_wxIconBundle
,
34043 _swigc__p_wxIconizeEvent
,
34044 _swigc__p_wxIdleEvent
,
34046 _swigc__p_wxImageHandler
,
34047 _swigc__p_wxIndividualLayoutConstraint
,
34048 _swigc__p_wxInitDialogEvent
,
34049 _swigc__p_wxItemContainer
,
34050 _swigc__p_wxJPEGHandler
,
34051 _swigc__p_wxKeyEvent
,
34052 _swigc__p_wxLayoutAlgorithm
,
34053 _swigc__p_wxLayoutConstraints
,
34054 _swigc__p_wxMDIChildFrame
,
34055 _swigc__p_wxMDIClientWindow
,
34056 _swigc__p_wxMDIParentFrame
,
34057 _swigc__p_wxMaximizeEvent
,
34059 _swigc__p_wxMenuBar
,
34060 _swigc__p_wxMenuEvent
,
34061 _swigc__p_wxMenuItem
,
34062 _swigc__p_wxMessageDialog
,
34063 _swigc__p_wxMiniFrame
,
34064 _swigc__p_wxMouseCaptureChangedEvent
,
34065 _swigc__p_wxMouseCaptureLostEvent
,
34066 _swigc__p_wxMouseEvent
,
34067 _swigc__p_wxMoveEvent
,
34068 _swigc__p_wxMultiChoiceDialog
,
34069 _swigc__p_wxNavigationKeyEvent
,
34070 _swigc__p_wxNcPaintEvent
,
34071 _swigc__p_wxNotifyEvent
,
34072 _swigc__p_wxNumberEntryDialog
,
34073 _swigc__p_wxObject
,
34074 _swigc__p_wxPCXHandler
,
34075 _swigc__p_wxPNGHandler
,
34076 _swigc__p_wxPNMHandler
,
34077 _swigc__p_wxPageSetupDialog
,
34078 _swigc__p_wxPageSetupDialogData
,
34079 _swigc__p_wxPaintEvent
,
34080 _swigc__p_wxPaletteChangedEvent
,
34082 _swigc__p_wxPaperSize
,
34083 _swigc__p_wxPasswordEntryDialog
,
34085 _swigc__p_wxPopupWindow
,
34086 _swigc__p_wxPreviewCanvas
,
34087 _swigc__p_wxPreviewControlBar
,
34088 _swigc__p_wxPreviewFrame
,
34089 _swigc__p_wxPrintData
,
34090 _swigc__p_wxPrintDialog
,
34091 _swigc__p_wxPrintDialogData
,
34092 _swigc__p_wxPrintPreview
,
34093 _swigc__p_wxPrinter
,
34094 _swigc__p_wxProgressDialog
,
34096 _swigc__p_wxPyCommandEvent
,
34097 _swigc__p_wxPyEvent
,
34098 _swigc__p_wxPyHtmlListBox
,
34099 _swigc__p_wxPyImageHandler
,
34100 _swigc__p_wxPyPanel
,
34101 _swigc__p_wxPyPopupTransientWindow
,
34102 _swigc__p_wxPyPreviewControlBar
,
34103 _swigc__p_wxPyPreviewFrame
,
34104 _swigc__p_wxPyPrintPreview
,
34105 _swigc__p_wxPyPrintout
,
34106 _swigc__p_wxPyScrolledWindow
,
34107 _swigc__p_wxPySizer
,
34108 _swigc__p_wxPyTaskBarIcon
,
34109 _swigc__p_wxPyVListBox
,
34110 _swigc__p_wxPyVScrolledWindow
,
34111 _swigc__p_wxPyValidator
,
34112 _swigc__p_wxPyWindow
,
34113 _swigc__p_wxQueryLayoutInfoEvent
,
34114 _swigc__p_wxQueryNewPaletteEvent
,
34116 _swigc__p_wxRegion
,
34117 _swigc__p_wxSashEvent
,
34118 _swigc__p_wxSashLayoutWindow
,
34119 _swigc__p_wxSashWindow
,
34120 _swigc__p_wxScrollEvent
,
34121 _swigc__p_wxScrollWinEvent
,
34122 _swigc__p_wxScrolledWindow
,
34123 _swigc__p_wxSetCursorEvent
,
34124 _swigc__p_wxShowEvent
,
34125 _swigc__p_wxSimpleHtmlListBox
,
34126 _swigc__p_wxSingleChoiceDialog
,
34128 _swigc__p_wxSizeEvent
,
34130 _swigc__p_wxSizerItem
,
34131 _swigc__p_wxSplashScreen
,
34132 _swigc__p_wxSplashScreenWindow
,
34133 _swigc__p_wxSplitterEvent
,
34134 _swigc__p_wxSplitterWindow
,
34135 _swigc__p_wxStaticBoxSizer
,
34136 _swigc__p_wxStatusBar
,
34137 _swigc__p_wxStdDialogButtonSizer
,
34138 _swigc__p_wxString
,
34139 _swigc__p_wxSysColourChangedEvent
,
34140 _swigc__p_wxTGAHandler
,
34141 _swigc__p_wxTIFFHandler
,
34142 _swigc__p_wxTaskBarIcon
,
34143 _swigc__p_wxTaskBarIconEvent
,
34144 _swigc__p_wxTextEntryDialog
,
34145 _swigc__p_wxTipWindow
,
34146 _swigc__p_wxToolBar
,
34147 _swigc__p_wxTopLevelWindow
,
34148 _swigc__p_wxUpdateUIEvent
,
34149 _swigc__p_wxValidator
,
34150 _swigc__p_wxVisualAttributes
,
34151 _swigc__p_wxWindow
,
34152 _swigc__p_wxWindowCreateEvent
,
34153 _swigc__p_wxWindowDestroyEvent
,
34154 _swigc__p_wxXPMHandler
,
34158 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
34160 static swig_const_info swig_const_table
[] = {
34161 {0, 0, 0, 0.0, 0, 0}};
34166 /* -----------------------------------------------------------------------------
34167 * Type initialization:
34168 * This problem is tough by the requirement that no dynamic
34169 * memory is used. Also, since swig_type_info structures store pointers to
34170 * swig_cast_info structures and swig_cast_info structures store pointers back
34171 * to swig_type_info structures, we need some lookup code at initialization.
34172 * The idea is that swig generates all the structures that are needed.
34173 * The runtime then collects these partially filled structures.
34174 * The SWIG_InitializeModule function takes these initial arrays out of
34175 * swig_module, and does all the lookup, filling in the swig_module.types
34176 * array with the correct data and linking the correct swig_cast_info
34177 * structures together.
34179 * The generated swig_type_info structures are assigned staticly to an initial
34180 * array. We just loop though that array, and handle each type individually.
34181 * First we lookup if this type has been already loaded, and if so, use the
34182 * loaded structure instead of the generated one. Then we have to fill in the
34183 * cast linked list. The cast data is initially stored in something like a
34184 * two-dimensional array. Each row corresponds to a type (there are the same
34185 * number of rows as there are in the swig_type_initial array). Each entry in
34186 * a column is one of the swig_cast_info structures for that type.
34187 * The cast_initial array is actually an array of arrays, because each row has
34188 * a variable number of columns. So to actually build the cast linked list,
34189 * we find the array of casts associated with the type, and loop through it
34190 * adding the casts to the list. The one last trick we need to do is making
34191 * sure the type pointer in the swig_cast_info struct is correct.
34193 * First off, we lookup the cast->type name to see if it is already loaded.
34194 * There are three cases to handle:
34195 * 1) If the cast->type has already been loaded AND the type we are adding
34196 * casting info to has not been loaded (it is in this module), THEN we
34197 * replace the cast->type pointer with the type pointer that has already
34199 * 2) If BOTH types (the one we are adding casting info to, and the
34200 * cast->type) are loaded, THEN the cast info has already been loaded by
34201 * the previous module so we just ignore it.
34202 * 3) Finally, if cast->type has not already been loaded, then we add that
34203 * swig_cast_info to the linked list (because the cast->type) pointer will
34205 * ----------------------------------------------------------------------------- */
34215 #define SWIGRUNTIME_DEBUG
34219 SWIG_InitializeModule(void *clientdata
) {
34221 swig_module_info
*module_head
;
34222 static int init_run
= 0;
34224 clientdata
= clientdata
;
34226 if (init_run
) return;
34229 /* Initialize the swig_module */
34230 swig_module
.type_initial
= swig_type_initial
;
34231 swig_module
.cast_initial
= swig_cast_initial
;
34233 /* Try and load any already created modules */
34234 module_head
= SWIG_GetModule(clientdata
);
34236 swig_module
.next
= module_head
->next
;
34237 module_head
->next
= &swig_module
;
34239 /* This is the first module loaded */
34240 swig_module
.next
= &swig_module
;
34241 SWIG_SetModule(clientdata
, &swig_module
);
34244 /* Now work on filling in swig_module.types */
34245 #ifdef SWIGRUNTIME_DEBUG
34246 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
34248 for (i
= 0; i
< swig_module
.size
; ++i
) {
34249 swig_type_info
*type
= 0;
34250 swig_type_info
*ret
;
34251 swig_cast_info
*cast
;
34253 #ifdef SWIGRUNTIME_DEBUG
34254 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34257 /* if there is another module already loaded */
34258 if (swig_module
.next
!= &swig_module
) {
34259 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
34262 /* Overwrite clientdata field */
34263 #ifdef SWIGRUNTIME_DEBUG
34264 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
34266 if (swig_module
.type_initial
[i
]->clientdata
) {
34267 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
34268 #ifdef SWIGRUNTIME_DEBUG
34269 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
34273 type
= swig_module
.type_initial
[i
];
34276 /* Insert casting types */
34277 cast
= swig_module
.cast_initial
[i
];
34278 while (cast
->type
) {
34279 /* Don't need to add information already in the list */
34281 #ifdef SWIGRUNTIME_DEBUG
34282 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
34284 if (swig_module
.next
!= &swig_module
) {
34285 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
34286 #ifdef SWIGRUNTIME_DEBUG
34287 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
34291 if (type
== swig_module
.type_initial
[i
]) {
34292 #ifdef SWIGRUNTIME_DEBUG
34293 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
34298 /* Check for casting already in the list */
34299 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
34300 #ifdef SWIGRUNTIME_DEBUG
34301 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
34303 if (!ocast
) ret
= 0;
34308 #ifdef SWIGRUNTIME_DEBUG
34309 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
34312 type
->cast
->prev
= cast
;
34313 cast
->next
= type
->cast
;
34319 /* Set entry in modules->types array equal to the type */
34320 swig_module
.types
[i
] = type
;
34322 swig_module
.types
[i
] = 0;
34324 #ifdef SWIGRUNTIME_DEBUG
34325 printf("**** SWIG_InitializeModule: Cast List ******\n");
34326 for (i
= 0; i
< swig_module
.size
; ++i
) {
34328 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
34329 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
34330 while (cast
->type
) {
34331 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
34335 printf("---- Total casts: %d\n",j
);
34337 printf("**** SWIG_InitializeModule: Cast List ******\n");
34341 /* This function will propagate the clientdata field of type to
34342 * any new swig_type_info structures that have been added into the list
34343 * of equivalent types. It is like calling
34344 * SWIG_TypeClientData(type, clientdata) a second time.
34347 SWIG_PropagateClientData(void) {
34349 swig_cast_info
*equiv
;
34350 static int init_run
= 0;
34352 if (init_run
) return;
34355 for (i
= 0; i
< swig_module
.size
; i
++) {
34356 if (swig_module
.types
[i
]->clientdata
) {
34357 equiv
= swig_module
.types
[i
]->cast
;
34359 if (!equiv
->converter
) {
34360 if (equiv
->type
&& !equiv
->type
->clientdata
)
34361 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
34363 equiv
= equiv
->next
;
34383 /* Python-specific SWIG API */
34384 #define SWIG_newvarlink() SWIG_Python_newvarlink()
34385 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
34386 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
34388 /* -----------------------------------------------------------------------------
34389 * global variable support code.
34390 * ----------------------------------------------------------------------------- */
34392 typedef struct swig_globalvar
{
34393 char *name
; /* Name of global variable */
34394 PyObject
*(*get_attr
)(void); /* Return the current value */
34395 int (*set_attr
)(PyObject
*); /* Set the value */
34396 struct swig_globalvar
*next
;
34399 typedef struct swig_varlinkobject
{
34401 swig_globalvar
*vars
;
34402 } swig_varlinkobject
;
34404 SWIGINTERN PyObject
*
34405 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
34406 return PyString_FromString("<Swig global variables>");
34409 SWIGINTERN PyObject
*
34410 swig_varlink_str(swig_varlinkobject
*v
) {
34411 PyObject
*str
= PyString_FromString("(");
34412 swig_globalvar
*var
;
34413 for (var
= v
->vars
; var
; var
=var
->next
) {
34414 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
34415 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
34417 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
34422 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
34423 PyObject
*str
= swig_varlink_str(v
);
34424 fprintf(fp
,"Swig global variables ");
34425 fprintf(fp
,"%s\n", PyString_AsString(str
));
34431 swig_varlink_dealloc(swig_varlinkobject
*v
) {
34432 swig_globalvar
*var
= v
->vars
;
34434 swig_globalvar
*n
= var
->next
;
34441 SWIGINTERN PyObject
*
34442 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
34443 PyObject
*res
= NULL
;
34444 swig_globalvar
*var
= v
->vars
;
34446 if (strcmp(var
->name
,n
) == 0) {
34447 res
= (*var
->get_attr
)();
34452 if (res
== NULL
&& !PyErr_Occurred()) {
34453 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34459 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
34461 swig_globalvar
*var
= v
->vars
;
34463 if (strcmp(var
->name
,n
) == 0) {
34464 res
= (*var
->set_attr
)(p
);
34469 if (res
== 1 && !PyErr_Occurred()) {
34470 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
34475 SWIGINTERN PyTypeObject
*
34476 swig_varlink_type(void) {
34477 static char varlink__doc__
[] = "Swig var link object";
34478 static PyTypeObject varlink_type
;
34479 static int type_init
= 0;
34481 const PyTypeObject tmp
34483 PyObject_HEAD_INIT(NULL
)
34484 0, /* Number of items in variable part (ob_size) */
34485 (char *)"swigvarlink", /* Type name (tp_name) */
34486 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
34487 0, /* Itemsize (tp_itemsize) */
34488 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
34489 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
34490 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
34491 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
34492 0, /* tp_compare */
34493 (reprfunc
) swig_varlink_repr
, /* tp_repr */
34494 0, /* tp_as_number */
34495 0, /* tp_as_sequence */
34496 0, /* tp_as_mapping */
34499 (reprfunc
)swig_varlink_str
, /* tp_str */
34500 0, /* tp_getattro */
34501 0, /* tp_setattro */
34502 0, /* tp_as_buffer */
34504 varlink__doc__
, /* tp_doc */
34505 0, /* tp_traverse */
34507 0, /* tp_richcompare */
34508 0, /* tp_weaklistoffset */
34509 #if PY_VERSION_HEX >= 0x02020000
34510 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
34512 #if PY_VERSION_HEX >= 0x02030000
34515 #ifdef COUNT_ALLOCS
34516 0,0,0,0 /* tp_alloc -> tp_next */
34519 varlink_type
= tmp
;
34520 varlink_type
.ob_type
= &PyType_Type
;
34523 return &varlink_type
;
34526 /* Create a variable linking object for use later */
34527 SWIGINTERN PyObject
*
34528 SWIG_Python_newvarlink(void) {
34529 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
34533 return ((PyObject
*) result
);
34537 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
34538 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
34539 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
34541 size_t size
= strlen(name
)+1;
34542 gv
->name
= (char *)malloc(size
);
34544 strncpy(gv
->name
,name
,size
);
34545 gv
->get_attr
= get_attr
;
34546 gv
->set_attr
= set_attr
;
34547 gv
->next
= v
->vars
;
34553 SWIGINTERN PyObject
*
34555 static PyObject
*_SWIG_globals
= 0;
34556 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
34557 return _SWIG_globals
;
34560 /* -----------------------------------------------------------------------------
34561 * constants/methods manipulation
34562 * ----------------------------------------------------------------------------- */
34564 /* Install Constants */
34566 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
34569 for (i
= 0; constants
[i
].type
; ++i
) {
34570 switch(constants
[i
].type
) {
34571 case SWIG_PY_POINTER
:
34572 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
34574 case SWIG_PY_BINARY
:
34575 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
34582 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
34588 /* -----------------------------------------------------------------------------*/
34589 /* Fix SwigMethods to carry the callback ptrs when needed */
34590 /* -----------------------------------------------------------------------------*/
34593 SWIG_Python_FixMethods(PyMethodDef
*methods
,
34594 swig_const_info
*const_table
,
34595 swig_type_info
**types
,
34596 swig_type_info
**types_initial
) {
34598 for (i
= 0; methods
[i
].ml_name
; ++i
) {
34599 const char *c
= methods
[i
].ml_doc
;
34600 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
34602 swig_const_info
*ci
= 0;
34603 const char *name
= c
+ 10;
34604 for (j
= 0; const_table
[j
].type
; ++j
) {
34605 if (strncmp(const_table
[j
].name
, name
,
34606 strlen(const_table
[j
].name
)) == 0) {
34607 ci
= &(const_table
[j
]);
34612 size_t shift
= (ci
->ptype
) - types
;
34613 swig_type_info
*ty
= types_initial
[shift
];
34614 size_t ldoc
= (c
- methods
[i
].ml_doc
);
34615 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
34616 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
34619 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
34621 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
34623 strncpy(buff
, "swig_ptr: ", 10);
34625 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
34626 methods
[i
].ml_doc
= ndoc
;
34638 /* -----------------------------------------------------------------------------*
34639 * Partial Init method
34640 * -----------------------------------------------------------------------------*/
34645 SWIGEXPORT
void SWIG_init(void) {
34648 /* Fix SwigMethods to carry the callback ptrs when needed */
34649 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
34651 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
34652 d
= PyModule_GetDict(m
);
34654 SWIG_InitializeModule(0);
34655 SWIG_InstallConstants(d
,swig_const_table
);
34658 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
34659 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
34660 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
34661 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
34662 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
34663 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
34664 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
34665 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
34666 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
34667 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
34668 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
34669 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
34670 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
34671 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
34672 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
34673 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
34674 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
34675 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
34676 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
34677 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
34678 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
34679 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
34680 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
34681 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
34682 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
34683 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
34684 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
34685 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
34686 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
34687 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
34688 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
34689 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
34690 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
34691 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
34692 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
34693 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
34694 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
34695 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
34696 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
34697 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
34698 SWIG_Python_SetConstant(d
, "DEFAULT_MINIFRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_MINIFRAME_STYLE
)));
34699 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
34700 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
34701 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
34702 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
34703 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
34704 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
34705 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
34706 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
34707 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
34708 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
34709 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
34710 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
34711 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
34712 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
34713 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
34714 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
34715 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
34716 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
34717 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
34718 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
34719 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
34720 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
34721 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
34722 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
34723 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
34724 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
34725 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
34726 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
34727 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
34728 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
34729 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
34730 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
34731 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
34732 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
34733 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
34734 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
34735 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
34736 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
34737 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
34738 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
34739 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
34740 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
34741 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
34742 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
34743 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
34744 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
34745 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
34746 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
34747 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
34748 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
34749 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
34750 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
34751 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
34752 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
34753 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
34754 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
34755 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
34756 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
34757 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
34758 SWIG_addvarlink(SWIG_globals(),(char*)"SimpleHtmlListBoxNameStr",SimpleHtmlListBoxNameStr_get
, SimpleHtmlListBoxNameStr_set
);
34759 SWIG_Python_SetConstant(d
, "HLB_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxHLB_DEFAULT_STYLE
)));
34760 SWIG_Python_SetConstant(d
, "HLB_MULTIPLE",SWIG_From_int(static_cast< int >(wxHLB_MULTIPLE
)));
34762 // Map renamed classes back to their common name for OOR
34763 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
34764 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
34765 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
34767 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
34768 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
34769 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
34770 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
34771 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
34772 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
34773 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
34774 PyDict_SetItemString(d
, "wxEVT_TASKBAR_CLICK", PyInt_FromLong(wxEVT_TASKBAR_CLICK
));
34775 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
34776 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
34777 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
34778 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
34779 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
34780 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
34781 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
34782 SWIG_Python_SetConstant(d
, "DD_DIR_MUST_EXIST",SWIG_From_int(static_cast< int >(wxDD_DIR_MUST_EXIST
)));
34783 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
34784 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
34785 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
34786 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
34787 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
34788 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
34789 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
34790 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
34791 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
34792 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
34793 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
34794 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
34795 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
34796 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
34797 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
34798 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
34799 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
34800 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
34801 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
34802 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
34803 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
34804 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
34805 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
34806 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
34807 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
34808 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
34809 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
34810 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
34811 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
34812 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
34813 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
34814 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
34815 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
34816 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
34817 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
34818 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
34819 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
34820 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
34821 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
34822 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
34823 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
34824 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
34825 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
34826 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
34827 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
34828 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
34829 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
34830 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
34831 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
34832 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
34833 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
34834 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
34835 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
34836 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
34837 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
34838 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
34839 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
34840 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
34841 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
34842 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
34843 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
34844 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
34845 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
34846 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
34847 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
34848 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
34849 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
34850 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
34851 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
34852 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
34853 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
34854 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
34855 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
34856 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
34857 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
34858 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
34859 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
34860 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
34861 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
34862 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
34863 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
34864 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
34865 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
34867 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");