1 /* ----------------------------------------------------------------------------
2 * This file was automatically generated by SWIG (http://www.swig.org).
5 * This file is not intended to be easily readable and contains a number of
6 * coding conventions designed to improve portability and efficiency. Do not make
7 * changes to this file unless you know what you are doing--modify the SWIG
8 * interface file instead.
9 * ----------------------------------------------------------------------------- */
12 #define SWIG_PYTHON_DIRECTOR_NO_VTABLE
15 template<class T
> class SwigValueWrapper
{
18 SwigValueWrapper() : tt(0) { }
19 SwigValueWrapper(const SwigValueWrapper
<T
>& rhs
) : tt(new T(*rhs
.tt
)) { }
20 SwigValueWrapper(const T
& t
) : tt(new T(t
)) { }
21 ~SwigValueWrapper() { delete tt
; }
22 SwigValueWrapper
& operator=(const T
& t
) { delete tt
; tt
= new T(t
); return *this; }
23 operator T
&() const { return *tt
; }
24 T
*operator&() { return tt
; }
26 SwigValueWrapper
& operator=(const SwigValueWrapper
<T
>& rhs
);
30 /* -----------------------------------------------------------------------------
31 * This section contains generic SWIG labels for method/variable
32 * declarations/attributes, and other compiler dependent labels.
33 * ----------------------------------------------------------------------------- */
35 /* template workaround for compilers that cannot correctly implement the C++ standard */
36 #ifndef SWIGTEMPLATEDISAMBIGUATOR
37 # if defined(__SUNPRO_CC)
38 # if (__SUNPRO_CC <= 0x560)
39 # define SWIGTEMPLATEDISAMBIGUATOR template
41 # define SWIGTEMPLATEDISAMBIGUATOR
44 # define SWIGTEMPLATEDISAMBIGUATOR
48 /* inline attribute */
50 # if defined(__cplusplus) || (defined(__GNUC__) && !defined(__STRICT_ANSI__))
51 # define SWIGINLINE inline
57 /* attribute recognised by some compilers to avoid 'unused' warnings */
59 # if defined(__GNUC__)
60 # if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
61 # define SWIGUNUSED __attribute__ ((__unused__))
66 # define SWIGUNUSED __attribute__ ((__unused__))
72 #ifndef SWIGUNUSEDPARM
74 # define SWIGUNUSEDPARM(p)
76 # define SWIGUNUSEDPARM(p) p SWIGUNUSED
80 /* internal SWIG method */
82 # define SWIGINTERN static SWIGUNUSED
85 /* internal inline SWIG method */
86 #ifndef SWIGINTERNINLINE
87 # define SWIGINTERNINLINE SWIGINTERN SWIGINLINE
90 /* exporting methods */
91 #if (__GNUC__ >= 4) || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4)
92 # ifndef GCC_HASCLASSVISIBILITY
93 # define GCC_HASCLASSVISIBILITY
98 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
99 # if defined(STATIC_LINKED)
102 # define SWIGEXPORT __declspec(dllexport)
105 # if defined(__GNUC__) && defined(GCC_HASCLASSVISIBILITY)
106 # define SWIGEXPORT __attribute__ ((visibility("default")))
113 /* calling conventions for Windows */
115 # if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
116 # define SWIGSTDCALL __stdcall
122 /* Deal with Microsoft's attempt at deprecating C standard runtime functions */
123 #if !defined(SWIG_NO_CRT_SECURE_NO_DEPRECATE) && defined(_MSC_VER)
124 # define _CRT_SECURE_NO_DEPRECATE
128 /* Python.h has to appear first */
131 /* -----------------------------------------------------------------------------
134 * This file contains generic CAPI SWIG runtime support for pointer
136 * ----------------------------------------------------------------------------- */
138 /* This should only be incremented when either the layout of swig_type_info changes,
139 or for whatever reason, the runtime changes incompatibly */
140 #define SWIG_RUNTIME_VERSION "2"
142 /* define SWIG_TYPE_TABLE_NAME as "SWIG_TYPE_TABLE" */
143 #ifdef SWIG_TYPE_TABLE
144 # define SWIG_QUOTE_STRING(x) #x
145 # define SWIG_EXPAND_AND_QUOTE_STRING(x) SWIG_QUOTE_STRING(x)
146 # define SWIG_TYPE_TABLE_NAME SWIG_EXPAND_AND_QUOTE_STRING(SWIG_TYPE_TABLE)
148 # define SWIG_TYPE_TABLE_NAME
152 You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
153 creating a static or dynamic library from the swig runtime code.
154 In 99.9% of the cases, swig just needs to declare them as 'static'.
156 But only do this if is strictly necessary, ie, if you have problems
157 with your compiler or so.
161 # define SWIGRUNTIME SWIGINTERN
164 #ifndef SWIGRUNTIMEINLINE
165 # define SWIGRUNTIMEINLINE SWIGRUNTIME SWIGINLINE
168 /* Generic buffer size */
169 #ifndef SWIG_BUFFER_SIZE
170 # define SWIG_BUFFER_SIZE 1024
173 /* Flags for pointer conversions */
174 #define SWIG_POINTER_DISOWN 0x1
176 /* Flags for new pointer objects */
177 #define SWIG_POINTER_OWN 0x1
181 Flags/methods for returning states.
183 The swig conversion methods, as ConvertPtr, return and integer
184 that tells if the conversion was successful or not. And if not,
185 an error code can be returned (see swigerrors.swg for the codes).
187 Use the following macros/flags to set or process the returning
190 In old swig versions, you usually write code as:
192 if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
198 Now you can be more explicit as:
200 int res = SWIG_ConvertPtr(obj,vptr,ty.flags);
201 if (SWIG_IsOK(res)) {
207 that seems to be the same, but now you can also do
210 int res = SWIG_ConvertPtr(obj,(void **)(&ptr),ty.flags);
211 if (SWIG_IsOK(res)) {
213 if (SWIG_IsNewObj(res) {
223 I.e., now SWIG_ConvertPtr can return new objects and you can
224 identify the case and take care of the deallocation. Of course that
225 requires also to SWIG_ConvertPtr to return new result values, as
227 int SWIG_ConvertPtr(obj, ptr,...) {
229 if (<need new object>) {
230 *ptr = <ptr to new allocated object>;
233 *ptr = <ptr to old object>;
241 Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
242 more explicit by returning SWIG_BADOBJ, SWIG_ERROR or any of the
245 Finally, if the SWIG_CASTRANK_MODE is enabled, the result code
246 allows to return the 'cast rank', for example, if you have this
253 food(1) // cast rank '1' (1 -> 1.0)
254 fooi(1) // cast rank '0'
256 just use the SWIG_AddCast()/SWIG_CheckState()
261 #define SWIG_ERROR (-1)
262 #define SWIG_IsOK(r) (r >= 0)
263 #define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
265 /* The CastRankLimit says how many bits are used for the cast rank */
266 #define SWIG_CASTRANKLIMIT (1 << 8)
267 /* The NewMask denotes the object was created (using new/malloc) */
268 #define SWIG_NEWOBJMASK (SWIG_CASTRANKLIMIT << 1)
269 /* The TmpMask is for in/out typemaps that use temporal objects */
270 #define SWIG_TMPOBJMASK (SWIG_NEWOBJMASK << 1)
271 /* Simple returning values */
272 #define SWIG_BADOBJ (SWIG_ERROR)
273 #define SWIG_OLDOBJ (SWIG_OK)
274 #define SWIG_NEWOBJ (SWIG_OK | SWIG_NEWOBJMASK)
275 #define SWIG_TMPOBJ (SWIG_OK | SWIG_TMPOBJMASK)
276 /* Check, add and del mask methods */
277 #define SWIG_AddNewMask(r) (SWIG_IsOK(r) ? (r | SWIG_NEWOBJMASK) : r)
278 #define SWIG_DelNewMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_NEWOBJMASK) : r)
279 #define SWIG_IsNewObj(r) (SWIG_IsOK(r) && (r & SWIG_NEWOBJMASK))
280 #define SWIG_AddTmpMask(r) (SWIG_IsOK(r) ? (r | SWIG_TMPOBJMASK) : r)
281 #define SWIG_DelTmpMask(r) (SWIG_IsOK(r) ? (r & ~SWIG_TMPOBJMASK) : r)
282 #define SWIG_IsTmpObj(r) (SWIG_IsOK(r) && (r & SWIG_TMPOBJMASK))
286 #if defined(SWIG_CASTRANK_MODE)
287 # ifndef SWIG_TypeRank
288 # define SWIG_TypeRank unsigned long
290 # ifndef SWIG_MAXCASTRANK /* Default cast allowed */
291 # define SWIG_MAXCASTRANK (2)
293 # define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
294 # define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
295 SWIGINTERNINLINE
int SWIG_AddCast(int r
) {
296 return SWIG_IsOK(r
) ? ((SWIG_CastRank(r
) < SWIG_MAXCASTRANK
) ? (r
+ 1) : SWIG_ERROR
) : r
;
298 SWIGINTERNINLINE
int SWIG_CheckState(int r
) {
299 return SWIG_IsOK(r
) ? SWIG_CastRank(r
) + 1 : 0;
301 #else /* no cast-rank mode */
302 # define SWIG_AddCast
303 # define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
315 typedef void *(*swig_converter_func
)(void *);
316 typedef struct swig_type_info
*(*swig_dycast_func
)(void **);
318 /* Structure to store inforomation on one type */
319 typedef struct swig_type_info
{
320 const char *name
; /* mangled name of this type */
321 const char *str
; /* human readable name of this type */
322 swig_dycast_func dcast
; /* dynamic cast function down a hierarchy */
323 struct swig_cast_info
*cast
; /* linked list of types that can cast into this type */
324 void *clientdata
; /* language specific type data */
325 int owndata
; /* flag if the structure owns the clientdata */
328 /* Structure to store a type and conversion function used for casting */
329 typedef struct swig_cast_info
{
330 swig_type_info
*type
; /* pointer to type that is equivalent to this type */
331 swig_converter_func converter
; /* function to cast the void pointers */
332 struct swig_cast_info
*next
; /* pointer to next cast in linked list */
333 struct swig_cast_info
*prev
; /* pointer to the previous cast */
336 /* Structure used to store module information
337 * Each module generates one structure like this, and the runtime collects
338 * all of these structures and stores them in a circularly linked list.*/
339 typedef struct swig_module_info
{
340 swig_type_info
**types
; /* Array of pointers to swig_type_info structures that are in this module */
341 size_t size
; /* Number of types in this module */
342 struct swig_module_info
*next
; /* Pointer to next element in circularly linked list */
343 swig_type_info
**type_initial
; /* Array of initially generated type structures */
344 swig_cast_info
**cast_initial
; /* Array of initially generated casting structures */
345 void *clientdata
; /* Language specific module data */
349 Compare two type names skipping the space characters, therefore
350 "char*" == "char *" and "Class<int>" == "Class<int >", etc.
352 Return 0 when the two name types are equivalent, as in
353 strncmp, but skipping ' '.
356 SWIG_TypeNameComp(const char *f1
, const char *l1
,
357 const char *f2
, const char *l2
) {
358 for (;(f1
!= l1
) && (f2
!= l2
); ++f1
, ++f2
) {
359 while ((*f1
== ' ') && (f1
!= l1
)) ++f1
;
360 while ((*f2
== ' ') && (f2
!= l2
)) ++f2
;
361 if (*f1
!= *f2
) return (*f1
> *f2
) ? 1 : -1;
363 return (l1
- f1
) - (l2
- f2
);
367 Check type equivalence in a name list like <name1>|<name2>|...
368 Return 0 if not equal, 1 if equal
371 SWIG_TypeEquiv(const char *nb
, const char *tb
) {
373 const char* te
= tb
+ strlen(tb
);
375 while (!equiv
&& *ne
) {
376 for (nb
= ne
; *ne
; ++ne
) {
377 if (*ne
== '|') break;
379 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
386 Check type equivalence in a name list like <name1>|<name2>|...
387 Return 0 if equal, -1 if nb < tb, 1 if nb > tb
390 SWIG_TypeCompare(const char *nb
, const char *tb
) {
392 const char* te
= tb
+ strlen(tb
);
394 while (!equiv
&& *ne
) {
395 for (nb
= ne
; *ne
; ++ne
) {
396 if (*ne
== '|') break;
398 equiv
= (SWIG_TypeNameComp(nb
, ne
, tb
, te
) == 0) ? 1 : 0;
405 /* think of this as a c++ template<> or a scheme macro */
406 #define SWIG_TypeCheck_Template(comparison, ty) \
408 swig_cast_info *iter = ty->cast; \
411 if (iter == ty->cast) return iter; \
412 /* Move iter to the top of the linked list */ \
413 iter->prev->next = iter->next; \
415 iter->next->prev = iter->prev; \
416 iter->next = ty->cast; \
418 if (ty->cast) ty->cast->prev = iter; \
430 SWIGRUNTIME swig_cast_info
*
431 SWIG_TypeCheck(const char *c
, swig_type_info
*ty
) {
432 SWIG_TypeCheck_Template(strcmp(iter
->type
->name
, c
) == 0, ty
);
435 /* Same as previous function, except strcmp is replaced with a pointer comparison */
436 SWIGRUNTIME swig_cast_info
*
437 SWIG_TypeCheckStruct(swig_type_info
*from
, swig_type_info
*into
) {
438 SWIG_TypeCheck_Template(iter
->type
== from
, into
);
442 Cast a pointer up an inheritance hierarchy
444 SWIGRUNTIMEINLINE
void *
445 SWIG_TypeCast(swig_cast_info
*ty
, void *ptr
) {
446 return ((!ty
) || (!ty
->converter
)) ? ptr
: (*ty
->converter
)(ptr
);
450 Dynamic pointer casting. Down an inheritance hierarchy
452 SWIGRUNTIME swig_type_info
*
453 SWIG_TypeDynamicCast(swig_type_info
*ty
, void **ptr
) {
454 swig_type_info
*lastty
= ty
;
455 if (!ty
|| !ty
->dcast
) return ty
;
456 while (ty
&& (ty
->dcast
)) {
457 ty
= (*ty
->dcast
)(ptr
);
464 Return the name associated with this type
466 SWIGRUNTIMEINLINE
const char *
467 SWIG_TypeName(const swig_type_info
*ty
) {
472 Return the pretty name associated with this type,
473 that is an unmangled type name in a form presentable to the user.
475 SWIGRUNTIME
const char *
476 SWIG_TypePrettyName(const swig_type_info
*type
) {
477 /* The "str" field contains the equivalent pretty names of the
478 type, separated by vertical-bar characters. We choose
479 to print the last name, as it is often (?) the most
481 if (!type
) return NULL
;
482 if (type
->str
!= NULL
) {
483 const char *last_name
= type
->str
;
485 for (s
= type
->str
; *s
; s
++)
486 if (*s
== '|') last_name
= s
+1;
494 Set the clientdata field for a type
497 SWIG_TypeClientData(swig_type_info
*ti
, void *clientdata
) {
498 swig_cast_info
*cast
= ti
->cast
;
499 /* if (ti->clientdata == clientdata) return; */
500 ti
->clientdata
= clientdata
;
503 if (!cast
->converter
) {
504 swig_type_info
*tc
= cast
->type
;
505 if (!tc
->clientdata
) {
506 SWIG_TypeClientData(tc
, clientdata
);
513 SWIG_TypeNewClientData(swig_type_info
*ti
, void *clientdata
) {
514 SWIG_TypeClientData(ti
, clientdata
);
519 Search for a swig_type_info structure only by mangled name
520 Search is a O(log #types)
522 We start searching at module start, and finish searching when start == end.
523 Note: if start == end at the beginning of the function, we go all the way around
526 SWIGRUNTIME swig_type_info
*
527 SWIG_MangledTypeQueryModule(swig_module_info
*start
,
528 swig_module_info
*end
,
530 swig_module_info
*iter
= start
;
533 register size_t l
= 0;
534 register size_t r
= iter
->size
- 1;
536 /* since l+r >= 0, we can (>> 1) instead (/ 2) */
537 register size_t i
= (l
+ r
) >> 1;
538 const char *iname
= iter
->types
[i
]->name
;
540 register int compare
= strcmp(name
, iname
);
542 return iter
->types
[i
];
543 } else if (compare
< 0) {
549 } else if (compare
> 0) {
553 break; /* should never happen */
558 } while (iter
!= end
);
563 Search for a swig_type_info structure for either a mangled name or a human readable name.
564 It first searches the mangled names of the types, which is a O(log #types)
565 If a type is not found it then searches the human readable names, which is O(#types).
567 We start searching at module start, and finish searching when start == end.
568 Note: if start == end at the beginning of the function, we go all the way around
571 SWIGRUNTIME swig_type_info
*
572 SWIG_TypeQueryModule(swig_module_info
*start
,
573 swig_module_info
*end
,
575 /* STEP 1: Search the name field using binary search */
576 swig_type_info
*ret
= SWIG_MangledTypeQueryModule(start
, end
, name
);
580 /* STEP 2: If the type hasn't been found, do a complete search
581 of the str field (the human readable name) */
582 swig_module_info
*iter
= start
;
584 register size_t i
= 0;
585 for (; i
< iter
->size
; ++i
) {
586 if (iter
->types
[i
]->str
&& (SWIG_TypeEquiv(iter
->types
[i
]->str
, name
)))
587 return iter
->types
[i
];
590 } while (iter
!= end
);
593 /* neither found a match */
598 Pack binary data into a string
601 SWIG_PackData(char *c
, void *ptr
, size_t sz
) {
602 static const char hex
[17] = "0123456789abcdef";
603 register const unsigned char *u
= (unsigned char *) ptr
;
604 register const unsigned char *eu
= u
+ sz
;
605 for (; u
!= eu
; ++u
) {
606 register unsigned char uu
= *u
;
607 *(c
++) = hex
[(uu
& 0xf0) >> 4];
608 *(c
++) = hex
[uu
& 0xf];
614 Unpack binary data from a string
616 SWIGRUNTIME
const char *
617 SWIG_UnpackData(const char *c
, void *ptr
, size_t sz
) {
618 register unsigned char *u
= (unsigned char *) ptr
;
619 register const unsigned char *eu
= u
+ sz
;
620 for (; u
!= eu
; ++u
) {
621 register char d
= *(c
++);
622 register unsigned char uu
;
623 if ((d
>= '0') && (d
<= '9'))
624 uu
= ((d
- '0') << 4);
625 else if ((d
>= 'a') && (d
<= 'f'))
626 uu
= ((d
- ('a'-10)) << 4);
630 if ((d
>= '0') && (d
<= '9'))
632 else if ((d
>= 'a') && (d
<= 'f'))
633 uu
|= (d
- ('a'-10));
642 Pack 'void *' into a string buffer.
645 SWIG_PackVoidPtr(char *buff
, void *ptr
, const char *name
, size_t bsz
) {
647 if ((2*sizeof(void *) + 2) > bsz
) return 0;
649 r
= SWIG_PackData(r
,&ptr
,sizeof(void *));
650 if (strlen(name
) + 1 > (bsz
- (r
- buff
))) return 0;
655 SWIGRUNTIME
const char *
656 SWIG_UnpackVoidPtr(const char *c
, void **ptr
, const char *name
) {
658 if (strcmp(c
,"NULL") == 0) {
665 return SWIG_UnpackData(++c
,ptr
,sizeof(void *));
669 SWIG_PackDataName(char *buff
, void *ptr
, size_t sz
, const char *name
, size_t bsz
) {
671 size_t lname
= (name
? strlen(name
) : 0);
672 if ((2*sz
+ 2 + lname
) > bsz
) return 0;
674 r
= SWIG_PackData(r
,ptr
,sz
);
676 strncpy(r
,name
,lname
+1);
683 SWIGRUNTIME
const char *
684 SWIG_UnpackDataName(const char *c
, void *ptr
, size_t sz
, const char *name
) {
686 if (strcmp(c
,"NULL") == 0) {
693 return SWIG_UnpackData(++c
,ptr
,sz
);
701 #define SWIG_UnknownError -1
702 #define SWIG_IOError -2
703 #define SWIG_RuntimeError -3
704 #define SWIG_IndexError -4
705 #define SWIG_TypeError -5
706 #define SWIG_DivisionByZero -6
707 #define SWIG_OverflowError -7
708 #define SWIG_SyntaxError -8
709 #define SWIG_ValueError -9
710 #define SWIG_SystemError -10
711 #define SWIG_AttributeError -11
712 #define SWIG_MemoryError -12
713 #define SWIG_NullReferenceError -13
717 /* Python.h has to appear first */
720 /* Add PyOS_snprintf for old Pythons */
721 #if PY_VERSION_HEX < 0x02020000
722 # if defined(_MSC_VER) || defined(__BORLANDC__) || defined(_WATCOM)
723 # define PyOS_snprintf _snprintf
725 # define PyOS_snprintf snprintf
729 /* A crude PyString_FromFormat implementation for old Pythons */
730 #if PY_VERSION_HEX < 0x02020000
732 #ifndef SWIG_PYBUFFER_SIZE
733 # define SWIG_PYBUFFER_SIZE 1024
737 PyString_FromFormat(const char *fmt
, ...) {
739 char buf
[SWIG_PYBUFFER_SIZE
* 2];
742 res
= vsnprintf(buf
, sizeof(buf
), fmt
, ap
);
744 return (res
< 0 || res
>= (int)sizeof(buf
)) ? 0 : PyString_FromString(buf
);
748 /* Add PyObject_Del for old Pythons */
749 #if PY_VERSION_HEX < 0x01060000
750 # define PyObject_Del(op) PyMem_DEL((op))
753 # define PyObject_DEL PyObject_Del
756 /* A crude PyExc_StopIteration exception for old Pythons */
757 #if PY_VERSION_HEX < 0x02020000
758 # ifndef PyExc_StopIteration
759 # define PyExc_StopIteration PyExc_RuntimeError
761 # ifndef PyObject_GenericGetAttr
762 # define PyObject_GenericGetAttr 0
765 /* Py_NotImplemented is defined in 2.1 and up. */
766 #if PY_VERSION_HEX < 0x02010000
767 # ifndef Py_NotImplemented
768 # define Py_NotImplemented PyExc_RuntimeError
773 /* A crude PyString_AsStringAndSize implementation for old Pythons */
774 #if PY_VERSION_HEX < 0x02010000
775 # ifndef PyString_AsStringAndSize
776 # define PyString_AsStringAndSize(obj, s, len) {*s = PyString_AsString(obj); *len = *s ? strlen(*s) : 0;}
780 /* PySequence_Size for old Pythons */
781 #if PY_VERSION_HEX < 0x02000000
782 # ifndef PySequence_Size
783 # define PySequence_Size PySequence_Length
788 /* PyBool_FromLong for old Pythons */
789 #if PY_VERSION_HEX < 0x02030000
791 PyObject
*PyBool_FromLong(long ok
)
793 PyObject
*result
= ok
? Py_True
: Py_False
;
800 /* -----------------------------------------------------------------------------
802 * ----------------------------------------------------------------------------- */
804 SWIGRUNTIME PyObject
*
805 SWIG_Python_ErrorType(int code
) {
808 case SWIG_MemoryError
:
809 type
= PyExc_MemoryError
;
812 type
= PyExc_IOError
;
814 case SWIG_RuntimeError
:
815 type
= PyExc_RuntimeError
;
817 case SWIG_IndexError
:
818 type
= PyExc_IndexError
;
821 type
= PyExc_TypeError
;
823 case SWIG_DivisionByZero
:
824 type
= PyExc_ZeroDivisionError
;
826 case SWIG_OverflowError
:
827 type
= PyExc_OverflowError
;
829 case SWIG_SyntaxError
:
830 type
= PyExc_SyntaxError
;
832 case SWIG_ValueError
:
833 type
= PyExc_ValueError
;
835 case SWIG_SystemError
:
836 type
= PyExc_SystemError
;
838 case SWIG_AttributeError
:
839 type
= PyExc_AttributeError
;
842 type
= PyExc_RuntimeError
;
849 SWIG_Python_AddErrorMsg(const char* mesg
)
853 PyObject
*traceback
= 0;
855 if (PyErr_Occurred()) PyErr_Fetch(&type
, &value
, &traceback
);
857 PyObject
*old_str
= PyObject_Str(value
);
860 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
864 PyErr_Format(PyExc_RuntimeError
, mesg
);
870 #if defined(SWIG_PYTHON_NO_THREADS)
871 # if defined(SWIG_PYTHON_THREADS)
872 # undef SWIG_PYTHON_THREADS
875 #if defined(SWIG_PYTHON_THREADS) /* Threading support is enabled */
876 # if !defined(SWIG_PYTHON_USE_GIL) && !defined(SWIG_PYTHON_NO_USE_GIL)
877 # if (PY_VERSION_HEX >= 0x02030000) /* For 2.3 or later, use the PyGILState calls */
878 # define SWIG_PYTHON_USE_GIL
881 # if defined(SWIG_PYTHON_USE_GIL) /* Use PyGILState threads calls */
882 # ifndef SWIG_PYTHON_INITIALIZE_THREADS
883 # define SWIG_PYTHON_INITIALIZE_THREADS PyEval_InitThreads()
885 # ifdef __cplusplus /* C++ code */
886 class SWIG_Python_Thread_Block
{
888 PyGILState_STATE state
;
890 void end() { if (status
) { PyGILState_Release(state
); status
= false;} }
891 SWIG_Python_Thread_Block() : status(true), state(PyGILState_Ensure()) {}
892 ~SWIG_Python_Thread_Block() { end(); }
894 class SWIG_Python_Thread_Allow
{
898 void end() { if (status
) { PyEval_RestoreThread(save
); status
= false; }}
899 SWIG_Python_Thread_Allow() : status(true), save(PyEval_SaveThread()) {}
900 ~SWIG_Python_Thread_Allow() { end(); }
902 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK SWIG_Python_Thread_Block _swig_thread_block
903 # define SWIG_PYTHON_THREAD_END_BLOCK _swig_thread_block.end()
904 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW SWIG_Python_Thread_Allow _swig_thread_allow
905 # define SWIG_PYTHON_THREAD_END_ALLOW _swig_thread_allow.end()
907 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK PyGILState_STATE _swig_thread_block = PyGILState_Ensure()
908 # define SWIG_PYTHON_THREAD_END_BLOCK PyGILState_Release(_swig_thread_block)
909 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW PyThreadState *_swig_thread_allow = PyEval_SaveThread()
910 # define SWIG_PYTHON_THREAD_END_ALLOW PyEval_RestoreThread(_swig_thread_allow)
912 # else /* Old thread way, not implemented, user must provide it */
913 # if !defined(SWIG_PYTHON_INITIALIZE_THREADS)
914 # define SWIG_PYTHON_INITIALIZE_THREADS
916 # if !defined(SWIG_PYTHON_THREAD_BEGIN_BLOCK)
917 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
919 # if !defined(SWIG_PYTHON_THREAD_END_BLOCK)
920 # define SWIG_PYTHON_THREAD_END_BLOCK
922 # if !defined(SWIG_PYTHON_THREAD_BEGIN_ALLOW)
923 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
925 # if !defined(SWIG_PYTHON_THREAD_END_ALLOW)
926 # define SWIG_PYTHON_THREAD_END_ALLOW
929 #else /* No thread support */
930 # define SWIG_PYTHON_INITIALIZE_THREADS
931 # define SWIG_PYTHON_THREAD_BEGIN_BLOCK
932 # define SWIG_PYTHON_THREAD_END_BLOCK
933 # define SWIG_PYTHON_THREAD_BEGIN_ALLOW
934 # define SWIG_PYTHON_THREAD_END_ALLOW
937 /* -----------------------------------------------------------------------------
938 * Python API portion that goes into the runtime
939 * ----------------------------------------------------------------------------- */
948 /* -----------------------------------------------------------------------------
949 * Constant declarations
950 * ----------------------------------------------------------------------------- */
953 #define SWIG_PY_POINTER 4
954 #define SWIG_PY_BINARY 5
956 /* Constant information structure */
957 typedef struct swig_const_info
{
963 swig_type_info
**ptype
;
974 /* -----------------------------------------------------------------------------
975 * See the LICENSE file for information on copyright, usage and redistribution
976 * of SWIG, and the README file for authors - http://www.swig.org/release.html.
980 * This file contains the runtime support for Python modules
981 * and includes code for managing global variables and pointer
984 * ----------------------------------------------------------------------------- */
986 /* Common SWIG API */
988 #if PY_VERSION_HEX < 0x02050000
989 typedef int Py_ssize_t
;
992 /* for raw pointers */
993 #define SWIG_Python_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, 0)
994 #define SWIG_ConvertPtr(obj, pptr, type, flags) SWIG_Python_ConvertPtr(obj, pptr, type, flags)
995 #define SWIG_ConvertPtrAndOwn(obj,pptr,type,flags,own) SWIG_Python_ConvertPtrAndOwn(obj, pptr, type, flags, own)
996 #define SWIG_NewPointerObj(ptr, type, flags) SWIG_Python_NewPointerObj(ptr, type, flags)
997 #define SWIG_CheckImplicit(ty) SWIG_Python_CheckImplicit(ty)
998 #define SWIG_AcquirePtr(ptr, src) SWIG_Python_AcquirePtr(ptr, src)
999 #define swig_owntype int
1001 /* for raw packed data */
1002 #define SWIG_ConvertPacked(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1003 #define SWIG_NewPackedObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1005 /* for class or struct pointers */
1006 #define SWIG_ConvertInstance(obj, pptr, type, flags) SWIG_ConvertPtr(obj, pptr, type, flags)
1007 #define SWIG_NewInstanceObj(ptr, type, flags) SWIG_NewPointerObj(ptr, type, flags)
1009 /* for C or C++ function pointers */
1010 #define SWIG_ConvertFunctionPtr(obj, pptr, type) SWIG_Python_ConvertFunctionPtr(obj, pptr, type)
1011 #define SWIG_NewFunctionPtrObj(ptr, type) SWIG_Python_NewPointerObj(ptr, type, 0)
1013 /* for C++ member pointers, ie, member methods */
1014 #define SWIG_ConvertMember(obj, ptr, sz, ty) SWIG_Python_ConvertPacked(obj, ptr, sz, ty)
1015 #define SWIG_NewMemberObj(ptr, sz, type) SWIG_Python_NewPackedObj(ptr, sz, type)
1020 #define SWIG_GetModule(clientdata) SWIG_Python_GetModule()
1021 #define SWIG_SetModule(clientdata, pointer) SWIG_Python_SetModule(pointer)
1022 #define SWIG_NewClientData(obj) PySwigClientData_New(obj)
1024 #define SWIG_SetErrorObj SWIG_Python_SetErrorObj
1025 #define SWIG_SetErrorMsg SWIG_Python_SetErrorMsg
1026 #define SWIG_ErrorType(code) SWIG_Python_ErrorType(code)
1027 #define SWIG_Error(code, msg) SWIG_Python_SetErrorMsg(SWIG_ErrorType(code), msg)
1028 #define SWIG_fail goto fail
1031 /* Runtime API implementation */
1033 /* Error manipulation */
1036 SWIG_Python_SetErrorObj(PyObject
*errtype
, PyObject
*obj
) {
1037 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1038 PyErr_SetObject(errtype
, obj
);
1040 SWIG_PYTHON_THREAD_END_BLOCK
;
1044 SWIG_Python_SetErrorMsg(PyObject
*errtype
, const char *msg
) {
1045 SWIG_PYTHON_THREAD_BEGIN_BLOCK
;
1046 PyErr_SetString(errtype
, (char *) msg
);
1047 SWIG_PYTHON_THREAD_END_BLOCK
;
1050 #define SWIG_Python_Raise(obj, type, desc) SWIG_Python_SetErrorObj(SWIG_Python_ExceptionType(desc), obj)
1052 /* Set a constant value */
1055 SWIG_Python_SetConstant(PyObject
*d
, const char *name
, PyObject
*obj
) {
1056 PyDict_SetItemString(d
, (char*) name
, obj
);
1060 /* Append a value to the result obj */
1062 SWIGINTERN PyObject
*
1063 SWIG_Python_AppendOutput(PyObject
* result
, PyObject
* obj
) {
1064 #if !defined(SWIG_PYTHON_OUTPUT_TUPLE)
1067 } else if (result
== Py_None
) {
1071 if (!PyList_Check(result
)) {
1072 PyObject
*o2
= result
;
1073 result
= PyList_New(1);
1074 PyList_SetItem(result
, 0, o2
);
1076 PyList_Append(result
,obj
);
1085 } else if (result
== Py_None
) {
1089 if (!PyTuple_Check(result
)) {
1091 result
= PyTuple_New(1);
1092 PyTuple_SET_ITEM(result
, 0, o2
);
1094 o3
= PyTuple_New(1);
1095 PyTuple_SET_ITEM(o3
, 0, obj
);
1097 result
= PySequence_Concat(o2
, o3
);
1105 /* Unpack the argument tuple */
1108 SWIG_Python_UnpackTuple(PyObject
*args
, const char *name
, int min
, int max
, PyObject
**objs
)
1114 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got none",
1115 name
, (min
== max
? "" : "at least "), min
);
1119 if (!PyTuple_Check(args
)) {
1120 PyErr_SetString(PyExc_SystemError
, "UnpackTuple() argument list is not a tuple");
1123 register int l
= PyTuple_GET_SIZE(args
);
1125 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1126 name
, (min
== max
? "" : "at least "), min
, l
);
1128 } else if (l
> max
) {
1129 PyErr_Format(PyExc_TypeError
, "%s expected %s%d arguments, got %d",
1130 name
, (min
== max
? "" : "at most "), max
, l
);
1134 for (i
= 0; i
< l
; ++i
) {
1135 objs
[i
] = PyTuple_GET_ITEM(args
, i
);
1137 for (; l
< max
; ++l
) {
1145 /* A functor is a function object with one single object argument */
1146 #if PY_VERSION_HEX >= 0x02020000
1147 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunctionObjArgs(functor, obj, NULL);
1149 #define SWIG_Python_CallFunctor(functor, obj) PyObject_CallFunction(functor, "O", obj);
1153 Helper for static pointer initialization for both C and C++ code, for example
1154 static PyObject *SWIG_STATIC_POINTER(MyVar) = NewSomething(...);
1157 #define SWIG_STATIC_POINTER(var) var
1159 #define SWIG_STATIC_POINTER(var) var = 0; if (!var) var
1162 /* -----------------------------------------------------------------------------
1163 * Pointer declarations
1164 * ----------------------------------------------------------------------------- */
1166 /* Flags for new pointer objects */
1167 #define SWIG_POINTER_NOSHADOW (SWIG_POINTER_OWN << 1)
1168 #define SWIG_POINTER_NEW (SWIG_POINTER_NOSHADOW | SWIG_POINTER_OWN)
1170 #define SWIG_POINTER_IMPLICIT_CONV (SWIG_POINTER_DISOWN << 1)
1179 /* How to access Py_None */
1180 #if defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__)
1181 # ifndef SWIG_PYTHON_NO_BUILD_NONE
1182 # ifndef SWIG_PYTHON_BUILD_NONE
1183 # define SWIG_PYTHON_BUILD_NONE
1188 #ifdef SWIG_PYTHON_BUILD_NONE
1191 # define Py_None SWIG_Py_None()
1193 SWIGRUNTIMEINLINE PyObject
*
1196 PyObject
*none
= Py_BuildValue("");
1200 SWIGRUNTIME PyObject
*
1203 static PyObject
*SWIG_STATIC_POINTER(none
) = _SWIG_Py_None();
1208 /* The python void return value */
1210 SWIGRUNTIMEINLINE PyObject
*
1213 PyObject
*none
= Py_None
;
1218 /* PySwigClientData */
1229 SWIGRUNTIMEINLINE
int
1230 SWIG_Python_CheckImplicit(swig_type_info
*ty
)
1232 PySwigClientData
*data
= (PySwigClientData
*)ty
->clientdata
;
1233 return data
? data
->implicitconv
: 0;
1236 SWIGRUNTIMEINLINE PyObject
*
1237 SWIG_Python_ExceptionType(swig_type_info
*desc
) {
1238 PySwigClientData
*data
= desc
? (PySwigClientData
*) desc
->clientdata
: 0;
1239 PyObject
*klass
= data
? data
->klass
: 0;
1240 return (klass
? klass
: PyExc_RuntimeError
);
1244 SWIGRUNTIME PySwigClientData
*
1245 PySwigClientData_New(PyObject
* obj
)
1250 PySwigClientData
*data
= (PySwigClientData
*)malloc(sizeof(PySwigClientData
));
1251 /* the klass element */
1253 Py_INCREF(data
->klass
);
1254 /* the newraw method and newargs arguments used to create a new raw instance */
1255 if (PyClass_Check(obj
)) {
1257 data
->newargs
= obj
;
1260 #if (PY_VERSION_HEX < 0x02020000)
1263 data
->newraw
= PyObject_GetAttrString(data
->klass
, (char *)"__new__");
1266 Py_INCREF(data
->newraw
);
1267 data
->newargs
= PyTuple_New(1);
1268 PyTuple_SetItem(data
->newargs
, 0, obj
);
1270 data
->newargs
= obj
;
1272 Py_INCREF(data
->newargs
);
1274 /* the destroy method, aka as the C++ delete method */
1275 data
->destroy
= PyObject_GetAttrString(data
->klass
, (char *)"__swig_destroy__");
1276 if (PyErr_Occurred()) {
1280 if (data
->destroy
) {
1282 Py_INCREF(data
->destroy
);
1283 flags
= PyCFunction_GET_FLAGS(data
->destroy
);
1285 data
->delargs
= !(flags
& (METH_O
));
1292 data
->implicitconv
= 0;
1298 PySwigClientData_Del(PySwigClientData
* data
)
1300 Py_XDECREF(data
->newraw
);
1301 Py_XDECREF(data
->newargs
);
1302 Py_XDECREF(data
->destroy
);
1305 /* =============== PySwigObject =====================*/
1315 SWIGRUNTIME PyObject
*
1316 PySwigObject_long(PySwigObject
*v
)
1318 return PyLong_FromVoidPtr(v
->ptr
);
1321 SWIGRUNTIME PyObject
*
1322 PySwigObject_format(const char* fmt
, PySwigObject
*v
)
1324 PyObject
*res
= NULL
;
1325 PyObject
*args
= PyTuple_New(1);
1327 if (PyTuple_SetItem(args
, 0, PySwigObject_long(v
)) == 0) {
1328 PyObject
*ofmt
= PyString_FromString(fmt
);
1330 res
= PyString_Format(ofmt
,args
);
1339 SWIGRUNTIME PyObject
*
1340 PySwigObject_oct(PySwigObject
*v
)
1342 return PySwigObject_format("%o",v
);
1345 SWIGRUNTIME PyObject
*
1346 PySwigObject_hex(PySwigObject
*v
)
1348 return PySwigObject_format("%x",v
);
1351 SWIGRUNTIME PyObject
*
1353 PySwigObject_repr(PySwigObject
*v
)
1355 PySwigObject_repr(PySwigObject
*v
, PyObject
*args
)
1358 const char *name
= SWIG_TypePrettyName(v
->ty
);
1359 PyObject
*hex
= PySwigObject_hex(v
);
1360 PyObject
*repr
= PyString_FromFormat("<Swig Object of type '%s' at 0x%s>", name
, PyString_AsString(hex
));
1364 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
);
1366 PyObject
*nrep
= PySwigObject_repr((PySwigObject
*)v
->next
, args
);
1368 PyString_ConcatAndDel(&repr
,nrep
);
1374 PySwigObject_print(PySwigObject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1377 PyObject
*repr
= PySwigObject_repr(v
);
1379 PyObject
*repr
= PySwigObject_repr(v
, NULL
);
1382 fputs(PyString_AsString(repr
), fp
);
1390 SWIGRUNTIME PyObject
*
1391 PySwigObject_str(PySwigObject
*v
)
1393 char result
[SWIG_BUFFER_SIZE
];
1394 return SWIG_PackVoidPtr(result
, v
->ptr
, v
->ty
->name
, sizeof(result
)) ?
1395 PyString_FromString(result
) : 0;
1399 PySwigObject_compare(PySwigObject
*v
, PySwigObject
*w
)
1403 return (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1406 SWIGRUNTIME PyTypeObject
* _PySwigObject_type(void);
1408 SWIGRUNTIME PyTypeObject
*
1409 PySwigObject_type(void) {
1410 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigObject_type();
1414 SWIGRUNTIMEINLINE
int
1415 PySwigObject_Check(PyObject
*op
) {
1416 return ((op
)->ob_type
== PySwigObject_type())
1417 || (strcmp((op
)->ob_type
->tp_name
,"PySwigObject") == 0);
1420 SWIGRUNTIME PyObject
*
1421 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
);
1424 PySwigObject_dealloc(PyObject
*v
)
1426 PySwigObject
*sobj
= (PySwigObject
*) v
;
1427 PyObject
*next
= sobj
->next
;
1429 swig_type_info
*ty
= sobj
->ty
;
1430 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
1431 PyObject
*destroy
= data
? data
->destroy
: 0;
1433 /* destroy is always a VARARGS method */
1435 if (data
->delargs
) {
1436 /* we need to create a temporal object to carry the destroy operation */
1437 PyObject
*tmp
= PySwigObject_New(sobj
->ptr
, ty
, 0);
1438 res
= SWIG_Python_CallFunctor(destroy
, tmp
);
1441 PyCFunction meth
= PyCFunction_GET_FUNCTION(destroy
);
1442 PyObject
*mself
= PyCFunction_GET_SELF(destroy
);
1443 res
= ((*meth
)(mself
, v
));
1447 const char *name
= SWIG_TypePrettyName(ty
);
1448 #if !defined(SWIG_PYTHON_SILENT_MEMLEAK)
1449 printf("swig/python detected a memory leak of type '%s', no destructor found.\n", name
);
1457 SWIGRUNTIME PyObject
*
1458 PySwigObject_append(PyObject
* v
, PyObject
* next
)
1460 PySwigObject
*sobj
= (PySwigObject
*) v
;
1463 if (!PyArg_ParseTuple(next
,(char *)"O:append", &tmp
)) return NULL
;
1466 if (!PySwigObject_Check(next
)) {
1471 return SWIG_Py_Void();
1474 SWIGRUNTIME PyObject
*
1476 PySwigObject_next(PyObject
* v
)
1478 PySwigObject_next(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1481 PySwigObject
*sobj
= (PySwigObject
*) v
;
1483 Py_INCREF(sobj
->next
);
1486 return SWIG_Py_Void();
1490 SWIGINTERN PyObject
*
1492 PySwigObject_disown(PyObject
*v
)
1494 PySwigObject_disown(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1497 PySwigObject
*sobj
= (PySwigObject
*)v
;
1499 return SWIG_Py_Void();
1502 SWIGINTERN PyObject
*
1504 PySwigObject_acquire(PyObject
*v
)
1506 PySwigObject_acquire(PyObject
* v
, PyObject
*SWIGUNUSEDPARM(args
))
1509 PySwigObject
*sobj
= (PySwigObject
*)v
;
1510 sobj
->own
= SWIG_POINTER_OWN
;
1511 return SWIG_Py_Void();
1514 SWIGINTERN PyObject
*
1515 PySwigObject_own(PyObject
*v
, PyObject
*args
)
1518 #if (PY_VERSION_HEX < 0x02020000)
1519 if (!PyArg_ParseTuple(args
,(char *)"|O:own",&val
))
1521 if (!PyArg_UnpackTuple(args
, (char *)"own", 0, 1, &val
))
1528 PySwigObject
*sobj
= (PySwigObject
*)v
;
1529 PyObject
*obj
= PyBool_FromLong(sobj
->own
);
1532 if (PyObject_IsTrue(val
)) {
1533 PySwigObject_acquire(v
);
1535 PySwigObject_disown(v
);
1538 if (PyObject_IsTrue(val
)) {
1539 PySwigObject_acquire(v
,args
);
1541 PySwigObject_disown(v
,args
);
1551 swigobject_methods
[] = {
1552 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_NOARGS
, (char *)"releases ownership of the pointer"},
1553 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_NOARGS
, (char *)"aquires ownership of the pointer"},
1554 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1555 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_O
, (char *)"appends another 'this' object"},
1556 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_NOARGS
, (char *)"returns the next 'this' object"},
1557 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_NOARGS
, (char *)"returns object representation"},
1562 swigobject_methods
[] = {
1563 {(char *)"disown", (PyCFunction
)PySwigObject_disown
, METH_VARARGS
, (char *)"releases ownership of the pointer"},
1564 {(char *)"acquire", (PyCFunction
)PySwigObject_acquire
, METH_VARARGS
, (char *)"aquires ownership of the pointer"},
1565 {(char *)"own", (PyCFunction
)PySwigObject_own
, METH_VARARGS
, (char *)"returns/sets ownership of the pointer"},
1566 {(char *)"append", (PyCFunction
)PySwigObject_append
, METH_VARARGS
, (char *)"appends another 'this' object"},
1567 {(char *)"next", (PyCFunction
)PySwigObject_next
, METH_VARARGS
, (char *)"returns the next 'this' object"},
1568 {(char *)"__repr__",(PyCFunction
)PySwigObject_repr
, METH_VARARGS
, (char *)"returns object representation"},
1573 #if PY_VERSION_HEX < 0x02020000
1574 SWIGINTERN PyObject
*
1575 PySwigObject_getattr(PySwigObject
*sobj
,char *name
)
1577 return Py_FindMethod(swigobject_methods
, (PyObject
*)sobj
, name
);
1581 SWIGRUNTIME PyTypeObject
*
1582 _PySwigObject_type(void) {
1583 static char swigobject_doc
[] = "Swig object carries a C/C++ instance pointer";
1585 static PyNumberMethods PySwigObject_as_number
= {
1586 (binaryfunc
)0, /*nb_add*/
1587 (binaryfunc
)0, /*nb_subtract*/
1588 (binaryfunc
)0, /*nb_multiply*/
1589 (binaryfunc
)0, /*nb_divide*/
1590 (binaryfunc
)0, /*nb_remainder*/
1591 (binaryfunc
)0, /*nb_divmod*/
1592 (ternaryfunc
)0,/*nb_power*/
1593 (unaryfunc
)0, /*nb_negative*/
1594 (unaryfunc
)0, /*nb_positive*/
1595 (unaryfunc
)0, /*nb_absolute*/
1596 (inquiry
)0, /*nb_nonzero*/
1603 (coercion
)0, /*nb_coerce*/
1604 (unaryfunc
)PySwigObject_long
, /*nb_int*/
1605 (unaryfunc
)PySwigObject_long
, /*nb_long*/
1606 (unaryfunc
)0, /*nb_float*/
1607 (unaryfunc
)PySwigObject_oct
, /*nb_oct*/
1608 (unaryfunc
)PySwigObject_hex
, /*nb_hex*/
1609 #if PY_VERSION_HEX >= 0x02020000
1610 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_true_divide */
1611 #elif PY_VERSION_HEX >= 0x02000000
1612 0,0,0,0,0,0,0,0,0,0,0 /* nb_inplace_add -> nb_inplace_or */
1616 static PyTypeObject pyswigobject_type
;
1617 static int type_init
= 0;
1619 const PyTypeObject tmp
1621 PyObject_HEAD_INIT(NULL
)
1623 (char *)"PySwigObject", /* tp_name */
1624 sizeof(PySwigObject
), /* tp_basicsize */
1625 0, /* tp_itemsize */
1626 (destructor
)PySwigObject_dealloc
, /* tp_dealloc */
1627 (printfunc
)PySwigObject_print
, /* tp_print */
1628 #if PY_VERSION_HEX < 0x02020000
1629 (getattrfunc
)PySwigObject_getattr
, /* tp_getattr */
1631 (getattrfunc
)0, /* tp_getattr */
1633 (setattrfunc
)0, /* tp_setattr */
1634 (cmpfunc
)PySwigObject_compare
, /* tp_compare */
1635 (reprfunc
)PySwigObject_repr
, /* tp_repr */
1636 &PySwigObject_as_number
, /* tp_as_number */
1637 0, /* tp_as_sequence */
1638 0, /* tp_as_mapping */
1639 (hashfunc
)0, /* tp_hash */
1640 (ternaryfunc
)0, /* tp_call */
1641 (reprfunc
)PySwigObject_str
, /* tp_str */
1642 PyObject_GenericGetAttr
, /* tp_getattro */
1643 0, /* tp_setattro */
1644 0, /* tp_as_buffer */
1645 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1646 swigobject_doc
, /* tp_doc */
1647 0, /* tp_traverse */
1649 0, /* tp_richcompare */
1650 0, /* tp_weaklistoffset */
1651 #if PY_VERSION_HEX >= 0x02020000
1653 0, /* tp_iternext */
1654 swigobject_methods
, /* tp_methods */
1659 0, /* tp_descr_get */
1660 0, /* tp_descr_set */
1661 0, /* tp_dictoffset */
1670 0, /* tp_subclasses */
1671 0, /* tp_weaklist */
1673 #if PY_VERSION_HEX >= 0x02030000
1677 0,0,0,0 /* tp_alloc -> tp_next */
1680 pyswigobject_type
= tmp
;
1681 pyswigobject_type
.ob_type
= &PyType_Type
;
1684 return &pyswigobject_type
;
1687 SWIGRUNTIME PyObject
*
1688 PySwigObject_New(void *ptr
, swig_type_info
*ty
, int own
)
1690 PySwigObject
*sobj
= PyObject_NEW(PySwigObject
, PySwigObject_type());
1697 return (PyObject
*)sobj
;
1700 /* -----------------------------------------------------------------------------
1701 * Implements a simple Swig Packed type, and use it instead of string
1702 * ----------------------------------------------------------------------------- */
1712 PySwigPacked_print(PySwigPacked
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
))
1714 char result
[SWIG_BUFFER_SIZE
];
1715 fputs("<Swig Packed ", fp
);
1716 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1720 fputs(v
->ty
->name
,fp
);
1725 SWIGRUNTIME PyObject
*
1726 PySwigPacked_repr(PySwigPacked
*v
)
1728 char result
[SWIG_BUFFER_SIZE
];
1729 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))) {
1730 return PyString_FromFormat("<Swig Packed at %s%s>", result
, v
->ty
->name
);
1732 return PyString_FromFormat("<Swig Packed %s>", v
->ty
->name
);
1736 SWIGRUNTIME PyObject
*
1737 PySwigPacked_str(PySwigPacked
*v
)
1739 char result
[SWIG_BUFFER_SIZE
];
1740 if (SWIG_PackDataName(result
, v
->pack
, v
->size
, 0, sizeof(result
))){
1741 return PyString_FromFormat("%s%s", result
, v
->ty
->name
);
1743 return PyString_FromString(v
->ty
->name
);
1748 PySwigPacked_compare(PySwigPacked
*v
, PySwigPacked
*w
)
1752 int s
= (i
< j
) ? -1 : ((i
> j
) ? 1 : 0);
1753 return s
? s
: strncmp((char *)v
->pack
, (char *)w
->pack
, 2*v
->size
);
1756 SWIGRUNTIME PyTypeObject
* _PySwigPacked_type(void);
1758 SWIGRUNTIME PyTypeObject
*
1759 PySwigPacked_type(void) {
1760 static PyTypeObject
*SWIG_STATIC_POINTER(type
) = _PySwigPacked_type();
1764 SWIGRUNTIMEINLINE
int
1765 PySwigPacked_Check(PyObject
*op
) {
1766 return ((op
)->ob_type
== _PySwigPacked_type())
1767 || (strcmp((op
)->ob_type
->tp_name
,"PySwigPacked") == 0);
1771 PySwigPacked_dealloc(PyObject
*v
)
1773 if (PySwigPacked_Check(v
)) {
1774 PySwigPacked
*sobj
= (PySwigPacked
*) v
;
1780 SWIGRUNTIME PyTypeObject
*
1781 _PySwigPacked_type(void) {
1782 static char swigpacked_doc
[] = "Swig object carries a C/C++ instance pointer";
1783 static PyTypeObject pyswigpacked_type
;
1784 static int type_init
= 0;
1786 const PyTypeObject tmp
1788 PyObject_HEAD_INIT(NULL
)
1790 (char *)"PySwigPacked", /* tp_name */
1791 sizeof(PySwigPacked
), /* tp_basicsize */
1792 0, /* tp_itemsize */
1793 (destructor
)PySwigPacked_dealloc
, /* tp_dealloc */
1794 (printfunc
)PySwigPacked_print
, /* tp_print */
1795 (getattrfunc
)0, /* tp_getattr */
1796 (setattrfunc
)0, /* tp_setattr */
1797 (cmpfunc
)PySwigPacked_compare
, /* tp_compare */
1798 (reprfunc
)PySwigPacked_repr
, /* tp_repr */
1799 0, /* tp_as_number */
1800 0, /* tp_as_sequence */
1801 0, /* tp_as_mapping */
1802 (hashfunc
)0, /* tp_hash */
1803 (ternaryfunc
)0, /* tp_call */
1804 (reprfunc
)PySwigPacked_str
, /* tp_str */
1805 PyObject_GenericGetAttr
, /* tp_getattro */
1806 0, /* tp_setattro */
1807 0, /* tp_as_buffer */
1808 Py_TPFLAGS_DEFAULT
, /* tp_flags */
1809 swigpacked_doc
, /* tp_doc */
1810 0, /* tp_traverse */
1812 0, /* tp_richcompare */
1813 0, /* tp_weaklistoffset */
1814 #if PY_VERSION_HEX >= 0x02020000
1816 0, /* tp_iternext */
1822 0, /* tp_descr_get */
1823 0, /* tp_descr_set */
1824 0, /* tp_dictoffset */
1833 0, /* tp_subclasses */
1834 0, /* tp_weaklist */
1836 #if PY_VERSION_HEX >= 0x02030000
1840 0,0,0,0 /* tp_alloc -> tp_next */
1843 pyswigpacked_type
= tmp
;
1844 pyswigpacked_type
.ob_type
= &PyType_Type
;
1847 return &pyswigpacked_type
;
1850 SWIGRUNTIME PyObject
*
1851 PySwigPacked_New(void *ptr
, size_t size
, swig_type_info
*ty
)
1853 PySwigPacked
*sobj
= PyObject_NEW(PySwigPacked
, PySwigPacked_type());
1855 void *pack
= malloc(size
);
1857 memcpy(pack
, ptr
, size
);
1862 PyObject_DEL((PyObject
*) sobj
);
1866 return (PyObject
*) sobj
;
1869 SWIGRUNTIME swig_type_info
*
1870 PySwigPacked_UnpackData(PyObject
*obj
, void *ptr
, size_t size
)
1872 if (PySwigPacked_Check(obj
)) {
1873 PySwigPacked
*sobj
= (PySwigPacked
*)obj
;
1874 if (sobj
->size
!= size
) return 0;
1875 memcpy(ptr
, sobj
->pack
, size
);
1882 /* -----------------------------------------------------------------------------
1883 * pointers/data manipulation
1884 * ----------------------------------------------------------------------------- */
1886 SWIGRUNTIMEINLINE PyObject
*
1889 return PyString_FromString("this");
1892 SWIGRUNTIME PyObject
*
1895 static PyObject
*SWIG_STATIC_POINTER(swig_this
) = _SWIG_This();
1899 /* #define SWIG_PYTHON_SLOW_GETSET_THIS */
1901 SWIGRUNTIME PySwigObject
*
1902 SWIG_Python_GetSwigThis(PyObject
*pyobj
)
1904 if (PySwigObject_Check(pyobj
)) {
1905 return (PySwigObject
*) pyobj
;
1908 #if (!defined(SWIG_PYTHON_SLOW_GETSET_THIS) && (PY_VERSION_HEX >= 0x02030000))
1909 if (PyInstance_Check(pyobj
)) {
1910 obj
= _PyInstance_Lookup(pyobj
, SWIG_This());
1912 PyObject
**dictptr
= _PyObject_GetDictPtr(pyobj
);
1913 if (dictptr
!= NULL
) {
1914 PyObject
*dict
= *dictptr
;
1915 obj
= dict
? PyDict_GetItem(dict
, SWIG_This()) : 0;
1917 #ifdef PyWeakref_CheckProxy
1918 if (PyWeakref_CheckProxy(pyobj
)) {
1919 PyObject
*wobj
= PyWeakref_GET_OBJECT(pyobj
);
1920 return wobj
? SWIG_Python_GetSwigThis(wobj
) : 0;
1923 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1927 if (PyErr_Occurred()) PyErr_Clear();
1933 obj
= PyObject_GetAttr(pyobj
,SWIG_This());
1937 if (PyErr_Occurred()) PyErr_Clear();
1941 if (obj
&& !PySwigObject_Check(obj
)) {
1942 /* a PyObject is called 'this', try to get the 'real this'
1943 PySwigObject from it */
1944 return SWIG_Python_GetSwigThis(obj
);
1946 return (PySwigObject
*)obj
;
1950 /* Acquire a pointer value */
1953 SWIG_Python_AcquirePtr(PyObject
*obj
, int own
) {
1955 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1957 int oldown
= sobj
->own
;
1965 /* Convert a pointer value */
1968 SWIG_Python_ConvertPtrAndOwn(PyObject
*obj
, void **ptr
, swig_type_info
*ty
, int flags
, int *own
) {
1969 if (!obj
) return SWIG_ERROR
;
1970 if (obj
== Py_None
) {
1974 PySwigObject
*sobj
= SWIG_Python_GetSwigThis(obj
);
1976 void *vptr
= sobj
->ptr
;
1978 swig_type_info
*to
= sobj
->ty
;
1980 /* no type cast needed */
1981 if (ptr
) *ptr
= vptr
;
1984 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
1986 sobj
= (PySwigObject
*)sobj
->next
;
1988 if (ptr
) *ptr
= SWIG_TypeCast(tc
,vptr
);
1993 if (ptr
) *ptr
= vptr
;
1998 if (own
) *own
= sobj
->own
;
1999 if (flags
& SWIG_POINTER_DISOWN
) {
2004 int res
= SWIG_ERROR
;
2005 if (flags
& SWIG_POINTER_IMPLICIT_CONV
) {
2006 PySwigClientData
*data
= ty
? (PySwigClientData
*) ty
->clientdata
: 0;
2007 if (data
&& !data
->implicitconv
) {
2008 PyObject
*klass
= data
->klass
;
2011 data
->implicitconv
= 1; /* avoid recursion and call 'explicit' constructors*/
2012 impconv
= SWIG_Python_CallFunctor(klass
, obj
);
2013 data
->implicitconv
= 0;
2014 if (PyErr_Occurred()) {
2019 PySwigObject
*iobj
= SWIG_Python_GetSwigThis(impconv
);
2022 res
= SWIG_Python_ConvertPtrAndOwn((PyObject
*)iobj
, &vptr
, ty
, 0, 0);
2023 if (SWIG_IsOK(res
)) {
2026 /* transfer the ownership to 'ptr' */
2028 res
= SWIG_AddCast(res
);
2029 res
= SWIG_AddNewMask(res
);
2031 res
= SWIG_AddCast(res
);
2045 /* Convert a function ptr value */
2048 SWIG_Python_ConvertFunctionPtr(PyObject
*obj
, void **ptr
, swig_type_info
*ty
) {
2049 if (!PyCFunction_Check(obj
)) {
2050 return SWIG_ConvertPtr(obj
, ptr
, ty
, 0);
2054 /* here we get the method pointer for callbacks */
2055 const char *doc
= (((PyCFunctionObject
*)obj
) -> m_ml
-> ml_doc
);
2056 const char *desc
= doc
? strstr(doc
, "swig_ptr: ") : 0;
2058 desc
= ty
? SWIG_UnpackVoidPtr(desc
+ 10, &vptr
, ty
->name
) : 0;
2059 if (!desc
) return SWIG_ERROR
;
2062 swig_cast_info
*tc
= SWIG_TypeCheck(desc
,ty
);
2063 if (!tc
) return SWIG_ERROR
;
2064 *ptr
= SWIG_TypeCast(tc
,vptr
);
2072 /* Convert a packed value value */
2075 SWIG_Python_ConvertPacked(PyObject
*obj
, void *ptr
, size_t sz
, swig_type_info
*ty
) {
2076 swig_type_info
*to
= PySwigPacked_UnpackData(obj
, ptr
, sz
);
2077 if (!to
) return SWIG_ERROR
;
2080 /* check type cast? */
2081 swig_cast_info
*tc
= SWIG_TypeCheck(to
->name
,ty
);
2082 if (!tc
) return SWIG_ERROR
;
2088 /* -----------------------------------------------------------------------------
2089 * Create a new pointer object
2090 * ----------------------------------------------------------------------------- */
2093 Create a new instance object, whitout calling __init__, and set the
2097 SWIGRUNTIME PyObject
*
2098 SWIG_Python_NewShadowInstance(PySwigClientData
*data
, PyObject
*swig_this
)
2100 #if (PY_VERSION_HEX >= 0x02020000)
2102 PyObject
*newraw
= data
->newraw
;
2104 inst
= PyObject_Call(newraw
, data
->newargs
, NULL
);
2106 #if !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2107 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2108 if (dictptr
!= NULL
) {
2109 PyObject
*dict
= *dictptr
;
2111 dict
= PyDict_New();
2113 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2117 PyObject
*key
= SWIG_This();
2118 PyObject_SetAttr(inst
, key
, swig_this
);
2122 PyObject
*dict
= PyDict_New();
2123 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2124 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2129 #if (PY_VERSION_HEX >= 0x02010000)
2131 PyObject
*dict
= PyDict_New();
2132 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2133 inst
= PyInstance_NewRaw(data
->newargs
, dict
);
2135 return (PyObject
*) inst
;
2137 PyInstanceObject
*inst
= PyObject_NEW(PyInstanceObject
, &PyInstance_Type
);
2141 inst
->in_class
= (PyClassObject
*)data
->newargs
;
2142 Py_INCREF(inst
->in_class
);
2143 inst
->in_dict
= PyDict_New();
2144 if (inst
->in_dict
== NULL
) {
2148 #ifdef Py_TPFLAGS_HAVE_WEAKREFS
2149 inst
->in_weakreflist
= NULL
;
2151 #ifdef Py_TPFLAGS_GC
2152 PyObject_GC_Init(inst
);
2154 PyDict_SetItem(inst
->in_dict
, SWIG_This(), swig_this
);
2155 return (PyObject
*) inst
;
2161 SWIG_Python_SetSwigThis(PyObject
*inst
, PyObject
*swig_this
)
2164 #if (PY_VERSION_HEX >= 0x02020000) && !defined(SWIG_PYTHON_SLOW_GETSET_THIS)
2165 PyObject
**dictptr
= _PyObject_GetDictPtr(inst
);
2166 if (dictptr
!= NULL
) {
2169 dict
= PyDict_New();
2172 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2176 dict
= PyObject_GetAttrString(inst
, "__dict__");
2177 PyDict_SetItem(dict
, SWIG_This(), swig_this
);
2182 SWIGINTERN PyObject
*
2183 SWIG_Python_InitShadowInstance(PyObject
*args
) {
2185 if (!SWIG_Python_UnpackTuple(args
,(char*)"swiginit", 2, 2, obj
)) {
2188 PySwigObject
*sthis
= SWIG_Python_GetSwigThis(obj
[0]);
2190 PySwigObject_append((PyObject
*) sthis
, obj
[1]);
2192 SWIG_Python_SetSwigThis(obj
[0], obj
[1]);
2194 return SWIG_Py_Void();
2198 /* Create a new pointer object */
2200 SWIGRUNTIME PyObject
*
2201 SWIG_Python_NewPointerObj(void *ptr
, swig_type_info
*type
, int flags
) {
2203 return SWIG_Py_Void();
2205 int own
= (flags
& SWIG_POINTER_OWN
) ? SWIG_POINTER_OWN
: 0;
2206 PyObject
*robj
= PySwigObject_New(ptr
, type
, own
);
2207 PySwigClientData
*clientdata
= type
? (PySwigClientData
*)(type
->clientdata
) : 0;
2208 if (clientdata
&& !(flags
& SWIG_POINTER_NOSHADOW
)) {
2209 PyObject
*inst
= SWIG_Python_NewShadowInstance(clientdata
, robj
);
2219 /* Create a new packed object */
2221 SWIGRUNTIMEINLINE PyObject
*
2222 SWIG_Python_NewPackedObj(void *ptr
, size_t sz
, swig_type_info
*type
) {
2223 return ptr
? PySwigPacked_New((void *) ptr
, sz
, type
) : SWIG_Py_Void();
2226 /* -----------------------------------------------------------------------------*
2228 * -----------------------------------------------------------------------------*/
2230 #ifdef SWIG_LINK_RUNTIME
2231 void *SWIG_ReturnGlobalTypeList(void *);
2234 SWIGRUNTIME swig_module_info
*
2235 SWIG_Python_GetModule(void) {
2236 static void *type_pointer
= (void *)0;
2237 /* first check if module already created */
2238 if (!type_pointer
) {
2239 #ifdef SWIG_LINK_RUNTIME
2240 type_pointer
= SWIG_ReturnGlobalTypeList((void *)0);
2242 type_pointer
= PyCObject_Import((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2243 (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
);
2244 if (PyErr_Occurred()) {
2246 type_pointer
= (void *)0;
2250 return (swig_module_info
*) type_pointer
;
2253 #if PY_MAJOR_VERSION < 2
2254 /* PyModule_AddObject function was introduced in Python 2.0. The following function
2255 is copied out of Python/modsupport.c in python version 2.3.4 */
2257 PyModule_AddObject(PyObject
*m
, char *name
, PyObject
*o
)
2260 if (!PyModule_Check(m
)) {
2261 PyErr_SetString(PyExc_TypeError
,
2262 "PyModule_AddObject() needs module as first arg");
2266 PyErr_SetString(PyExc_TypeError
,
2267 "PyModule_AddObject() needs non-NULL value");
2271 dict
= PyModule_GetDict(m
);
2273 /* Internal error -- modules must have a dict! */
2274 PyErr_Format(PyExc_SystemError
, "module '%s' has no __dict__",
2275 PyModule_GetName(m
));
2278 if (PyDict_SetItemString(dict
, name
, o
))
2286 SWIG_Python_DestroyModule(void *vptr
)
2288 swig_module_info
*swig_module
= (swig_module_info
*) vptr
;
2289 swig_type_info
**types
= swig_module
->types
;
2291 for (i
=0; i
< swig_module
->size
; ++i
) {
2292 swig_type_info
*ty
= types
[i
];
2294 PySwigClientData
*data
= (PySwigClientData
*) ty
->clientdata
;
2295 if (data
) PySwigClientData_Del(data
);
2298 Py_DECREF(SWIG_This());
2302 SWIG_Python_SetModule(swig_module_info
*swig_module
) {
2303 static PyMethodDef swig_empty_runtime_method_table
[] = { {NULL
, NULL
, 0, NULL
} };/* Sentinel */
2305 PyObject
*module = Py_InitModule((char*)"swig_runtime_data" SWIG_RUNTIME_VERSION
,
2306 swig_empty_runtime_method_table
);
2307 PyObject
*pointer
= PyCObject_FromVoidPtr((void *) swig_module
, SWIG_Python_DestroyModule
);
2308 if (pointer
&& module) {
2309 PyModule_AddObject(module, (char*)"type_pointer" SWIG_TYPE_TABLE_NAME
, pointer
);
2311 Py_XDECREF(pointer
);
2315 /* The python cached type query */
2316 SWIGRUNTIME PyObject
*
2317 SWIG_Python_TypeCache() {
2318 static PyObject
*SWIG_STATIC_POINTER(cache
) = PyDict_New();
2322 SWIGRUNTIME swig_type_info
*
2323 SWIG_Python_TypeQuery(const char *type
)
2325 PyObject
*cache
= SWIG_Python_TypeCache();
2326 PyObject
*key
= PyString_FromString(type
);
2327 PyObject
*obj
= PyDict_GetItem(cache
, key
);
2328 swig_type_info
*descriptor
;
2330 descriptor
= (swig_type_info
*) PyCObject_AsVoidPtr(obj
);
2332 swig_module_info
*swig_module
= SWIG_Python_GetModule();
2333 descriptor
= SWIG_TypeQueryModule(swig_module
, swig_module
, type
);
2335 obj
= PyCObject_FromVoidPtr(descriptor
, NULL
);
2336 PyDict_SetItem(cache
, key
, obj
);
2345 For backward compatibility only
2347 #define SWIG_POINTER_EXCEPTION 0
2348 #define SWIG_arg_fail(arg) SWIG_Python_ArgFail(arg)
2349 #define SWIG_MustGetPtr(p, type, argnum, flags) SWIG_Python_MustGetPtr(p, type, argnum, flags)
2352 SWIG_Python_AddErrMesg(const char* mesg
, int infront
)
2354 if (PyErr_Occurred()) {
2356 PyObject
*value
= 0;
2357 PyObject
*traceback
= 0;
2358 PyErr_Fetch(&type
, &value
, &traceback
);
2360 PyObject
*old_str
= PyObject_Str(value
);
2364 PyErr_Format(type
, "%s %s", mesg
, PyString_AsString(old_str
));
2366 PyErr_Format(type
, "%s %s", PyString_AsString(old_str
), mesg
);
2377 SWIG_Python_ArgFail(int argnum
)
2379 if (PyErr_Occurred()) {
2380 /* add information about failing argument */
2382 PyOS_snprintf(mesg
, sizeof(mesg
), "argument number %d:", argnum
);
2383 return SWIG_Python_AddErrMesg(mesg
, 1);
2389 SWIGRUNTIMEINLINE
const char *
2390 PySwigObject_GetDesc(PyObject
*self
)
2392 PySwigObject
*v
= (PySwigObject
*)self
;
2393 swig_type_info
*ty
= v
? v
->ty
: 0;
2394 return ty
? ty
->str
: (char*)"";
2398 SWIG_Python_TypeError(const char *type
, PyObject
*obj
)
2401 #if defined(SWIG_COBJECT_TYPES)
2402 if (obj
&& PySwigObject_Check(obj
)) {
2403 const char *otype
= (const char *) PySwigObject_GetDesc(obj
);
2405 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, 'PySwigObject(%s)' is received",
2412 const char *otype
= (obj
? obj
->ob_type
->tp_name
: 0);
2414 PyObject
*str
= PyObject_Str(obj
);
2415 const char *cstr
= str
? PyString_AsString(str
) : 0;
2417 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s(%s)' is received",
2420 PyErr_Format(PyExc_TypeError
, "a '%s' is expected, '%s' is received",
2427 PyErr_Format(PyExc_TypeError
, "a '%s' is expected", type
);
2429 PyErr_Format(PyExc_TypeError
, "unexpected type is received");
2434 /* Convert a pointer value, signal an exception on a type mismatch */
2436 SWIG_Python_MustGetPtr(PyObject
*obj
, swig_type_info
*ty
, int argnum
, int flags
) {
2438 if (SWIG_Python_ConvertPtr(obj
, &result
, ty
, flags
) == -1) {
2440 if (flags
& SWIG_POINTER_EXCEPTION
) {
2441 SWIG_Python_TypeError(SWIG_TypePrettyName(ty
), obj
);
2442 SWIG_Python_ArgFail(argnum
);
2458 #define SWIG_exception_fail(code, msg) do { SWIG_Error(code, msg); SWIG_fail; } while(0)
2460 #define SWIG_contract_assert(expr, msg) if (!(expr)) { SWIG_Error(SWIG_RuntimeError, msg); SWIG_fail; } else
2464 /* -------- TYPES TABLE (BEGIN) -------- */
2466 #define SWIGTYPE_p_bool swig_types[0]
2467 #define SWIGTYPE_p_char swig_types[1]
2468 #define SWIGTYPE_p_form_ops_t swig_types[2]
2469 #define SWIGTYPE_p_int swig_types[3]
2470 #define SWIGTYPE_p_unsigned_char swig_types[4]
2471 #define SWIGTYPE_p_unsigned_int swig_types[5]
2472 #define SWIGTYPE_p_unsigned_long swig_types[6]
2473 #define SWIGTYPE_p_wxANIHandler swig_types[7]
2474 #define SWIGTYPE_p_wxAcceleratorTable swig_types[8]
2475 #define SWIGTYPE_p_wxActivateEvent swig_types[9]
2476 #define SWIGTYPE_p_wxArrayInt swig_types[10]
2477 #define SWIGTYPE_p_wxBMPHandler swig_types[11]
2478 #define SWIGTYPE_p_wxBitmap swig_types[12]
2479 #define SWIGTYPE_p_wxBoxSizer swig_types[13]
2480 #define SWIGTYPE_p_wxCURHandler swig_types[14]
2481 #define SWIGTYPE_p_wxCalculateLayoutEvent swig_types[15]
2482 #define SWIGTYPE_p_wxChildFocusEvent swig_types[16]
2483 #define SWIGTYPE_p_wxClipboardTextEvent swig_types[17]
2484 #define SWIGTYPE_p_wxCloseEvent swig_types[18]
2485 #define SWIGTYPE_p_wxColour swig_types[19]
2486 #define SWIGTYPE_p_wxColourData swig_types[20]
2487 #define SWIGTYPE_p_wxColourDialog swig_types[21]
2488 #define SWIGTYPE_p_wxCommandEvent swig_types[22]
2489 #define SWIGTYPE_p_wxContextMenuEvent swig_types[23]
2490 #define SWIGTYPE_p_wxControl swig_types[24]
2491 #define SWIGTYPE_p_wxControlWithItems swig_types[25]
2492 #define SWIGTYPE_p_wxDC swig_types[26]
2493 #define SWIGTYPE_p_wxDateEvent swig_types[27]
2494 #define SWIGTYPE_p_wxDialog swig_types[28]
2495 #define SWIGTYPE_p_wxDirDialog swig_types[29]
2496 #define SWIGTYPE_p_wxDisplayChangedEvent swig_types[30]
2497 #define SWIGTYPE_p_wxDropFilesEvent swig_types[31]
2498 #define SWIGTYPE_p_wxDuplexMode swig_types[32]
2499 #define SWIGTYPE_p_wxEraseEvent swig_types[33]
2500 #define SWIGTYPE_p_wxEvent swig_types[34]
2501 #define SWIGTYPE_p_wxEvtHandler swig_types[35]
2502 #define SWIGTYPE_p_wxFSFile swig_types[36]
2503 #define SWIGTYPE_p_wxFileDialog swig_types[37]
2504 #define SWIGTYPE_p_wxFileSystem swig_types[38]
2505 #define SWIGTYPE_p_wxFindDialogEvent swig_types[39]
2506 #define SWIGTYPE_p_wxFindReplaceData swig_types[40]
2507 #define SWIGTYPE_p_wxFindReplaceDialog swig_types[41]
2508 #define SWIGTYPE_p_wxFlexGridSizer swig_types[42]
2509 #define SWIGTYPE_p_wxFocusEvent swig_types[43]
2510 #define SWIGTYPE_p_wxFont swig_types[44]
2511 #define SWIGTYPE_p_wxFontData swig_types[45]
2512 #define SWIGTYPE_p_wxFontDialog swig_types[46]
2513 #define SWIGTYPE_p_wxFrame swig_types[47]
2514 #define SWIGTYPE_p_wxGBSizerItem swig_types[48]
2515 #define SWIGTYPE_p_wxGIFHandler swig_types[49]
2516 #define SWIGTYPE_p_wxGridBagSizer swig_types[50]
2517 #define SWIGTYPE_p_wxGridSizer swig_types[51]
2518 #define SWIGTYPE_p_wxHtmlLinkInfo swig_types[52]
2519 #define SWIGTYPE_p_wxICOHandler swig_types[53]
2520 #define SWIGTYPE_p_wxIcon swig_types[54]
2521 #define SWIGTYPE_p_wxIconBundle swig_types[55]
2522 #define SWIGTYPE_p_wxIconizeEvent swig_types[56]
2523 #define SWIGTYPE_p_wxIdleEvent swig_types[57]
2524 #define SWIGTYPE_p_wxImage swig_types[58]
2525 #define SWIGTYPE_p_wxImageHandler swig_types[59]
2526 #define SWIGTYPE_p_wxIndividualLayoutConstraint swig_types[60]
2527 #define SWIGTYPE_p_wxInitDialogEvent swig_types[61]
2528 #define SWIGTYPE_p_wxJPEGHandler swig_types[62]
2529 #define SWIGTYPE_p_wxKeyEvent swig_types[63]
2530 #define SWIGTYPE_p_wxLayoutAlgorithm swig_types[64]
2531 #define SWIGTYPE_p_wxLayoutConstraints swig_types[65]
2532 #define SWIGTYPE_p_wxMDIChildFrame swig_types[66]
2533 #define SWIGTYPE_p_wxMDIClientWindow swig_types[67]
2534 #define SWIGTYPE_p_wxMDIParentFrame swig_types[68]
2535 #define SWIGTYPE_p_wxMaximizeEvent swig_types[69]
2536 #define SWIGTYPE_p_wxMenu swig_types[70]
2537 #define SWIGTYPE_p_wxMenuBar swig_types[71]
2538 #define SWIGTYPE_p_wxMenuEvent swig_types[72]
2539 #define SWIGTYPE_p_wxMenuItem swig_types[73]
2540 #define SWIGTYPE_p_wxMessageDialog swig_types[74]
2541 #define SWIGTYPE_p_wxMiniFrame swig_types[75]
2542 #define SWIGTYPE_p_wxMouseCaptureChangedEvent swig_types[76]
2543 #define SWIGTYPE_p_wxMouseCaptureLostEvent swig_types[77]
2544 #define SWIGTYPE_p_wxMouseEvent swig_types[78]
2545 #define SWIGTYPE_p_wxMoveEvent swig_types[79]
2546 #define SWIGTYPE_p_wxMultiChoiceDialog swig_types[80]
2547 #define SWIGTYPE_p_wxNavigationKeyEvent swig_types[81]
2548 #define SWIGTYPE_p_wxNcPaintEvent swig_types[82]
2549 #define SWIGTYPE_p_wxNotifyEvent swig_types[83]
2550 #define SWIGTYPE_p_wxNumberEntryDialog swig_types[84]
2551 #define SWIGTYPE_p_wxObject swig_types[85]
2552 #define SWIGTYPE_p_wxPCXHandler swig_types[86]
2553 #define SWIGTYPE_p_wxPNGHandler swig_types[87]
2554 #define SWIGTYPE_p_wxPNMHandler swig_types[88]
2555 #define SWIGTYPE_p_wxPageSetupDialog swig_types[89]
2556 #define SWIGTYPE_p_wxPageSetupDialogData swig_types[90]
2557 #define SWIGTYPE_p_wxPaintEvent swig_types[91]
2558 #define SWIGTYPE_p_wxPaletteChangedEvent swig_types[92]
2559 #define SWIGTYPE_p_wxPanel swig_types[93]
2560 #define SWIGTYPE_p_wxPaperSize swig_types[94]
2561 #define SWIGTYPE_p_wxPasswordEntryDialog swig_types[95]
2562 #define SWIGTYPE_p_wxPoint swig_types[96]
2563 #define SWIGTYPE_p_wxPopupWindow swig_types[97]
2564 #define SWIGTYPE_p_wxPreviewCanvas swig_types[98]
2565 #define SWIGTYPE_p_wxPreviewControlBar swig_types[99]
2566 #define SWIGTYPE_p_wxPreviewFrame swig_types[100]
2567 #define SWIGTYPE_p_wxPrintData swig_types[101]
2568 #define SWIGTYPE_p_wxPrintDialog swig_types[102]
2569 #define SWIGTYPE_p_wxPrintDialogData swig_types[103]
2570 #define SWIGTYPE_p_wxPrintPreview swig_types[104]
2571 #define SWIGTYPE_p_wxPrinter swig_types[105]
2572 #define SWIGTYPE_p_wxProgressDialog swig_types[106]
2573 #define SWIGTYPE_p_wxPyApp swig_types[107]
2574 #define SWIGTYPE_p_wxPyCommandEvent swig_types[108]
2575 #define SWIGTYPE_p_wxPyEvent swig_types[109]
2576 #define SWIGTYPE_p_wxPyHtmlListBox swig_types[110]
2577 #define SWIGTYPE_p_wxPyImageHandler swig_types[111]
2578 #define SWIGTYPE_p_wxPyPanel swig_types[112]
2579 #define SWIGTYPE_p_wxPyPopupTransientWindow swig_types[113]
2580 #define SWIGTYPE_p_wxPyPreviewControlBar swig_types[114]
2581 #define SWIGTYPE_p_wxPyPreviewFrame swig_types[115]
2582 #define SWIGTYPE_p_wxPyPrintPreview swig_types[116]
2583 #define SWIGTYPE_p_wxPyPrintout swig_types[117]
2584 #define SWIGTYPE_p_wxPyScrolledWindow swig_types[118]
2585 #define SWIGTYPE_p_wxPySizer swig_types[119]
2586 #define SWIGTYPE_p_wxPyTaskBarIcon swig_types[120]
2587 #define SWIGTYPE_p_wxPyVListBox swig_types[121]
2588 #define SWIGTYPE_p_wxPyVScrolledWindow swig_types[122]
2589 #define SWIGTYPE_p_wxPyValidator swig_types[123]
2590 #define SWIGTYPE_p_wxPyWindow swig_types[124]
2591 #define SWIGTYPE_p_wxQueryLayoutInfoEvent swig_types[125]
2592 #define SWIGTYPE_p_wxQueryNewPaletteEvent swig_types[126]
2593 #define SWIGTYPE_p_wxRect swig_types[127]
2594 #define SWIGTYPE_p_wxRegion swig_types[128]
2595 #define SWIGTYPE_p_wxSashEvent swig_types[129]
2596 #define SWIGTYPE_p_wxSashLayoutWindow swig_types[130]
2597 #define SWIGTYPE_p_wxSashWindow swig_types[131]
2598 #define SWIGTYPE_p_wxScrollEvent swig_types[132]
2599 #define SWIGTYPE_p_wxScrollWinEvent swig_types[133]
2600 #define SWIGTYPE_p_wxScrolledWindow swig_types[134]
2601 #define SWIGTYPE_p_wxSetCursorEvent swig_types[135]
2602 #define SWIGTYPE_p_wxShowEvent swig_types[136]
2603 #define SWIGTYPE_p_wxSingleChoiceDialog swig_types[137]
2604 #define SWIGTYPE_p_wxSize swig_types[138]
2605 #define SWIGTYPE_p_wxSizeEvent swig_types[139]
2606 #define SWIGTYPE_p_wxSizer swig_types[140]
2607 #define SWIGTYPE_p_wxSizerItem swig_types[141]
2608 #define SWIGTYPE_p_wxSplashScreen swig_types[142]
2609 #define SWIGTYPE_p_wxSplashScreenWindow swig_types[143]
2610 #define SWIGTYPE_p_wxSplitterEvent swig_types[144]
2611 #define SWIGTYPE_p_wxSplitterWindow swig_types[145]
2612 #define SWIGTYPE_p_wxStaticBoxSizer swig_types[146]
2613 #define SWIGTYPE_p_wxStatusBar swig_types[147]
2614 #define SWIGTYPE_p_wxStdDialogButtonSizer swig_types[148]
2615 #define SWIGTYPE_p_wxString swig_types[149]
2616 #define SWIGTYPE_p_wxSysColourChangedEvent swig_types[150]
2617 #define SWIGTYPE_p_wxTIFFHandler swig_types[151]
2618 #define SWIGTYPE_p_wxTaskBarIcon swig_types[152]
2619 #define SWIGTYPE_p_wxTaskBarIconEvent swig_types[153]
2620 #define SWIGTYPE_p_wxTextEntryDialog swig_types[154]
2621 #define SWIGTYPE_p_wxTipWindow swig_types[155]
2622 #define SWIGTYPE_p_wxToolBar swig_types[156]
2623 #define SWIGTYPE_p_wxTopLevelWindow swig_types[157]
2624 #define SWIGTYPE_p_wxUpdateUIEvent swig_types[158]
2625 #define SWIGTYPE_p_wxValidator swig_types[159]
2626 #define SWIGTYPE_p_wxVisualAttributes swig_types[160]
2627 #define SWIGTYPE_p_wxWindow swig_types[161]
2628 #define SWIGTYPE_p_wxWindowCreateEvent swig_types[162]
2629 #define SWIGTYPE_p_wxWindowDestroyEvent swig_types[163]
2630 #define SWIGTYPE_p_wxXPMHandler swig_types[164]
2631 static swig_type_info
*swig_types
[166];
2632 static swig_module_info swig_module
= {swig_types
, 165, 0, 0, 0, 0};
2633 #define SWIG_TypeQuery(name) SWIG_TypeQueryModule(&swig_module, &swig_module, name)
2634 #define SWIG_MangledTypeQuery(name) SWIG_MangledTypeQueryModule(&swig_module, &swig_module, name)
2636 /* -------- TYPES TABLE (END) -------- */
2638 #if (PY_VERSION_HEX <= 0x02000000)
2639 # if !defined(SWIG_PYTHON_CLASSIC)
2640 # error "This python version requires to use swig with the '-classic' option"
2643 #if (PY_VERSION_HEX <= 0x02020000)
2644 # error "This python version requires to use swig with the '-nomodern' option"
2646 #if (PY_VERSION_HEX <= 0x02020000)
2647 # error "This python version requires to use swig with the '-nomodernargs' option"
2650 # error "This python version requires to use swig with the '-nofastunpack' option"
2653 /*-----------------------------------------------
2654 @(target):= _windows_.so
2655 ------------------------------------------------*/
2656 #define SWIG_init init_windows_
2658 #define SWIG_name "_windows_"
2660 #define SWIGVERSION 0x010329
2663 #define SWIG_as_voidptr(a) const_cast< void * >(static_cast< const void * >(a))
2664 #define SWIG_as_voidptrptr(a) ((void)SWIG_as_voidptr(*a),reinterpret_cast< void** >(a))
2667 #include <stdexcept>
2671 class PyObject_ptr
{
2676 PyObject_ptr() :_obj(0)
2680 PyObject_ptr(const PyObject_ptr
& item
) : _obj(item
._obj
)
2685 PyObject_ptr(PyObject
*obj
, bool initial_ref
= true) :_obj(obj
)
2687 if (initial_ref
) Py_XINCREF(_obj
);
2690 PyObject_ptr
& operator=(const PyObject_ptr
& item
)
2692 Py_XINCREF(item
._obj
);
2703 operator PyObject
*() const
2708 PyObject
*operator->() const
2717 struct PyObject_var
: PyObject_ptr
{
2718 PyObject_var(PyObject
* obj
= 0) : PyObject_ptr(obj
, false) { }
2720 PyObject_var
& operator = (PyObject
* obj
)
2730 #include "wx/wxPython/wxPython.h"
2731 #include "wx/wxPython/pyclasses.h"
2734 static const wxString
wxPyEmptyString(wxEmptyString
);
2735 static const wxString
wxPyPanelNameStr(wxPanelNameStr
);
2741 # define LLONG_MIN LONG_LONG_MIN
2744 # define LLONG_MAX LONG_LONG_MAX
2747 # define ULLONG_MAX ULONG_LONG_MAX
2752 SWIG_AsVal_long (PyObject
* obj
, long* val
)
2754 if (PyNumber_Check(obj
)) {
2755 if (val
) *val
= PyInt_AsLong(obj
);
2758 return SWIG_TypeError
;
2763 SWIG_AsVal_int (PyObject
* obj
, int *val
)
2766 int res
= SWIG_AsVal_long (obj
, &v
);
2767 if (SWIG_IsOK(res
)) {
2768 if ((v
< INT_MIN
|| v
> INT_MAX
)) {
2769 return SWIG_OverflowError
;
2771 if (val
) *val
= static_cast< int >(v
);
2779 SWIG_AsVal_bool (PyObject
*obj
, bool *val
)
2781 if (obj
== Py_True
) {
2782 if (val
) *val
= true;
2784 } else if (obj
== Py_False
) {
2785 if (val
) *val
= false;
2789 int res
= SWIG_AddCast(SWIG_AsVal_long (obj
, val
? &v
: 0));
2790 if (SWIG_IsOK(res
) && val
) *val
= v
? true : false;
2796 #define SWIG_From_long PyInt_FromLong
2799 SWIGINTERNINLINE PyObject
*
2800 SWIG_From_int (int value
)
2802 return SWIG_From_long (value
);
2807 SWIG_AsVal_double (PyObject
*obj
, double* val
)
2809 if (PyNumber_Check(obj
)) {
2810 if (val
) *val
= PyFloat_AsDouble(obj
);
2813 return SWIG_TypeError
;
2817 #define SWIG_From_double PyFloat_FromDouble
2819 static const wxString
wxPyFrameNameStr(wxFrameNameStr
);
2820 static const wxString
wxPyDialogNameStr(wxDialogNameStr
);
2821 static const wxString
wxPyStatusLineNameStr(wxStatusLineNameStr
);
2822 static const wxString
wxPyToolBarNameStr(wxToolBarNameStr
);
2823 SWIGINTERN
void wxTopLevelWindow_MacSetMetalAppearance(wxTopLevelWindow
*self
,bool on
){
2824 int style
= self
->GetExtraStyle();
2826 style
|= wxFRAME_EX_METAL
;
2828 style
&= ~wxFRAME_EX_METAL
;
2829 self
->SetExtraStyle(style
);
2831 SWIGINTERN
bool wxTopLevelWindow_EnableCloseButton(wxTopLevelWindow
*self
,bool enable
=true){ return false; }
2834 SWIGINTERN wxRect
wxStatusBar_GetFieldRect(wxStatusBar
*self
,int i
){
2836 self
->GetFieldRect(i
, r
);
2839 static const wxString
wxPySplitterNameStr(wxT("splitter"));
2840 static const wxString
wxPySashNameStr(wxT("sashWindow"));
2841 static const wxString
wxPySashLayoutNameStr(wxT("layoutWindow"));
2843 #include <wx/popupwin.h>
2846 class wxPopupWindow
: public wxWindow
{
2848 wxPopupWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2849 wxPopupWindow() { wxPyRaiseNotImplemented(); }
2852 class wxPyPopupTransientWindow
: public wxPopupWindow
2855 wxPyPopupTransientWindow(wxWindow
*, int) { wxPyRaiseNotImplemented(); }
2856 wxPyPopupTransientWindow() { wxPyRaiseNotImplemented(); }
2860 #include <wx/tipwin.h>
2862 SWIGINTERN wxTipWindow
*new_wxTipWindow(wxWindow
*parent
,wxString
const &text
,int maxLength
=100,wxRect
*rectBound
=NULL
){
2863 return new wxTipWindow(parent
, text
, maxLength
, NULL
, rectBound
);
2866 #include <wx/tipwin.h>
2869 #include <wx/vscroll.h>
2872 class wxPyVScrolledWindow
: public wxVScrolledWindow
2874 DECLARE_ABSTRACT_CLASS(wxPyVScrolledWindow
)
2876 wxPyVScrolledWindow() : wxVScrolledWindow() {}
2878 wxPyVScrolledWindow(wxWindow
*parent
,
2879 wxWindowID id
= wxID_ANY
,
2880 const wxPoint
& pos
= wxDefaultPosition
,
2881 const wxSize
& size
= wxDefaultSize
,
2883 const wxString
& name
= wxPyPanelNameStr
)
2884 : wxVScrolledWindow(parent
, id
, pos
, size
, style
, name
)
2887 // Overridable virtuals
2889 // this function must be overridden in the derived class and it should
2890 // return the height of the given line in pixels
2891 DEC_PYCALLBACK_COORD_SIZET_constpure(OnGetLineHeight
);
2894 // this function doesn't have to be overridden but it may be useful to do
2895 // it if calculating the lines heights is a relatively expensive operation
2896 // as it gives the user code a possibility to calculate several of them at
2899 // OnGetLinesHint() is normally called just before OnGetLineHeight() but you
2900 // shouldn't rely on the latter being called for all lines in the interval
2901 // specified here. It is also possible that OnGetLineHeight() will be
2902 // called for the lines outside of this interval, so this is really just a
2903 // hint, not a promise.
2905 // finally note that lineMin is inclusive, while lineMax is exclusive, as
2907 DEC_PYCALLBACK_VOID_SIZETSIZET_const(OnGetLinesHint
);
2910 // when the number of lines changes, we try to estimate the total height
2911 // of all lines which is a rather expensive operation in terms of lines
2912 // access, so if the user code may estimate the average height
2913 // better/faster than we do, it should override this function to implement
2916 // this function should return the best guess for the total height it may
2918 DEC_PYCALLBACK_COORD_const(EstimateTotalHeight
);
2921 // Also expose some other interesting protected methods
2924 // find the index of the line we need to show at the top of the window such
2925 // that the last (fully or partially) visible line is the given one
2926 size_t FindFirstFromBottom(size_t lineLast
, bool fullyVisible
= false)
2927 { return wxVScrolledWindow::FindFirstFromBottom(lineLast
, fullyVisible
); }
2929 // get the total height of the lines between lineMin (inclusive) and
2930 // lineMax (exclusive)
2931 wxCoord
GetLinesHeight(size_t lineMin
, size_t lineMax
) const
2932 { return wxVScrolledWindow::GetLinesHeight(lineMin
, lineMax
); }
2934 // update the thumb size shown by the scrollbar
2935 void UpdateScrollbar() { wxVScrolledWindow::UpdateScrollbar(); }
2937 // remove the scrollbar completely because we don't need it
2938 void RemoveScrollbar() { wxVScrolledWindow::RemoveScrollbar(); }
2943 IMPLEMENT_ABSTRACT_CLASS(wxPyVScrolledWindow
, wxVScrolledWindow
);
2945 IMP_PYCALLBACK_COORD_SIZET_constpure(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLineHeight
);
2946 IMP_PYCALLBACK_VOID_SIZETSIZET_const(wxPyVScrolledWindow
, wxVScrolledWindow
, OnGetLinesHint
);
2947 IMP_PYCALLBACK_COORD_const (wxPyVScrolledWindow
, wxVScrolledWindow
, EstimateTotalHeight
);
2951 SWIG_AsVal_unsigned_SS_long (PyObject
* obj
, unsigned long* val
)
2954 if (SWIG_AsVal_long(obj
, &v
) && v
< 0) {
2955 return SWIG_TypeError
;
2958 *val
= (unsigned long)v
;
2963 SWIGINTERNINLINE
int
2964 SWIG_AsVal_size_t (PyObject
* obj
, size_t *val
)
2967 int res
= SWIG_AsVal_unsigned_SS_long (obj
, val
? &v
: 0);
2968 if (SWIG_IsOK(res
) && val
) *val
= static_cast< size_t >(v
);
2973 SWIGINTERNINLINE PyObject
*
2974 SWIG_From_unsigned_SS_long (unsigned long value
)
2976 return (value
> LONG_MAX
) ?
2977 PyLong_FromUnsignedLong(value
) : PyInt_FromLong(static_cast< long >(value
));
2981 SWIGINTERNINLINE PyObject
*
2982 SWIG_From_size_t (size_t value
)
2984 return SWIG_From_unsigned_SS_long (static_cast< unsigned long >(value
));
2988 #include <wx/vlbox.h>
2990 static const wxString
wxPyVListBoxNameStr(wxVListBoxNameStr
);
2992 class wxPyVListBox
: public wxVListBox
2994 DECLARE_ABSTRACT_CLASS(wxPyVListBox
)
2996 wxPyVListBox() : wxVListBox() {}
2998 wxPyVListBox(wxWindow
*parent
,
2999 wxWindowID id
= wxID_ANY
,
3000 const wxPoint
& pos
= wxDefaultPosition
,
3001 const wxSize
& size
= wxDefaultSize
,
3003 const wxString
& name
= wxPyVListBoxNameStr
)
3004 : wxVListBox(parent
, id
, pos
, size
, style
, name
)
3007 // Overridable virtuals
3009 // the derived class must implement this function to actually draw the item
3010 // with the given index on the provided DC
3011 // virtual void OnDrawItem(wxDC& dc, const wxRect& rect, size_t n) const = 0;
3012 DEC_PYCALLBACK__DCRECTSIZET_constpure(OnDrawItem
);
3015 // the derived class must implement this method to return the height of the
3017 // virtual wxCoord OnMeasureItem(size_t n) const = 0;
3018 DEC_PYCALLBACK_COORD_SIZET_constpure(OnMeasureItem
);
3021 // this method may be used to draw separators between the lines; note that
3022 // the rectangle may be modified, typically to deflate it a bit before
3023 // passing to OnDrawItem()
3025 // the base class version doesn't do anything
3026 // virtual void OnDrawSeparator(wxDC& dc, wxRect& rect, size_t n) const;
3027 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3030 // this method is used to draw the items background and, maybe, a border
3033 // the base class version implements a reasonable default behaviour which
3034 // consists in drawing the selected item with the standard background
3035 // colour and drawing a border around the item if it is either selected or
3037 // virtual void OnDrawBackground(wxDC& dc, const wxRect& rect, size_t n) const;
3038 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3044 IMPLEMENT_ABSTRACT_CLASS(wxPyVListBox
, wxVListBox
);
3046 IMP_PYCALLBACK__DCRECTSIZET_constpure(wxPyVListBox
, wxVListBox
, OnDrawItem
);
3047 IMP_PYCALLBACK_COORD_SIZET_constpure (wxPyVListBox
, wxVListBox
, OnMeasureItem
);
3048 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyVListBox
, wxVListBox
, OnDrawSeparator
);
3049 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyVListBox
, wxVListBox
, OnDrawBackground
);
3052 SWIGINTERN PyObject
*wxPyVListBox_GetFirstSelected(wxPyVListBox
*self
){
3053 unsigned long cookie
= 0;
3054 int selected
= self
->GetFirstSelected(cookie
);
3055 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3056 PyObject
* tup
= PyTuple_New(2);
3057 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3058 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3059 wxPyEndBlockThreads(blocked
);
3062 SWIGINTERN PyObject
*wxPyVListBox_GetNextSelected(wxPyVListBox
*self
,unsigned long cookie
){
3063 int selected
= self
->GetNextSelected(cookie
);
3064 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3065 PyObject
* tup
= PyTuple_New(2);
3066 PyTuple_SET_ITEM(tup
, 0, PyInt_FromLong(selected
));
3067 PyTuple_SET_ITEM(tup
, 1, PyInt_FromLong(cookie
));
3068 wxPyEndBlockThreads(blocked
);
3072 #include <wx/htmllbox.h>
3075 class wxPyHtmlListBox
: public wxHtmlListBox
3077 DECLARE_ABSTRACT_CLASS(wxPyHtmlListBox
)
3079 wxPyHtmlListBox() : wxHtmlListBox() {}
3081 wxPyHtmlListBox(wxWindow
*parent
,
3082 wxWindowID id
= wxID_ANY
,
3083 const wxPoint
& pos
= wxDefaultPosition
,
3084 const wxSize
& size
= wxDefaultSize
,
3086 const wxString
& name
= wxPyVListBoxNameStr
)
3087 : wxHtmlListBox(parent
, id
, pos
, size
, style
, name
)
3090 // Overridable virtuals
3092 // this method must be implemented in the derived class and should return
3093 // the body (i.e. without <html>) of the HTML for the given item
3094 DEC_PYCALLBACK_STRING_SIZET_pure(OnGetItem
);
3096 // this function may be overridden to decorate HTML returned by OnGetItem()
3097 DEC_PYCALLBACK_STRING_SIZET(OnGetItemMarkup
);
3099 // These are from wxVListBox
3100 DEC_PYCALLBACK__DCRECTSIZET2_const(OnDrawSeparator
);
3101 DEC_PYCALLBACK__DCRECTSIZET_const(OnDrawBackground
);
3104 // // this method allows to customize the selection appearance: it may be used
3105 // // to specify the colour of the text which normally has the given colour
3106 // // colFg when it is inside the selection
3108 // // by default, the original colour is not used at all and all text has the
3109 // // same (default for this system) colour inside selection
3110 // virtual wxColour GetSelectedTextColour(const wxColour& colFg) const;
3112 // // this is the same as GetSelectedTextColour() but allows to customize the
3113 // // background colour -- this is even more rarely used as you can change it
3114 // // globally using SetSelectionBackground()
3115 // virtual wxColour GetSelectedTextBgColour(const wxColour& colBg) const;
3118 // This method may be overriden to handle clicking on a link in
3119 // the listbox. By default, clicking links is ignored.
3120 virtual void OnLinkClicked(size_t n
,
3121 const wxHtmlLinkInfo
& link
);
3127 IMPLEMENT_ABSTRACT_CLASS(wxPyHtmlListBox
, wxHtmlListBox
)
3129 IMP_PYCALLBACK_STRING_SIZET_pure(wxPyHtmlListBox
, wxHtmlListBox
, OnGetItem
);
3130 IMP_PYCALLBACK_STRING_SIZET (wxPyHtmlListBox
, wxHtmlListBox
, OnGetItemMarkup
);
3131 IMP_PYCALLBACK__DCRECTSIZET2_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawSeparator
);
3132 IMP_PYCALLBACK__DCRECTSIZET_const (wxPyHtmlListBox
, wxHtmlListBox
, OnDrawBackground
);
3135 void wxPyHtmlListBox::OnLinkClicked(size_t n
,
3136 const wxHtmlLinkInfo
& link
) {
3138 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3139 if ((found
= wxPyCBH_findCallback(m_myInst
, "OnLinkClicked"))) {
3140 PyObject
* obj
= wxPyConstructObject((void*)&link
, wxT("wxHtmlLinkInfo"), 0);
3141 wxPyCBH_callCallback(m_myInst
, Py_BuildValue("(iO)", n
, obj
));
3144 wxPyEndBlockThreads(blocked
);
3146 wxPyHtmlListBox::OnLinkClicked(n
, link
);
3153 #ifndef wxHAS_TASK_BAR_ICON
3154 // implement dummy classes for platforms that don't have it
3156 class wxTaskBarIcon
: public wxEvtHandler
3159 wxTaskBarIcon() { wxPyRaiseNotImplemented(); }
3163 class wxTaskBarIconEvent
: public wxEvent
3166 wxTaskBarIconEvent(wxEventType
, wxTaskBarIcon
*)
3167 { wxPyRaiseNotImplemented(); }
3168 virtual wxEvent
* Clone() const { return NULL
; }
3169 bool IsOk() const { return false; }
3170 bool IsIconInstalled() const { return false; }
3171 bool SetIcon(const wxIcon
& icon
, const wxString
& tooltip
= wxPyEmptyString
) { return false; }
3172 bool RemoveIcon() { return false; }
3173 bool PopupMenu(wxMenu
*menu
) { return false; }
3177 wxEVT_TASKBAR_MOVE
= 0,
3178 wxEVT_TASKBAR_LEFT_DOWN
= 0,
3179 wxEVT_TASKBAR_LEFT_UP
= 0,
3180 wxEVT_TASKBAR_RIGHT_DOWN
= 0,
3181 wxEVT_TASKBAR_RIGHT_UP
= 0,
3182 wxEVT_TASKBAR_LEFT_DCLICK
= 0,
3183 wxEVT_TASKBAR_RIGHT_DCLICK
= 0,
3188 // Otherwise make a class that can virtualize CreatePopupMenu
3189 class wxPyTaskBarIcon
: public wxTaskBarIcon
3191 DECLARE_ABSTRACT_CLASS(wxPyTaskBarIcon
)
3193 wxPyTaskBarIcon() : wxTaskBarIcon()
3196 wxMenu
* CreatePopupMenu() {
3197 wxMenu
*rval
= NULL
;
3199 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3200 if ((found
= wxPyCBH_findCallback(m_myInst
, "CreatePopupMenu"))) {
3203 ro
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3205 if (wxPyConvertSwigPtr(ro
, (void **)&ptr
, wxT("wxMenu")))
3210 wxPyEndBlockThreads(blocked
);
3212 rval
= wxTaskBarIcon::CreatePopupMenu();
3219 IMPLEMENT_ABSTRACT_CLASS(wxPyTaskBarIcon
, wxTaskBarIcon
);
3223 SWIGINTERN
void wxPyTaskBarIcon_Destroy(wxPyTaskBarIcon
*self
){
3227 static const wxString
wxPyFileSelectorPromptStr(wxFileSelectorPromptStr
);
3228 static const wxString
wxPyDirSelectorPromptStr(wxDirSelectorPromptStr
);
3229 static const wxString
wxPyDirDialogNameStr(wxDirDialogNameStr
);
3230 static const wxString
wxPyFileSelectorDefaultWildcardStr(wxFileSelectorDefaultWildcardStr
);
3231 static const wxString
wxPyGetTextFromUserPromptStr(wxGetTextFromUserPromptStr
);
3232 static const wxString
wxPyMessageBoxCaptionStr(wxMessageBoxCaptionStr
);
3234 // for compatibility only
3235 #define wxHIDE_READONLY 0
3237 SWIGINTERN PyObject
*wxFileDialog_GetFilenames(wxFileDialog
*self
){
3239 self
->GetFilenames(arr
);
3240 return wxArrayString2PyList_helper(arr
);
3242 SWIGINTERN PyObject
*wxFileDialog_GetPaths(wxFileDialog
*self
){
3244 self
->GetPaths(arr
);
3245 return wxArrayString2PyList_helper(arr
);
3247 SWIGINTERN PyObject
*wxMultiChoiceDialog_GetSelections(wxMultiChoiceDialog
*self
){
3248 return wxArrayInt2PyList_helper(self
->GetSelections());
3250 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
){
3251 return new wxSingleChoiceDialog(parent
, message
, caption
,
3252 choices
, choices_array
, NULL
, style
, pos
);
3254 static const wxString
wxPyGetPasswordFromUserPromptStr(wxGetPasswordFromUserPromptStr
);
3256 SWIGINTERNINLINE PyObject
*
3257 SWIG_From_bool (bool value
)
3259 return PyBool_FromLong(value
? 1 : 0);
3265 // C++ version of Python aware wxWindow
3266 class wxPyWindow
: public wxWindow
3268 DECLARE_DYNAMIC_CLASS(wxPyWindow
)
3270 wxPyWindow() : wxWindow() {}
3271 wxPyWindow(wxWindow
* parent
, const wxWindowID id
,
3272 const wxPoint
& pos
= wxDefaultPosition
,
3273 const wxSize
& size
= wxDefaultSize
,
3275 const wxString
& name
= wxPyPanelNameStr
)
3276 : wxWindow(parent
, id
, pos
, size
, style
, name
) {}
3278 void SetBestSize(const wxSize
& size
) { wxWindow::SetBestSize(size
); }
3280 bool DoEraseBackground(wxDC
* dc
) {
3282 return wxWindow::DoEraseBackground(dc
->GetHDC());
3284 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3290 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3291 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3292 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3293 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3295 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3296 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3297 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3299 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3300 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3302 DEC_PYCALLBACK__(InitDialog
);
3303 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3304 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3305 DEC_PYCALLBACK_BOOL_(Validate
);
3307 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3308 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3309 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3311 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3312 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3314 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3315 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3317 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3319 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3324 IMPLEMENT_DYNAMIC_CLASS(wxPyWindow
, wxWindow
);
3326 IMP_PYCALLBACK_VOID_INT4(wxPyWindow
, wxWindow
, DoMoveWindow
);
3327 IMP_PYCALLBACK_VOID_INT5(wxPyWindow
, wxWindow
, DoSetSize
);
3328 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetClientSize
);
3329 IMP_PYCALLBACK_VOID_INTINT(wxPyWindow
, wxWindow
, DoSetVirtualSize
);
3331 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetSize
);
3332 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetClientSize
);
3333 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyWindow
, wxWindow
, DoGetPosition
);
3335 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetVirtualSize
);
3336 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, DoGetBestSize
);
3338 IMP_PYCALLBACK__(wxPyWindow
, wxWindow
, InitDialog
);
3339 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataFromWindow
);
3340 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, TransferDataToWindow
);
3341 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, Validate
);
3343 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocus
);
3344 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, AcceptsFocusFromKeyboard
);
3345 IMP_PYCALLBACK_SIZE_const(wxPyWindow
, wxWindow
, GetMaxSize
);
3347 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, AddChild
);
3348 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyWindow
, wxWindow
, RemoveChild
);
3350 IMP_PYCALLBACK_BOOL_const(wxPyWindow
, wxWindow
, ShouldInheritColours
);
3351 IMP_PYCALLBACK_VIZATTR_(wxPyWindow
, wxWindow
, GetDefaultAttributes
);
3353 IMP_PYCALLBACK_BOOL_(wxPyWindow
, wxWindow
, HasTransparentBackground
);
3355 IMP_PYCALLBACK_VOID_(wxPyWindow
, wxWindow
, OnInternalIdle
);
3357 // C++ version of Python aware wxPanel
3358 class wxPyPanel
: public wxPanel
3360 DECLARE_DYNAMIC_CLASS(wxPyPanel
)
3362 wxPyPanel() : wxPanel() {}
3363 wxPyPanel(wxWindow
* parent
, const wxWindowID id
,
3364 const wxPoint
& pos
= wxDefaultPosition
,
3365 const wxSize
& size
= wxDefaultSize
,
3367 const wxString
& name
= wxPyPanelNameStr
)
3368 : wxPanel(parent
, id
, pos
, size
, style
, name
) {}
3370 void SetBestSize(const wxSize
& size
) { wxPanel::SetBestSize(size
); }
3371 bool DoEraseBackground(wxDC
* dc
) {
3373 return wxWindow::DoEraseBackground(dc
->GetHDC());
3375 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3382 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3383 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3384 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3385 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3387 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3388 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3389 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3391 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3392 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3394 DEC_PYCALLBACK__(InitDialog
);
3395 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3396 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3397 DEC_PYCALLBACK_BOOL_(Validate
);
3399 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3400 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3401 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3403 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3404 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3406 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3407 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3409 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3411 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3416 IMPLEMENT_DYNAMIC_CLASS(wxPyPanel
, wxPanel
);
3418 IMP_PYCALLBACK_VOID_INT4(wxPyPanel
, wxPanel
, DoMoveWindow
);
3419 IMP_PYCALLBACK_VOID_INT5(wxPyPanel
, wxPanel
, DoSetSize
);
3420 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetClientSize
);
3421 IMP_PYCALLBACK_VOID_INTINT(wxPyPanel
, wxPanel
, DoSetVirtualSize
);
3423 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetSize
);
3424 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetClientSize
);
3425 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyPanel
, wxPanel
, DoGetPosition
);
3427 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetVirtualSize
);
3428 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, DoGetBestSize
);
3430 IMP_PYCALLBACK__(wxPyPanel
, wxPanel
, InitDialog
);
3431 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataFromWindow
);
3432 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, TransferDataToWindow
);
3433 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, Validate
);
3435 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocus
);
3436 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, AcceptsFocusFromKeyboard
);
3437 IMP_PYCALLBACK_SIZE_const(wxPyPanel
, wxPanel
, GetMaxSize
);
3439 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, AddChild
);
3440 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyPanel
, wxPanel
, RemoveChild
);
3442 IMP_PYCALLBACK_BOOL_const(wxPyPanel
, wxPanel
, ShouldInheritColours
);
3443 IMP_PYCALLBACK_VIZATTR_(wxPyPanel
, wxPanel
, GetDefaultAttributes
);
3445 IMP_PYCALLBACK_BOOL_(wxPyPanel
, wxPanel
, HasTransparentBackground
);
3447 IMP_PYCALLBACK_VOID_(wxPyPanel
, wxPanel
, OnInternalIdle
);
3449 // C++ version of Python aware wxScrolledWindow
3450 class wxPyScrolledWindow
: public wxScrolledWindow
3452 DECLARE_DYNAMIC_CLASS(wxPyScrolledWindow
)
3454 wxPyScrolledWindow() : wxScrolledWindow() {}
3455 wxPyScrolledWindow(wxWindow
* parent
, const wxWindowID id
,
3456 const wxPoint
& pos
= wxDefaultPosition
,
3457 const wxSize
& size
= wxDefaultSize
,
3459 const wxString
& name
= wxPyPanelNameStr
)
3460 : wxScrolledWindow(parent
, id
, pos
, size
, style
, name
) {}
3462 void SetBestSize(const wxSize
& size
) { wxScrolledWindow::SetBestSize(size
); }
3463 bool DoEraseBackground(wxDC
* dc
) {
3465 return wxWindow::DoEraseBackground(dc
->GetHDC());
3467 dc
->SetBackground(wxBrush(GetBackgroundColour()));
3473 DEC_PYCALLBACK_VOID_INT4(DoMoveWindow
);
3474 DEC_PYCALLBACK_VOID_INT5(DoSetSize
);
3475 DEC_PYCALLBACK_VOID_INTINT(DoSetClientSize
);
3476 DEC_PYCALLBACK_VOID_INTINT(DoSetVirtualSize
);
3478 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetSize
);
3479 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetClientSize
);
3480 DEC_PYCALLBACK_VOID_INTPINTP_const(DoGetPosition
);
3482 DEC_PYCALLBACK_SIZE_const(DoGetVirtualSize
);
3483 DEC_PYCALLBACK_SIZE_const(DoGetBestSize
);
3485 DEC_PYCALLBACK__(InitDialog
);
3486 DEC_PYCALLBACK_BOOL_(TransferDataFromWindow
);
3487 DEC_PYCALLBACK_BOOL_(TransferDataToWindow
);
3488 DEC_PYCALLBACK_BOOL_(Validate
);
3490 DEC_PYCALLBACK_BOOL_const(AcceptsFocus
);
3491 DEC_PYCALLBACK_BOOL_const(AcceptsFocusFromKeyboard
);
3492 DEC_PYCALLBACK_SIZE_const(GetMaxSize
);
3494 DEC_PYCALLBACK_VOID_WXWINBASE(AddChild
);
3495 DEC_PYCALLBACK_VOID_WXWINBASE(RemoveChild
);
3497 DEC_PYCALLBACK_BOOL_const(ShouldInheritColours
);
3498 DEC_PYCALLBACK_VIZATTR_(GetDefaultAttributes
);
3500 DEC_PYCALLBACK_BOOL_(HasTransparentBackground
);
3502 DEC_PYCALLBACK_VOID_(OnInternalIdle
);
3507 IMPLEMENT_DYNAMIC_CLASS(wxPyScrolledWindow
, wxScrolledWindow
);
3509 IMP_PYCALLBACK_VOID_INT4(wxPyScrolledWindow
, wxScrolledWindow
, DoMoveWindow
);
3510 IMP_PYCALLBACK_VOID_INT5(wxPyScrolledWindow
, wxScrolledWindow
, DoSetSize
);
3511 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetClientSize
);
3512 IMP_PYCALLBACK_VOID_INTINT(wxPyScrolledWindow
, wxScrolledWindow
, DoSetVirtualSize
);
3514 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetSize
);
3515 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetClientSize
);
3516 IMP_PYCALLBACK_VOID_INTPINTP_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetPosition
);
3518 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetVirtualSize
);
3519 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, DoGetBestSize
);
3521 IMP_PYCALLBACK__(wxPyScrolledWindow
, wxScrolledWindow
, InitDialog
);
3522 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataFromWindow
);
3523 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, TransferDataToWindow
);
3524 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, Validate
);
3526 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocus
);
3527 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, AcceptsFocusFromKeyboard
);
3528 IMP_PYCALLBACK_SIZE_const(wxPyScrolledWindow
, wxScrolledWindow
, GetMaxSize
);
3530 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, AddChild
);
3531 IMP_PYCALLBACK_VOID_WXWINBASE(wxPyScrolledWindow
, wxScrolledWindow
, RemoveChild
);
3533 IMP_PYCALLBACK_BOOL_const(wxPyScrolledWindow
, wxScrolledWindow
, ShouldInheritColours
);
3534 IMP_PYCALLBACK_VIZATTR_(wxPyScrolledWindow
, wxScrolledWindow
, GetDefaultAttributes
);
3536 IMP_PYCALLBACK_BOOL_(wxPyScrolledWindow
, wxScrolledWindow
, HasTransparentBackground
);
3538 IMP_PYCALLBACK_VOID_(wxPyScrolledWindow
, wxScrolledWindow
, OnInternalIdle
);
3541 #include "wx/wxPython/printfw.h"
3544 static const wxString
wxPyPrintoutTitleStr(wxT("Printout"));
3545 static const wxString
wxPyPreviewCanvasNameStr(wxT("previewcanvas"));
3546 SWIGINTERN PyObject
*wxPrintData_GetPrivData(wxPrintData
*self
){
3548 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3549 data
= PyString_FromStringAndSize(self
->GetPrivData(),
3550 self
->GetPrivDataLen());
3551 wxPyEndBlockThreads(blocked
);
3554 SWIGINTERN
void wxPrintData_SetPrivData(wxPrintData
*self
,PyObject
*data
){
3555 if (! PyString_Check(data
)) {
3556 wxPyBLOCK_THREADS(PyErr_SetString(PyExc_TypeError
,
3557 "Expected string object"));
3561 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3562 self
->SetPrivData(PyString_AS_STRING(data
), PyString_GET_SIZE(data
));
3563 wxPyEndBlockThreads(blocked
);
3567 IMPLEMENT_ABSTRACT_CLASS(wxPyPrintout
, wxPrintout
);
3569 // Since this one would be tough and ugly to do with the Macros...
3570 void wxPyPrintout::GetPageInfo(int *minPage
, int *maxPage
, int *pageFrom
, int *pageTo
) {
3571 bool hadErr
= false;
3574 wxPyBlock_t blocked
= wxPyBeginBlockThreads();
3575 if ((found
= wxPyCBH_findCallback(m_myInst
, "GetPageInfo"))) {
3576 PyObject
* result
= wxPyCBH_callCallbackObj(m_myInst
, Py_BuildValue("()"));
3577 if (result
&& PyTuple_Check(result
) && PyTuple_Size(result
) == 4) {
3580 val
= PyTuple_GetItem(result
, 0);
3581 if (PyInt_Check(val
)) *minPage
= PyInt_AsLong(val
);
3584 val
= PyTuple_GetItem(result
, 1);
3585 if (PyInt_Check(val
)) *maxPage
= PyInt_AsLong(val
);
3588 val
= PyTuple_GetItem(result
, 2);
3589 if (PyInt_Check(val
)) *pageFrom
= PyInt_AsLong(val
);
3592 val
= PyTuple_GetItem(result
, 3);
3593 if (PyInt_Check(val
)) *pageTo
= PyInt_AsLong(val
);
3600 PyErr_SetString(PyExc_TypeError
, "GetPageInfo should return a tuple of 4 integers.");
3605 wxPyEndBlockThreads(blocked
);
3607 wxPrintout::GetPageInfo(minPage
, maxPage
, pageFrom
, pageTo
);
3612 IMP_PYCALLBACK_BOOL_INTINT(wxPyPrintout
, wxPrintout
, OnBeginDocument
);
3613 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndDocument
);
3614 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnBeginPrinting
);
3615 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnEndPrinting
);
3616 IMP_PYCALLBACK__(wxPyPrintout
, wxPrintout
, OnPreparePrinting
);
3617 IMP_PYCALLBACK_BOOL_INT_pure(wxPyPrintout
, wxPrintout
, OnPrintPage
);
3618 IMP_PYCALLBACK_BOOL_INT(wxPyPrintout
, wxPrintout
, HasPage
);
3624 #define DEC_PYCALLBACK_BOOL_PREWINDC(CBNAME) \
3625 bool CBNAME(wxPreviewCanvas* a, wxDC& b)
3628 #define IMP_PYCALLBACK_BOOL_PREWINDC(CLASS, PCLASS, CBNAME) \
3629 bool CLASS::CBNAME(wxPreviewCanvas* a, wxDC& b) { \
3632 wxPyBlock_t blocked = wxPyBeginBlockThreads(); \
3633 if ((found = wxPyCBH_findCallback(m_myInst, #CBNAME))) { \
3634 PyObject* win = wxPyMake_wxObject(a,false); \
3635 PyObject* dc = wxPyMake_wxObject(&b,false); \
3636 rval = wxPyCBH_callCallback(m_myInst, Py_BuildValue("(OO)", win, dc)); \
3640 wxPyEndBlockThreads(blocked); \
3642 rval = PCLASS::CBNAME(a, b); \
3649 class wxPyPrintPreview
: public wxPrintPreview
3651 DECLARE_CLASS(wxPyPrintPreview
)
3653 wxPyPrintPreview(wxPyPrintout
* printout
,
3654 wxPyPrintout
* printoutForPrinting
,
3655 wxPrintDialogData
* data
=NULL
)
3656 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3658 wxPyPrintPreview(wxPyPrintout
* printout
,
3659 wxPyPrintout
* printoutForPrinting
,
3661 : wxPrintPreview(printout
, printoutForPrinting
, data
)
3664 DEC_PYCALLBACK_BOOL_INT(SetCurrentPage
);
3665 DEC_PYCALLBACK_BOOL_PREWINDC(PaintPage
);
3666 DEC_PYCALLBACK_BOOL_PREWINDC(DrawBlankPage
);
3667 DEC_PYCALLBACK_BOOL_INT(RenderPage
);
3668 DEC_PYCALLBACK_VOID_INT(SetZoom
);
3669 DEC_PYCALLBACK_BOOL_BOOL(Print
);
3670 DEC_PYCALLBACK_VOID_(DetermineScaling
);
3675 // Stupid renamed classes... Fix this in 2.5...
3676 #if defined(__WXMSW__)
3677 IMPLEMENT_CLASS( wxPyPrintPreview
, wxWindowsPrintPreview
);
3678 #elif defined(__WXMAC__)
3679 IMPLEMENT_CLASS( wxPyPrintPreview
, wxMacPrintPreview
);
3681 IMPLEMENT_CLASS( wxPyPrintPreview
, wxPostScriptPrintPreview
);
3684 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, SetCurrentPage
);
3685 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, PaintPage
);
3686 IMP_PYCALLBACK_BOOL_PREWINDC(wxPyPrintPreview
, wxPrintPreview
, DrawBlankPage
);
3687 IMP_PYCALLBACK_BOOL_INT (wxPyPrintPreview
, wxPrintPreview
, RenderPage
);
3688 IMP_PYCALLBACK_VOID_INT (wxPyPrintPreview
, wxPrintPreview
, SetZoom
);
3689 IMP_PYCALLBACK_BOOL_BOOL (wxPyPrintPreview
, wxPrintPreview
, Print
);
3690 IMP_PYCALLBACK_VOID_ (wxPyPrintPreview
, wxPrintPreview
, DetermineScaling
);
3693 class wxPyPreviewFrame
: public wxPreviewFrame
3695 DECLARE_CLASS(wxPyPreviewFrame
)
3697 wxPyPreviewFrame(wxPrintPreview
* preview
, wxFrame
* parent
,
3698 const wxString
& title
,
3699 const wxPoint
& pos
= wxDefaultPosition
,
3700 const wxSize
& size
= wxDefaultSize
,
3701 long style
= wxDEFAULT_FRAME_STYLE
,
3702 const wxString
& name
= wxPyFrameNameStr
)
3703 : wxPreviewFrame(preview
, parent
, title
, pos
, size
, style
, name
)
3706 void SetPreviewCanvas(wxPreviewCanvas
* canvas
) { m_previewCanvas
= canvas
; }
3707 void SetControlBar(wxPreviewControlBar
* bar
) { m_controlBar
= bar
; }
3709 DEC_PYCALLBACK_VOID_(Initialize
);
3710 DEC_PYCALLBACK_VOID_(CreateCanvas
);
3711 DEC_PYCALLBACK_VOID_(CreateControlBar
);
3716 IMPLEMENT_CLASS(wxPyPreviewFrame
, wxPreviewFrame
);
3718 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, Initialize
);
3719 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateCanvas
);
3720 IMP_PYCALLBACK_VOID_(wxPyPreviewFrame
, wxPreviewFrame
, CreateControlBar
);
3723 class wxPyPreviewControlBar
: public wxPreviewControlBar
3725 DECLARE_CLASS(wxPyPreviewControlBar
)
3727 wxPyPreviewControlBar(wxPrintPreview
*preview
,
3730 const wxPoint
& pos
= wxDefaultPosition
,
3731 const wxSize
& size
= wxDefaultSize
,
3733 const wxString
& name
= wxPyPanelNameStr
)
3734 : wxPreviewControlBar(preview
, buttons
, parent
, pos
, size
, style
, name
)
3737 void SetPrintPreview(wxPrintPreview
* preview
) { m_printPreview
= preview
; }
3739 DEC_PYCALLBACK_VOID_(CreateButtons
);
3740 DEC_PYCALLBACK_VOID_INT(SetZoomControl
);
3745 IMPLEMENT_CLASS(wxPyPreviewControlBar
, wxPreviewControlBar
);
3746 IMP_PYCALLBACK_VOID_(wxPyPreviewControlBar
, wxPreviewControlBar
, CreateButtons
);
3747 IMP_PYCALLBACK_VOID_INT(wxPyPreviewControlBar
, wxPreviewControlBar
, SetZoomControl
);
3752 SWIGINTERN PyObject
*_wrap_new_Panel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3753 PyObject
*resultobj
= 0;
3754 wxWindow
*arg1
= (wxWindow
*) 0 ;
3755 int arg2
= (int) (int)-1 ;
3756 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
3757 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
3758 wxSize
const &arg4_defvalue
= wxDefaultSize
;
3759 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
3760 long arg5
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3761 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
3762 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
3763 wxPanel
*result
= 0 ;
3772 bool temp6
= false ;
3773 PyObject
* obj0
= 0 ;
3774 PyObject
* obj1
= 0 ;
3775 PyObject
* obj2
= 0 ;
3776 PyObject
* obj3
= 0 ;
3777 PyObject
* obj4
= 0 ;
3778 PyObject
* obj5
= 0 ;
3779 char * kwnames
[] = {
3780 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3783 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_Panel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
3784 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3785 if (!SWIG_IsOK(res1
)) {
3786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Panel" "', expected argument " "1"" of type '" "wxWindow *""'");
3788 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
3790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
3791 if (!SWIG_IsOK(ecode2
)) {
3792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Panel" "', expected argument " "2"" of type '" "int""'");
3794 arg2
= static_cast< int >(val2
);
3799 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
3805 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
3809 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
3810 if (!SWIG_IsOK(ecode5
)) {
3811 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_Panel" "', expected argument " "5"" of type '" "long""'");
3813 arg5
= static_cast< long >(val5
);
3817 arg6
= wxString_in_helper(obj5
);
3818 if (arg6
== NULL
) SWIG_fail
;
3823 if (!wxPyCheckForApp()) SWIG_fail
;
3824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3825 result
= (wxPanel
*)new wxPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
3826 wxPyEndAllowThreads(__tstate
);
3827 if (PyErr_Occurred()) SWIG_fail
;
3829 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_NEW
| 0 );
3844 SWIGINTERN PyObject
*_wrap_new_PrePanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3845 PyObject
*resultobj
= 0;
3846 wxPanel
*result
= 0 ;
3848 if (!SWIG_Python_UnpackTuple(args
,"new_PrePanel",0,0,0)) SWIG_fail
;
3850 if (!wxPyCheckForApp()) SWIG_fail
;
3851 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3852 result
= (wxPanel
*)new wxPanel();
3853 wxPyEndAllowThreads(__tstate
);
3854 if (PyErr_Occurred()) SWIG_fail
;
3856 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPanel
, SWIG_POINTER_OWN
| 0 );
3863 SWIGINTERN PyObject
*_wrap_Panel_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3864 PyObject
*resultobj
= 0;
3865 wxPanel
*arg1
= (wxPanel
*) 0 ;
3866 wxWindow
*arg2
= (wxWindow
*) 0 ;
3867 int arg3
= (int) (int)-1 ;
3868 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
3869 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
3870 wxSize
const &arg5_defvalue
= wxDefaultSize
;
3871 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
3872 long arg6
= (long) wxTAB_TRAVERSAL
|wxNO_BORDER
;
3873 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
3874 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
3886 bool temp7
= false ;
3887 PyObject
* obj0
= 0 ;
3888 PyObject
* obj1
= 0 ;
3889 PyObject
* obj2
= 0 ;
3890 PyObject
* obj3
= 0 ;
3891 PyObject
* obj4
= 0 ;
3892 PyObject
* obj5
= 0 ;
3893 PyObject
* obj6
= 0 ;
3894 char * kwnames
[] = {
3895 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
3898 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:Panel_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
3899 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3900 if (!SWIG_IsOK(res1
)) {
3901 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_Create" "', expected argument " "1"" of type '" "wxPanel *""'");
3903 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3904 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
3905 if (!SWIG_IsOK(res2
)) {
3906 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Panel_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
3908 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
3910 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
3911 if (!SWIG_IsOK(ecode3
)) {
3912 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Panel_Create" "', expected argument " "3"" of type '" "int""'");
3914 arg3
= static_cast< int >(val3
);
3919 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
3925 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
3929 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
3930 if (!SWIG_IsOK(ecode6
)) {
3931 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "Panel_Create" "', expected argument " "6"" of type '" "long""'");
3933 arg6
= static_cast< long >(val6
);
3937 arg7
= wxString_in_helper(obj6
);
3938 if (arg7
== NULL
) SWIG_fail
;
3943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3944 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
3945 wxPyEndAllowThreads(__tstate
);
3946 if (PyErr_Occurred()) SWIG_fail
;
3949 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
3965 SWIGINTERN PyObject
*_wrap_Panel_SetFocusIgnoringChildren(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
3966 PyObject
*resultobj
= 0;
3967 wxPanel
*arg1
= (wxPanel
*) 0 ;
3970 PyObject
*swig_obj
[1] ;
3972 if (!args
) SWIG_fail
;
3974 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPanel
, 0 | 0 );
3975 if (!SWIG_IsOK(res1
)) {
3976 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Panel_SetFocusIgnoringChildren" "', expected argument " "1"" of type '" "wxPanel *""'");
3978 arg1
= reinterpret_cast< wxPanel
* >(argp1
);
3980 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
3981 (arg1
)->SetFocusIgnoringChildren();
3982 wxPyEndAllowThreads(__tstate
);
3983 if (PyErr_Occurred()) SWIG_fail
;
3985 resultobj
= SWIG_Py_Void();
3992 SWIGINTERN PyObject
*_wrap_Panel_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
3993 PyObject
*resultobj
= 0;
3994 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
3995 SwigValueWrapper
<wxVisualAttributes
> result
;
3998 PyObject
* obj0
= 0 ;
3999 char * kwnames
[] = {
4000 (char *) "variant", NULL
4003 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Panel_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
4005 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
4006 if (!SWIG_IsOK(ecode1
)) {
4007 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Panel_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
4009 arg1
= static_cast< wxWindowVariant
>(val1
);
4012 if (!wxPyCheckForApp()) SWIG_fail
;
4013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4014 result
= wxPanel::GetClassDefaultAttributes(arg1
);
4015 wxPyEndAllowThreads(__tstate
);
4016 if (PyErr_Occurred()) SWIG_fail
;
4018 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
4025 SWIGINTERN PyObject
*Panel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4027 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
4028 SWIG_TypeNewClientData(SWIGTYPE_p_wxPanel
, SWIG_NewClientData(obj
));
4029 return SWIG_Py_Void();
4032 SWIGINTERN PyObject
*Panel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4033 return SWIG_Python_InitShadowInstance(args
);
4036 SWIGINTERN PyObject
*_wrap_new_ScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4037 PyObject
*resultobj
= 0;
4038 wxWindow
*arg1
= (wxWindow
*) 0 ;
4039 int arg2
= (int) (int)-1 ;
4040 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
4041 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
4042 wxSize
const &arg4_defvalue
= wxDefaultSize
;
4043 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
4044 long arg5
= (long) wxHSCROLL
|wxVSCROLL
;
4045 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
4046 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
4047 wxScrolledWindow
*result
= 0 ;
4056 bool temp6
= false ;
4057 PyObject
* obj0
= 0 ;
4058 PyObject
* obj1
= 0 ;
4059 PyObject
* obj2
= 0 ;
4060 PyObject
* obj3
= 0 ;
4061 PyObject
* obj4
= 0 ;
4062 PyObject
* obj5
= 0 ;
4063 char * kwnames
[] = {
4064 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4067 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_ScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
4068 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4069 if (!SWIG_IsOK(res1
)) {
4070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
4072 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
4074 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4075 if (!SWIG_IsOK(ecode2
)) {
4076 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_ScrolledWindow" "', expected argument " "2"" of type '" "int""'");
4078 arg2
= static_cast< int >(val2
);
4083 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
4089 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
4093 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
4094 if (!SWIG_IsOK(ecode5
)) {
4095 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ScrolledWindow" "', expected argument " "5"" of type '" "long""'");
4097 arg5
= static_cast< long >(val5
);
4101 arg6
= wxString_in_helper(obj5
);
4102 if (arg6
== NULL
) SWIG_fail
;
4107 if (!wxPyCheckForApp()) SWIG_fail
;
4108 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4109 result
= (wxScrolledWindow
*)new wxScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
4110 wxPyEndAllowThreads(__tstate
);
4111 if (PyErr_Occurred()) SWIG_fail
;
4113 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_NEW
| 0 );
4128 SWIGINTERN PyObject
*_wrap_new_PreScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4129 PyObject
*resultobj
= 0;
4130 wxScrolledWindow
*result
= 0 ;
4132 if (!SWIG_Python_UnpackTuple(args
,"new_PreScrolledWindow",0,0,0)) SWIG_fail
;
4134 if (!wxPyCheckForApp()) SWIG_fail
;
4135 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4136 result
= (wxScrolledWindow
*)new wxScrolledWindow();
4137 wxPyEndAllowThreads(__tstate
);
4138 if (PyErr_Occurred()) SWIG_fail
;
4140 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxScrolledWindow
, SWIG_POINTER_OWN
| 0 );
4147 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4148 PyObject
*resultobj
= 0;
4149 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4150 wxWindow
*arg2
= (wxWindow
*) 0 ;
4151 int arg3
= (int) (int)-1 ;
4152 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
4153 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
4154 wxSize
const &arg5_defvalue
= wxDefaultSize
;
4155 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
4156 long arg6
= (long) wxHSCROLL
|wxVSCROLL
;
4157 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
4158 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
4170 bool temp7
= false ;
4171 PyObject
* obj0
= 0 ;
4172 PyObject
* obj1
= 0 ;
4173 PyObject
* obj2
= 0 ;
4174 PyObject
* obj3
= 0 ;
4175 PyObject
* obj4
= 0 ;
4176 PyObject
* obj5
= 0 ;
4177 PyObject
* obj6
= 0 ;
4178 char * kwnames
[] = {
4179 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
4182 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:ScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
4183 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4184 if (!SWIG_IsOK(res1
)) {
4185 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Create" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4187 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4188 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
4189 if (!SWIG_IsOK(res2
)) {
4190 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
4192 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
4194 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4195 if (!SWIG_IsOK(ecode3
)) {
4196 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
4198 arg3
= static_cast< int >(val3
);
4203 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
4209 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
4213 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
4214 if (!SWIG_IsOK(ecode6
)) {
4215 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
4217 arg6
= static_cast< long >(val6
);
4221 arg7
= wxString_in_helper(obj6
);
4222 if (arg7
== NULL
) SWIG_fail
;
4227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4228 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
4229 wxPyEndAllowThreads(__tstate
);
4230 if (PyErr_Occurred()) SWIG_fail
;
4233 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
4249 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4250 PyObject
*resultobj
= 0;
4251 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4256 int arg6
= (int) 0 ;
4257 int arg7
= (int) 0 ;
4258 bool arg8
= (bool) false ;
4275 PyObject
* obj0
= 0 ;
4276 PyObject
* obj1
= 0 ;
4277 PyObject
* obj2
= 0 ;
4278 PyObject
* obj3
= 0 ;
4279 PyObject
* obj4
= 0 ;
4280 PyObject
* obj5
= 0 ;
4281 PyObject
* obj6
= 0 ;
4282 PyObject
* obj7
= 0 ;
4283 char * kwnames
[] = {
4284 (char *) "self",(char *) "pixelsPerUnitX",(char *) "pixelsPerUnitY",(char *) "noUnitsX",(char *) "noUnitsY",(char *) "xPos",(char *) "yPos",(char *) "noRefresh", NULL
4287 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|OOO:ScrolledWindow_SetScrollbars",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
4288 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4289 if (!SWIG_IsOK(res1
)) {
4290 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4292 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4293 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4294 if (!SWIG_IsOK(ecode2
)) {
4295 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "2"" of type '" "int""'");
4297 arg2
= static_cast< int >(val2
);
4298 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4299 if (!SWIG_IsOK(ecode3
)) {
4300 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "3"" of type '" "int""'");
4302 arg3
= static_cast< int >(val3
);
4303 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
4304 if (!SWIG_IsOK(ecode4
)) {
4305 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "4"" of type '" "int""'");
4307 arg4
= static_cast< int >(val4
);
4308 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
4309 if (!SWIG_IsOK(ecode5
)) {
4310 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "5"" of type '" "int""'");
4312 arg5
= static_cast< int >(val5
);
4314 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
4315 if (!SWIG_IsOK(ecode6
)) {
4316 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "6"" of type '" "int""'");
4318 arg6
= static_cast< int >(val6
);
4321 ecode7
= SWIG_AsVal_int(obj6
, &val7
);
4322 if (!SWIG_IsOK(ecode7
)) {
4323 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "7"" of type '" "int""'");
4325 arg7
= static_cast< int >(val7
);
4328 ecode8
= SWIG_AsVal_bool(obj7
, &val8
);
4329 if (!SWIG_IsOK(ecode8
)) {
4330 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "ScrolledWindow_SetScrollbars" "', expected argument " "8"" of type '" "bool""'");
4332 arg8
= static_cast< bool >(val8
);
4335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4336 (arg1
)->SetScrollbars(arg2
,arg3
,arg4
,arg5
,arg6
,arg7
,arg8
);
4337 wxPyEndAllowThreads(__tstate
);
4338 if (PyErr_Occurred()) SWIG_fail
;
4340 resultobj
= SWIG_Py_Void();
4347 SWIGINTERN PyObject
*_wrap_ScrolledWindow_Scroll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4348 PyObject
*resultobj
= 0;
4349 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4358 PyObject
* obj0
= 0 ;
4359 PyObject
* obj1
= 0 ;
4360 PyObject
* obj2
= 0 ;
4361 char * kwnames
[] = {
4362 (char *) "self",(char *) "x",(char *) "y", NULL
4365 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_Scroll",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4366 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4367 if (!SWIG_IsOK(res1
)) {
4368 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4370 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4371 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4372 if (!SWIG_IsOK(ecode2
)) {
4373 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "2"" of type '" "int""'");
4375 arg2
= static_cast< int >(val2
);
4376 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4377 if (!SWIG_IsOK(ecode3
)) {
4378 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_Scroll" "', expected argument " "3"" of type '" "int""'");
4380 arg3
= static_cast< int >(val3
);
4382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4383 (arg1
)->Scroll(arg2
,arg3
);
4384 wxPyEndAllowThreads(__tstate
);
4385 if (PyErr_Occurred()) SWIG_fail
;
4387 resultobj
= SWIG_Py_Void();
4394 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4395 PyObject
*resultobj
= 0;
4396 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4403 PyObject
* obj0
= 0 ;
4404 PyObject
* obj1
= 0 ;
4405 char * kwnames
[] = {
4406 (char *) "self",(char *) "orient", NULL
4409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_GetScrollPageSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
4410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4411 if (!SWIG_IsOK(res1
)) {
4412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4414 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4415 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4416 if (!SWIG_IsOK(ecode2
)) {
4417 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_GetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4419 arg2
= static_cast< int >(val2
);
4421 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4422 result
= (int)((wxScrolledWindow
const *)arg1
)->GetScrollPageSize(arg2
);
4423 wxPyEndAllowThreads(__tstate
);
4424 if (PyErr_Occurred()) SWIG_fail
;
4426 resultobj
= SWIG_From_int(static_cast< int >(result
));
4433 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollPageSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4434 PyObject
*resultobj
= 0;
4435 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4444 PyObject
* obj0
= 0 ;
4445 PyObject
* obj1
= 0 ;
4446 PyObject
* obj2
= 0 ;
4447 char * kwnames
[] = {
4448 (char *) "self",(char *) "orient",(char *) "pageSize", NULL
4451 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollPageSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4452 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4453 if (!SWIG_IsOK(res1
)) {
4454 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4456 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4457 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4458 if (!SWIG_IsOK(ecode2
)) {
4459 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "2"" of type '" "int""'");
4461 arg2
= static_cast< int >(val2
);
4462 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4463 if (!SWIG_IsOK(ecode3
)) {
4464 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollPageSize" "', expected argument " "3"" of type '" "int""'");
4466 arg3
= static_cast< int >(val3
);
4468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4469 (arg1
)->SetScrollPageSize(arg2
,arg3
);
4470 wxPyEndAllowThreads(__tstate
);
4471 if (PyErr_Occurred()) SWIG_fail
;
4473 resultobj
= SWIG_Py_Void();
4480 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScrollRate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4481 PyObject
*resultobj
= 0;
4482 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4491 PyObject
* obj0
= 0 ;
4492 PyObject
* obj1
= 0 ;
4493 PyObject
* obj2
= 0 ;
4494 char * kwnames
[] = {
4495 (char *) "self",(char *) "xstep",(char *) "ystep", NULL
4498 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScrollRate",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4499 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4500 if (!SWIG_IsOK(res1
)) {
4501 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4503 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4504 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
4505 if (!SWIG_IsOK(ecode2
)) {
4506 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "2"" of type '" "int""'");
4508 arg2
= static_cast< int >(val2
);
4509 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
4510 if (!SWIG_IsOK(ecode3
)) {
4511 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScrollRate" "', expected argument " "3"" of type '" "int""'");
4513 arg3
= static_cast< int >(val3
);
4515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4516 (arg1
)->SetScrollRate(arg2
,arg3
);
4517 wxPyEndAllowThreads(__tstate
);
4518 if (PyErr_Occurred()) SWIG_fail
;
4520 resultobj
= SWIG_Py_Void();
4527 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScrollPixelsPerUnit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4528 PyObject
*resultobj
= 0;
4529 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4530 int *arg2
= (int *) 0 ;
4531 int *arg3
= (int *) 0 ;
4535 int res2
= SWIG_TMPOBJ
;
4537 int res3
= SWIG_TMPOBJ
;
4538 PyObject
*swig_obj
[1] ;
4542 if (!args
) SWIG_fail
;
4544 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4545 if (!SWIG_IsOK(res1
)) {
4546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScrollPixelsPerUnit" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4548 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4550 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4551 ((wxScrolledWindow
const *)arg1
)->GetScrollPixelsPerUnit(arg2
,arg3
);
4552 wxPyEndAllowThreads(__tstate
);
4553 if (PyErr_Occurred()) SWIG_fail
;
4555 resultobj
= SWIG_Py_Void();
4556 if (SWIG_IsTmpObj(res2
)) {
4557 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4559 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4560 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4562 if (SWIG_IsTmpObj(res3
)) {
4563 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4565 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4566 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4574 SWIGINTERN PyObject
*_wrap_ScrolledWindow_EnableScrolling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4575 PyObject
*resultobj
= 0;
4576 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4585 PyObject
* obj0
= 0 ;
4586 PyObject
* obj1
= 0 ;
4587 PyObject
* obj2
= 0 ;
4588 char * kwnames
[] = {
4589 (char *) "self",(char *) "x_scrolling",(char *) "y_scrolling", NULL
4592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_EnableScrolling",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4594 if (!SWIG_IsOK(res1
)) {
4595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4597 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4598 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
4599 if (!SWIG_IsOK(ecode2
)) {
4600 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "2"" of type '" "bool""'");
4602 arg2
= static_cast< bool >(val2
);
4603 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
4604 if (!SWIG_IsOK(ecode3
)) {
4605 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_EnableScrolling" "', expected argument " "3"" of type '" "bool""'");
4607 arg3
= static_cast< bool >(val3
);
4609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4610 (arg1
)->EnableScrolling(arg2
,arg3
);
4611 wxPyEndAllowThreads(__tstate
);
4612 if (PyErr_Occurred()) SWIG_fail
;
4614 resultobj
= SWIG_Py_Void();
4621 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetViewStart(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4622 PyObject
*resultobj
= 0;
4623 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4624 int *arg2
= (int *) 0 ;
4625 int *arg3
= (int *) 0 ;
4629 int res2
= SWIG_TMPOBJ
;
4631 int res3
= SWIG_TMPOBJ
;
4632 PyObject
*swig_obj
[1] ;
4636 if (!args
) SWIG_fail
;
4638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4639 if (!SWIG_IsOK(res1
)) {
4640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetViewStart" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4642 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4645 ((wxScrolledWindow
const *)arg1
)->GetViewStart(arg2
,arg3
);
4646 wxPyEndAllowThreads(__tstate
);
4647 if (PyErr_Occurred()) SWIG_fail
;
4649 resultobj
= SWIG_Py_Void();
4650 if (SWIG_IsTmpObj(res2
)) {
4651 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
4653 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4654 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
4656 if (SWIG_IsTmpObj(res3
)) {
4657 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
4659 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4660 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
4668 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetScale(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
4669 PyObject
*resultobj
= 0;
4670 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4679 PyObject
* obj0
= 0 ;
4680 PyObject
* obj1
= 0 ;
4681 PyObject
* obj2
= 0 ;
4682 char * kwnames
[] = {
4683 (char *) "self",(char *) "xs",(char *) "ys", NULL
4686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ScrolledWindow_SetScale",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
4687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4688 if (!SWIG_IsOK(res1
)) {
4689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
4691 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4692 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
4693 if (!SWIG_IsOK(ecode2
)) {
4694 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "2"" of type '" "double""'");
4696 arg2
= static_cast< double >(val2
);
4697 ecode3
= SWIG_AsVal_double(obj2
, &val3
);
4698 if (!SWIG_IsOK(ecode3
)) {
4699 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_SetScale" "', expected argument " "3"" of type '" "double""'");
4701 arg3
= static_cast< double >(val3
);
4703 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4704 (arg1
)->SetScale(arg2
,arg3
);
4705 wxPyEndAllowThreads(__tstate
);
4706 if (PyErr_Occurred()) SWIG_fail
;
4708 resultobj
= SWIG_Py_Void();
4715 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4716 PyObject
*resultobj
= 0;
4717 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4721 PyObject
*swig_obj
[1] ;
4723 if (!args
) SWIG_fail
;
4725 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4726 if (!SWIG_IsOK(res1
)) {
4727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleX" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4729 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4731 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4732 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleX();
4733 wxPyEndAllowThreads(__tstate
);
4734 if (PyErr_Occurred()) SWIG_fail
;
4736 resultobj
= SWIG_From_double(static_cast< double >(result
));
4743 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetScaleY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4744 PyObject
*resultobj
= 0;
4745 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4749 PyObject
*swig_obj
[1] ;
4751 if (!args
) SWIG_fail
;
4753 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4754 if (!SWIG_IsOK(res1
)) {
4755 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetScaleY" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4757 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4759 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4760 result
= (double)((wxScrolledWindow
const *)arg1
)->GetScaleY();
4761 wxPyEndAllowThreads(__tstate
);
4762 if (PyErr_Occurred()) SWIG_fail
;
4764 resultobj
= SWIG_From_double(static_cast< double >(result
));
4771 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4772 PyObject
*resultobj
= 0;
4773 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4780 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4781 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4782 if (!SWIG_IsOK(res1
)) {
4783 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4785 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4788 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4791 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4792 result
= ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition((wxPoint
const &)*arg2
);
4793 wxPyEndAllowThreads(__tstate
);
4794 if (PyErr_Occurred()) SWIG_fail
;
4796 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4803 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4804 PyObject
*resultobj
= 0;
4805 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4808 int *arg4
= (int *) 0 ;
4809 int *arg5
= (int *) 0 ;
4817 int res4
= SWIG_TMPOBJ
;
4819 int res5
= SWIG_TMPOBJ
;
4823 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4824 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4825 if (!SWIG_IsOK(res1
)) {
4826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4828 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4829 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4830 if (!SWIG_IsOK(ecode2
)) {
4831 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "2"" of type '" "int""'");
4833 arg2
= static_cast< int >(val2
);
4834 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4835 if (!SWIG_IsOK(ecode3
)) {
4836 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcScrolledPosition" "', expected argument " "3"" of type '" "int""'");
4838 arg3
= static_cast< int >(val3
);
4840 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4841 ((wxScrolledWindow
const *)arg1
)->CalcScrolledPosition(arg2
,arg3
,arg4
,arg5
);
4842 wxPyEndAllowThreads(__tstate
);
4843 if (PyErr_Occurred()) SWIG_fail
;
4845 resultobj
= SWIG_Py_Void();
4846 if (SWIG_IsTmpObj(res4
)) {
4847 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4849 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4850 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4852 if (SWIG_IsTmpObj(res5
)) {
4853 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4855 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4856 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4864 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrolledPosition(PyObject
*self
, PyObject
*args
) {
4868 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcScrolledPosition",0,3,argv
))) SWIG_fail
;
4871 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_0(self
, argc
, argv
);
4874 return _wrap_ScrolledWindow_CalcScrolledPosition__SWIG_1(self
, argc
, argv
);
4878 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcScrolledPosition'");
4883 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4884 PyObject
*resultobj
= 0;
4885 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4892 if ((nobjs
< 2) || (nobjs
> 2)) SWIG_fail
;
4893 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4894 if (!SWIG_IsOK(res1
)) {
4895 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4897 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4900 if ( ! wxPoint_helper(swig_obj
[1], &arg2
)) SWIG_fail
;
4903 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4904 result
= ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition((wxPoint
const &)*arg2
);
4905 wxPyEndAllowThreads(__tstate
);
4906 if (PyErr_Occurred()) SWIG_fail
;
4908 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
4915 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
4916 PyObject
*resultobj
= 0;
4917 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
4920 int *arg4
= (int *) 0 ;
4921 int *arg5
= (int *) 0 ;
4929 int res4
= SWIG_TMPOBJ
;
4931 int res5
= SWIG_TMPOBJ
;
4935 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
4936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
4937 if (!SWIG_IsOK(res1
)) {
4938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
4940 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
4941 ecode2
= SWIG_AsVal_int(swig_obj
[1], &val2
);
4942 if (!SWIG_IsOK(ecode2
)) {
4943 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "2"" of type '" "int""'");
4945 arg2
= static_cast< int >(val2
);
4946 ecode3
= SWIG_AsVal_int(swig_obj
[2], &val3
);
4947 if (!SWIG_IsOK(ecode3
)) {
4948 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "ScrolledWindow_CalcUnscrolledPosition" "', expected argument " "3"" of type '" "int""'");
4950 arg3
= static_cast< int >(val3
);
4952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
4953 ((wxScrolledWindow
const *)arg1
)->CalcUnscrolledPosition(arg2
,arg3
,arg4
,arg5
);
4954 wxPyEndAllowThreads(__tstate
);
4955 if (PyErr_Occurred()) SWIG_fail
;
4957 resultobj
= SWIG_Py_Void();
4958 if (SWIG_IsTmpObj(res4
)) {
4959 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
4961 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4962 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
4964 if (SWIG_IsTmpObj(res5
)) {
4965 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
4967 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
4968 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
4976 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcUnscrolledPosition(PyObject
*self
, PyObject
*args
) {
4980 if (!(argc
= SWIG_Python_UnpackTuple(args
,"ScrolledWindow_CalcUnscrolledPosition",0,3,argv
))) SWIG_fail
;
4983 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_0(self
, argc
, argv
);
4986 return _wrap_ScrolledWindow_CalcUnscrolledPosition__SWIG_1(self
, argc
, argv
);
4990 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'ScrolledWindow_CalcUnscrolledPosition'");
4995 SWIGINTERN PyObject
*_wrap_ScrolledWindow_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
4996 PyObject
*resultobj
= 0;
4997 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5000 PyObject
*swig_obj
[1] ;
5002 if (!args
) SWIG_fail
;
5004 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5005 if (!SWIG_IsOK(res1
)) {
5006 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_AdjustScrollbars" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5008 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5010 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5011 (arg1
)->AdjustScrollbars();
5012 wxPyEndAllowThreads(__tstate
);
5013 if (PyErr_Occurred()) SWIG_fail
;
5015 resultobj
= SWIG_Py_Void();
5022 SWIGINTERN PyObject
*_wrap_ScrolledWindow_CalcScrollInc(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5023 PyObject
*resultobj
= 0;
5024 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5025 wxScrollWinEvent
*arg2
= 0 ;
5031 PyObject
* obj0
= 0 ;
5032 PyObject
* obj1
= 0 ;
5033 char * kwnames
[] = {
5034 (char *) "self",(char *) "event", NULL
5037 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_CalcScrollInc",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5038 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5039 if (!SWIG_IsOK(res1
)) {
5040 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5042 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5043 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxScrollWinEvent
, 0 );
5044 if (!SWIG_IsOK(res2
)) {
5045 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5048 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_CalcScrollInc" "', expected argument " "2"" of type '" "wxScrollWinEvent &""'");
5050 arg2
= reinterpret_cast< wxScrollWinEvent
* >(argp2
);
5052 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5053 result
= (int)(arg1
)->CalcScrollInc(*arg2
);
5054 wxPyEndAllowThreads(__tstate
);
5055 if (PyErr_Occurred()) SWIG_fail
;
5057 resultobj
= SWIG_From_int(static_cast< int >(result
));
5064 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5065 PyObject
*resultobj
= 0;
5066 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5067 wxWindow
*arg2
= (wxWindow
*) 0 ;
5072 PyObject
* obj0
= 0 ;
5073 PyObject
* obj1
= 0 ;
5074 char * kwnames
[] = {
5075 (char *) "self",(char *) "target", NULL
5078 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5079 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5080 if (!SWIG_IsOK(res1
)) {
5081 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5083 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5084 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
5085 if (!SWIG_IsOK(res2
)) {
5086 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_SetTargetWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
5088 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
5090 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5091 (arg1
)->SetTargetWindow(arg2
);
5092 wxPyEndAllowThreads(__tstate
);
5093 if (PyErr_Occurred()) SWIG_fail
;
5095 resultobj
= SWIG_Py_Void();
5102 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5103 PyObject
*resultobj
= 0;
5104 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5105 wxWindow
*result
= 0 ;
5108 PyObject
*swig_obj
[1] ;
5110 if (!args
) SWIG_fail
;
5112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5113 if (!SWIG_IsOK(res1
)) {
5114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetWindow" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5116 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5119 result
= (wxWindow
*)((wxScrolledWindow
const *)arg1
)->GetTargetWindow();
5120 wxPyEndAllowThreads(__tstate
);
5121 if (PyErr_Occurred()) SWIG_fail
;
5124 resultobj
= wxPyMake_wxObject(result
, 0);
5132 SWIGINTERN PyObject
*_wrap_ScrolledWindow_SetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5133 PyObject
*resultobj
= 0;
5134 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5139 PyObject
* obj0
= 0 ;
5140 PyObject
* obj1
= 0 ;
5141 char * kwnames
[] = {
5142 (char *) "self",(char *) "rect", NULL
5145 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_SetTargetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5146 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5147 if (!SWIG_IsOK(res1
)) {
5148 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_SetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5150 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5153 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
5156 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5157 (arg1
)->SetTargetRect((wxRect
const &)*arg2
);
5158 wxPyEndAllowThreads(__tstate
);
5159 if (PyErr_Occurred()) SWIG_fail
;
5161 resultobj
= SWIG_Py_Void();
5168 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetTargetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5169 PyObject
*resultobj
= 0;
5170 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5174 PyObject
*swig_obj
[1] ;
5176 if (!args
) SWIG_fail
;
5178 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5179 if (!SWIG_IsOK(res1
)) {
5180 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_GetTargetRect" "', expected argument " "1"" of type '" "wxScrolledWindow const *""'");
5182 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5184 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5185 result
= ((wxScrolledWindow
const *)arg1
)->GetTargetRect();
5186 wxPyEndAllowThreads(__tstate
);
5187 if (PyErr_Occurred()) SWIG_fail
;
5189 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
5196 SWIGINTERN PyObject
*_wrap_ScrolledWindow_DoPrepareDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5197 PyObject
*resultobj
= 0;
5198 wxScrolledWindow
*arg1
= (wxScrolledWindow
*) 0 ;
5204 PyObject
* obj0
= 0 ;
5205 PyObject
* obj1
= 0 ;
5206 char * kwnames
[] = {
5207 (char *) "self",(char *) "dc", NULL
5210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ScrolledWindow_DoPrepareDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxScrolledWindow
, 0 | 0 );
5212 if (!SWIG_IsOK(res1
)) {
5213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "1"" of type '" "wxScrolledWindow *""'");
5215 arg1
= reinterpret_cast< wxScrolledWindow
* >(argp1
);
5216 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
5217 if (!SWIG_IsOK(res2
)) {
5218 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5221 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "ScrolledWindow_DoPrepareDC" "', expected argument " "2"" of type '" "wxDC &""'");
5223 arg2
= reinterpret_cast< wxDC
* >(argp2
);
5225 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5226 (arg1
)->DoPrepareDC(*arg2
);
5227 wxPyEndAllowThreads(__tstate
);
5228 if (PyErr_Occurred()) SWIG_fail
;
5230 resultobj
= SWIG_Py_Void();
5237 SWIGINTERN PyObject
*_wrap_ScrolledWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5238 PyObject
*resultobj
= 0;
5239 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
5240 SwigValueWrapper
<wxVisualAttributes
> result
;
5243 PyObject
* obj0
= 0 ;
5244 char * kwnames
[] = {
5245 (char *) "variant", NULL
5248 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:ScrolledWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
5250 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
5251 if (!SWIG_IsOK(ecode1
)) {
5252 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "ScrolledWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
5254 arg1
= static_cast< wxWindowVariant
>(val1
);
5257 if (!wxPyCheckForApp()) SWIG_fail
;
5258 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5259 result
= wxScrolledWindow::GetClassDefaultAttributes(arg1
);
5260 wxPyEndAllowThreads(__tstate
);
5261 if (PyErr_Occurred()) SWIG_fail
;
5263 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
5270 SWIGINTERN PyObject
*ScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
5273 SWIG_TypeNewClientData(SWIGTYPE_p_wxScrolledWindow
, SWIG_NewClientData(obj
));
5274 return SWIG_Py_Void();
5277 SWIGINTERN PyObject
*ScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5278 return SWIG_Python_InitShadowInstance(args
);
5281 SWIGINTERN
int FrameNameStr_set(PyObject
*) {
5282 SWIG_Error(SWIG_AttributeError
,"Variable FrameNameStr is read-only.");
5287 SWIGINTERN PyObject
*FrameNameStr_get(void) {
5288 PyObject
*pyobj
= 0;
5292 pyobj
= PyUnicode_FromWideChar((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5294 pyobj
= PyString_FromStringAndSize((&wxPyFrameNameStr
)->c_str(), (&wxPyFrameNameStr
)->Len());
5301 SWIGINTERN
int DialogNameStr_set(PyObject
*) {
5302 SWIG_Error(SWIG_AttributeError
,"Variable DialogNameStr is read-only.");
5307 SWIGINTERN PyObject
*DialogNameStr_get(void) {
5308 PyObject
*pyobj
= 0;
5312 pyobj
= PyUnicode_FromWideChar((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5314 pyobj
= PyString_FromStringAndSize((&wxPyDialogNameStr
)->c_str(), (&wxPyDialogNameStr
)->Len());
5321 SWIGINTERN
int StatusLineNameStr_set(PyObject
*) {
5322 SWIG_Error(SWIG_AttributeError
,"Variable StatusLineNameStr is read-only.");
5327 SWIGINTERN PyObject
*StatusLineNameStr_get(void) {
5328 PyObject
*pyobj
= 0;
5332 pyobj
= PyUnicode_FromWideChar((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5334 pyobj
= PyString_FromStringAndSize((&wxPyStatusLineNameStr
)->c_str(), (&wxPyStatusLineNameStr
)->Len());
5341 SWIGINTERN
int ToolBarNameStr_set(PyObject
*) {
5342 SWIG_Error(SWIG_AttributeError
,"Variable ToolBarNameStr is read-only.");
5347 SWIGINTERN PyObject
*ToolBarNameStr_get(void) {
5348 PyObject
*pyobj
= 0;
5352 pyobj
= PyUnicode_FromWideChar((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5354 pyobj
= PyString_FromStringAndSize((&wxPyToolBarNameStr
)->c_str(), (&wxPyToolBarNameStr
)->Len());
5361 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Maximize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5362 PyObject
*resultobj
= 0;
5363 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5364 bool arg2
= (bool) true ;
5369 PyObject
* obj0
= 0 ;
5370 PyObject
* obj1
= 0 ;
5371 char * kwnames
[] = {
5372 (char *) "self",(char *) "maximize", NULL
5375 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Maximize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5376 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5377 if (!SWIG_IsOK(res1
)) {
5378 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5380 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5382 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5383 if (!SWIG_IsOK(ecode2
)) {
5384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Maximize" "', expected argument " "2"" of type '" "bool""'");
5386 arg2
= static_cast< bool >(val2
);
5389 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5390 (arg1
)->Maximize(arg2
);
5391 wxPyEndAllowThreads(__tstate
);
5392 if (PyErr_Occurred()) SWIG_fail
;
5394 resultobj
= SWIG_Py_Void();
5401 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Restore(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5402 PyObject
*resultobj
= 0;
5403 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5406 PyObject
*swig_obj
[1] ;
5408 if (!args
) SWIG_fail
;
5410 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5411 if (!SWIG_IsOK(res1
)) {
5412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Restore" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5414 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5416 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5418 wxPyEndAllowThreads(__tstate
);
5419 if (PyErr_Occurred()) SWIG_fail
;
5421 resultobj
= SWIG_Py_Void();
5428 SWIGINTERN PyObject
*_wrap_TopLevelWindow_Iconize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5429 PyObject
*resultobj
= 0;
5430 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5431 bool arg2
= (bool) true ;
5436 PyObject
* obj0
= 0 ;
5437 PyObject
* obj1
= 0 ;
5438 char * kwnames
[] = {
5439 (char *) "self",(char *) "iconize", NULL
5442 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_Iconize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5443 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5444 if (!SWIG_IsOK(res1
)) {
5445 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5447 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5449 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5450 if (!SWIG_IsOK(ecode2
)) {
5451 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_Iconize" "', expected argument " "2"" of type '" "bool""'");
5453 arg2
= static_cast< bool >(val2
);
5456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5457 (arg1
)->Iconize(arg2
);
5458 wxPyEndAllowThreads(__tstate
);
5459 if (PyErr_Occurred()) SWIG_fail
;
5461 resultobj
= SWIG_Py_Void();
5468 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5469 PyObject
*resultobj
= 0;
5470 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5474 PyObject
*swig_obj
[1] ;
5476 if (!args
) SWIG_fail
;
5478 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5479 if (!SWIG_IsOK(res1
)) {
5480 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5482 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5484 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5485 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsMaximized();
5486 wxPyEndAllowThreads(__tstate
);
5487 if (PyErr_Occurred()) SWIG_fail
;
5490 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5498 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsAlwaysMaximized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5499 PyObject
*resultobj
= 0;
5500 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5504 PyObject
*swig_obj
[1] ;
5506 if (!args
) SWIG_fail
;
5508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5509 if (!SWIG_IsOK(res1
)) {
5510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsAlwaysMaximized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5512 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5515 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsAlwaysMaximized();
5516 wxPyEndAllowThreads(__tstate
);
5517 if (PyErr_Occurred()) SWIG_fail
;
5520 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5528 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsIconized(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5529 PyObject
*resultobj
= 0;
5530 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5534 PyObject
*swig_obj
[1] ;
5536 if (!args
) SWIG_fail
;
5538 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5539 if (!SWIG_IsOK(res1
)) {
5540 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsIconized" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5542 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5545 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsIconized();
5546 wxPyEndAllowThreads(__tstate
);
5547 if (PyErr_Occurred()) SWIG_fail
;
5550 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5558 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5559 PyObject
*resultobj
= 0;
5560 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5564 PyObject
*swig_obj
[1] ;
5566 if (!args
) SWIG_fail
;
5568 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5569 if (!SWIG_IsOK(res1
)) {
5570 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5572 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5575 result
= ((wxTopLevelWindow
const *)arg1
)->GetIcon();
5576 wxPyEndAllowThreads(__tstate
);
5577 if (PyErr_Occurred()) SWIG_fail
;
5579 resultobj
= SWIG_NewPointerObj((new wxIcon(static_cast< const wxIcon
& >(result
))), SWIGTYPE_p_wxIcon
, SWIG_POINTER_OWN
| 0 );
5586 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5587 PyObject
*resultobj
= 0;
5588 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5594 PyObject
* obj0
= 0 ;
5595 PyObject
* obj1
= 0 ;
5596 char * kwnames
[] = {
5597 (char *) "self",(char *) "icon", NULL
5600 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcon",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5601 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5602 if (!SWIG_IsOK(res1
)) {
5603 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5605 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5606 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
5607 if (!SWIG_IsOK(res2
)) {
5608 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5611 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
5613 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
5615 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5616 (arg1
)->SetIcon((wxIcon
const &)*arg2
);
5617 wxPyEndAllowThreads(__tstate
);
5618 if (PyErr_Occurred()) SWIG_fail
;
5620 resultobj
= SWIG_Py_Void();
5627 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5628 PyObject
*resultobj
= 0;
5629 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5630 wxIconBundle
*arg2
= 0 ;
5635 PyObject
* obj0
= 0 ;
5636 PyObject
* obj1
= 0 ;
5637 char * kwnames
[] = {
5638 (char *) "self",(char *) "icons", NULL
5641 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetIcons",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5642 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5643 if (!SWIG_IsOK(res1
)) {
5644 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5646 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5647 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIconBundle
, 0 | 0);
5648 if (!SWIG_IsOK(res2
)) {
5649 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5652 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetIcons" "', expected argument " "2"" of type '" "wxIconBundle const &""'");
5654 arg2
= reinterpret_cast< wxIconBundle
* >(argp2
);
5656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5657 (arg1
)->SetIcons((wxIconBundle
const &)*arg2
);
5658 wxPyEndAllowThreads(__tstate
);
5659 if (PyErr_Occurred()) SWIG_fail
;
5661 resultobj
= SWIG_Py_Void();
5668 SWIGINTERN PyObject
*_wrap_TopLevelWindow_ShowFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5669 PyObject
*resultobj
= 0;
5670 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5672 long arg3
= (long) wxFULLSCREEN_ALL
;
5680 PyObject
* obj0
= 0 ;
5681 PyObject
* obj1
= 0 ;
5682 PyObject
* obj2
= 0 ;
5683 char * kwnames
[] = {
5684 (char *) "self",(char *) "show",(char *) "style", NULL
5687 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TopLevelWindow_ShowFullScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
5688 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5689 if (!SWIG_IsOK(res1
)) {
5690 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5692 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5693 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5694 if (!SWIG_IsOK(ecode2
)) {
5695 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "2"" of type '" "bool""'");
5697 arg2
= static_cast< bool >(val2
);
5699 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
5700 if (!SWIG_IsOK(ecode3
)) {
5701 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "TopLevelWindow_ShowFullScreen" "', expected argument " "3"" of type '" "long""'");
5703 arg3
= static_cast< long >(val3
);
5706 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5707 result
= (bool)(arg1
)->ShowFullScreen(arg2
,arg3
);
5708 wxPyEndAllowThreads(__tstate
);
5709 if (PyErr_Occurred()) SWIG_fail
;
5712 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5720 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsFullScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5721 PyObject
*resultobj
= 0;
5722 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5726 PyObject
*swig_obj
[1] ;
5728 if (!args
) SWIG_fail
;
5730 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5731 if (!SWIG_IsOK(res1
)) {
5732 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsFullScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5734 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5737 result
= (bool)((wxTopLevelWindow
const *)arg1
)->IsFullScreen();
5738 wxPyEndAllowThreads(__tstate
);
5739 if (PyErr_Occurred()) SWIG_fail
;
5742 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5750 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5751 PyObject
*resultobj
= 0;
5752 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5753 wxString
*arg2
= 0 ;
5756 bool temp2
= false ;
5757 PyObject
* obj0
= 0 ;
5758 PyObject
* obj1
= 0 ;
5759 char * kwnames
[] = {
5760 (char *) "self",(char *) "title", NULL
5763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTitle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5765 if (!SWIG_IsOK(res1
)) {
5766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5768 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5770 arg2
= wxString_in_helper(obj1
);
5771 if (arg2
== NULL
) SWIG_fail
;
5775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5776 (arg1
)->SetTitle((wxString
const &)*arg2
);
5777 wxPyEndAllowThreads(__tstate
);
5778 if (PyErr_Occurred()) SWIG_fail
;
5780 resultobj
= SWIG_Py_Void();
5795 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5796 PyObject
*resultobj
= 0;
5797 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5801 PyObject
*swig_obj
[1] ;
5803 if (!args
) SWIG_fail
;
5805 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5806 if (!SWIG_IsOK(res1
)) {
5807 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTitle" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5809 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5811 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5812 result
= ((wxTopLevelWindow
const *)arg1
)->GetTitle();
5813 wxPyEndAllowThreads(__tstate
);
5814 if (PyErr_Occurred()) SWIG_fail
;
5818 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
5820 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
5829 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetShape(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5830 PyObject
*resultobj
= 0;
5831 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5832 wxRegion
*arg2
= 0 ;
5838 PyObject
* obj0
= 0 ;
5839 PyObject
* obj1
= 0 ;
5840 char * kwnames
[] = {
5841 (char *) "self",(char *) "region", NULL
5844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetShape",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5846 if (!SWIG_IsOK(res1
)) {
5847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5849 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5850 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxRegion
, 0 | 0);
5851 if (!SWIG_IsOK(res2
)) {
5852 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5855 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TopLevelWindow_SetShape" "', expected argument " "2"" of type '" "wxRegion const &""'");
5857 arg2
= reinterpret_cast< wxRegion
* >(argp2
);
5859 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5860 result
= (bool)(arg1
)->SetShape((wxRegion
const &)*arg2
);
5861 wxPyEndAllowThreads(__tstate
);
5862 if (PyErr_Occurred()) SWIG_fail
;
5865 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5873 SWIGINTERN PyObject
*_wrap_TopLevelWindow_RequestUserAttention(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5874 PyObject
*resultobj
= 0;
5875 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5876 int arg2
= (int) wxUSER_ATTENTION_INFO
;
5881 PyObject
* obj0
= 0 ;
5882 PyObject
* obj1
= 0 ;
5883 char * kwnames
[] = {
5884 (char *) "self",(char *) "flags", NULL
5887 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_RequestUserAttention",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5888 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5889 if (!SWIG_IsOK(res1
)) {
5890 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5892 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5894 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
5895 if (!SWIG_IsOK(ecode2
)) {
5896 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_RequestUserAttention" "', expected argument " "2"" of type '" "int""'");
5898 arg2
= static_cast< int >(val2
);
5901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5902 (arg1
)->RequestUserAttention(arg2
);
5903 wxPyEndAllowThreads(__tstate
);
5904 if (PyErr_Occurred()) SWIG_fail
;
5906 resultobj
= SWIG_Py_Void();
5913 SWIGINTERN PyObject
*_wrap_TopLevelWindow_IsActive(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5914 PyObject
*resultobj
= 0;
5915 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5919 PyObject
*swig_obj
[1] ;
5921 if (!args
) SWIG_fail
;
5923 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5924 if (!SWIG_IsOK(res1
)) {
5925 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_IsActive" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5927 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5930 result
= (bool)(arg1
)->IsActive();
5931 wxPyEndAllowThreads(__tstate
);
5932 if (PyErr_Occurred()) SWIG_fail
;
5935 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
5943 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacSetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
5944 PyObject
*resultobj
= 0;
5945 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5951 PyObject
* obj0
= 0 ;
5952 PyObject
* obj1
= 0 ;
5953 char * kwnames
[] = {
5954 (char *) "self",(char *) "on", NULL
5957 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_MacSetMetalAppearance",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
5958 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5959 if (!SWIG_IsOK(res1
)) {
5960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
5962 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5963 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
5964 if (!SWIG_IsOK(ecode2
)) {
5965 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_MacSetMetalAppearance" "', expected argument " "2"" of type '" "bool""'");
5967 arg2
= static_cast< bool >(val2
);
5969 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5970 wxTopLevelWindow_MacSetMetalAppearance(arg1
,arg2
);
5971 wxPyEndAllowThreads(__tstate
);
5972 if (PyErr_Occurred()) SWIG_fail
;
5974 resultobj
= SWIG_Py_Void();
5981 SWIGINTERN PyObject
*_wrap_TopLevelWindow_MacGetMetalAppearance(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
5982 PyObject
*resultobj
= 0;
5983 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
5987 PyObject
*swig_obj
[1] ;
5989 if (!args
) SWIG_fail
;
5991 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
5992 if (!SWIG_IsOK(res1
)) {
5993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_MacGetMetalAppearance" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
5995 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
5997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
5998 result
= (bool)((wxTopLevelWindow
const *)arg1
)->MacGetMetalAppearance();
5999 wxPyEndAllowThreads(__tstate
);
6000 if (PyErr_Occurred()) SWIG_fail
;
6003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6011 SWIGINTERN PyObject
*_wrap_TopLevelWindow_CenterOnScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6012 PyObject
*resultobj
= 0;
6013 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6014 int arg2
= (int) wxBOTH
;
6019 PyObject
* obj0
= 0 ;
6020 PyObject
* obj1
= 0 ;
6021 char * kwnames
[] = {
6022 (char *) "self",(char *) "dir", NULL
6025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_CenterOnScreen",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6027 if (!SWIG_IsOK(res1
)) {
6028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6030 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6033 if (!SWIG_IsOK(ecode2
)) {
6034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_CenterOnScreen" "', expected argument " "2"" of type '" "int""'");
6036 arg2
= static_cast< int >(val2
);
6039 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6040 (arg1
)->CenterOnScreen(arg2
);
6041 wxPyEndAllowThreads(__tstate
);
6042 if (PyErr_Occurred()) SWIG_fail
;
6044 resultobj
= SWIG_Py_Void();
6051 SWIGINTERN PyObject
*_wrap_TopLevelWindow_EnableCloseButton(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6052 PyObject
*resultobj
= 0;
6053 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6054 bool arg2
= (bool) true ;
6060 PyObject
* obj0
= 0 ;
6061 PyObject
* obj1
= 0 ;
6062 char * kwnames
[] = {
6063 (char *) "self",(char *) "enable", NULL
6066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:TopLevelWindow_EnableCloseButton",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6068 if (!SWIG_IsOK(res1
)) {
6069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6071 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6073 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
6074 if (!SWIG_IsOK(ecode2
)) {
6075 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "TopLevelWindow_EnableCloseButton" "', expected argument " "2"" of type '" "bool""'");
6077 arg2
= static_cast< bool >(val2
);
6080 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6081 result
= (bool)wxTopLevelWindow_EnableCloseButton(arg1
,arg2
);
6082 wxPyEndAllowThreads(__tstate
);
6083 if (PyErr_Occurred()) SWIG_fail
;
6086 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6094 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6095 PyObject
*resultobj
= 0;
6096 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6097 wxWindow
*result
= 0 ;
6100 PyObject
*swig_obj
[1] ;
6102 if (!args
) SWIG_fail
;
6104 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6105 if (!SWIG_IsOK(res1
)) {
6106 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6108 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6110 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6111 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetDefaultItem();
6112 wxPyEndAllowThreads(__tstate
);
6113 if (PyErr_Occurred()) SWIG_fail
;
6116 resultobj
= wxPyMake_wxObject(result
, 0);
6124 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6125 PyObject
*resultobj
= 0;
6126 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6127 wxWindow
*arg2
= (wxWindow
*) 0 ;
6128 wxWindow
*result
= 0 ;
6133 PyObject
* obj0
= 0 ;
6134 PyObject
* obj1
= 0 ;
6135 char * kwnames
[] = {
6136 (char *) "self",(char *) "child", NULL
6139 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6140 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6141 if (!SWIG_IsOK(res1
)) {
6142 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6144 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6145 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6146 if (!SWIG_IsOK(res2
)) {
6147 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6149 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6152 result
= (wxWindow
*)(arg1
)->SetDefaultItem(arg2
);
6153 wxPyEndAllowThreads(__tstate
);
6154 if (PyErr_Occurred()) SWIG_fail
;
6157 resultobj
= wxPyMake_wxObject(result
, 0);
6165 SWIGINTERN PyObject
*_wrap_TopLevelWindow_SetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6166 PyObject
*resultobj
= 0;
6167 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6168 wxWindow
*arg2
= (wxWindow
*) 0 ;
6173 PyObject
* obj0
= 0 ;
6174 PyObject
* obj1
= 0 ;
6175 char * kwnames
[] = {
6176 (char *) "self",(char *) "win", NULL
6179 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TopLevelWindow_SetTmpDefaultItem",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6180 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6181 if (!SWIG_IsOK(res1
)) {
6182 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow *""'");
6184 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6185 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6186 if (!SWIG_IsOK(res2
)) {
6187 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TopLevelWindow_SetTmpDefaultItem" "', expected argument " "2"" of type '" "wxWindow *""'");
6189 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6191 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6192 (arg1
)->SetTmpDefaultItem(arg2
);
6193 wxPyEndAllowThreads(__tstate
);
6194 if (PyErr_Occurred()) SWIG_fail
;
6196 resultobj
= SWIG_Py_Void();
6203 SWIGINTERN PyObject
*_wrap_TopLevelWindow_GetTmpDefaultItem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6204 PyObject
*resultobj
= 0;
6205 wxTopLevelWindow
*arg1
= (wxTopLevelWindow
*) 0 ;
6206 wxWindow
*result
= 0 ;
6209 PyObject
*swig_obj
[1] ;
6211 if (!args
) SWIG_fail
;
6213 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTopLevelWindow
, 0 | 0 );
6214 if (!SWIG_IsOK(res1
)) {
6215 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TopLevelWindow_GetTmpDefaultItem" "', expected argument " "1"" of type '" "wxTopLevelWindow const *""'");
6217 arg1
= reinterpret_cast< wxTopLevelWindow
* >(argp1
);
6219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6220 result
= (wxWindow
*)((wxTopLevelWindow
const *)arg1
)->GetTmpDefaultItem();
6221 wxPyEndAllowThreads(__tstate
);
6222 if (PyErr_Occurred()) SWIG_fail
;
6225 resultobj
= wxPyMake_wxObject(result
, 0);
6233 SWIGINTERN PyObject
*TopLevelWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6235 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
6236 SWIG_TypeNewClientData(SWIGTYPE_p_wxTopLevelWindow
, SWIG_NewClientData(obj
));
6237 return SWIG_Py_Void();
6240 SWIGINTERN PyObject
*_wrap_new_Frame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6241 PyObject
*resultobj
= 0;
6242 wxWindow
*arg1
= (wxWindow
*) 0 ;
6243 int arg2
= (int) (int)-1 ;
6244 wxString
const &arg3_defvalue
= wxPyEmptyString
;
6245 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
6246 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
6247 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
6248 wxSize
const &arg5_defvalue
= wxDefaultSize
;
6249 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
6250 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
6251 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
6252 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
6253 wxFrame
*result
= 0 ;
6258 bool temp3
= false ;
6263 bool temp7
= false ;
6264 PyObject
* obj0
= 0 ;
6265 PyObject
* obj1
= 0 ;
6266 PyObject
* obj2
= 0 ;
6267 PyObject
* obj3
= 0 ;
6268 PyObject
* obj4
= 0 ;
6269 PyObject
* obj5
= 0 ;
6270 PyObject
* obj6
= 0 ;
6271 char * kwnames
[] = {
6272 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6275 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Frame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
6276 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6277 if (!SWIG_IsOK(res1
)) {
6278 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Frame" "', expected argument " "1"" of type '" "wxWindow *""'");
6280 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
6282 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6283 if (!SWIG_IsOK(ecode2
)) {
6284 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Frame" "', expected argument " "2"" of type '" "int""'");
6286 arg2
= static_cast< int >(val2
);
6290 arg3
= wxString_in_helper(obj2
);
6291 if (arg3
== NULL
) SWIG_fail
;
6298 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
6304 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
6308 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
6309 if (!SWIG_IsOK(ecode6
)) {
6310 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Frame" "', expected argument " "6"" of type '" "long""'");
6312 arg6
= static_cast< long >(val6
);
6316 arg7
= wxString_in_helper(obj6
);
6317 if (arg7
== NULL
) SWIG_fail
;
6322 if (!wxPyCheckForApp()) SWIG_fail
;
6323 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6324 result
= (wxFrame
*)new wxFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
6325 wxPyEndAllowThreads(__tstate
);
6326 if (PyErr_Occurred()) SWIG_fail
;
6328 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_NEW
| 0 );
6351 SWIGINTERN PyObject
*_wrap_new_PreFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6352 PyObject
*resultobj
= 0;
6353 wxFrame
*result
= 0 ;
6355 if (!SWIG_Python_UnpackTuple(args
,"new_PreFrame",0,0,0)) SWIG_fail
;
6357 if (!wxPyCheckForApp()) SWIG_fail
;
6358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6359 result
= (wxFrame
*)new wxFrame();
6360 wxPyEndAllowThreads(__tstate
);
6361 if (PyErr_Occurred()) SWIG_fail
;
6363 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFrame
, SWIG_POINTER_OWN
| 0 );
6370 SWIGINTERN PyObject
*_wrap_Frame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6371 PyObject
*resultobj
= 0;
6372 wxFrame
*arg1
= (wxFrame
*) 0 ;
6373 wxWindow
*arg2
= (wxWindow
*) 0 ;
6374 int arg3
= (int) (int)-1 ;
6375 wxString
const &arg4_defvalue
= wxPyEmptyString
;
6376 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
6377 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
6378 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
6379 wxSize
const &arg6_defvalue
= wxDefaultSize
;
6380 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
6381 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
6382 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
6383 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
6391 bool temp4
= false ;
6396 bool temp8
= false ;
6397 PyObject
* obj0
= 0 ;
6398 PyObject
* obj1
= 0 ;
6399 PyObject
* obj2
= 0 ;
6400 PyObject
* obj3
= 0 ;
6401 PyObject
* obj4
= 0 ;
6402 PyObject
* obj5
= 0 ;
6403 PyObject
* obj6
= 0 ;
6404 PyObject
* obj7
= 0 ;
6405 char * kwnames
[] = {
6406 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
6409 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Frame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
6410 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6411 if (!SWIG_IsOK(res1
)) {
6412 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_Create" "', expected argument " "1"" of type '" "wxFrame *""'");
6414 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6415 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
6416 if (!SWIG_IsOK(res2
)) {
6417 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
6419 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
6421 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6422 if (!SWIG_IsOK(ecode3
)) {
6423 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_Create" "', expected argument " "3"" of type '" "int""'");
6425 arg3
= static_cast< int >(val3
);
6429 arg4
= wxString_in_helper(obj3
);
6430 if (arg4
== NULL
) SWIG_fail
;
6437 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
6443 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
6447 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
6448 if (!SWIG_IsOK(ecode7
)) {
6449 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Frame_Create" "', expected argument " "7"" of type '" "long""'");
6451 arg7
= static_cast< long >(val7
);
6455 arg8
= wxString_in_helper(obj7
);
6456 if (arg8
== NULL
) SWIG_fail
;
6461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6462 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
6463 wxPyEndAllowThreads(__tstate
);
6464 if (PyErr_Occurred()) SWIG_fail
;
6467 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6491 SWIGINTERN PyObject
*_wrap_Frame_SendSizeEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6492 PyObject
*resultobj
= 0;
6493 wxFrame
*arg1
= (wxFrame
*) 0 ;
6496 PyObject
*swig_obj
[1] ;
6498 if (!args
) SWIG_fail
;
6500 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6501 if (!SWIG_IsOK(res1
)) {
6502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SendSizeEvent" "', expected argument " "1"" of type '" "wxFrame *""'");
6504 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6507 (arg1
)->SendSizeEvent();
6508 wxPyEndAllowThreads(__tstate
);
6509 if (PyErr_Occurred()) SWIG_fail
;
6511 resultobj
= SWIG_Py_Void();
6518 SWIGINTERN PyObject
*_wrap_Frame_SetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6519 PyObject
*resultobj
= 0;
6520 wxFrame
*arg1
= (wxFrame
*) 0 ;
6521 wxMenuBar
*arg2
= (wxMenuBar
*) 0 ;
6526 PyObject
* obj0
= 0 ;
6527 PyObject
* obj1
= 0 ;
6528 char * kwnames
[] = {
6529 (char *) "self",(char *) "menubar", NULL
6532 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetMenuBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6533 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6534 if (!SWIG_IsOK(res1
)) {
6535 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetMenuBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6537 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6538 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenuBar
, 0 | 0 );
6539 if (!SWIG_IsOK(res2
)) {
6540 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetMenuBar" "', expected argument " "2"" of type '" "wxMenuBar *""'");
6542 arg2
= reinterpret_cast< wxMenuBar
* >(argp2
);
6544 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6545 (arg1
)->SetMenuBar(arg2
);
6546 wxPyEndAllowThreads(__tstate
);
6547 if (PyErr_Occurred()) SWIG_fail
;
6549 resultobj
= SWIG_Py_Void();
6556 SWIGINTERN PyObject
*_wrap_Frame_GetMenuBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6557 PyObject
*resultobj
= 0;
6558 wxFrame
*arg1
= (wxFrame
*) 0 ;
6559 wxMenuBar
*result
= 0 ;
6562 PyObject
*swig_obj
[1] ;
6564 if (!args
) SWIG_fail
;
6566 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6567 if (!SWIG_IsOK(res1
)) {
6568 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetMenuBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6570 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6572 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6573 result
= (wxMenuBar
*)((wxFrame
const *)arg1
)->GetMenuBar();
6574 wxPyEndAllowThreads(__tstate
);
6575 if (PyErr_Occurred()) SWIG_fail
;
6578 resultobj
= wxPyMake_wxObject(result
, 0);
6586 SWIGINTERN PyObject
*_wrap_Frame_ProcessCommand(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6587 PyObject
*resultobj
= 0;
6588 wxFrame
*arg1
= (wxFrame
*) 0 ;
6595 PyObject
* obj0
= 0 ;
6596 PyObject
* obj1
= 0 ;
6597 char * kwnames
[] = {
6598 (char *) "self",(char *) "winid", NULL
6601 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_ProcessCommand",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6602 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6603 if (!SWIG_IsOK(res1
)) {
6604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_ProcessCommand" "', expected argument " "1"" of type '" "wxFrame *""'");
6606 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6607 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6608 if (!SWIG_IsOK(ecode2
)) {
6609 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_ProcessCommand" "', expected argument " "2"" of type '" "int""'");
6611 arg2
= static_cast< int >(val2
);
6613 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6614 result
= (bool)(arg1
)->ProcessCommand(arg2
);
6615 wxPyEndAllowThreads(__tstate
);
6616 if (PyErr_Occurred()) SWIG_fail
;
6619 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
6627 SWIGINTERN PyObject
*_wrap_Frame_CreateStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6628 PyObject
*resultobj
= 0;
6629 wxFrame
*arg1
= (wxFrame
*) 0 ;
6630 int arg2
= (int) 1 ;
6631 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
6632 int arg4
= (int) 0 ;
6633 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
6634 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
6635 wxStatusBar
*result
= 0 ;
6644 bool temp5
= false ;
6645 PyObject
* obj0
= 0 ;
6646 PyObject
* obj1
= 0 ;
6647 PyObject
* obj2
= 0 ;
6648 PyObject
* obj3
= 0 ;
6649 PyObject
* obj4
= 0 ;
6650 char * kwnames
[] = {
6651 (char *) "self",(char *) "number",(char *) "style",(char *) "winid",(char *) "name", NULL
6654 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOO:Frame_CreateStatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
6655 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6656 if (!SWIG_IsOK(res1
)) {
6657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6659 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6662 if (!SWIG_IsOK(ecode2
)) {
6663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateStatusBar" "', expected argument " "2"" of type '" "int""'");
6665 arg2
= static_cast< int >(val2
);
6668 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
6669 if (!SWIG_IsOK(ecode3
)) {
6670 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateStatusBar" "', expected argument " "3"" of type '" "long""'");
6672 arg3
= static_cast< long >(val3
);
6675 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
6676 if (!SWIG_IsOK(ecode4
)) {
6677 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Frame_CreateStatusBar" "', expected argument " "4"" of type '" "int""'");
6679 arg4
= static_cast< int >(val4
);
6683 arg5
= wxString_in_helper(obj4
);
6684 if (arg5
== NULL
) SWIG_fail
;
6689 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6690 result
= (wxStatusBar
*)(arg1
)->CreateStatusBar(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
6691 wxPyEndAllowThreads(__tstate
);
6692 if (PyErr_Occurred()) SWIG_fail
;
6695 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6711 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
6712 PyObject
*resultobj
= 0;
6713 wxFrame
*arg1
= (wxFrame
*) 0 ;
6714 wxStatusBar
*result
= 0 ;
6717 PyObject
*swig_obj
[1] ;
6719 if (!args
) SWIG_fail
;
6721 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6722 if (!SWIG_IsOK(res1
)) {
6723 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
6725 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6727 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6728 result
= (wxStatusBar
*)((wxFrame
const *)arg1
)->GetStatusBar();
6729 wxPyEndAllowThreads(__tstate
);
6730 if (PyErr_Occurred()) SWIG_fail
;
6733 resultobj
= wxPyMake_wxObject(result
, (bool)0);
6741 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6742 PyObject
*resultobj
= 0;
6743 wxFrame
*arg1
= (wxFrame
*) 0 ;
6744 wxStatusBar
*arg2
= (wxStatusBar
*) 0 ;
6749 PyObject
* obj0
= 0 ;
6750 PyObject
* obj1
= 0 ;
6751 char * kwnames
[] = {
6752 (char *) "self",(char *) "statBar", NULL
6755 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6756 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6757 if (!SWIG_IsOK(res1
)) {
6758 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBar" "', expected argument " "1"" of type '" "wxFrame *""'");
6760 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6761 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
6762 if (!SWIG_IsOK(res2
)) {
6763 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetStatusBar" "', expected argument " "2"" of type '" "wxStatusBar *""'");
6765 arg2
= reinterpret_cast< wxStatusBar
* >(argp2
);
6767 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6768 (arg1
)->SetStatusBar(arg2
);
6769 wxPyEndAllowThreads(__tstate
);
6770 if (PyErr_Occurred()) SWIG_fail
;
6772 resultobj
= SWIG_Py_Void();
6779 SWIGINTERN PyObject
*_wrap_Frame_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6780 PyObject
*resultobj
= 0;
6781 wxFrame
*arg1
= (wxFrame
*) 0 ;
6782 wxString
*arg2
= 0 ;
6783 int arg3
= (int) 0 ;
6786 bool temp2
= false ;
6789 PyObject
* obj0
= 0 ;
6790 PyObject
* obj1
= 0 ;
6791 PyObject
* obj2
= 0 ;
6792 char * kwnames
[] = {
6793 (char *) "self",(char *) "text",(char *) "number", NULL
6796 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6797 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6798 if (!SWIG_IsOK(res1
)) {
6799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6801 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6803 arg2
= wxString_in_helper(obj1
);
6804 if (arg2
== NULL
) SWIG_fail
;
6808 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6809 if (!SWIG_IsOK(ecode3
)) {
6810 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_SetStatusText" "', expected argument " "3"" of type '" "int""'");
6812 arg3
= static_cast< int >(val3
);
6815 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6816 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
6817 wxPyEndAllowThreads(__tstate
);
6818 if (PyErr_Occurred()) SWIG_fail
;
6820 resultobj
= SWIG_Py_Void();
6835 SWIGINTERN PyObject
*_wrap_Frame_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6836 PyObject
*resultobj
= 0;
6837 wxFrame
*arg1
= (wxFrame
*) 0 ;
6839 int *arg3
= (int *) 0 ;
6842 PyObject
* obj0
= 0 ;
6843 PyObject
* obj1
= 0 ;
6844 char * kwnames
[] = {
6845 (char *) "self",(char *) "widths", NULL
6848 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6849 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6850 if (!SWIG_IsOK(res1
)) {
6851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusWidths" "', expected argument " "1"" of type '" "wxFrame *""'");
6853 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6855 arg2
= PyList_Size(obj1
);
6856 arg3
= int_LIST_helper(obj1
);
6857 if (arg3
== NULL
) SWIG_fail
;
6860 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6861 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
6862 wxPyEndAllowThreads(__tstate
);
6863 if (PyErr_Occurred()) SWIG_fail
;
6865 resultobj
= SWIG_Py_Void();
6867 if (arg3
) delete [] arg3
;
6872 if (arg3
) delete [] arg3
;
6878 SWIGINTERN PyObject
*_wrap_Frame_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6879 PyObject
*resultobj
= 0;
6880 wxFrame
*arg1
= (wxFrame
*) 0 ;
6881 wxString
*arg2
= 0 ;
6882 int arg3
= (int) 0 ;
6885 bool temp2
= false ;
6888 PyObject
* obj0
= 0 ;
6889 PyObject
* obj1
= 0 ;
6890 PyObject
* obj2
= 0 ;
6891 char * kwnames
[] = {
6892 (char *) "self",(char *) "text",(char *) "number", NULL
6895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:Frame_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
6896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6897 if (!SWIG_IsOK(res1
)) {
6898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PushStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6900 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6902 arg2
= wxString_in_helper(obj1
);
6903 if (arg2
== NULL
) SWIG_fail
;
6907 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
6908 if (!SWIG_IsOK(ecode3
)) {
6909 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_PushStatusText" "', expected argument " "3"" of type '" "int""'");
6911 arg3
= static_cast< int >(val3
);
6914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6915 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
6916 wxPyEndAllowThreads(__tstate
);
6917 if (PyErr_Occurred()) SWIG_fail
;
6919 resultobj
= SWIG_Py_Void();
6934 SWIGINTERN PyObject
*_wrap_Frame_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6935 PyObject
*resultobj
= 0;
6936 wxFrame
*arg1
= (wxFrame
*) 0 ;
6937 int arg2
= (int) 0 ;
6942 PyObject
* obj0
= 0 ;
6943 PyObject
* obj1
= 0 ;
6944 char * kwnames
[] = {
6945 (char *) "self",(char *) "number", NULL
6948 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6949 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6950 if (!SWIG_IsOK(res1
)) {
6951 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_PopStatusText" "', expected argument " "1"" of type '" "wxFrame *""'");
6953 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6955 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6956 if (!SWIG_IsOK(ecode2
)) {
6957 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_PopStatusText" "', expected argument " "2"" of type '" "int""'");
6959 arg2
= static_cast< int >(val2
);
6962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
6963 (arg1
)->PopStatusText(arg2
);
6964 wxPyEndAllowThreads(__tstate
);
6965 if (PyErr_Occurred()) SWIG_fail
;
6967 resultobj
= SWIG_Py_Void();
6974 SWIGINTERN PyObject
*_wrap_Frame_SetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
6975 PyObject
*resultobj
= 0;
6976 wxFrame
*arg1
= (wxFrame
*) 0 ;
6982 PyObject
* obj0
= 0 ;
6983 PyObject
* obj1
= 0 ;
6984 char * kwnames
[] = {
6985 (char *) "self",(char *) "n", NULL
6988 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetStatusBarPane",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
6989 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
6990 if (!SWIG_IsOK(res1
)) {
6991 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame *""'");
6993 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
6994 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
6995 if (!SWIG_IsOK(ecode2
)) {
6996 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_SetStatusBarPane" "', expected argument " "2"" of type '" "int""'");
6998 arg2
= static_cast< int >(val2
);
7000 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7001 (arg1
)->SetStatusBarPane(arg2
);
7002 wxPyEndAllowThreads(__tstate
);
7003 if (PyErr_Occurred()) SWIG_fail
;
7005 resultobj
= SWIG_Py_Void();
7012 SWIGINTERN PyObject
*_wrap_Frame_GetStatusBarPane(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7013 PyObject
*resultobj
= 0;
7014 wxFrame
*arg1
= (wxFrame
*) 0 ;
7018 PyObject
*swig_obj
[1] ;
7020 if (!args
) SWIG_fail
;
7022 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7023 if (!SWIG_IsOK(res1
)) {
7024 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetStatusBarPane" "', expected argument " "1"" of type '" "wxFrame const *""'");
7026 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7028 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7029 result
= (int)((wxFrame
const *)arg1
)->GetStatusBarPane();
7030 wxPyEndAllowThreads(__tstate
);
7031 if (PyErr_Occurred()) SWIG_fail
;
7033 resultobj
= SWIG_From_int(static_cast< int >(result
));
7040 SWIGINTERN PyObject
*_wrap_Frame_CreateToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7041 PyObject
*resultobj
= 0;
7042 wxFrame
*arg1
= (wxFrame
*) 0 ;
7043 long arg2
= (long) -1 ;
7044 int arg3
= (int) -1 ;
7045 wxString
const &arg4_defvalue
= wxPyToolBarNameStr
;
7046 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7047 wxToolBar
*result
= 0 ;
7054 bool temp4
= false ;
7055 PyObject
* obj0
= 0 ;
7056 PyObject
* obj1
= 0 ;
7057 PyObject
* obj2
= 0 ;
7058 PyObject
* obj3
= 0 ;
7059 char * kwnames
[] = {
7060 (char *) "self",(char *) "style",(char *) "winid",(char *) "name", NULL
7063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:Frame_CreateToolBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7065 if (!SWIG_IsOK(res1
)) {
7066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_CreateToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7068 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7070 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7071 if (!SWIG_IsOK(ecode2
)) {
7072 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Frame_CreateToolBar" "', expected argument " "2"" of type '" "long""'");
7074 arg2
= static_cast< long >(val2
);
7077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7078 if (!SWIG_IsOK(ecode3
)) {
7079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_CreateToolBar" "', expected argument " "3"" of type '" "int""'");
7081 arg3
= static_cast< int >(val3
);
7085 arg4
= wxString_in_helper(obj3
);
7086 if (arg4
== NULL
) SWIG_fail
;
7091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7092 result
= (wxToolBar
*)(arg1
)->CreateToolBar(arg2
,arg3
,(wxString
const &)*arg4
);
7093 wxPyEndAllowThreads(__tstate
);
7094 if (PyErr_Occurred()) SWIG_fail
;
7097 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7113 SWIGINTERN PyObject
*_wrap_Frame_GetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7114 PyObject
*resultobj
= 0;
7115 wxFrame
*arg1
= (wxFrame
*) 0 ;
7116 wxToolBar
*result
= 0 ;
7119 PyObject
*swig_obj
[1] ;
7121 if (!args
) SWIG_fail
;
7123 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7124 if (!SWIG_IsOK(res1
)) {
7125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_GetToolBar" "', expected argument " "1"" of type '" "wxFrame const *""'");
7127 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7129 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7130 result
= (wxToolBar
*)((wxFrame
const *)arg1
)->GetToolBar();
7131 wxPyEndAllowThreads(__tstate
);
7132 if (PyErr_Occurred()) SWIG_fail
;
7135 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7143 SWIGINTERN PyObject
*_wrap_Frame_SetToolBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7144 PyObject
*resultobj
= 0;
7145 wxFrame
*arg1
= (wxFrame
*) 0 ;
7146 wxToolBar
*arg2
= (wxToolBar
*) 0 ;
7151 PyObject
* obj0
= 0 ;
7152 PyObject
* obj1
= 0 ;
7153 char * kwnames
[] = {
7154 (char *) "self",(char *) "toolbar", NULL
7157 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Frame_SetToolBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7158 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7159 if (!SWIG_IsOK(res1
)) {
7160 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_SetToolBar" "', expected argument " "1"" of type '" "wxFrame *""'");
7162 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7163 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxToolBar
, 0 | 0 );
7164 if (!SWIG_IsOK(res2
)) {
7165 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_SetToolBar" "', expected argument " "2"" of type '" "wxToolBar *""'");
7167 arg2
= reinterpret_cast< wxToolBar
* >(argp2
);
7169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7170 (arg1
)->SetToolBar(arg2
);
7171 wxPyEndAllowThreads(__tstate
);
7172 if (PyErr_Occurred()) SWIG_fail
;
7174 resultobj
= SWIG_Py_Void();
7181 SWIGINTERN PyObject
*_wrap_Frame_DoGiveHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7182 PyObject
*resultobj
= 0;
7183 wxFrame
*arg1
= (wxFrame
*) 0 ;
7184 wxString
*arg2
= 0 ;
7188 bool temp2
= false ;
7191 PyObject
* obj0
= 0 ;
7192 PyObject
* obj1
= 0 ;
7193 PyObject
* obj2
= 0 ;
7194 char * kwnames
[] = {
7195 (char *) "self",(char *) "text",(char *) "show", NULL
7198 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Frame_DoGiveHelp",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
7199 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7200 if (!SWIG_IsOK(res1
)) {
7201 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoGiveHelp" "', expected argument " "1"" of type '" "wxFrame *""'");
7203 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7205 arg2
= wxString_in_helper(obj1
);
7206 if (arg2
== NULL
) SWIG_fail
;
7209 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7210 if (!SWIG_IsOK(ecode3
)) {
7211 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Frame_DoGiveHelp" "', expected argument " "3"" of type '" "bool""'");
7213 arg3
= static_cast< bool >(val3
);
7215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7216 (arg1
)->DoGiveHelp((wxString
const &)*arg2
,arg3
);
7217 wxPyEndAllowThreads(__tstate
);
7218 if (PyErr_Occurred()) SWIG_fail
;
7220 resultobj
= SWIG_Py_Void();
7235 SWIGINTERN PyObject
*_wrap_Frame_DoMenuUpdates(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7236 PyObject
*resultobj
= 0;
7237 wxFrame
*arg1
= (wxFrame
*) 0 ;
7238 wxMenu
*arg2
= (wxMenu
*) NULL
;
7243 PyObject
* obj0
= 0 ;
7244 PyObject
* obj1
= 0 ;
7245 char * kwnames
[] = {
7246 (char *) "self",(char *) "menu", NULL
7249 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:Frame_DoMenuUpdates",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7250 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFrame
, 0 | 0 );
7251 if (!SWIG_IsOK(res1
)) {
7252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "1"" of type '" "wxFrame *""'");
7254 arg1
= reinterpret_cast< wxFrame
* >(argp1
);
7256 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
7257 if (!SWIG_IsOK(res2
)) {
7258 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Frame_DoMenuUpdates" "', expected argument " "2"" of type '" "wxMenu *""'");
7260 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
7263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7264 (arg1
)->DoMenuUpdates(arg2
);
7265 wxPyEndAllowThreads(__tstate
);
7266 if (PyErr_Occurred()) SWIG_fail
;
7268 resultobj
= SWIG_Py_Void();
7275 SWIGINTERN PyObject
*_wrap_Frame_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7276 PyObject
*resultobj
= 0;
7277 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
7278 SwigValueWrapper
<wxVisualAttributes
> result
;
7281 PyObject
* obj0
= 0 ;
7282 char * kwnames
[] = {
7283 (char *) "variant", NULL
7286 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Frame_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
7288 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
7289 if (!SWIG_IsOK(ecode1
)) {
7290 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Frame_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
7292 arg1
= static_cast< wxWindowVariant
>(val1
);
7295 if (!wxPyCheckForApp()) SWIG_fail
;
7296 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7297 result
= wxFrame::GetClassDefaultAttributes(arg1
);
7298 wxPyEndAllowThreads(__tstate
);
7299 if (PyErr_Occurred()) SWIG_fail
;
7301 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
7308 SWIGINTERN PyObject
*Frame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7310 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
7311 SWIG_TypeNewClientData(SWIGTYPE_p_wxFrame
, SWIG_NewClientData(obj
));
7312 return SWIG_Py_Void();
7315 SWIGINTERN PyObject
*Frame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7316 return SWIG_Python_InitShadowInstance(args
);
7319 SWIGINTERN PyObject
*_wrap_new_Dialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7320 PyObject
*resultobj
= 0;
7321 wxWindow
*arg1
= (wxWindow
*) 0 ;
7322 int arg2
= (int) (int)-1 ;
7323 wxString
const &arg3_defvalue
= wxPyEmptyString
;
7324 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
7325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
7326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
7327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
7328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
7329 long arg6
= (long) wxDEFAULT_DIALOG_STYLE
;
7330 wxString
const &arg7_defvalue
= wxPyDialogNameStr
;
7331 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
7332 wxDialog
*result
= 0 ;
7337 bool temp3
= false ;
7342 bool temp7
= false ;
7343 PyObject
* obj0
= 0 ;
7344 PyObject
* obj1
= 0 ;
7345 PyObject
* obj2
= 0 ;
7346 PyObject
* obj3
= 0 ;
7347 PyObject
* obj4
= 0 ;
7348 PyObject
* obj5
= 0 ;
7349 PyObject
* obj6
= 0 ;
7350 char * kwnames
[] = {
7351 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_Dialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
7355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7356 if (!SWIG_IsOK(res1
)) {
7357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Dialog" "', expected argument " "1"" of type '" "wxWindow *""'");
7359 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
7361 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7362 if (!SWIG_IsOK(ecode2
)) {
7363 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_Dialog" "', expected argument " "2"" of type '" "int""'");
7365 arg2
= static_cast< int >(val2
);
7369 arg3
= wxString_in_helper(obj2
);
7370 if (arg3
== NULL
) SWIG_fail
;
7377 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
7383 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
7387 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
7388 if (!SWIG_IsOK(ecode6
)) {
7389 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_Dialog" "', expected argument " "6"" of type '" "long""'");
7391 arg6
= static_cast< long >(val6
);
7395 arg7
= wxString_in_helper(obj6
);
7396 if (arg7
== NULL
) SWIG_fail
;
7401 if (!wxPyCheckForApp()) SWIG_fail
;
7402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7403 result
= (wxDialog
*)new wxDialog(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
7404 wxPyEndAllowThreads(__tstate
);
7405 if (PyErr_Occurred()) SWIG_fail
;
7407 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_NEW
| 0 );
7430 SWIGINTERN PyObject
*_wrap_new_PreDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7431 PyObject
*resultobj
= 0;
7432 wxDialog
*result
= 0 ;
7434 if (!SWIG_Python_UnpackTuple(args
,"new_PreDialog",0,0,0)) SWIG_fail
;
7436 if (!wxPyCheckForApp()) SWIG_fail
;
7437 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7438 result
= (wxDialog
*)new wxDialog();
7439 wxPyEndAllowThreads(__tstate
);
7440 if (PyErr_Occurred()) SWIG_fail
;
7442 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDialog
, SWIG_POINTER_OWN
| 0 );
7449 SWIGINTERN PyObject
*_wrap_Dialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7450 PyObject
*resultobj
= 0;
7451 wxDialog
*arg1
= (wxDialog
*) 0 ;
7452 wxWindow
*arg2
= (wxWindow
*) 0 ;
7453 int arg3
= (int) (int)-1 ;
7454 wxString
const &arg4_defvalue
= wxPyEmptyString
;
7455 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
7456 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
7457 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
7458 wxSize
const &arg6_defvalue
= wxDefaultSize
;
7459 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
7460 long arg7
= (long) wxDEFAULT_DIALOG_STYLE
;
7461 wxString
const &arg8_defvalue
= wxPyDialogNameStr
;
7462 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
7470 bool temp4
= false ;
7475 bool temp8
= false ;
7476 PyObject
* obj0
= 0 ;
7477 PyObject
* obj1
= 0 ;
7478 PyObject
* obj2
= 0 ;
7479 PyObject
* obj3
= 0 ;
7480 PyObject
* obj4
= 0 ;
7481 PyObject
* obj5
= 0 ;
7482 PyObject
* obj6
= 0 ;
7483 PyObject
* obj7
= 0 ;
7484 char * kwnames
[] = {
7485 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
7488 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:Dialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
7489 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7490 if (!SWIG_IsOK(res1
)) {
7491 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_Create" "', expected argument " "1"" of type '" "wxDialog *""'");
7493 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7494 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
7495 if (!SWIG_IsOK(res2
)) {
7496 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Dialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
7498 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
7500 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
7501 if (!SWIG_IsOK(ecode3
)) {
7502 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_Create" "', expected argument " "3"" of type '" "int""'");
7504 arg3
= static_cast< int >(val3
);
7508 arg4
= wxString_in_helper(obj3
);
7509 if (arg4
== NULL
) SWIG_fail
;
7516 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
7522 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
7526 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
7527 if (!SWIG_IsOK(ecode7
)) {
7528 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "Dialog_Create" "', expected argument " "7"" of type '" "long""'");
7530 arg7
= static_cast< long >(val7
);
7534 arg8
= wxString_in_helper(obj7
);
7535 if (arg8
== NULL
) SWIG_fail
;
7540 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7541 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
7542 wxPyEndAllowThreads(__tstate
);
7543 if (PyErr_Occurred()) SWIG_fail
;
7546 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7570 SWIGINTERN PyObject
*_wrap_Dialog_SetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7571 PyObject
*resultobj
= 0;
7572 wxDialog
*arg1
= (wxDialog
*) 0 ;
7578 PyObject
* obj0
= 0 ;
7579 PyObject
* obj1
= 0 ;
7580 char * kwnames
[] = {
7581 (char *) "self",(char *) "returnCode", NULL
7584 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetReturnCode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7585 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7586 if (!SWIG_IsOK(res1
)) {
7587 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetReturnCode" "', expected argument " "1"" of type '" "wxDialog *""'");
7589 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7590 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7591 if (!SWIG_IsOK(ecode2
)) {
7592 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetReturnCode" "', expected argument " "2"" of type '" "int""'");
7594 arg2
= static_cast< int >(val2
);
7596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7597 (arg1
)->SetReturnCode(arg2
);
7598 wxPyEndAllowThreads(__tstate
);
7599 if (PyErr_Occurred()) SWIG_fail
;
7601 resultobj
= SWIG_Py_Void();
7608 SWIGINTERN PyObject
*_wrap_Dialog_GetReturnCode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7609 PyObject
*resultobj
= 0;
7610 wxDialog
*arg1
= (wxDialog
*) 0 ;
7614 PyObject
*swig_obj
[1] ;
7616 if (!args
) SWIG_fail
;
7618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7619 if (!SWIG_IsOK(res1
)) {
7620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetReturnCode" "', expected argument " "1"" of type '" "wxDialog const *""'");
7622 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7625 result
= (int)((wxDialog
const *)arg1
)->GetReturnCode();
7626 wxPyEndAllowThreads(__tstate
);
7627 if (PyErr_Occurred()) SWIG_fail
;
7629 resultobj
= SWIG_From_int(static_cast< int >(result
));
7636 SWIGINTERN PyObject
*_wrap_Dialog_SetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7637 PyObject
*resultobj
= 0;
7638 wxDialog
*arg1
= (wxDialog
*) 0 ;
7644 PyObject
* obj0
= 0 ;
7645 PyObject
* obj1
= 0 ;
7646 char * kwnames
[] = {
7647 (char *) "self",(char *) "affirmativeId", NULL
7650 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetAffirmativeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7651 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7652 if (!SWIG_IsOK(res1
)) {
7653 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7655 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7656 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7657 if (!SWIG_IsOK(ecode2
)) {
7658 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetAffirmativeId" "', expected argument " "2"" of type '" "int""'");
7660 arg2
= static_cast< int >(val2
);
7662 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7663 (arg1
)->SetAffirmativeId(arg2
);
7664 wxPyEndAllowThreads(__tstate
);
7665 if (PyErr_Occurred()) SWIG_fail
;
7667 resultobj
= SWIG_Py_Void();
7674 SWIGINTERN PyObject
*_wrap_Dialog_GetAffirmativeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7675 PyObject
*resultobj
= 0;
7676 wxDialog
*arg1
= (wxDialog
*) 0 ;
7680 PyObject
*swig_obj
[1] ;
7682 if (!args
) SWIG_fail
;
7684 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7685 if (!SWIG_IsOK(res1
)) {
7686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetAffirmativeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7688 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7691 result
= (int)((wxDialog
const *)arg1
)->GetAffirmativeId();
7692 wxPyEndAllowThreads(__tstate
);
7693 if (PyErr_Occurred()) SWIG_fail
;
7695 resultobj
= SWIG_From_int(static_cast< int >(result
));
7702 SWIGINTERN PyObject
*_wrap_Dialog_SetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7703 PyObject
*resultobj
= 0;
7704 wxDialog
*arg1
= (wxDialog
*) 0 ;
7710 PyObject
* obj0
= 0 ;
7711 PyObject
* obj1
= 0 ;
7712 char * kwnames
[] = {
7713 (char *) "self",(char *) "escapeId", NULL
7716 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_SetEscapeId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7717 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7718 if (!SWIG_IsOK(res1
)) {
7719 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_SetEscapeId" "', expected argument " "1"" of type '" "wxDialog *""'");
7721 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7722 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7723 if (!SWIG_IsOK(ecode2
)) {
7724 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_SetEscapeId" "', expected argument " "2"" of type '" "int""'");
7726 arg2
= static_cast< int >(val2
);
7728 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7729 (arg1
)->SetEscapeId(arg2
);
7730 wxPyEndAllowThreads(__tstate
);
7731 if (PyErr_Occurred()) SWIG_fail
;
7733 resultobj
= SWIG_Py_Void();
7740 SWIGINTERN PyObject
*_wrap_Dialog_GetEscapeId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7741 PyObject
*resultobj
= 0;
7742 wxDialog
*arg1
= (wxDialog
*) 0 ;
7746 PyObject
*swig_obj
[1] ;
7748 if (!args
) SWIG_fail
;
7750 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7751 if (!SWIG_IsOK(res1
)) {
7752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_GetEscapeId" "', expected argument " "1"" of type '" "wxDialog const *""'");
7754 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7756 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7757 result
= (int)((wxDialog
const *)arg1
)->GetEscapeId();
7758 wxPyEndAllowThreads(__tstate
);
7759 if (PyErr_Occurred()) SWIG_fail
;
7761 resultobj
= SWIG_From_int(static_cast< int >(result
));
7768 SWIGINTERN PyObject
*_wrap_Dialog_CreateTextSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7769 PyObject
*resultobj
= 0;
7770 wxDialog
*arg1
= (wxDialog
*) 0 ;
7771 wxString
*arg2
= 0 ;
7772 wxSizer
*result
= 0 ;
7775 bool temp2
= false ;
7776 PyObject
* obj0
= 0 ;
7777 PyObject
* obj1
= 0 ;
7778 char * kwnames
[] = {
7779 (char *) "self",(char *) "message", NULL
7782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateTextSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7783 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7784 if (!SWIG_IsOK(res1
)) {
7785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateTextSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7787 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7789 arg2
= wxString_in_helper(obj1
);
7790 if (arg2
== NULL
) SWIG_fail
;
7794 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7795 result
= (wxSizer
*)(arg1
)->CreateTextSizer((wxString
const &)*arg2
);
7796 wxPyEndAllowThreads(__tstate
);
7797 if (PyErr_Occurred()) SWIG_fail
;
7800 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7816 SWIGINTERN PyObject
*_wrap_Dialog_CreateButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7817 PyObject
*resultobj
= 0;
7818 wxDialog
*arg1
= (wxDialog
*) 0 ;
7820 bool arg3
= (bool) false ;
7821 int arg4
= (int) 0 ;
7822 wxSizer
*result
= 0 ;
7831 PyObject
* obj0
= 0 ;
7832 PyObject
* obj1
= 0 ;
7833 PyObject
* obj2
= 0 ;
7834 PyObject
* obj3
= 0 ;
7835 char * kwnames
[] = {
7836 (char *) "self",(char *) "flags",(char *) "separated",(char *) "distance", NULL
7839 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:Dialog_CreateButtonSizer",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
7840 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7841 if (!SWIG_IsOK(res1
)) {
7842 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7844 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7845 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7846 if (!SWIG_IsOK(ecode2
)) {
7847 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "2"" of type '" "long""'");
7849 arg2
= static_cast< long >(val2
);
7851 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
7852 if (!SWIG_IsOK(ecode3
)) {
7853 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "3"" of type '" "bool""'");
7855 arg3
= static_cast< bool >(val3
);
7858 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
7859 if (!SWIG_IsOK(ecode4
)) {
7860 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Dialog_CreateButtonSizer" "', expected argument " "4"" of type '" "int""'");
7862 arg4
= static_cast< int >(val4
);
7865 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7866 result
= (wxSizer
*)(arg1
)->CreateButtonSizer(arg2
,arg3
,arg4
);
7867 wxPyEndAllowThreads(__tstate
);
7868 if (PyErr_Occurred()) SWIG_fail
;
7871 resultobj
= wxPyMake_wxObject(result
, (bool)0);
7879 SWIGINTERN PyObject
*_wrap_Dialog_CreateStdDialogButtonSizer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7880 PyObject
*resultobj
= 0;
7881 wxDialog
*arg1
= (wxDialog
*) 0 ;
7883 wxStdDialogButtonSizer
*result
= 0 ;
7888 PyObject
* obj0
= 0 ;
7889 PyObject
* obj1
= 0 ;
7890 char * kwnames
[] = {
7891 (char *) "self",(char *) "flags", NULL
7894 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_CreateStdDialogButtonSizer",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7895 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7896 if (!SWIG_IsOK(res1
)) {
7897 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "1"" of type '" "wxDialog *""'");
7899 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7900 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
7901 if (!SWIG_IsOK(ecode2
)) {
7902 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_CreateStdDialogButtonSizer" "', expected argument " "2"" of type '" "long""'");
7904 arg2
= static_cast< long >(val2
);
7906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7907 result
= (wxStdDialogButtonSizer
*)(arg1
)->CreateStdDialogButtonSizer(arg2
);
7908 wxPyEndAllowThreads(__tstate
);
7909 if (PyErr_Occurred()) SWIG_fail
;
7911 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStdDialogButtonSizer
, 0 | 0 );
7918 SWIGINTERN PyObject
*_wrap_Dialog_IsModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7919 PyObject
*resultobj
= 0;
7920 wxDialog
*arg1
= (wxDialog
*) 0 ;
7924 PyObject
*swig_obj
[1] ;
7926 if (!args
) SWIG_fail
;
7928 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7929 if (!SWIG_IsOK(res1
)) {
7930 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_IsModal" "', expected argument " "1"" of type '" "wxDialog const *""'");
7932 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7935 result
= (bool)((wxDialog
const *)arg1
)->IsModal();
7936 wxPyEndAllowThreads(__tstate
);
7937 if (PyErr_Occurred()) SWIG_fail
;
7940 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
7948 SWIGINTERN PyObject
*_wrap_Dialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
7949 PyObject
*resultobj
= 0;
7950 wxDialog
*arg1
= (wxDialog
*) 0 ;
7954 PyObject
*swig_obj
[1] ;
7956 if (!args
) SWIG_fail
;
7958 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7959 if (!SWIG_IsOK(res1
)) {
7960 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_ShowModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7962 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
7965 result
= (int)(arg1
)->ShowModal();
7966 wxPyEndAllowThreads(__tstate
);
7967 if (PyErr_Occurred()) SWIG_fail
;
7969 resultobj
= SWIG_From_int(static_cast< int >(result
));
7976 SWIGINTERN PyObject
*_wrap_Dialog_EndModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
7977 PyObject
*resultobj
= 0;
7978 wxDialog
*arg1
= (wxDialog
*) 0 ;
7984 PyObject
* obj0
= 0 ;
7985 PyObject
* obj1
= 0 ;
7986 char * kwnames
[] = {
7987 (char *) "self",(char *) "retCode", NULL
7990 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Dialog_EndModal",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
7991 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDialog
, 0 | 0 );
7992 if (!SWIG_IsOK(res1
)) {
7993 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Dialog_EndModal" "', expected argument " "1"" of type '" "wxDialog *""'");
7995 arg1
= reinterpret_cast< wxDialog
* >(argp1
);
7996 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
7997 if (!SWIG_IsOK(ecode2
)) {
7998 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Dialog_EndModal" "', expected argument " "2"" of type '" "int""'");
8000 arg2
= static_cast< int >(val2
);
8002 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8003 (arg1
)->EndModal(arg2
);
8004 wxPyEndAllowThreads(__tstate
);
8005 if (PyErr_Occurred()) SWIG_fail
;
8007 resultobj
= SWIG_Py_Void();
8014 SWIGINTERN PyObject
*_wrap_Dialog_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8015 PyObject
*resultobj
= 0;
8016 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
8017 SwigValueWrapper
<wxVisualAttributes
> result
;
8020 PyObject
* obj0
= 0 ;
8021 char * kwnames
[] = {
8022 (char *) "variant", NULL
8025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:Dialog_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
8027 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
8028 if (!SWIG_IsOK(ecode1
)) {
8029 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "Dialog_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
8031 arg1
= static_cast< wxWindowVariant
>(val1
);
8034 if (!wxPyCheckForApp()) SWIG_fail
;
8035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8036 result
= wxDialog::GetClassDefaultAttributes(arg1
);
8037 wxPyEndAllowThreads(__tstate
);
8038 if (PyErr_Occurred()) SWIG_fail
;
8040 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
8047 SWIGINTERN PyObject
*Dialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8049 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8050 SWIG_TypeNewClientData(SWIGTYPE_p_wxDialog
, SWIG_NewClientData(obj
));
8051 return SWIG_Py_Void();
8054 SWIGINTERN PyObject
*Dialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8055 return SWIG_Python_InitShadowInstance(args
);
8058 SWIGINTERN PyObject
*_wrap_new_MiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8059 PyObject
*resultobj
= 0;
8060 wxWindow
*arg1
= (wxWindow
*) 0 ;
8061 int arg2
= (int) (int)-1 ;
8062 wxString
const &arg3_defvalue
= wxPyEmptyString
;
8063 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
8064 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8065 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8066 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8067 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8068 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
8069 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
8070 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
8071 wxMiniFrame
*result
= 0 ;
8076 bool temp3
= false ;
8081 bool temp7
= false ;
8082 PyObject
* obj0
= 0 ;
8083 PyObject
* obj1
= 0 ;
8084 PyObject
* obj2
= 0 ;
8085 PyObject
* obj3
= 0 ;
8086 PyObject
* obj4
= 0 ;
8087 PyObject
* obj5
= 0 ;
8088 PyObject
* obj6
= 0 ;
8089 char * kwnames
[] = {
8090 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8093 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MiniFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
8094 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8095 if (!SWIG_IsOK(res1
)) {
8096 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MiniFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
8098 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8100 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8101 if (!SWIG_IsOK(ecode2
)) {
8102 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MiniFrame" "', expected argument " "2"" of type '" "int""'");
8104 arg2
= static_cast< int >(val2
);
8108 arg3
= wxString_in_helper(obj2
);
8109 if (arg3
== NULL
) SWIG_fail
;
8116 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8122 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8126 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8127 if (!SWIG_IsOK(ecode6
)) {
8128 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MiniFrame" "', expected argument " "6"" of type '" "long""'");
8130 arg6
= static_cast< long >(val6
);
8134 arg7
= wxString_in_helper(obj6
);
8135 if (arg7
== NULL
) SWIG_fail
;
8140 if (!wxPyCheckForApp()) SWIG_fail
;
8141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8142 result
= (wxMiniFrame
*)new wxMiniFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
8143 wxPyEndAllowThreads(__tstate
);
8144 if (PyErr_Occurred()) SWIG_fail
;
8146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_NEW
| 0 );
8169 SWIGINTERN PyObject
*_wrap_new_PreMiniFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8170 PyObject
*resultobj
= 0;
8171 wxMiniFrame
*result
= 0 ;
8173 if (!SWIG_Python_UnpackTuple(args
,"new_PreMiniFrame",0,0,0)) SWIG_fail
;
8175 if (!wxPyCheckForApp()) SWIG_fail
;
8176 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8177 result
= (wxMiniFrame
*)new wxMiniFrame();
8178 wxPyEndAllowThreads(__tstate
);
8179 if (PyErr_Occurred()) SWIG_fail
;
8181 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMiniFrame
, SWIG_POINTER_OWN
| 0 );
8188 SWIGINTERN PyObject
*_wrap_MiniFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8189 PyObject
*resultobj
= 0;
8190 wxMiniFrame
*arg1
= (wxMiniFrame
*) 0 ;
8191 wxWindow
*arg2
= (wxWindow
*) 0 ;
8192 int arg3
= (int) (int)-1 ;
8193 wxString
const &arg4_defvalue
= wxPyEmptyString
;
8194 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8195 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
8196 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
8197 wxSize
const &arg6_defvalue
= wxDefaultSize
;
8198 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
8199 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
8200 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
8201 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
8209 bool temp4
= false ;
8214 bool temp8
= false ;
8215 PyObject
* obj0
= 0 ;
8216 PyObject
* obj1
= 0 ;
8217 PyObject
* obj2
= 0 ;
8218 PyObject
* obj3
= 0 ;
8219 PyObject
* obj4
= 0 ;
8220 PyObject
* obj5
= 0 ;
8221 PyObject
* obj6
= 0 ;
8222 PyObject
* obj7
= 0 ;
8223 char * kwnames
[] = {
8224 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
8227 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MiniFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8228 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMiniFrame
, 0 | 0 );
8229 if (!SWIG_IsOK(res1
)) {
8230 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MiniFrame_Create" "', expected argument " "1"" of type '" "wxMiniFrame *""'");
8232 arg1
= reinterpret_cast< wxMiniFrame
* >(argp1
);
8233 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8234 if (!SWIG_IsOK(res2
)) {
8235 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MiniFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8237 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8239 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8240 if (!SWIG_IsOK(ecode3
)) {
8241 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MiniFrame_Create" "', expected argument " "3"" of type '" "int""'");
8243 arg3
= static_cast< int >(val3
);
8247 arg4
= wxString_in_helper(obj3
);
8248 if (arg4
== NULL
) SWIG_fail
;
8255 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
8261 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
8265 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
8266 if (!SWIG_IsOK(ecode7
)) {
8267 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MiniFrame_Create" "', expected argument " "7"" of type '" "long""'");
8269 arg7
= static_cast< long >(val7
);
8273 arg8
= wxString_in_helper(obj7
);
8274 if (arg8
== NULL
) SWIG_fail
;
8279 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8280 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
8281 wxPyEndAllowThreads(__tstate
);
8282 if (PyErr_Occurred()) SWIG_fail
;
8285 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8309 SWIGINTERN PyObject
*MiniFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8311 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8312 SWIG_TypeNewClientData(SWIGTYPE_p_wxMiniFrame
, SWIG_NewClientData(obj
));
8313 return SWIG_Py_Void();
8316 SWIGINTERN PyObject
*MiniFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8317 return SWIG_Python_InitShadowInstance(args
);
8320 SWIGINTERN PyObject
*_wrap_new_SplashScreenWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8321 PyObject
*resultobj
= 0;
8322 wxBitmap
*arg1
= 0 ;
8323 wxWindow
*arg2
= (wxWindow
*) 0 ;
8325 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
8326 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
8327 wxSize
const &arg5_defvalue
= wxDefaultSize
;
8328 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
8329 long arg6
= (long) wxNO_BORDER
;
8330 wxSplashScreenWindow
*result
= 0 ;
8341 PyObject
* obj0
= 0 ;
8342 PyObject
* obj1
= 0 ;
8343 PyObject
* obj2
= 0 ;
8344 PyObject
* obj3
= 0 ;
8345 PyObject
* obj4
= 0 ;
8346 PyObject
* obj5
= 0 ;
8347 char * kwnames
[] = {
8348 (char *) "bitmap",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8351 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_SplashScreenWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
8352 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8353 if (!SWIG_IsOK(res1
)) {
8354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8357 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreenWindow" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8359 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8360 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8361 if (!SWIG_IsOK(res2
)) {
8362 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplashScreenWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
8364 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8365 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8366 if (!SWIG_IsOK(ecode3
)) {
8367 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreenWindow" "', expected argument " "3"" of type '" "int""'");
8369 arg3
= static_cast< int >(val3
);
8373 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
8379 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
8383 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
8384 if (!SWIG_IsOK(ecode6
)) {
8385 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SplashScreenWindow" "', expected argument " "6"" of type '" "long""'");
8387 arg6
= static_cast< long >(val6
);
8390 if (!wxPyCheckForApp()) SWIG_fail
;
8391 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8392 result
= (wxSplashScreenWindow
*)new wxSplashScreenWindow((wxBitmap
const &)*arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
);
8393 wxPyEndAllowThreads(__tstate
);
8394 if (PyErr_Occurred()) SWIG_fail
;
8396 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, SWIG_POINTER_NEW
| 0 );
8403 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_SetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8404 PyObject
*resultobj
= 0;
8405 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8406 wxBitmap
*arg2
= 0 ;
8411 PyObject
* obj0
= 0 ;
8412 PyObject
* obj1
= 0 ;
8413 char * kwnames
[] = {
8414 (char *) "self",(char *) "bitmap", NULL
8417 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplashScreenWindow_SetBitmap",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8418 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8419 if (!SWIG_IsOK(res1
)) {
8420 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8422 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8423 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8424 if (!SWIG_IsOK(res2
)) {
8425 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8428 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "SplashScreenWindow_SetBitmap" "', expected argument " "2"" of type '" "wxBitmap const &""'");
8430 arg2
= reinterpret_cast< wxBitmap
* >(argp2
);
8432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8433 (arg1
)->SetBitmap((wxBitmap
const &)*arg2
);
8434 wxPyEndAllowThreads(__tstate
);
8435 if (PyErr_Occurred()) SWIG_fail
;
8437 resultobj
= SWIG_Py_Void();
8444 SWIGINTERN PyObject
*_wrap_SplashScreenWindow_GetBitmap(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8445 PyObject
*resultobj
= 0;
8446 wxSplashScreenWindow
*arg1
= (wxSplashScreenWindow
*) 0 ;
8447 wxBitmap
*result
= 0 ;
8450 PyObject
*swig_obj
[1] ;
8452 if (!args
) SWIG_fail
;
8454 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8455 if (!SWIG_IsOK(res1
)) {
8456 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreenWindow_GetBitmap" "', expected argument " "1"" of type '" "wxSplashScreenWindow *""'");
8458 arg1
= reinterpret_cast< wxSplashScreenWindow
* >(argp1
);
8460 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8462 wxBitmap
&_result_ref
= (arg1
)->GetBitmap();
8463 result
= (wxBitmap
*) &_result_ref
;
8465 wxPyEndAllowThreads(__tstate
);
8466 if (PyErr_Occurred()) SWIG_fail
;
8469 wxBitmap
* resultptr
= new wxBitmap(*result
);
8470 resultobj
= SWIG_NewPointerObj((void*)(resultptr
), SWIGTYPE_p_wxBitmap
, 1);
8478 SWIGINTERN PyObject
*SplashScreenWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8480 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8481 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreenWindow
, SWIG_NewClientData(obj
));
8482 return SWIG_Py_Void();
8485 SWIGINTERN PyObject
*SplashScreenWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8486 return SWIG_Python_InitShadowInstance(args
);
8489 SWIGINTERN PyObject
*_wrap_new_SplashScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8490 PyObject
*resultobj
= 0;
8491 wxBitmap
*arg1
= 0 ;
8494 wxWindow
*arg4
= (wxWindow
*) 0 ;
8495 int arg5
= (int) -1 ;
8496 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
8497 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
8498 wxSize
const &arg7_defvalue
= wxDefaultSize
;
8499 wxSize
*arg7
= (wxSize
*) &arg7_defvalue
;
8500 long arg8
= (long) wxSIMPLE_BORDER
|wxFRAME_NO_TASKBAR
|wxSTAY_ON_TOP
;
8501 wxSplashScreen
*result
= 0 ;
8516 PyObject
* obj0
= 0 ;
8517 PyObject
* obj1
= 0 ;
8518 PyObject
* obj2
= 0 ;
8519 PyObject
* obj3
= 0 ;
8520 PyObject
* obj4
= 0 ;
8521 PyObject
* obj5
= 0 ;
8522 PyObject
* obj6
= 0 ;
8523 PyObject
* obj7
= 0 ;
8524 char * kwnames
[] = {
8525 (char *) "bitmap",(char *) "splashStyle",(char *) "milliseconds",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style", NULL
8528 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OOOO:new_SplashScreen",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
8529 res1
= SWIG_ConvertPtr(obj0
, &argp1
, SWIGTYPE_p_wxBitmap
, 0 | 0);
8530 if (!SWIG_IsOK(res1
)) {
8531 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8534 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_SplashScreen" "', expected argument " "1"" of type '" "wxBitmap const &""'");
8536 arg1
= reinterpret_cast< wxBitmap
* >(argp1
);
8537 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
8538 if (!SWIG_IsOK(ecode2
)) {
8539 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplashScreen" "', expected argument " "2"" of type '" "long""'");
8541 arg2
= static_cast< long >(val2
);
8542 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8543 if (!SWIG_IsOK(ecode3
)) {
8544 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_SplashScreen" "', expected argument " "3"" of type '" "int""'");
8546 arg3
= static_cast< int >(val3
);
8547 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8548 if (!SWIG_IsOK(res4
)) {
8549 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_SplashScreen" "', expected argument " "4"" of type '" "wxWindow *""'");
8551 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
8553 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
8554 if (!SWIG_IsOK(ecode5
)) {
8555 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplashScreen" "', expected argument " "5"" of type '" "int""'");
8557 arg5
= static_cast< int >(val5
);
8562 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
8568 if ( ! wxSize_helper(obj6
, &arg7
)) SWIG_fail
;
8572 ecode8
= SWIG_AsVal_long(obj7
, &val8
);
8573 if (!SWIG_IsOK(ecode8
)) {
8574 SWIG_exception_fail(SWIG_ArgError(ecode8
), "in method '" "new_SplashScreen" "', expected argument " "8"" of type '" "long""'");
8576 arg8
= static_cast< long >(val8
);
8579 if (!wxPyCheckForApp()) SWIG_fail
;
8580 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8581 result
= (wxSplashScreen
*)new wxSplashScreen((wxBitmap
const &)*arg1
,arg2
,arg3
,arg4
,arg5
,(wxPoint
const &)*arg6
,(wxSize
const &)*arg7
,arg8
);
8582 wxPyEndAllowThreads(__tstate
);
8583 if (PyErr_Occurred()) SWIG_fail
;
8585 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreen
, SWIG_POINTER_NEW
| 0 );
8592 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashStyle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8593 PyObject
*resultobj
= 0;
8594 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8598 PyObject
*swig_obj
[1] ;
8600 if (!args
) SWIG_fail
;
8602 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8603 if (!SWIG_IsOK(res1
)) {
8604 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashStyle" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8606 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8608 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8609 result
= (long)((wxSplashScreen
const *)arg1
)->GetSplashStyle();
8610 wxPyEndAllowThreads(__tstate
);
8611 if (PyErr_Occurred()) SWIG_fail
;
8613 resultobj
= SWIG_From_long(static_cast< long >(result
));
8620 SWIGINTERN PyObject
*_wrap_SplashScreen_GetSplashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8621 PyObject
*resultobj
= 0;
8622 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8623 wxSplashScreenWindow
*result
= 0 ;
8626 PyObject
*swig_obj
[1] ;
8628 if (!args
) SWIG_fail
;
8630 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8631 if (!SWIG_IsOK(res1
)) {
8632 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetSplashWindow" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8634 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8636 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8637 result
= (wxSplashScreenWindow
*)((wxSplashScreen
const *)arg1
)->GetSplashWindow();
8638 wxPyEndAllowThreads(__tstate
);
8639 if (PyErr_Occurred()) SWIG_fail
;
8641 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplashScreenWindow
, 0 | 0 );
8648 SWIGINTERN PyObject
*_wrap_SplashScreen_GetTimeout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8649 PyObject
*resultobj
= 0;
8650 wxSplashScreen
*arg1
= (wxSplashScreen
*) 0 ;
8654 PyObject
*swig_obj
[1] ;
8656 if (!args
) SWIG_fail
;
8658 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplashScreen
, 0 | 0 );
8659 if (!SWIG_IsOK(res1
)) {
8660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplashScreen_GetTimeout" "', expected argument " "1"" of type '" "wxSplashScreen const *""'");
8662 arg1
= reinterpret_cast< wxSplashScreen
* >(argp1
);
8664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8665 result
= (int)((wxSplashScreen
const *)arg1
)->GetTimeout();
8666 wxPyEndAllowThreads(__tstate
);
8667 if (PyErr_Occurred()) SWIG_fail
;
8669 resultobj
= SWIG_From_int(static_cast< int >(result
));
8676 SWIGINTERN PyObject
*SplashScreen_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8678 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
8679 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplashScreen
, SWIG_NewClientData(obj
));
8680 return SWIG_Py_Void();
8683 SWIGINTERN PyObject
*SplashScreen_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8684 return SWIG_Python_InitShadowInstance(args
);
8687 SWIGINTERN PyObject
*_wrap_new_StatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8688 PyObject
*resultobj
= 0;
8689 wxWindow
*arg1
= (wxWindow
*) 0 ;
8690 int arg2
= (int) -1 ;
8691 long arg3
= (long) wxDEFAULT_STATUSBAR_STYLE
;
8692 wxString
const &arg4_defvalue
= wxPyStatusLineNameStr
;
8693 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
8694 wxStatusBar
*result
= 0 ;
8701 bool temp4
= false ;
8702 PyObject
* obj0
= 0 ;
8703 PyObject
* obj1
= 0 ;
8704 PyObject
* obj2
= 0 ;
8705 PyObject
* obj3
= 0 ;
8706 char * kwnames
[] = {
8707 (char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8710 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOO:new_StatusBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
8711 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8712 if (!SWIG_IsOK(res1
)) {
8713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_StatusBar" "', expected argument " "1"" of type '" "wxWindow *""'");
8715 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
8717 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8718 if (!SWIG_IsOK(ecode2
)) {
8719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_StatusBar" "', expected argument " "2"" of type '" "int""'");
8721 arg2
= static_cast< int >(val2
);
8724 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
8725 if (!SWIG_IsOK(ecode3
)) {
8726 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_StatusBar" "', expected argument " "3"" of type '" "long""'");
8728 arg3
= static_cast< long >(val3
);
8732 arg4
= wxString_in_helper(obj3
);
8733 if (arg4
== NULL
) SWIG_fail
;
8738 if (!wxPyCheckForApp()) SWIG_fail
;
8739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8740 result
= (wxStatusBar
*)new wxStatusBar(arg1
,arg2
,arg3
,(wxString
const &)*arg4
);
8741 wxPyEndAllowThreads(__tstate
);
8742 if (PyErr_Occurred()) SWIG_fail
;
8744 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_NEW
| 0 );
8759 SWIGINTERN PyObject
*_wrap_new_PreStatusBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8760 PyObject
*resultobj
= 0;
8761 wxStatusBar
*result
= 0 ;
8763 if (!SWIG_Python_UnpackTuple(args
,"new_PreStatusBar",0,0,0)) SWIG_fail
;
8765 if (!wxPyCheckForApp()) SWIG_fail
;
8766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8767 result
= (wxStatusBar
*)new wxStatusBar();
8768 wxPyEndAllowThreads(__tstate
);
8769 if (PyErr_Occurred()) SWIG_fail
;
8771 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxStatusBar
, SWIG_POINTER_OWN
| 0 );
8778 SWIGINTERN PyObject
*_wrap_StatusBar_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8779 PyObject
*resultobj
= 0;
8780 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8781 wxWindow
*arg2
= (wxWindow
*) 0 ;
8782 int arg3
= (int) -1 ;
8783 long arg4
= (long) wxST_SIZEGRIP
;
8784 wxString
const &arg5_defvalue
= wxPyStatusLineNameStr
;
8785 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
8795 bool temp5
= false ;
8796 PyObject
* obj0
= 0 ;
8797 PyObject
* obj1
= 0 ;
8798 PyObject
* obj2
= 0 ;
8799 PyObject
* obj3
= 0 ;
8800 PyObject
* obj4
= 0 ;
8801 char * kwnames
[] = {
8802 (char *) "self",(char *) "parent",(char *) "id",(char *) "style",(char *) "name", NULL
8805 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:StatusBar_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
8806 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8807 if (!SWIG_IsOK(res1
)) {
8808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_Create" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8810 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8811 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
8812 if (!SWIG_IsOK(res2
)) {
8813 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "StatusBar_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
8815 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
8817 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8818 if (!SWIG_IsOK(ecode3
)) {
8819 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_Create" "', expected argument " "3"" of type '" "int""'");
8821 arg3
= static_cast< int >(val3
);
8824 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
8825 if (!SWIG_IsOK(ecode4
)) {
8826 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "StatusBar_Create" "', expected argument " "4"" of type '" "long""'");
8828 arg4
= static_cast< long >(val4
);
8832 arg5
= wxString_in_helper(obj4
);
8833 if (arg5
== NULL
) SWIG_fail
;
8838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8839 result
= (bool)(arg1
)->Create(arg2
,arg3
,arg4
,(wxString
const &)*arg5
);
8840 wxPyEndAllowThreads(__tstate
);
8841 if (PyErr_Occurred()) SWIG_fail
;
8844 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
8860 SWIGINTERN PyObject
*_wrap_StatusBar_SetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8861 PyObject
*resultobj
= 0;
8862 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8863 int arg2
= (int) 1 ;
8868 PyObject
* obj0
= 0 ;
8869 PyObject
* obj1
= 0 ;
8870 char * kwnames
[] = {
8871 (char *) "self",(char *) "number", NULL
8874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_SetFieldsCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
8875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8876 if (!SWIG_IsOK(res1
)) {
8877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8879 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8881 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
8882 if (!SWIG_IsOK(ecode2
)) {
8883 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetFieldsCount" "', expected argument " "2"" of type '" "int""'");
8885 arg2
= static_cast< int >(val2
);
8888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8889 (arg1
)->SetFieldsCount(arg2
);
8890 wxPyEndAllowThreads(__tstate
);
8891 if (PyErr_Occurred()) SWIG_fail
;
8893 resultobj
= SWIG_Py_Void();
8900 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldsCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
8901 PyObject
*resultobj
= 0;
8902 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8906 PyObject
*swig_obj
[1] ;
8908 if (!args
) SWIG_fail
;
8910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8911 if (!SWIG_IsOK(res1
)) {
8912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldsCount" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
8914 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8917 result
= (int)((wxStatusBar
const *)arg1
)->GetFieldsCount();
8918 wxPyEndAllowThreads(__tstate
);
8919 if (PyErr_Occurred()) SWIG_fail
;
8921 resultobj
= SWIG_From_int(static_cast< int >(result
));
8928 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8929 PyObject
*resultobj
= 0;
8930 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8931 wxString
*arg2
= 0 ;
8932 int arg3
= (int) 0 ;
8935 bool temp2
= false ;
8938 PyObject
* obj0
= 0 ;
8939 PyObject
* obj1
= 0 ;
8940 PyObject
* obj2
= 0 ;
8941 char * kwnames
[] = {
8942 (char *) "self",(char *) "text",(char *) "number", NULL
8945 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_SetStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
8946 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
8947 if (!SWIG_IsOK(res1
)) {
8948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
8950 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
8952 arg2
= wxString_in_helper(obj1
);
8953 if (arg2
== NULL
) SWIG_fail
;
8957 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
8958 if (!SWIG_IsOK(ecode3
)) {
8959 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_SetStatusText" "', expected argument " "3"" of type '" "int""'");
8961 arg3
= static_cast< int >(val3
);
8964 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
8965 (arg1
)->SetStatusText((wxString
const &)*arg2
,arg3
);
8966 wxPyEndAllowThreads(__tstate
);
8967 if (PyErr_Occurred()) SWIG_fail
;
8969 resultobj
= SWIG_Py_Void();
8984 SWIGINTERN PyObject
*_wrap_StatusBar_GetStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
8985 PyObject
*resultobj
= 0;
8986 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
8987 int arg2
= (int) 0 ;
8993 PyObject
* obj0
= 0 ;
8994 PyObject
* obj1
= 0 ;
8995 char * kwnames
[] = {
8996 (char *) "self",(char *) "number", NULL
8999 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_GetStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9000 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9001 if (!SWIG_IsOK(res1
)) {
9002 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetStatusText" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9004 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9007 if (!SWIG_IsOK(ecode2
)) {
9008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetStatusText" "', expected argument " "2"" of type '" "int""'");
9010 arg2
= static_cast< int >(val2
);
9013 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9014 result
= ((wxStatusBar
const *)arg1
)->GetStatusText(arg2
);
9015 wxPyEndAllowThreads(__tstate
);
9016 if (PyErr_Occurred()) SWIG_fail
;
9020 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
9022 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
9031 SWIGINTERN PyObject
*_wrap_StatusBar_PushStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9032 PyObject
*resultobj
= 0;
9033 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9034 wxString
*arg2
= 0 ;
9035 int arg3
= (int) 0 ;
9038 bool temp2
= false ;
9041 PyObject
* obj0
= 0 ;
9042 PyObject
* obj1
= 0 ;
9043 PyObject
* obj2
= 0 ;
9044 char * kwnames
[] = {
9045 (char *) "self",(char *) "text",(char *) "number", NULL
9048 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:StatusBar_PushStatusText",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9049 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9050 if (!SWIG_IsOK(res1
)) {
9051 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PushStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9053 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9055 arg2
= wxString_in_helper(obj1
);
9056 if (arg2
== NULL
) SWIG_fail
;
9060 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9061 if (!SWIG_IsOK(ecode3
)) {
9062 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "StatusBar_PushStatusText" "', expected argument " "3"" of type '" "int""'");
9064 arg3
= static_cast< int >(val3
);
9067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9068 (arg1
)->PushStatusText((wxString
const &)*arg2
,arg3
);
9069 wxPyEndAllowThreads(__tstate
);
9070 if (PyErr_Occurred()) SWIG_fail
;
9072 resultobj
= SWIG_Py_Void();
9087 SWIGINTERN PyObject
*_wrap_StatusBar_PopStatusText(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9088 PyObject
*resultobj
= 0;
9089 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9090 int arg2
= (int) 0 ;
9095 PyObject
* obj0
= 0 ;
9096 PyObject
* obj1
= 0 ;
9097 char * kwnames
[] = {
9098 (char *) "self",(char *) "number", NULL
9101 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:StatusBar_PopStatusText",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9102 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9103 if (!SWIG_IsOK(res1
)) {
9104 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_PopStatusText" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9106 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9108 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9109 if (!SWIG_IsOK(ecode2
)) {
9110 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_PopStatusText" "', expected argument " "2"" of type '" "int""'");
9112 arg2
= static_cast< int >(val2
);
9115 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9116 (arg1
)->PopStatusText(arg2
);
9117 wxPyEndAllowThreads(__tstate
);
9118 if (PyErr_Occurred()) SWIG_fail
;
9120 resultobj
= SWIG_Py_Void();
9127 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusWidths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9128 PyObject
*resultobj
= 0;
9129 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9131 int *arg3
= (int *) 0 ;
9134 PyObject
* obj0
= 0 ;
9135 PyObject
* obj1
= 0 ;
9136 char * kwnames
[] = {
9137 (char *) "self",(char *) "widths", NULL
9140 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusWidths",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9141 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9142 if (!SWIG_IsOK(res1
)) {
9143 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusWidths" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9145 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9147 arg2
= PyList_Size(obj1
);
9148 arg3
= int_LIST_helper(obj1
);
9149 if (arg3
== NULL
) SWIG_fail
;
9152 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9153 (arg1
)->SetStatusWidths(arg2
,(int const *)arg3
);
9154 wxPyEndAllowThreads(__tstate
);
9155 if (PyErr_Occurred()) SWIG_fail
;
9157 resultobj
= SWIG_Py_Void();
9159 if (arg3
) delete [] arg3
;
9164 if (arg3
) delete [] arg3
;
9170 SWIGINTERN PyObject
*_wrap_StatusBar_SetStatusStyles(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9171 PyObject
*resultobj
= 0;
9172 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9174 int *arg3
= (int *) 0 ;
9177 PyObject
* obj0
= 0 ;
9178 PyObject
* obj1
= 0 ;
9179 char * kwnames
[] = {
9180 (char *) "self",(char *) "styles", NULL
9183 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetStatusStyles",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9184 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9185 if (!SWIG_IsOK(res1
)) {
9186 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetStatusStyles" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9188 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9190 arg2
= PyList_Size(obj1
);
9191 arg3
= int_LIST_helper(obj1
);
9192 if (arg3
== NULL
) SWIG_fail
;
9195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9196 (arg1
)->SetStatusStyles(arg2
,(int const *)arg3
);
9197 wxPyEndAllowThreads(__tstate
);
9198 if (PyErr_Occurred()) SWIG_fail
;
9200 resultobj
= SWIG_Py_Void();
9202 if (arg3
) delete [] arg3
;
9207 if (arg3
) delete [] arg3
;
9213 SWIGINTERN PyObject
*_wrap_StatusBar_GetFieldRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9214 PyObject
*resultobj
= 0;
9215 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9222 PyObject
* obj0
= 0 ;
9223 PyObject
* obj1
= 0 ;
9224 char * kwnames
[] = {
9225 (char *) "self",(char *) "i", NULL
9228 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_GetFieldRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9229 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9230 if (!SWIG_IsOK(res1
)) {
9231 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9233 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9234 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9235 if (!SWIG_IsOK(ecode2
)) {
9236 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_GetFieldRect" "', expected argument " "2"" of type '" "int""'");
9238 arg2
= static_cast< int >(val2
);
9240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9241 result
= wxStatusBar_GetFieldRect(arg1
,arg2
);
9242 wxPyEndAllowThreads(__tstate
);
9243 if (PyErr_Occurred()) SWIG_fail
;
9245 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
9252 SWIGINTERN PyObject
*_wrap_StatusBar_SetMinHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9253 PyObject
*resultobj
= 0;
9254 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9260 PyObject
* obj0
= 0 ;
9261 PyObject
* obj1
= 0 ;
9262 char * kwnames
[] = {
9263 (char *) "self",(char *) "height", NULL
9266 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:StatusBar_SetMinHeight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9267 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9268 if (!SWIG_IsOK(res1
)) {
9269 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "1"" of type '" "wxStatusBar *""'");
9271 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9272 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9273 if (!SWIG_IsOK(ecode2
)) {
9274 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "StatusBar_SetMinHeight" "', expected argument " "2"" of type '" "int""'");
9276 arg2
= static_cast< int >(val2
);
9278 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9279 (arg1
)->SetMinHeight(arg2
);
9280 wxPyEndAllowThreads(__tstate
);
9281 if (PyErr_Occurred()) SWIG_fail
;
9283 resultobj
= SWIG_Py_Void();
9290 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9291 PyObject
*resultobj
= 0;
9292 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9296 PyObject
*swig_obj
[1] ;
9298 if (!args
) SWIG_fail
;
9300 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9301 if (!SWIG_IsOK(res1
)) {
9302 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderX" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9304 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9306 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9307 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderX();
9308 wxPyEndAllowThreads(__tstate
);
9309 if (PyErr_Occurred()) SWIG_fail
;
9311 resultobj
= SWIG_From_int(static_cast< int >(result
));
9318 SWIGINTERN PyObject
*_wrap_StatusBar_GetBorderY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9319 PyObject
*resultobj
= 0;
9320 wxStatusBar
*arg1
= (wxStatusBar
*) 0 ;
9324 PyObject
*swig_obj
[1] ;
9326 if (!args
) SWIG_fail
;
9328 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxStatusBar
, 0 | 0 );
9329 if (!SWIG_IsOK(res1
)) {
9330 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "StatusBar_GetBorderY" "', expected argument " "1"" of type '" "wxStatusBar const *""'");
9332 arg1
= reinterpret_cast< wxStatusBar
* >(argp1
);
9334 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9335 result
= (int)((wxStatusBar
const *)arg1
)->GetBorderY();
9336 wxPyEndAllowThreads(__tstate
);
9337 if (PyErr_Occurred()) SWIG_fail
;
9339 resultobj
= SWIG_From_int(static_cast< int >(result
));
9346 SWIGINTERN PyObject
*_wrap_StatusBar_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9347 PyObject
*resultobj
= 0;
9348 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
9349 SwigValueWrapper
<wxVisualAttributes
> result
;
9352 PyObject
* obj0
= 0 ;
9353 char * kwnames
[] = {
9354 (char *) "variant", NULL
9357 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:StatusBar_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
9359 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
9360 if (!SWIG_IsOK(ecode1
)) {
9361 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "StatusBar_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
9363 arg1
= static_cast< wxWindowVariant
>(val1
);
9366 if (!wxPyCheckForApp()) SWIG_fail
;
9367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9368 result
= wxStatusBar::GetClassDefaultAttributes(arg1
);
9369 wxPyEndAllowThreads(__tstate
);
9370 if (PyErr_Occurred()) SWIG_fail
;
9372 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
9379 SWIGINTERN PyObject
*StatusBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
9382 SWIG_TypeNewClientData(SWIGTYPE_p_wxStatusBar
, SWIG_NewClientData(obj
));
9383 return SWIG_Py_Void();
9386 SWIGINTERN PyObject
*StatusBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9387 return SWIG_Python_InitShadowInstance(args
);
9390 SWIGINTERN
int SplitterNameStr_set(PyObject
*) {
9391 SWIG_Error(SWIG_AttributeError
,"Variable SplitterNameStr is read-only.");
9396 SWIGINTERN PyObject
*SplitterNameStr_get(void) {
9397 PyObject
*pyobj
= 0;
9401 pyobj
= PyUnicode_FromWideChar((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9403 pyobj
= PyString_FromStringAndSize((&wxPySplitterNameStr
)->c_str(), (&wxPySplitterNameStr
)->Len());
9410 SWIGINTERN PyObject
*_wrap_new_SplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9411 PyObject
*resultobj
= 0;
9412 wxWindow
*arg1
= (wxWindow
*) 0 ;
9413 int arg2
= (int) -1 ;
9414 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
9415 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
9416 wxSize
const &arg4_defvalue
= wxDefaultSize
;
9417 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
9418 long arg5
= (long) wxSP_3D
;
9419 wxString
const &arg6_defvalue
= wxPySplitterNameStr
;
9420 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
9421 wxSplitterWindow
*result
= 0 ;
9430 bool temp6
= false ;
9431 PyObject
* obj0
= 0 ;
9432 PyObject
* obj1
= 0 ;
9433 PyObject
* obj2
= 0 ;
9434 PyObject
* obj3
= 0 ;
9435 PyObject
* obj4
= 0 ;
9436 PyObject
* obj5
= 0 ;
9437 char * kwnames
[] = {
9438 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9441 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SplitterWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
9442 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9443 if (!SWIG_IsOK(res1
)) {
9444 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SplitterWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
9446 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
9448 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9449 if (!SWIG_IsOK(ecode2
)) {
9450 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SplitterWindow" "', expected argument " "2"" of type '" "int""'");
9452 arg2
= static_cast< int >(val2
);
9457 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
9463 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
9467 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
9468 if (!SWIG_IsOK(ecode5
)) {
9469 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SplitterWindow" "', expected argument " "5"" of type '" "long""'");
9471 arg5
= static_cast< long >(val5
);
9475 arg6
= wxString_in_helper(obj5
);
9476 if (arg6
== NULL
) SWIG_fail
;
9481 if (!wxPyCheckForApp()) SWIG_fail
;
9482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9483 result
= (wxSplitterWindow
*)new wxSplitterWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
9484 wxPyEndAllowThreads(__tstate
);
9485 if (PyErr_Occurred()) SWIG_fail
;
9487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_NEW
| 0 );
9502 SWIGINTERN PyObject
*_wrap_new_PreSplitterWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9503 PyObject
*resultobj
= 0;
9504 wxSplitterWindow
*result
= 0 ;
9506 if (!SWIG_Python_UnpackTuple(args
,"new_PreSplitterWindow",0,0,0)) SWIG_fail
;
9508 if (!wxPyCheckForApp()) SWIG_fail
;
9509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9510 result
= (wxSplitterWindow
*)new wxSplitterWindow();
9511 wxPyEndAllowThreads(__tstate
);
9512 if (PyErr_Occurred()) SWIG_fail
;
9514 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterWindow
, SWIG_POINTER_OWN
| 0 );
9521 SWIGINTERN PyObject
*_wrap_SplitterWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9522 PyObject
*resultobj
= 0;
9523 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9524 wxWindow
*arg2
= (wxWindow
*) 0 ;
9525 int arg3
= (int) -1 ;
9526 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
9527 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
9528 wxSize
const &arg5_defvalue
= wxDefaultSize
;
9529 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
9530 long arg6
= (long) wxSP_3D
;
9531 wxString
const &arg7_defvalue
= wxPySplitterNameStr
;
9532 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
9544 bool temp7
= false ;
9545 PyObject
* obj0
= 0 ;
9546 PyObject
* obj1
= 0 ;
9547 PyObject
* obj2
= 0 ;
9548 PyObject
* obj3
= 0 ;
9549 PyObject
* obj4
= 0 ;
9550 PyObject
* obj5
= 0 ;
9551 PyObject
* obj6
= 0 ;
9552 char * kwnames
[] = {
9553 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
9556 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SplitterWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
9557 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9558 if (!SWIG_IsOK(res1
)) {
9559 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Create" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9561 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9562 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9563 if (!SWIG_IsOK(res2
)) {
9564 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
9566 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9568 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
9569 if (!SWIG_IsOK(ecode3
)) {
9570 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_Create" "', expected argument " "3"" of type '" "int""'");
9572 arg3
= static_cast< int >(val3
);
9577 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
9583 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
9587 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
9588 if (!SWIG_IsOK(ecode6
)) {
9589 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SplitterWindow_Create" "', expected argument " "6"" of type '" "long""'");
9591 arg6
= static_cast< long >(val6
);
9595 arg7
= wxString_in_helper(obj6
);
9596 if (arg7
== NULL
) SWIG_fail
;
9601 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9602 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
9603 wxPyEndAllowThreads(__tstate
);
9604 if (PyErr_Occurred()) SWIG_fail
;
9607 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9623 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow1(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9624 PyObject
*resultobj
= 0;
9625 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9626 wxWindow
*result
= 0 ;
9629 PyObject
*swig_obj
[1] ;
9631 if (!args
) SWIG_fail
;
9633 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9634 if (!SWIG_IsOK(res1
)) {
9635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow1" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9637 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9639 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9640 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow1();
9641 wxPyEndAllowThreads(__tstate
);
9642 if (PyErr_Occurred()) SWIG_fail
;
9645 resultobj
= wxPyMake_wxObject(result
, 0);
9653 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetWindow2(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9654 PyObject
*resultobj
= 0;
9655 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9656 wxWindow
*result
= 0 ;
9659 PyObject
*swig_obj
[1] ;
9661 if (!args
) SWIG_fail
;
9663 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9664 if (!SWIG_IsOK(res1
)) {
9665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetWindow2" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9667 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9670 result
= (wxWindow
*)((wxSplitterWindow
const *)arg1
)->GetWindow2();
9671 wxPyEndAllowThreads(__tstate
);
9672 if (PyErr_Occurred()) SWIG_fail
;
9675 resultobj
= wxPyMake_wxObject(result
, 0);
9683 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9684 PyObject
*resultobj
= 0;
9685 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9691 PyObject
* obj0
= 0 ;
9692 PyObject
* obj1
= 0 ;
9693 char * kwnames
[] = {
9694 (char *) "self",(char *) "mode", NULL
9697 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSplitMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9698 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9699 if (!SWIG_IsOK(res1
)) {
9700 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9702 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9703 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
9704 if (!SWIG_IsOK(ecode2
)) {
9705 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSplitMode" "', expected argument " "2"" of type '" "int""'");
9707 arg2
= static_cast< int >(val2
);
9709 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9710 (arg1
)->SetSplitMode(arg2
);
9711 wxPyEndAllowThreads(__tstate
);
9712 if (PyErr_Occurred()) SWIG_fail
;
9714 resultobj
= SWIG_Py_Void();
9721 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSplitMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
9722 PyObject
*resultobj
= 0;
9723 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9727 PyObject
*swig_obj
[1] ;
9729 if (!args
) SWIG_fail
;
9731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9732 if (!SWIG_IsOK(res1
)) {
9733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSplitMode" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
9735 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9738 result
= (wxSplitMode
)((wxSplitterWindow
const *)arg1
)->GetSplitMode();
9739 wxPyEndAllowThreads(__tstate
);
9740 if (PyErr_Occurred()) SWIG_fail
;
9742 resultobj
= SWIG_From_int(static_cast< int >(result
));
9749 SWIGINTERN PyObject
*_wrap_SplitterWindow_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9750 PyObject
*resultobj
= 0;
9751 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9752 wxWindow
*arg2
= (wxWindow
*) 0 ;
9757 PyObject
* obj0
= 0 ;
9758 PyObject
* obj1
= 0 ;
9759 char * kwnames
[] = {
9760 (char *) "self",(char *) "window", NULL
9763 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_Initialize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9764 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9765 if (!SWIG_IsOK(res1
)) {
9766 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Initialize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9768 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9769 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9770 if (!SWIG_IsOK(res2
)) {
9771 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Initialize" "', expected argument " "2"" of type '" "wxWindow *""'");
9773 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9775 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9776 (arg1
)->Initialize(arg2
);
9777 wxPyEndAllowThreads(__tstate
);
9778 if (PyErr_Occurred()) SWIG_fail
;
9780 resultobj
= SWIG_Py_Void();
9787 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitVertically(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9788 PyObject
*resultobj
= 0;
9789 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9790 wxWindow
*arg2
= (wxWindow
*) 0 ;
9791 wxWindow
*arg3
= (wxWindow
*) 0 ;
9792 int arg4
= (int) 0 ;
9802 PyObject
* obj0
= 0 ;
9803 PyObject
* obj1
= 0 ;
9804 PyObject
* obj2
= 0 ;
9805 PyObject
* obj3
= 0 ;
9806 char * kwnames
[] = {
9807 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9810 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitVertically",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9811 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9812 if (!SWIG_IsOK(res1
)) {
9813 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9815 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9816 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9817 if (!SWIG_IsOK(res2
)) {
9818 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "2"" of type '" "wxWindow *""'");
9820 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9821 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9822 if (!SWIG_IsOK(res3
)) {
9823 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "3"" of type '" "wxWindow *""'");
9825 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9827 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9828 if (!SWIG_IsOK(ecode4
)) {
9829 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitVertically" "', expected argument " "4"" of type '" "int""'");
9831 arg4
= static_cast< int >(val4
);
9834 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9835 result
= (bool)(arg1
)->SplitVertically(arg2
,arg3
,arg4
);
9836 wxPyEndAllowThreads(__tstate
);
9837 if (PyErr_Occurred()) SWIG_fail
;
9840 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9848 SWIGINTERN PyObject
*_wrap_SplitterWindow_SplitHorizontally(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9849 PyObject
*resultobj
= 0;
9850 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9851 wxWindow
*arg2
= (wxWindow
*) 0 ;
9852 wxWindow
*arg3
= (wxWindow
*) 0 ;
9853 int arg4
= (int) 0 ;
9863 PyObject
* obj0
= 0 ;
9864 PyObject
* obj1
= 0 ;
9865 PyObject
* obj2
= 0 ;
9866 PyObject
* obj3
= 0 ;
9867 char * kwnames
[] = {
9868 (char *) "self",(char *) "window1",(char *) "window2",(char *) "sashPosition", NULL
9871 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SplitHorizontally",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
9872 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9873 if (!SWIG_IsOK(res1
)) {
9874 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9876 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9877 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9878 if (!SWIG_IsOK(res2
)) {
9879 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "2"" of type '" "wxWindow *""'");
9881 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9882 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9883 if (!SWIG_IsOK(res3
)) {
9884 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "3"" of type '" "wxWindow *""'");
9886 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9888 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
9889 if (!SWIG_IsOK(ecode4
)) {
9890 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SplitHorizontally" "', expected argument " "4"" of type '" "int""'");
9892 arg4
= static_cast< int >(val4
);
9895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9896 result
= (bool)(arg1
)->SplitHorizontally(arg2
,arg3
,arg4
);
9897 wxPyEndAllowThreads(__tstate
);
9898 if (PyErr_Occurred()) SWIG_fail
;
9901 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9909 SWIGINTERN PyObject
*_wrap_SplitterWindow_Unsplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9910 PyObject
*resultobj
= 0;
9911 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9912 wxWindow
*arg2
= (wxWindow
*) NULL
;
9918 PyObject
* obj0
= 0 ;
9919 PyObject
* obj1
= 0 ;
9920 char * kwnames
[] = {
9921 (char *) "self",(char *) "toRemove", NULL
9924 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:SplitterWindow_Unsplit",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
9925 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9926 if (!SWIG_IsOK(res1
)) {
9927 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9929 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9931 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9932 if (!SWIG_IsOK(res2
)) {
9933 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_Unsplit" "', expected argument " "2"" of type '" "wxWindow *""'");
9935 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9938 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9939 result
= (bool)(arg1
)->Unsplit(arg2
);
9940 wxPyEndAllowThreads(__tstate
);
9941 if (PyErr_Occurred()) SWIG_fail
;
9944 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
9952 SWIGINTERN PyObject
*_wrap_SplitterWindow_ReplaceWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
9953 PyObject
*resultobj
= 0;
9954 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
9955 wxWindow
*arg2
= (wxWindow
*) 0 ;
9956 wxWindow
*arg3
= (wxWindow
*) 0 ;
9964 PyObject
* obj0
= 0 ;
9965 PyObject
* obj1
= 0 ;
9966 PyObject
* obj2
= 0 ;
9967 char * kwnames
[] = {
9968 (char *) "self",(char *) "winOld",(char *) "winNew", NULL
9971 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SplitterWindow_ReplaceWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
9972 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
9973 if (!SWIG_IsOK(res1
)) {
9974 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
9976 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
9977 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9978 if (!SWIG_IsOK(res2
)) {
9979 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
9981 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
9982 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
9983 if (!SWIG_IsOK(res3
)) {
9984 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "SplitterWindow_ReplaceWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
9986 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
9988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
9989 result
= (bool)(arg1
)->ReplaceWindow(arg2
,arg3
);
9990 wxPyEndAllowThreads(__tstate
);
9991 if (PyErr_Occurred()) SWIG_fail
;
9994 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10002 SWIGINTERN PyObject
*_wrap_SplitterWindow_UpdateSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10003 PyObject
*resultobj
= 0;
10004 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10007 PyObject
*swig_obj
[1] ;
10009 if (!args
) SWIG_fail
;
10010 swig_obj
[0] = args
;
10011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10012 if (!SWIG_IsOK(res1
)) {
10013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_UpdateSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10015 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10018 (arg1
)->UpdateSize();
10019 wxPyEndAllowThreads(__tstate
);
10020 if (PyErr_Occurred()) SWIG_fail
;
10022 resultobj
= SWIG_Py_Void();
10029 SWIGINTERN PyObject
*_wrap_SplitterWindow_IsSplit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10030 PyObject
*resultobj
= 0;
10031 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10035 PyObject
*swig_obj
[1] ;
10037 if (!args
) SWIG_fail
;
10038 swig_obj
[0] = args
;
10039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10040 if (!SWIG_IsOK(res1
)) {
10041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_IsSplit" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10043 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10046 result
= (bool)((wxSplitterWindow
const *)arg1
)->IsSplit();
10047 wxPyEndAllowThreads(__tstate
);
10048 if (PyErr_Occurred()) SWIG_fail
;
10051 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10059 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10060 PyObject
*resultobj
= 0;
10061 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10067 PyObject
* obj0
= 0 ;
10068 PyObject
* obj1
= 0 ;
10069 char * kwnames
[] = {
10070 (char *) "self",(char *) "width", NULL
10073 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10074 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10075 if (!SWIG_IsOK(res1
)) {
10076 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10078 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10079 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10080 if (!SWIG_IsOK(ecode2
)) {
10081 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashSize" "', expected argument " "2"" of type '" "int""'");
10083 arg2
= static_cast< int >(val2
);
10085 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10086 (arg1
)->SetSashSize(arg2
);
10087 wxPyEndAllowThreads(__tstate
);
10088 if (PyErr_Occurred()) SWIG_fail
;
10090 resultobj
= SWIG_Py_Void();
10097 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10098 PyObject
*resultobj
= 0;
10099 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10105 PyObject
* obj0
= 0 ;
10106 PyObject
* obj1
= 0 ;
10107 char * kwnames
[] = {
10108 (char *) "self",(char *) "width", NULL
10111 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10112 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10113 if (!SWIG_IsOK(res1
)) {
10114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10116 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10117 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10118 if (!SWIG_IsOK(ecode2
)) {
10119 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetBorderSize" "', expected argument " "2"" of type '" "int""'");
10121 arg2
= static_cast< int >(val2
);
10123 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10124 (arg1
)->SetBorderSize(arg2
);
10125 wxPyEndAllowThreads(__tstate
);
10126 if (PyErr_Occurred()) SWIG_fail
;
10128 resultobj
= SWIG_Py_Void();
10135 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10136 PyObject
*resultobj
= 0;
10137 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10141 PyObject
*swig_obj
[1] ;
10143 if (!args
) SWIG_fail
;
10144 swig_obj
[0] = args
;
10145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10146 if (!SWIG_IsOK(res1
)) {
10147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10149 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10152 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashSize();
10153 wxPyEndAllowThreads(__tstate
);
10154 if (PyErr_Occurred()) SWIG_fail
;
10156 resultobj
= SWIG_From_int(static_cast< int >(result
));
10163 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10164 PyObject
*resultobj
= 0;
10165 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10169 PyObject
*swig_obj
[1] ;
10171 if (!args
) SWIG_fail
;
10172 swig_obj
[0] = args
;
10173 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10174 if (!SWIG_IsOK(res1
)) {
10175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetBorderSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10177 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10180 result
= (int)((wxSplitterWindow
const *)arg1
)->GetBorderSize();
10181 wxPyEndAllowThreads(__tstate
);
10182 if (PyErr_Occurred()) SWIG_fail
;
10184 resultobj
= SWIG_From_int(static_cast< int >(result
));
10191 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10192 PyObject
*resultobj
= 0;
10193 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10195 bool arg3
= (bool) true ;
10202 PyObject
* obj0
= 0 ;
10203 PyObject
* obj1
= 0 ;
10204 PyObject
* obj2
= 0 ;
10205 char * kwnames
[] = {
10206 (char *) "self",(char *) "position",(char *) "redraw", NULL
10209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:SplitterWindow_SetSashPosition",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
10210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10211 if (!SWIG_IsOK(res1
)) {
10212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10214 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10216 if (!SWIG_IsOK(ecode2
)) {
10217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10219 arg2
= static_cast< int >(val2
);
10221 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
10222 if (!SWIG_IsOK(ecode3
)) {
10223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SetSashPosition" "', expected argument " "3"" of type '" "bool""'");
10225 arg3
= static_cast< bool >(val3
);
10228 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10229 (arg1
)->SetSashPosition(arg2
,arg3
);
10230 wxPyEndAllowThreads(__tstate
);
10231 if (PyErr_Occurred()) SWIG_fail
;
10233 resultobj
= SWIG_Py_Void();
10240 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10241 PyObject
*resultobj
= 0;
10242 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10246 PyObject
*swig_obj
[1] ;
10248 if (!args
) SWIG_fail
;
10249 swig_obj
[0] = args
;
10250 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10251 if (!SWIG_IsOK(res1
)) {
10252 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10254 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10256 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10257 result
= (int)((wxSplitterWindow
const *)arg1
)->GetSashPosition();
10258 wxPyEndAllowThreads(__tstate
);
10259 if (PyErr_Occurred()) SWIG_fail
;
10261 resultobj
= SWIG_From_int(static_cast< int >(result
));
10268 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10269 PyObject
*resultobj
= 0;
10270 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10276 PyObject
* obj0
= 0 ;
10277 PyObject
* obj1
= 0 ;
10278 char * kwnames
[] = {
10279 (char *) "self",(char *) "gravity", NULL
10282 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetSashGravity",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10283 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10284 if (!SWIG_IsOK(res1
)) {
10285 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10287 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10288 ecode2
= SWIG_AsVal_double(obj1
, &val2
);
10289 if (!SWIG_IsOK(ecode2
)) {
10290 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetSashGravity" "', expected argument " "2"" of type '" "double""'");
10292 arg2
= static_cast< double >(val2
);
10294 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10295 (arg1
)->SetSashGravity(arg2
);
10296 wxPyEndAllowThreads(__tstate
);
10297 if (PyErr_Occurred()) SWIG_fail
;
10299 resultobj
= SWIG_Py_Void();
10306 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetSashGravity(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10307 PyObject
*resultobj
= 0;
10308 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10312 PyObject
*swig_obj
[1] ;
10314 if (!args
) SWIG_fail
;
10315 swig_obj
[0] = args
;
10316 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10317 if (!SWIG_IsOK(res1
)) {
10318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetSashGravity" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10320 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10322 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10323 result
= (double)((wxSplitterWindow
const *)arg1
)->GetSashGravity();
10324 wxPyEndAllowThreads(__tstate
);
10325 if (PyErr_Occurred()) SWIG_fail
;
10327 resultobj
= SWIG_From_double(static_cast< double >(result
));
10334 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10335 PyObject
*resultobj
= 0;
10336 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10342 PyObject
* obj0
= 0 ;
10343 PyObject
* obj1
= 0 ;
10344 char * kwnames
[] = {
10345 (char *) "self",(char *) "min", NULL
10348 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetMinimumPaneSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10349 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10350 if (!SWIG_IsOK(res1
)) {
10351 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10353 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10354 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10355 if (!SWIG_IsOK(ecode2
)) {
10356 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetMinimumPaneSize" "', expected argument " "2"" of type '" "int""'");
10358 arg2
= static_cast< int >(val2
);
10360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10361 (arg1
)->SetMinimumPaneSize(arg2
);
10362 wxPyEndAllowThreads(__tstate
);
10363 if (PyErr_Occurred()) SWIG_fail
;
10365 resultobj
= SWIG_Py_Void();
10372 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetMinimumPaneSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10373 PyObject
*resultobj
= 0;
10374 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10378 PyObject
*swig_obj
[1] ;
10380 if (!args
) SWIG_fail
;
10381 swig_obj
[0] = args
;
10382 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10383 if (!SWIG_IsOK(res1
)) {
10384 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetMinimumPaneSize" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10386 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10388 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10389 result
= (int)((wxSplitterWindow
const *)arg1
)->GetMinimumPaneSize();
10390 wxPyEndAllowThreads(__tstate
);
10391 if (PyErr_Occurred()) SWIG_fail
;
10393 resultobj
= SWIG_From_int(static_cast< int >(result
));
10400 SWIGINTERN PyObject
*_wrap_SplitterWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10401 PyObject
*resultobj
= 0;
10402 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10405 int arg4
= (int) 5 ;
10415 PyObject
* obj0
= 0 ;
10416 PyObject
* obj1
= 0 ;
10417 PyObject
* obj2
= 0 ;
10418 PyObject
* obj3
= 0 ;
10419 char * kwnames
[] = {
10420 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
10423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SplitterWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
10424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10425 if (!SWIG_IsOK(res1
)) {
10426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10428 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10430 if (!SWIG_IsOK(ecode2
)) {
10431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
10433 arg2
= static_cast< int >(val2
);
10434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
10435 if (!SWIG_IsOK(ecode3
)) {
10436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
10438 arg3
= static_cast< int >(val3
);
10440 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
10441 if (!SWIG_IsOK(ecode4
)) {
10442 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SplitterWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
10444 arg4
= static_cast< int >(val4
);
10447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10448 result
= (bool)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
10449 wxPyEndAllowThreads(__tstate
);
10450 if (PyErr_Occurred()) SWIG_fail
;
10453 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10461 SWIGINTERN PyObject
*_wrap_SplitterWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10462 PyObject
*resultobj
= 0;
10463 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10466 PyObject
*swig_obj
[1] ;
10468 if (!args
) SWIG_fail
;
10469 swig_obj
[0] = args
;
10470 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10471 if (!SWIG_IsOK(res1
)) {
10472 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10474 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10477 (arg1
)->SizeWindows();
10478 wxPyEndAllowThreads(__tstate
);
10479 if (PyErr_Occurred()) SWIG_fail
;
10481 resultobj
= SWIG_Py_Void();
10488 SWIGINTERN PyObject
*_wrap_SplitterWindow_SetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10489 PyObject
*resultobj
= 0;
10490 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10496 PyObject
* obj0
= 0 ;
10497 PyObject
* obj1
= 0 ;
10498 char * kwnames
[] = {
10499 (char *) "self",(char *) "needUpdating", NULL
10502 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterWindow_SetNeedUpdating",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10503 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10504 if (!SWIG_IsOK(res1
)) {
10505 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow *""'");
10507 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10508 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
10509 if (!SWIG_IsOK(ecode2
)) {
10510 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterWindow_SetNeedUpdating" "', expected argument " "2"" of type '" "bool""'");
10512 arg2
= static_cast< bool >(val2
);
10514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10515 (arg1
)->SetNeedUpdating(arg2
);
10516 wxPyEndAllowThreads(__tstate
);
10517 if (PyErr_Occurred()) SWIG_fail
;
10519 resultobj
= SWIG_Py_Void();
10526 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetNeedUpdating(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10527 PyObject
*resultobj
= 0;
10528 wxSplitterWindow
*arg1
= (wxSplitterWindow
*) 0 ;
10532 PyObject
*swig_obj
[1] ;
10534 if (!args
) SWIG_fail
;
10535 swig_obj
[0] = args
;
10536 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10537 if (!SWIG_IsOK(res1
)) {
10538 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterWindow_GetNeedUpdating" "', expected argument " "1"" of type '" "wxSplitterWindow const *""'");
10540 arg1
= reinterpret_cast< wxSplitterWindow
* >(argp1
);
10542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10543 result
= (bool)((wxSplitterWindow
const *)arg1
)->GetNeedUpdating();
10544 wxPyEndAllowThreads(__tstate
);
10545 if (PyErr_Occurred()) SWIG_fail
;
10548 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
10556 SWIGINTERN PyObject
*_wrap_SplitterWindow_GetClassDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10557 PyObject
*resultobj
= 0;
10558 wxWindowVariant arg1
= (wxWindowVariant
) wxWINDOW_VARIANT_NORMAL
;
10559 SwigValueWrapper
<wxVisualAttributes
> result
;
10562 PyObject
* obj0
= 0 ;
10563 char * kwnames
[] = {
10564 (char *) "variant", NULL
10567 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:SplitterWindow_GetClassDefaultAttributes",kwnames
,&obj0
)) SWIG_fail
;
10569 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10570 if (!SWIG_IsOK(ecode1
)) {
10571 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "SplitterWindow_GetClassDefaultAttributes" "', expected argument " "1"" of type '" "wxWindowVariant""'");
10573 arg1
= static_cast< wxWindowVariant
>(val1
);
10576 if (!wxPyCheckForApp()) SWIG_fail
;
10577 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10578 result
= wxSplitterWindow::GetClassDefaultAttributes(arg1
);
10579 wxPyEndAllowThreads(__tstate
);
10580 if (PyErr_Occurred()) SWIG_fail
;
10582 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
10589 SWIGINTERN PyObject
*SplitterWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10591 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10592 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterWindow
, SWIG_NewClientData(obj
));
10593 return SWIG_Py_Void();
10596 SWIGINTERN PyObject
*SplitterWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10597 return SWIG_Python_InitShadowInstance(args
);
10600 SWIGINTERN PyObject
*_wrap_new_SplitterEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10601 PyObject
*resultobj
= 0;
10602 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
10603 wxSplitterWindow
*arg2
= (wxSplitterWindow
*) (wxSplitterWindow
*) NULL
;
10604 wxSplitterEvent
*result
= 0 ;
10609 PyObject
* obj0
= 0 ;
10610 PyObject
* obj1
= 0 ;
10611 char * kwnames
[] = {
10612 (char *) "type",(char *) "splitter", NULL
10615 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SplitterEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10617 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
10618 if (!SWIG_IsOK(ecode1
)) {
10619 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SplitterEvent" "', expected argument " "1"" of type '" "wxEventType""'");
10621 arg1
= static_cast< wxEventType
>(val1
);
10624 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxSplitterWindow
, 0 | 0 );
10625 if (!SWIG_IsOK(res2
)) {
10626 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_SplitterEvent" "', expected argument " "2"" of type '" "wxSplitterWindow *""'");
10628 arg2
= reinterpret_cast< wxSplitterWindow
* >(argp2
);
10631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10632 result
= (wxSplitterEvent
*)new wxSplitterEvent(arg1
,arg2
);
10633 wxPyEndAllowThreads(__tstate
);
10634 if (PyErr_Occurred()) SWIG_fail
;
10636 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSplitterEvent
, SWIG_POINTER_NEW
| 0 );
10643 SWIGINTERN PyObject
*_wrap_SplitterEvent_SetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10644 PyObject
*resultobj
= 0;
10645 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10651 PyObject
* obj0
= 0 ;
10652 PyObject
* obj1
= 0 ;
10653 char * kwnames
[] = {
10654 (char *) "self",(char *) "pos", NULL
10657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SplitterEvent_SetSashPosition",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
10658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10659 if (!SWIG_IsOK(res1
)) {
10660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent *""'");
10662 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10663 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10664 if (!SWIG_IsOK(ecode2
)) {
10665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SplitterEvent_SetSashPosition" "', expected argument " "2"" of type '" "int""'");
10667 arg2
= static_cast< int >(val2
);
10669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10670 (arg1
)->SetSashPosition(arg2
);
10671 wxPyEndAllowThreads(__tstate
);
10672 if (PyErr_Occurred()) SWIG_fail
;
10674 resultobj
= SWIG_Py_Void();
10681 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetSashPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10682 PyObject
*resultobj
= 0;
10683 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10687 PyObject
*swig_obj
[1] ;
10689 if (!args
) SWIG_fail
;
10690 swig_obj
[0] = args
;
10691 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10692 if (!SWIG_IsOK(res1
)) {
10693 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetSashPosition" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10695 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10697 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10698 result
= (int)((wxSplitterEvent
const *)arg1
)->GetSashPosition();
10699 wxPyEndAllowThreads(__tstate
);
10700 if (PyErr_Occurred()) SWIG_fail
;
10702 resultobj
= SWIG_From_int(static_cast< int >(result
));
10709 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetWindowBeingRemoved(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10710 PyObject
*resultobj
= 0;
10711 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10712 wxWindow
*result
= 0 ;
10715 PyObject
*swig_obj
[1] ;
10717 if (!args
) SWIG_fail
;
10718 swig_obj
[0] = args
;
10719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10720 if (!SWIG_IsOK(res1
)) {
10721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetWindowBeingRemoved" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10723 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10726 result
= (wxWindow
*)((wxSplitterEvent
const *)arg1
)->GetWindowBeingRemoved();
10727 wxPyEndAllowThreads(__tstate
);
10728 if (PyErr_Occurred()) SWIG_fail
;
10731 resultobj
= wxPyMake_wxObject(result
, 0);
10739 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10740 PyObject
*resultobj
= 0;
10741 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10745 PyObject
*swig_obj
[1] ;
10747 if (!args
) SWIG_fail
;
10748 swig_obj
[0] = args
;
10749 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10750 if (!SWIG_IsOK(res1
)) {
10751 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetX" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10753 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10756 result
= (int)((wxSplitterEvent
const *)arg1
)->GetX();
10757 wxPyEndAllowThreads(__tstate
);
10758 if (PyErr_Occurred()) SWIG_fail
;
10760 resultobj
= SWIG_From_int(static_cast< int >(result
));
10767 SWIGINTERN PyObject
*_wrap_SplitterEvent_GetY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10768 PyObject
*resultobj
= 0;
10769 wxSplitterEvent
*arg1
= (wxSplitterEvent
*) 0 ;
10773 PyObject
*swig_obj
[1] ;
10775 if (!args
) SWIG_fail
;
10776 swig_obj
[0] = args
;
10777 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSplitterEvent
, 0 | 0 );
10778 if (!SWIG_IsOK(res1
)) {
10779 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SplitterEvent_GetY" "', expected argument " "1"" of type '" "wxSplitterEvent const *""'");
10781 arg1
= reinterpret_cast< wxSplitterEvent
* >(argp1
);
10783 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10784 result
= (int)((wxSplitterEvent
const *)arg1
)->GetY();
10785 wxPyEndAllowThreads(__tstate
);
10786 if (PyErr_Occurred()) SWIG_fail
;
10788 resultobj
= SWIG_From_int(static_cast< int >(result
));
10795 SWIGINTERN PyObject
*SplitterEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10797 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
10798 SWIG_TypeNewClientData(SWIGTYPE_p_wxSplitterEvent
, SWIG_NewClientData(obj
));
10799 return SWIG_Py_Void();
10802 SWIGINTERN PyObject
*SplitterEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10803 return SWIG_Python_InitShadowInstance(args
);
10806 SWIGINTERN
int SashNameStr_set(PyObject
*) {
10807 SWIG_Error(SWIG_AttributeError
,"Variable SashNameStr is read-only.");
10812 SWIGINTERN PyObject
*SashNameStr_get(void) {
10813 PyObject
*pyobj
= 0;
10817 pyobj
= PyUnicode_FromWideChar((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10819 pyobj
= PyString_FromStringAndSize((&wxPySashNameStr
)->c_str(), (&wxPySashNameStr
)->Len());
10826 SWIGINTERN
int SashLayoutNameStr_set(PyObject
*) {
10827 SWIG_Error(SWIG_AttributeError
,"Variable SashLayoutNameStr is read-only.");
10832 SWIGINTERN PyObject
*SashLayoutNameStr_get(void) {
10833 PyObject
*pyobj
= 0;
10837 pyobj
= PyUnicode_FromWideChar((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10839 pyobj
= PyString_FromStringAndSize((&wxPySashLayoutNameStr
)->c_str(), (&wxPySashLayoutNameStr
)->Len());
10846 SWIGINTERN PyObject
*_wrap_new_SashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10847 PyObject
*resultobj
= 0;
10848 wxWindow
*arg1
= (wxWindow
*) 0 ;
10849 int arg2
= (int) -1 ;
10850 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
10851 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
10852 wxSize
const &arg4_defvalue
= wxDefaultSize
;
10853 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
10854 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10855 wxString
const &arg6_defvalue
= wxPySashNameStr
;
10856 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
10857 wxSashWindow
*result
= 0 ;
10866 bool temp6
= false ;
10867 PyObject
* obj0
= 0 ;
10868 PyObject
* obj1
= 0 ;
10869 PyObject
* obj2
= 0 ;
10870 PyObject
* obj3
= 0 ;
10871 PyObject
* obj4
= 0 ;
10872 PyObject
* obj5
= 0 ;
10873 char * kwnames
[] = {
10874 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10877 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
10878 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10879 if (!SWIG_IsOK(res1
)) {
10880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
10882 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
10884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
10885 if (!SWIG_IsOK(ecode2
)) {
10886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashWindow" "', expected argument " "2"" of type '" "int""'");
10888 arg2
= static_cast< int >(val2
);
10893 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
10899 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
10903 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
10904 if (!SWIG_IsOK(ecode5
)) {
10905 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashWindow" "', expected argument " "5"" of type '" "long""'");
10907 arg5
= static_cast< long >(val5
);
10911 arg6
= wxString_in_helper(obj5
);
10912 if (arg6
== NULL
) SWIG_fail
;
10917 if (!wxPyCheckForApp()) SWIG_fail
;
10918 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10919 result
= (wxSashWindow
*)new wxSashWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
10920 wxPyEndAllowThreads(__tstate
);
10921 if (PyErr_Occurred()) SWIG_fail
;
10923 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_NEW
| 0 );
10938 SWIGINTERN PyObject
*_wrap_new_PreSashWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
10939 PyObject
*resultobj
= 0;
10940 wxSashWindow
*result
= 0 ;
10942 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashWindow",0,0,0)) SWIG_fail
;
10944 if (!wxPyCheckForApp()) SWIG_fail
;
10945 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
10946 result
= (wxSashWindow
*)new wxSashWindow();
10947 wxPyEndAllowThreads(__tstate
);
10948 if (PyErr_Occurred()) SWIG_fail
;
10950 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashWindow
, SWIG_POINTER_OWN
| 0 );
10957 SWIGINTERN PyObject
*_wrap_SashWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
10958 PyObject
*resultobj
= 0;
10959 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
10960 wxWindow
*arg2
= (wxWindow
*) 0 ;
10961 int arg3
= (int) -1 ;
10962 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
10963 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
10964 wxSize
const &arg5_defvalue
= wxDefaultSize
;
10965 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
10966 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
10967 wxString
const &arg7_defvalue
= wxPySashNameStr
;
10968 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
10980 bool temp7
= false ;
10981 PyObject
* obj0
= 0 ;
10982 PyObject
* obj1
= 0 ;
10983 PyObject
* obj2
= 0 ;
10984 PyObject
* obj3
= 0 ;
10985 PyObject
* obj4
= 0 ;
10986 PyObject
* obj5
= 0 ;
10987 PyObject
* obj6
= 0 ;
10988 char * kwnames
[] = {
10989 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
10992 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
10993 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
10994 if (!SWIG_IsOK(res1
)) {
10995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_Create" "', expected argument " "1"" of type '" "wxSashWindow *""'");
10997 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
10998 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
10999 if (!SWIG_IsOK(res2
)) {
11000 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
11002 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
11004 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11005 if (!SWIG_IsOK(ecode3
)) {
11006 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_Create" "', expected argument " "3"" of type '" "int""'");
11008 arg3
= static_cast< int >(val3
);
11013 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
11019 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
11023 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
11024 if (!SWIG_IsOK(ecode6
)) {
11025 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashWindow_Create" "', expected argument " "6"" of type '" "long""'");
11027 arg6
= static_cast< long >(val6
);
11031 arg7
= wxString_in_helper(obj6
);
11032 if (arg7
== NULL
) SWIG_fail
;
11037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11038 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
11039 wxPyEndAllowThreads(__tstate
);
11040 if (PyErr_Occurred()) SWIG_fail
;
11043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11059 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11060 PyObject
*resultobj
= 0;
11061 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11062 wxSashEdgePosition arg2
;
11070 PyObject
* obj0
= 0 ;
11071 PyObject
* obj1
= 0 ;
11072 PyObject
* obj2
= 0 ;
11073 char * kwnames
[] = {
11074 (char *) "self",(char *) "edge",(char *) "sash", NULL
11077 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashVisible",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11078 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11079 if (!SWIG_IsOK(res1
)) {
11080 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11082 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11083 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11084 if (!SWIG_IsOK(ecode2
)) {
11085 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11087 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11088 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11089 if (!SWIG_IsOK(ecode3
)) {
11090 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashVisible" "', expected argument " "3"" of type '" "bool""'");
11092 arg3
= static_cast< bool >(val3
);
11094 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11095 (arg1
)->SetSashVisible(arg2
,arg3
);
11096 wxPyEndAllowThreads(__tstate
);
11097 if (PyErr_Occurred()) SWIG_fail
;
11099 resultobj
= SWIG_Py_Void();
11106 SWIGINTERN PyObject
*_wrap_SashWindow_GetSashVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11107 PyObject
*resultobj
= 0;
11108 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11109 wxSashEdgePosition arg2
;
11115 PyObject
* obj0
= 0 ;
11116 PyObject
* obj1
= 0 ;
11117 char * kwnames
[] = {
11118 (char *) "self",(char *) "edge", NULL
11121 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetSashVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11122 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11123 if (!SWIG_IsOK(res1
)) {
11124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11126 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11127 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11128 if (!SWIG_IsOK(ecode2
)) {
11129 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetSashVisible" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11131 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11133 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11134 result
= (bool)((wxSashWindow
const *)arg1
)->GetSashVisible(arg2
);
11135 wxPyEndAllowThreads(__tstate
);
11136 if (PyErr_Occurred()) SWIG_fail
;
11139 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11147 SWIGINTERN PyObject
*_wrap_SashWindow_SetSashBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11148 PyObject
*resultobj
= 0;
11149 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11150 wxSashEdgePosition arg2
;
11158 PyObject
* obj0
= 0 ;
11159 PyObject
* obj1
= 0 ;
11160 PyObject
* obj2
= 0 ;
11161 char * kwnames
[] = {
11162 (char *) "self",(char *) "edge",(char *) "border", NULL
11165 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:SashWindow_SetSashBorder",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
11166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11167 if (!SWIG_IsOK(res1
)) {
11168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11170 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11171 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11172 if (!SWIG_IsOK(ecode2
)) {
11173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11175 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11176 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
11177 if (!SWIG_IsOK(ecode3
)) {
11178 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SetSashBorder" "', expected argument " "3"" of type '" "bool""'");
11180 arg3
= static_cast< bool >(val3
);
11182 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11183 (arg1
)->SetSashBorder(arg2
,arg3
);
11184 wxPyEndAllowThreads(__tstate
);
11185 if (PyErr_Occurred()) SWIG_fail
;
11187 resultobj
= SWIG_Py_Void();
11194 SWIGINTERN PyObject
*_wrap_SashWindow_HasBorder(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11195 PyObject
*resultobj
= 0;
11196 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11197 wxSashEdgePosition arg2
;
11203 PyObject
* obj0
= 0 ;
11204 PyObject
* obj1
= 0 ;
11205 char * kwnames
[] = {
11206 (char *) "self",(char *) "edge", NULL
11209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_HasBorder",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11211 if (!SWIG_IsOK(res1
)) {
11212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_HasBorder" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11214 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11215 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11216 if (!SWIG_IsOK(ecode2
)) {
11217 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_HasBorder" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11219 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11222 result
= (bool)((wxSashWindow
const *)arg1
)->HasBorder(arg2
);
11223 wxPyEndAllowThreads(__tstate
);
11224 if (PyErr_Occurred()) SWIG_fail
;
11227 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
11235 SWIGINTERN PyObject
*_wrap_SashWindow_GetEdgeMargin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11236 PyObject
*resultobj
= 0;
11237 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11238 wxSashEdgePosition arg2
;
11244 PyObject
* obj0
= 0 ;
11245 PyObject
* obj1
= 0 ;
11246 char * kwnames
[] = {
11247 (char *) "self",(char *) "edge", NULL
11250 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_GetEdgeMargin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11251 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11252 if (!SWIG_IsOK(res1
)) {
11253 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11255 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11256 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11257 if (!SWIG_IsOK(ecode2
)) {
11258 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_GetEdgeMargin" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11260 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11262 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11263 result
= (int)((wxSashWindow
const *)arg1
)->GetEdgeMargin(arg2
);
11264 wxPyEndAllowThreads(__tstate
);
11265 if (PyErr_Occurred()) SWIG_fail
;
11267 resultobj
= SWIG_From_int(static_cast< int >(result
));
11274 SWIGINTERN PyObject
*_wrap_SashWindow_SetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11275 PyObject
*resultobj
= 0;
11276 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11282 PyObject
* obj0
= 0 ;
11283 PyObject
* obj1
= 0 ;
11284 char * kwnames
[] = {
11285 (char *) "self",(char *) "width", NULL
11288 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetDefaultBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11289 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11290 if (!SWIG_IsOK(res1
)) {
11291 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11293 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11294 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11295 if (!SWIG_IsOK(ecode2
)) {
11296 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetDefaultBorderSize" "', expected argument " "2"" of type '" "int""'");
11298 arg2
= static_cast< int >(val2
);
11300 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11301 (arg1
)->SetDefaultBorderSize(arg2
);
11302 wxPyEndAllowThreads(__tstate
);
11303 if (PyErr_Occurred()) SWIG_fail
;
11305 resultobj
= SWIG_Py_Void();
11312 SWIGINTERN PyObject
*_wrap_SashWindow_GetDefaultBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11313 PyObject
*resultobj
= 0;
11314 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11318 PyObject
*swig_obj
[1] ;
11320 if (!args
) SWIG_fail
;
11321 swig_obj
[0] = args
;
11322 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11323 if (!SWIG_IsOK(res1
)) {
11324 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetDefaultBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11326 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11328 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11329 result
= (int)((wxSashWindow
const *)arg1
)->GetDefaultBorderSize();
11330 wxPyEndAllowThreads(__tstate
);
11331 if (PyErr_Occurred()) SWIG_fail
;
11333 resultobj
= SWIG_From_int(static_cast< int >(result
));
11340 SWIGINTERN PyObject
*_wrap_SashWindow_SetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11341 PyObject
*resultobj
= 0;
11342 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11348 PyObject
* obj0
= 0 ;
11349 PyObject
* obj1
= 0 ;
11350 char * kwnames
[] = {
11351 (char *) "self",(char *) "width", NULL
11354 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetExtraBorderSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11355 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11356 if (!SWIG_IsOK(res1
)) {
11357 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11359 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11360 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11361 if (!SWIG_IsOK(ecode2
)) {
11362 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetExtraBorderSize" "', expected argument " "2"" of type '" "int""'");
11364 arg2
= static_cast< int >(val2
);
11366 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11367 (arg1
)->SetExtraBorderSize(arg2
);
11368 wxPyEndAllowThreads(__tstate
);
11369 if (PyErr_Occurred()) SWIG_fail
;
11371 resultobj
= SWIG_Py_Void();
11378 SWIGINTERN PyObject
*_wrap_SashWindow_GetExtraBorderSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11379 PyObject
*resultobj
= 0;
11380 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11384 PyObject
*swig_obj
[1] ;
11386 if (!args
) SWIG_fail
;
11387 swig_obj
[0] = args
;
11388 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11389 if (!SWIG_IsOK(res1
)) {
11390 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetExtraBorderSize" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11392 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11394 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11395 result
= (int)((wxSashWindow
const *)arg1
)->GetExtraBorderSize();
11396 wxPyEndAllowThreads(__tstate
);
11397 if (PyErr_Occurred()) SWIG_fail
;
11399 resultobj
= SWIG_From_int(static_cast< int >(result
));
11406 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11407 PyObject
*resultobj
= 0;
11408 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11414 PyObject
* obj0
= 0 ;
11415 PyObject
* obj1
= 0 ;
11416 char * kwnames
[] = {
11417 (char *) "self",(char *) "min", NULL
11420 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11421 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11422 if (!SWIG_IsOK(res1
)) {
11423 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11425 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11426 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11427 if (!SWIG_IsOK(ecode2
)) {
11428 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeX" "', expected argument " "2"" of type '" "int""'");
11430 arg2
= static_cast< int >(val2
);
11432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11433 (arg1
)->SetMinimumSizeX(arg2
);
11434 wxPyEndAllowThreads(__tstate
);
11435 if (PyErr_Occurred()) SWIG_fail
;
11437 resultobj
= SWIG_Py_Void();
11444 SWIGINTERN PyObject
*_wrap_SashWindow_SetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11445 PyObject
*resultobj
= 0;
11446 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11452 PyObject
* obj0
= 0 ;
11453 PyObject
* obj1
= 0 ;
11454 char * kwnames
[] = {
11455 (char *) "self",(char *) "min", NULL
11458 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMinimumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11459 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11460 if (!SWIG_IsOK(res1
)) {
11461 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11463 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11464 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11465 if (!SWIG_IsOK(ecode2
)) {
11466 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMinimumSizeY" "', expected argument " "2"" of type '" "int""'");
11468 arg2
= static_cast< int >(val2
);
11470 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11471 (arg1
)->SetMinimumSizeY(arg2
);
11472 wxPyEndAllowThreads(__tstate
);
11473 if (PyErr_Occurred()) SWIG_fail
;
11475 resultobj
= SWIG_Py_Void();
11482 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11483 PyObject
*resultobj
= 0;
11484 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11488 PyObject
*swig_obj
[1] ;
11490 if (!args
) SWIG_fail
;
11491 swig_obj
[0] = args
;
11492 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11493 if (!SWIG_IsOK(res1
)) {
11494 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11496 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11498 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11499 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeX();
11500 wxPyEndAllowThreads(__tstate
);
11501 if (PyErr_Occurred()) SWIG_fail
;
11503 resultobj
= SWIG_From_int(static_cast< int >(result
));
11510 SWIGINTERN PyObject
*_wrap_SashWindow_GetMinimumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11511 PyObject
*resultobj
= 0;
11512 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11516 PyObject
*swig_obj
[1] ;
11518 if (!args
) SWIG_fail
;
11519 swig_obj
[0] = args
;
11520 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11521 if (!SWIG_IsOK(res1
)) {
11522 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMinimumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11524 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11526 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11527 result
= (int)((wxSashWindow
const *)arg1
)->GetMinimumSizeY();
11528 wxPyEndAllowThreads(__tstate
);
11529 if (PyErr_Occurred()) SWIG_fail
;
11531 resultobj
= SWIG_From_int(static_cast< int >(result
));
11538 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11539 PyObject
*resultobj
= 0;
11540 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11546 PyObject
* obj0
= 0 ;
11547 PyObject
* obj1
= 0 ;
11548 char * kwnames
[] = {
11549 (char *) "self",(char *) "max", NULL
11552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeX",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11553 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11554 if (!SWIG_IsOK(res1
)) {
11555 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11557 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11558 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11559 if (!SWIG_IsOK(ecode2
)) {
11560 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeX" "', expected argument " "2"" of type '" "int""'");
11562 arg2
= static_cast< int >(val2
);
11564 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11565 (arg1
)->SetMaximumSizeX(arg2
);
11566 wxPyEndAllowThreads(__tstate
);
11567 if (PyErr_Occurred()) SWIG_fail
;
11569 resultobj
= SWIG_Py_Void();
11576 SWIGINTERN PyObject
*_wrap_SashWindow_SetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11577 PyObject
*resultobj
= 0;
11578 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11584 PyObject
* obj0
= 0 ;
11585 PyObject
* obj1
= 0 ;
11586 char * kwnames
[] = {
11587 (char *) "self",(char *) "max", NULL
11590 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashWindow_SetMaximumSizeY",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11591 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11592 if (!SWIG_IsOK(res1
)) {
11593 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11595 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11596 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11597 if (!SWIG_IsOK(ecode2
)) {
11598 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SetMaximumSizeY" "', expected argument " "2"" of type '" "int""'");
11600 arg2
= static_cast< int >(val2
);
11602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11603 (arg1
)->SetMaximumSizeY(arg2
);
11604 wxPyEndAllowThreads(__tstate
);
11605 if (PyErr_Occurred()) SWIG_fail
;
11607 resultobj
= SWIG_Py_Void();
11614 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeX(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11615 PyObject
*resultobj
= 0;
11616 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11620 PyObject
*swig_obj
[1] ;
11622 if (!args
) SWIG_fail
;
11623 swig_obj
[0] = args
;
11624 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11625 if (!SWIG_IsOK(res1
)) {
11626 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeX" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11628 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11630 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11631 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeX();
11632 wxPyEndAllowThreads(__tstate
);
11633 if (PyErr_Occurred()) SWIG_fail
;
11635 resultobj
= SWIG_From_int(static_cast< int >(result
));
11642 SWIGINTERN PyObject
*_wrap_SashWindow_GetMaximumSizeY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11643 PyObject
*resultobj
= 0;
11644 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11648 PyObject
*swig_obj
[1] ;
11650 if (!args
) SWIG_fail
;
11651 swig_obj
[0] = args
;
11652 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11653 if (!SWIG_IsOK(res1
)) {
11654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_GetMaximumSizeY" "', expected argument " "1"" of type '" "wxSashWindow const *""'");
11656 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11658 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11659 result
= (int)((wxSashWindow
const *)arg1
)->GetMaximumSizeY();
11660 wxPyEndAllowThreads(__tstate
);
11661 if (PyErr_Occurred()) SWIG_fail
;
11663 resultobj
= SWIG_From_int(static_cast< int >(result
));
11670 SWIGINTERN PyObject
*_wrap_SashWindow_SashHitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11671 PyObject
*resultobj
= 0;
11672 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11675 int arg4
= (int) 2 ;
11676 wxSashEdgePosition result
;
11685 PyObject
* obj0
= 0 ;
11686 PyObject
* obj1
= 0 ;
11687 PyObject
* obj2
= 0 ;
11688 PyObject
* obj3
= 0 ;
11689 char * kwnames
[] = {
11690 (char *) "self",(char *) "x",(char *) "y",(char *) "tolerance", NULL
11693 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:SashWindow_SashHitTest",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
11694 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11695 if (!SWIG_IsOK(res1
)) {
11696 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SashHitTest" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11698 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11699 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11700 if (!SWIG_IsOK(ecode2
)) {
11701 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashWindow_SashHitTest" "', expected argument " "2"" of type '" "int""'");
11703 arg2
= static_cast< int >(val2
);
11704 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
11705 if (!SWIG_IsOK(ecode3
)) {
11706 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashWindow_SashHitTest" "', expected argument " "3"" of type '" "int""'");
11708 arg3
= static_cast< int >(val3
);
11710 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
11711 if (!SWIG_IsOK(ecode4
)) {
11712 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "SashWindow_SashHitTest" "', expected argument " "4"" of type '" "int""'");
11714 arg4
= static_cast< int >(val4
);
11717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11718 result
= (wxSashEdgePosition
)(arg1
)->SashHitTest(arg2
,arg3
,arg4
);
11719 wxPyEndAllowThreads(__tstate
);
11720 if (PyErr_Occurred()) SWIG_fail
;
11722 resultobj
= SWIG_From_int(static_cast< int >(result
));
11729 SWIGINTERN PyObject
*_wrap_SashWindow_SizeWindows(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11730 PyObject
*resultobj
= 0;
11731 wxSashWindow
*arg1
= (wxSashWindow
*) 0 ;
11734 PyObject
*swig_obj
[1] ;
11736 if (!args
) SWIG_fail
;
11737 swig_obj
[0] = args
;
11738 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashWindow
, 0 | 0 );
11739 if (!SWIG_IsOK(res1
)) {
11740 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashWindow_SizeWindows" "', expected argument " "1"" of type '" "wxSashWindow *""'");
11742 arg1
= reinterpret_cast< wxSashWindow
* >(argp1
);
11744 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11745 (arg1
)->SizeWindows();
11746 wxPyEndAllowThreads(__tstate
);
11747 if (PyErr_Occurred()) SWIG_fail
;
11749 resultobj
= SWIG_Py_Void();
11756 SWIGINTERN PyObject
*SashWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11758 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
11759 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashWindow
, SWIG_NewClientData(obj
));
11760 return SWIG_Py_Void();
11763 SWIGINTERN PyObject
*SashWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11764 return SWIG_Python_InitShadowInstance(args
);
11767 SWIGINTERN PyObject
*_wrap_new_SashEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11768 PyObject
*resultobj
= 0;
11769 int arg1
= (int) 0 ;
11770 wxSashEdgePosition arg2
= (wxSashEdgePosition
) wxSASH_NONE
;
11771 wxSashEvent
*result
= 0 ;
11776 PyObject
* obj0
= 0 ;
11777 PyObject
* obj1
= 0 ;
11778 char * kwnames
[] = {
11779 (char *) "id",(char *) "edge", NULL
11782 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_SashEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11784 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
11785 if (!SWIG_IsOK(ecode1
)) {
11786 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_SashEvent" "', expected argument " "1"" of type '" "int""'");
11788 arg1
= static_cast< int >(val1
);
11791 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11792 if (!SWIG_IsOK(ecode2
)) {
11793 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashEvent" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11795 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11798 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11799 result
= (wxSashEvent
*)new wxSashEvent(arg1
,arg2
);
11800 wxPyEndAllowThreads(__tstate
);
11801 if (PyErr_Occurred()) SWIG_fail
;
11803 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashEvent
, SWIG_POINTER_NEW
| 0 );
11810 SWIGINTERN PyObject
*_wrap_SashEvent_SetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11811 PyObject
*resultobj
= 0;
11812 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11813 wxSashEdgePosition arg2
;
11818 PyObject
* obj0
= 0 ;
11819 PyObject
* obj1
= 0 ;
11820 char * kwnames
[] = {
11821 (char *) "self",(char *) "edge", NULL
11824 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetEdge",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11825 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11826 if (!SWIG_IsOK(res1
)) {
11827 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetEdge" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11829 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11831 if (!SWIG_IsOK(ecode2
)) {
11832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetEdge" "', expected argument " "2"" of type '" "wxSashEdgePosition""'");
11834 arg2
= static_cast< wxSashEdgePosition
>(val2
);
11836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11837 (arg1
)->SetEdge(arg2
);
11838 wxPyEndAllowThreads(__tstate
);
11839 if (PyErr_Occurred()) SWIG_fail
;
11841 resultobj
= SWIG_Py_Void();
11848 SWIGINTERN PyObject
*_wrap_SashEvent_GetEdge(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11849 PyObject
*resultobj
= 0;
11850 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11851 wxSashEdgePosition result
;
11854 PyObject
*swig_obj
[1] ;
11856 if (!args
) SWIG_fail
;
11857 swig_obj
[0] = args
;
11858 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11859 if (!SWIG_IsOK(res1
)) {
11860 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetEdge" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11862 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11864 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11865 result
= (wxSashEdgePosition
)((wxSashEvent
const *)arg1
)->GetEdge();
11866 wxPyEndAllowThreads(__tstate
);
11867 if (PyErr_Occurred()) SWIG_fail
;
11869 resultobj
= SWIG_From_int(static_cast< int >(result
));
11876 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11877 PyObject
*resultobj
= 0;
11878 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11883 PyObject
* obj0
= 0 ;
11884 PyObject
* obj1
= 0 ;
11885 char * kwnames
[] = {
11886 (char *) "self",(char *) "rect", NULL
11889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11891 if (!SWIG_IsOK(res1
)) {
11892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragRect" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11894 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11897 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
11900 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11901 (arg1
)->SetDragRect((wxRect
const &)*arg2
);
11902 wxPyEndAllowThreads(__tstate
);
11903 if (PyErr_Occurred()) SWIG_fail
;
11905 resultobj
= SWIG_Py_Void();
11912 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11913 PyObject
*resultobj
= 0;
11914 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11918 PyObject
*swig_obj
[1] ;
11920 if (!args
) SWIG_fail
;
11921 swig_obj
[0] = args
;
11922 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11923 if (!SWIG_IsOK(res1
)) {
11924 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragRect" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11926 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11928 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11929 result
= ((wxSashEvent
const *)arg1
)->GetDragRect();
11930 wxPyEndAllowThreads(__tstate
);
11931 if (PyErr_Occurred()) SWIG_fail
;
11933 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
11940 SWIGINTERN PyObject
*_wrap_SashEvent_SetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
11941 PyObject
*resultobj
= 0;
11942 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11943 wxSashDragStatus arg2
;
11948 PyObject
* obj0
= 0 ;
11949 PyObject
* obj1
= 0 ;
11950 char * kwnames
[] = {
11951 (char *) "self",(char *) "status", NULL
11954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashEvent_SetDragStatus",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
11955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11956 if (!SWIG_IsOK(res1
)) {
11957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent *""'");
11959 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
11961 if (!SWIG_IsOK(ecode2
)) {
11962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashEvent_SetDragStatus" "', expected argument " "2"" of type '" "wxSashDragStatus""'");
11964 arg2
= static_cast< wxSashDragStatus
>(val2
);
11966 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11967 (arg1
)->SetDragStatus(arg2
);
11968 wxPyEndAllowThreads(__tstate
);
11969 if (PyErr_Occurred()) SWIG_fail
;
11971 resultobj
= SWIG_Py_Void();
11978 SWIGINTERN PyObject
*_wrap_SashEvent_GetDragStatus(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
11979 PyObject
*resultobj
= 0;
11980 wxSashEvent
*arg1
= (wxSashEvent
*) 0 ;
11981 wxSashDragStatus result
;
11984 PyObject
*swig_obj
[1] ;
11986 if (!args
) SWIG_fail
;
11987 swig_obj
[0] = args
;
11988 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashEvent
, 0 | 0 );
11989 if (!SWIG_IsOK(res1
)) {
11990 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashEvent_GetDragStatus" "', expected argument " "1"" of type '" "wxSashEvent const *""'");
11992 arg1
= reinterpret_cast< wxSashEvent
* >(argp1
);
11994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
11995 result
= (wxSashDragStatus
)((wxSashEvent
const *)arg1
)->GetDragStatus();
11996 wxPyEndAllowThreads(__tstate
);
11997 if (PyErr_Occurred()) SWIG_fail
;
11999 resultobj
= SWIG_From_int(static_cast< int >(result
));
12006 SWIGINTERN PyObject
*SashEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12008 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12009 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashEvent
, SWIG_NewClientData(obj
));
12010 return SWIG_Py_Void();
12013 SWIGINTERN PyObject
*SashEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12014 return SWIG_Python_InitShadowInstance(args
);
12017 SWIGINTERN PyObject
*_wrap_new_QueryLayoutInfoEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12018 PyObject
*resultobj
= 0;
12019 int arg1
= (int) 0 ;
12020 wxQueryLayoutInfoEvent
*result
= 0 ;
12023 PyObject
* obj0
= 0 ;
12024 char * kwnames
[] = {
12025 (char *) "id", NULL
12028 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_QueryLayoutInfoEvent",kwnames
,&obj0
)) SWIG_fail
;
12030 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12031 if (!SWIG_IsOK(ecode1
)) {
12032 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_QueryLayoutInfoEvent" "', expected argument " "1"" of type '" "int""'");
12034 arg1
= static_cast< int >(val1
);
12037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12038 result
= (wxQueryLayoutInfoEvent
*)new wxQueryLayoutInfoEvent(arg1
);
12039 wxPyEndAllowThreads(__tstate
);
12040 if (PyErr_Occurred()) SWIG_fail
;
12042 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_POINTER_NEW
| 0 );
12049 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12050 PyObject
*resultobj
= 0;
12051 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12057 PyObject
* obj0
= 0 ;
12058 PyObject
* obj1
= 0 ;
12059 char * kwnames
[] = {
12060 (char *) "self",(char *) "length", NULL
12063 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetRequestedLength",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12064 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12065 if (!SWIG_IsOK(res1
)) {
12066 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12068 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12069 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12070 if (!SWIG_IsOK(ecode2
)) {
12071 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetRequestedLength" "', expected argument " "2"" of type '" "int""'");
12073 arg2
= static_cast< int >(val2
);
12075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12076 (arg1
)->SetRequestedLength(arg2
);
12077 wxPyEndAllowThreads(__tstate
);
12078 if (PyErr_Occurred()) SWIG_fail
;
12080 resultobj
= SWIG_Py_Void();
12087 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetRequestedLength(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12088 PyObject
*resultobj
= 0;
12089 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12093 PyObject
*swig_obj
[1] ;
12095 if (!args
) SWIG_fail
;
12096 swig_obj
[0] = args
;
12097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12098 if (!SWIG_IsOK(res1
)) {
12099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetRequestedLength" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12101 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12104 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetRequestedLength();
12105 wxPyEndAllowThreads(__tstate
);
12106 if (PyErr_Occurred()) SWIG_fail
;
12108 resultobj
= SWIG_From_int(static_cast< int >(result
));
12115 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12116 PyObject
*resultobj
= 0;
12117 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12123 PyObject
* obj0
= 0 ;
12124 PyObject
* obj1
= 0 ;
12125 char * kwnames
[] = {
12126 (char *) "self",(char *) "flags", NULL
12129 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12130 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12131 if (!SWIG_IsOK(res1
)) {
12132 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12134 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12135 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12136 if (!SWIG_IsOK(ecode2
)) {
12137 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12139 arg2
= static_cast< int >(val2
);
12141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12142 (arg1
)->SetFlags(arg2
);
12143 wxPyEndAllowThreads(__tstate
);
12144 if (PyErr_Occurred()) SWIG_fail
;
12146 resultobj
= SWIG_Py_Void();
12153 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12154 PyObject
*resultobj
= 0;
12155 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12159 PyObject
*swig_obj
[1] ;
12161 if (!args
) SWIG_fail
;
12162 swig_obj
[0] = args
;
12163 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12164 if (!SWIG_IsOK(res1
)) {
12165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetFlags" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12167 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12169 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12170 result
= (int)((wxQueryLayoutInfoEvent
const *)arg1
)->GetFlags();
12171 wxPyEndAllowThreads(__tstate
);
12172 if (PyErr_Occurred()) SWIG_fail
;
12174 resultobj
= SWIG_From_int(static_cast< int >(result
));
12181 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12182 PyObject
*resultobj
= 0;
12183 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12188 PyObject
* obj0
= 0 ;
12189 PyObject
* obj1
= 0 ;
12190 char * kwnames
[] = {
12191 (char *) "self",(char *) "size", NULL
12194 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12195 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12196 if (!SWIG_IsOK(res1
)) {
12197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12199 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12202 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12205 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12206 (arg1
)->SetSize((wxSize
const &)*arg2
);
12207 wxPyEndAllowThreads(__tstate
);
12208 if (PyErr_Occurred()) SWIG_fail
;
12210 resultobj
= SWIG_Py_Void();
12217 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12218 PyObject
*resultobj
= 0;
12219 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12223 PyObject
*swig_obj
[1] ;
12225 if (!args
) SWIG_fail
;
12226 swig_obj
[0] = args
;
12227 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12228 if (!SWIG_IsOK(res1
)) {
12229 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetSize" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12231 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12233 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12234 result
= ((wxQueryLayoutInfoEvent
const *)arg1
)->GetSize();
12235 wxPyEndAllowThreads(__tstate
);
12236 if (PyErr_Occurred()) SWIG_fail
;
12238 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
12245 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12246 PyObject
*resultobj
= 0;
12247 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12248 wxLayoutOrientation arg2
;
12253 PyObject
* obj0
= 0 ;
12254 PyObject
* obj1
= 0 ;
12255 char * kwnames
[] = {
12256 (char *) "self",(char *) "orient", NULL
12259 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12260 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12261 if (!SWIG_IsOK(res1
)) {
12262 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12264 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12265 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12266 if (!SWIG_IsOK(ecode2
)) {
12267 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12269 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12271 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12272 (arg1
)->SetOrientation(arg2
);
12273 wxPyEndAllowThreads(__tstate
);
12274 if (PyErr_Occurred()) SWIG_fail
;
12276 resultobj
= SWIG_Py_Void();
12283 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12284 PyObject
*resultobj
= 0;
12285 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12286 wxLayoutOrientation result
;
12289 PyObject
*swig_obj
[1] ;
12291 if (!args
) SWIG_fail
;
12292 swig_obj
[0] = args
;
12293 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12294 if (!SWIG_IsOK(res1
)) {
12295 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetOrientation" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12297 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12299 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12300 result
= (wxLayoutOrientation
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetOrientation();
12301 wxPyEndAllowThreads(__tstate
);
12302 if (PyErr_Occurred()) SWIG_fail
;
12304 resultobj
= SWIG_From_int(static_cast< int >(result
));
12311 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12312 PyObject
*resultobj
= 0;
12313 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12314 wxLayoutAlignment arg2
;
12319 PyObject
* obj0
= 0 ;
12320 PyObject
* obj1
= 0 ;
12321 char * kwnames
[] = {
12322 (char *) "self",(char *) "align", NULL
12325 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:QueryLayoutInfoEvent_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12326 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12327 if (!SWIG_IsOK(res1
)) {
12328 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent *""'");
12330 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12331 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12332 if (!SWIG_IsOK(ecode2
)) {
12333 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "QueryLayoutInfoEvent_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12335 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12337 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12338 (arg1
)->SetAlignment(arg2
);
12339 wxPyEndAllowThreads(__tstate
);
12340 if (PyErr_Occurred()) SWIG_fail
;
12342 resultobj
= SWIG_Py_Void();
12349 SWIGINTERN PyObject
*_wrap_QueryLayoutInfoEvent_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12350 PyObject
*resultobj
= 0;
12351 wxQueryLayoutInfoEvent
*arg1
= (wxQueryLayoutInfoEvent
*) 0 ;
12352 wxLayoutAlignment result
;
12355 PyObject
*swig_obj
[1] ;
12357 if (!args
) SWIG_fail
;
12358 swig_obj
[0] = args
;
12359 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxQueryLayoutInfoEvent
, 0 | 0 );
12360 if (!SWIG_IsOK(res1
)) {
12361 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "QueryLayoutInfoEvent_GetAlignment" "', expected argument " "1"" of type '" "wxQueryLayoutInfoEvent const *""'");
12363 arg1
= reinterpret_cast< wxQueryLayoutInfoEvent
* >(argp1
);
12365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12366 result
= (wxLayoutAlignment
)((wxQueryLayoutInfoEvent
const *)arg1
)->GetAlignment();
12367 wxPyEndAllowThreads(__tstate
);
12368 if (PyErr_Occurred()) SWIG_fail
;
12370 resultobj
= SWIG_From_int(static_cast< int >(result
));
12377 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12379 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12380 SWIG_TypeNewClientData(SWIGTYPE_p_wxQueryLayoutInfoEvent
, SWIG_NewClientData(obj
));
12381 return SWIG_Py_Void();
12384 SWIGINTERN PyObject
*QueryLayoutInfoEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12385 return SWIG_Python_InitShadowInstance(args
);
12388 SWIGINTERN PyObject
*_wrap_new_CalculateLayoutEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12389 PyObject
*resultobj
= 0;
12390 int arg1
= (int) 0 ;
12391 wxCalculateLayoutEvent
*result
= 0 ;
12394 PyObject
* obj0
= 0 ;
12395 char * kwnames
[] = {
12396 (char *) "id", NULL
12399 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_CalculateLayoutEvent",kwnames
,&obj0
)) SWIG_fail
;
12401 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
12402 if (!SWIG_IsOK(ecode1
)) {
12403 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_CalculateLayoutEvent" "', expected argument " "1"" of type '" "int""'");
12405 arg1
= static_cast< int >(val1
);
12408 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12409 result
= (wxCalculateLayoutEvent
*)new wxCalculateLayoutEvent(arg1
);
12410 wxPyEndAllowThreads(__tstate
);
12411 if (PyErr_Occurred()) SWIG_fail
;
12413 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_POINTER_NEW
| 0 );
12420 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12421 PyObject
*resultobj
= 0;
12422 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12428 PyObject
* obj0
= 0 ;
12429 PyObject
* obj1
= 0 ;
12430 char * kwnames
[] = {
12431 (char *) "self",(char *) "flags", NULL
12434 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12435 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12436 if (!SWIG_IsOK(res1
)) {
12437 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12439 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12440 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12441 if (!SWIG_IsOK(ecode2
)) {
12442 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "CalculateLayoutEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
12444 arg2
= static_cast< int >(val2
);
12446 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12447 (arg1
)->SetFlags(arg2
);
12448 wxPyEndAllowThreads(__tstate
);
12449 if (PyErr_Occurred()) SWIG_fail
;
12451 resultobj
= SWIG_Py_Void();
12458 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12459 PyObject
*resultobj
= 0;
12460 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12464 PyObject
*swig_obj
[1] ;
12466 if (!args
) SWIG_fail
;
12467 swig_obj
[0] = args
;
12468 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12469 if (!SWIG_IsOK(res1
)) {
12470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetFlags" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12472 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12475 result
= (int)((wxCalculateLayoutEvent
const *)arg1
)->GetFlags();
12476 wxPyEndAllowThreads(__tstate
);
12477 if (PyErr_Occurred()) SWIG_fail
;
12479 resultobj
= SWIG_From_int(static_cast< int >(result
));
12486 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_SetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12487 PyObject
*resultobj
= 0;
12488 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12493 PyObject
* obj0
= 0 ;
12494 PyObject
* obj1
= 0 ;
12495 char * kwnames
[] = {
12496 (char *) "self",(char *) "rect", NULL
12499 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:CalculateLayoutEvent_SetRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12500 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12501 if (!SWIG_IsOK(res1
)) {
12502 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_SetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent *""'");
12504 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12507 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
12510 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12511 (arg1
)->SetRect((wxRect
const &)*arg2
);
12512 wxPyEndAllowThreads(__tstate
);
12513 if (PyErr_Occurred()) SWIG_fail
;
12515 resultobj
= SWIG_Py_Void();
12522 SWIGINTERN PyObject
*_wrap_CalculateLayoutEvent_GetRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12523 PyObject
*resultobj
= 0;
12524 wxCalculateLayoutEvent
*arg1
= (wxCalculateLayoutEvent
*) 0 ;
12528 PyObject
*swig_obj
[1] ;
12530 if (!args
) SWIG_fail
;
12531 swig_obj
[0] = args
;
12532 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxCalculateLayoutEvent
, 0 | 0 );
12533 if (!SWIG_IsOK(res1
)) {
12534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "CalculateLayoutEvent_GetRect" "', expected argument " "1"" of type '" "wxCalculateLayoutEvent const *""'");
12536 arg1
= reinterpret_cast< wxCalculateLayoutEvent
* >(argp1
);
12538 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12539 result
= ((wxCalculateLayoutEvent
const *)arg1
)->GetRect();
12540 wxPyEndAllowThreads(__tstate
);
12541 if (PyErr_Occurred()) SWIG_fail
;
12543 resultobj
= SWIG_NewPointerObj((new wxRect(static_cast< const wxRect
& >(result
))), SWIGTYPE_p_wxRect
, SWIG_POINTER_OWN
| 0 );
12550 SWIGINTERN PyObject
*CalculateLayoutEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12552 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12553 SWIG_TypeNewClientData(SWIGTYPE_p_wxCalculateLayoutEvent
, SWIG_NewClientData(obj
));
12554 return SWIG_Py_Void();
12557 SWIGINTERN PyObject
*CalculateLayoutEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12558 return SWIG_Python_InitShadowInstance(args
);
12561 SWIGINTERN PyObject
*_wrap_new_SashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12562 PyObject
*resultobj
= 0;
12563 wxWindow
*arg1
= (wxWindow
*) 0 ;
12564 int arg2
= (int) -1 ;
12565 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
12566 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
12567 wxSize
const &arg4_defvalue
= wxDefaultSize
;
12568 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
12569 long arg5
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12570 wxString
const &arg6_defvalue
= wxPySashLayoutNameStr
;
12571 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
12572 wxSashLayoutWindow
*result
= 0 ;
12581 bool temp6
= false ;
12582 PyObject
* obj0
= 0 ;
12583 PyObject
* obj1
= 0 ;
12584 PyObject
* obj2
= 0 ;
12585 PyObject
* obj3
= 0 ;
12586 PyObject
* obj4
= 0 ;
12587 PyObject
* obj5
= 0 ;
12588 char * kwnames
[] = {
12589 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12592 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_SashLayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
12593 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12594 if (!SWIG_IsOK(res1
)) {
12595 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SashLayoutWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
12597 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
12599 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12600 if (!SWIG_IsOK(ecode2
)) {
12601 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_SashLayoutWindow" "', expected argument " "2"" of type '" "int""'");
12603 arg2
= static_cast< int >(val2
);
12608 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
12614 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
12618 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
12619 if (!SWIG_IsOK(ecode5
)) {
12620 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_SashLayoutWindow" "', expected argument " "5"" of type '" "long""'");
12622 arg5
= static_cast< long >(val5
);
12626 arg6
= wxString_in_helper(obj5
);
12627 if (arg6
== NULL
) SWIG_fail
;
12632 if (!wxPyCheckForApp()) SWIG_fail
;
12633 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12634 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
12635 wxPyEndAllowThreads(__tstate
);
12636 if (PyErr_Occurred()) SWIG_fail
;
12638 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_NEW
| 0 );
12653 SWIGINTERN PyObject
*_wrap_new_PreSashLayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12654 PyObject
*resultobj
= 0;
12655 wxSashLayoutWindow
*result
= 0 ;
12657 if (!SWIG_Python_UnpackTuple(args
,"new_PreSashLayoutWindow",0,0,0)) SWIG_fail
;
12659 if (!wxPyCheckForApp()) SWIG_fail
;
12660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12661 result
= (wxSashLayoutWindow
*)new wxSashLayoutWindow();
12662 wxPyEndAllowThreads(__tstate
);
12663 if (PyErr_Occurred()) SWIG_fail
;
12665 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSashLayoutWindow
, SWIG_POINTER_OWN
| 0 );
12672 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12673 PyObject
*resultobj
= 0;
12674 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12675 wxWindow
*arg2
= (wxWindow
*) 0 ;
12676 int arg3
= (int) -1 ;
12677 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
12678 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
12679 wxSize
const &arg5_defvalue
= wxDefaultSize
;
12680 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
12681 long arg6
= (long) wxCLIP_CHILDREN
|wxSW_3D
;
12682 wxString
const &arg7_defvalue
= wxPySashLayoutNameStr
;
12683 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
12695 bool temp7
= false ;
12696 PyObject
* obj0
= 0 ;
12697 PyObject
* obj1
= 0 ;
12698 PyObject
* obj2
= 0 ;
12699 PyObject
* obj3
= 0 ;
12700 PyObject
* obj4
= 0 ;
12701 PyObject
* obj5
= 0 ;
12702 PyObject
* obj6
= 0 ;
12703 char * kwnames
[] = {
12704 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
12707 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:SashLayoutWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
12708 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12709 if (!SWIG_IsOK(res1
)) {
12710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_Create" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12712 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12713 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
12714 if (!SWIG_IsOK(res2
)) {
12715 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "SashLayoutWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
12717 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
12719 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
12720 if (!SWIG_IsOK(ecode3
)) {
12721 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "SashLayoutWindow_Create" "', expected argument " "3"" of type '" "int""'");
12723 arg3
= static_cast< int >(val3
);
12728 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
12734 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
12738 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
12739 if (!SWIG_IsOK(ecode6
)) {
12740 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "SashLayoutWindow_Create" "', expected argument " "6"" of type '" "long""'");
12742 arg6
= static_cast< long >(val6
);
12746 arg7
= wxString_in_helper(obj6
);
12747 if (arg7
== NULL
) SWIG_fail
;
12752 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12753 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
12754 wxPyEndAllowThreads(__tstate
);
12755 if (PyErr_Occurred()) SWIG_fail
;
12758 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
12774 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12775 PyObject
*resultobj
= 0;
12776 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12777 wxLayoutAlignment result
;
12780 PyObject
*swig_obj
[1] ;
12782 if (!args
) SWIG_fail
;
12783 swig_obj
[0] = args
;
12784 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12785 if (!SWIG_IsOK(res1
)) {
12786 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12788 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12790 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12791 result
= (wxLayoutAlignment
)(arg1
)->GetAlignment();
12792 wxPyEndAllowThreads(__tstate
);
12793 if (PyErr_Occurred()) SWIG_fail
;
12795 resultobj
= SWIG_From_int(static_cast< int >(result
));
12802 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12803 PyObject
*resultobj
= 0;
12804 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12805 wxLayoutOrientation result
;
12808 PyObject
*swig_obj
[1] ;
12810 if (!args
) SWIG_fail
;
12811 swig_obj
[0] = args
;
12812 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12813 if (!SWIG_IsOK(res1
)) {
12814 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_GetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12816 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12819 result
= (wxLayoutOrientation
)(arg1
)->GetOrientation();
12820 wxPyEndAllowThreads(__tstate
);
12821 if (PyErr_Occurred()) SWIG_fail
;
12823 resultobj
= SWIG_From_int(static_cast< int >(result
));
12830 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetAlignment(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12831 PyObject
*resultobj
= 0;
12832 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12833 wxLayoutAlignment arg2
;
12838 PyObject
* obj0
= 0 ;
12839 PyObject
* obj1
= 0 ;
12840 char * kwnames
[] = {
12841 (char *) "self",(char *) "alignment", NULL
12844 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetAlignment",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12845 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12846 if (!SWIG_IsOK(res1
)) {
12847 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12849 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12850 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12851 if (!SWIG_IsOK(ecode2
)) {
12852 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetAlignment" "', expected argument " "2"" of type '" "wxLayoutAlignment""'");
12854 arg2
= static_cast< wxLayoutAlignment
>(val2
);
12856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12857 (arg1
)->SetAlignment(arg2
);
12858 wxPyEndAllowThreads(__tstate
);
12859 if (PyErr_Occurred()) SWIG_fail
;
12861 resultobj
= SWIG_Py_Void();
12868 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetDefaultSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12869 PyObject
*resultobj
= 0;
12870 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12875 PyObject
* obj0
= 0 ;
12876 PyObject
* obj1
= 0 ;
12877 char * kwnames
[] = {
12878 (char *) "self",(char *) "size", NULL
12881 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetDefaultSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12882 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12883 if (!SWIG_IsOK(res1
)) {
12884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetDefaultSize" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12886 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12889 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
12892 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12893 (arg1
)->SetDefaultSize((wxSize
const &)*arg2
);
12894 wxPyEndAllowThreads(__tstate
);
12895 if (PyErr_Occurred()) SWIG_fail
;
12897 resultobj
= SWIG_Py_Void();
12904 SWIGINTERN PyObject
*_wrap_SashLayoutWindow_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
12905 PyObject
*resultobj
= 0;
12906 wxSashLayoutWindow
*arg1
= (wxSashLayoutWindow
*) 0 ;
12907 wxLayoutOrientation arg2
;
12912 PyObject
* obj0
= 0 ;
12913 PyObject
* obj1
= 0 ;
12914 char * kwnames
[] = {
12915 (char *) "self",(char *) "orientation", NULL
12918 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SashLayoutWindow_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
12919 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSashLayoutWindow
, 0 | 0 );
12920 if (!SWIG_IsOK(res1
)) {
12921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "1"" of type '" "wxSashLayoutWindow *""'");
12923 arg1
= reinterpret_cast< wxSashLayoutWindow
* >(argp1
);
12924 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
12925 if (!SWIG_IsOK(ecode2
)) {
12926 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SashLayoutWindow_SetOrientation" "', expected argument " "2"" of type '" "wxLayoutOrientation""'");
12928 arg2
= static_cast< wxLayoutOrientation
>(val2
);
12930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12931 (arg1
)->SetOrientation(arg2
);
12932 wxPyEndAllowThreads(__tstate
);
12933 if (PyErr_Occurred()) SWIG_fail
;
12935 resultobj
= SWIG_Py_Void();
12942 SWIGINTERN PyObject
*SashLayoutWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12944 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
12945 SWIG_TypeNewClientData(SWIGTYPE_p_wxSashLayoutWindow
, SWIG_NewClientData(obj
));
12946 return SWIG_Py_Void();
12949 SWIGINTERN PyObject
*SashLayoutWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12950 return SWIG_Python_InitShadowInstance(args
);
12953 SWIGINTERN PyObject
*_wrap_new_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12954 PyObject
*resultobj
= 0;
12955 wxLayoutAlgorithm
*result
= 0 ;
12957 if (!SWIG_Python_UnpackTuple(args
,"new_LayoutAlgorithm",0,0,0)) SWIG_fail
;
12959 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12960 result
= (wxLayoutAlgorithm
*)new wxLayoutAlgorithm();
12961 wxPyEndAllowThreads(__tstate
);
12962 if (PyErr_Occurred()) SWIG_fail
;
12964 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_NEW
| 0 );
12971 SWIGINTERN PyObject
*_wrap_delete_LayoutAlgorithm(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
12972 PyObject
*resultobj
= 0;
12973 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
12976 PyObject
*swig_obj
[1] ;
12978 if (!args
) SWIG_fail
;
12979 swig_obj
[0] = args
;
12980 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_POINTER_DISOWN
| 0 );
12981 if (!SWIG_IsOK(res1
)) {
12982 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_LayoutAlgorithm" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
12984 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
12986 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
12989 wxPyEndAllowThreads(__tstate
);
12990 if (PyErr_Occurred()) SWIG_fail
;
12992 resultobj
= SWIG_Py_Void();
12999 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutMDIFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13000 PyObject
*resultobj
= 0;
13001 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13002 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
13003 wxRect
*arg3
= (wxRect
*) NULL
;
13011 PyObject
* obj0
= 0 ;
13012 PyObject
* obj1
= 0 ;
13013 PyObject
* obj2
= 0 ;
13014 char * kwnames
[] = {
13015 (char *) "self",(char *) "frame",(char *) "rect", NULL
13018 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutMDIFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13019 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13020 if (!SWIG_IsOK(res1
)) {
13021 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13023 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13024 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
13025 if (!SWIG_IsOK(res2
)) {
13026 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
13028 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
13030 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxRect
, 0 | 0 );
13031 if (!SWIG_IsOK(res3
)) {
13032 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutMDIFrame" "', expected argument " "3"" of type '" "wxRect *""'");
13034 arg3
= reinterpret_cast< wxRect
* >(argp3
);
13037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13038 result
= (bool)(arg1
)->LayoutMDIFrame(arg2
,arg3
);
13039 wxPyEndAllowThreads(__tstate
);
13040 if (PyErr_Occurred()) SWIG_fail
;
13043 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13051 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13052 PyObject
*resultobj
= 0;
13053 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13054 wxFrame
*arg2
= (wxFrame
*) 0 ;
13055 wxWindow
*arg3
= (wxWindow
*) NULL
;
13063 PyObject
* obj0
= 0 ;
13064 PyObject
* obj1
= 0 ;
13065 PyObject
* obj2
= 0 ;
13066 char * kwnames
[] = {
13067 (char *) "self",(char *) "frame",(char *) "mainWindow", NULL
13070 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutFrame",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13071 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13072 if (!SWIG_IsOK(res1
)) {
13073 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13075 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13076 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
13077 if (!SWIG_IsOK(res2
)) {
13078 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
13080 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
13082 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13083 if (!SWIG_IsOK(res3
)) {
13084 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutFrame" "', expected argument " "3"" of type '" "wxWindow *""'");
13086 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13089 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13090 result
= (bool)(arg1
)->LayoutFrame(arg2
,arg3
);
13091 wxPyEndAllowThreads(__tstate
);
13092 if (PyErr_Occurred()) SWIG_fail
;
13095 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13103 SWIGINTERN PyObject
*_wrap_LayoutAlgorithm_LayoutWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13104 PyObject
*resultobj
= 0;
13105 wxLayoutAlgorithm
*arg1
= (wxLayoutAlgorithm
*) 0 ;
13106 wxWindow
*arg2
= (wxWindow
*) 0 ;
13107 wxWindow
*arg3
= (wxWindow
*) NULL
;
13115 PyObject
* obj0
= 0 ;
13116 PyObject
* obj1
= 0 ;
13117 PyObject
* obj2
= 0 ;
13118 char * kwnames
[] = {
13119 (char *) "self",(char *) "parent",(char *) "mainWindow", NULL
13122 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:LayoutAlgorithm_LayoutWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13123 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxLayoutAlgorithm
, 0 | 0 );
13124 if (!SWIG_IsOK(res1
)) {
13125 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "1"" of type '" "wxLayoutAlgorithm *""'");
13127 arg1
= reinterpret_cast< wxLayoutAlgorithm
* >(argp1
);
13128 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13129 if (!SWIG_IsOK(res2
)) {
13130 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
13132 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13134 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13135 if (!SWIG_IsOK(res3
)) {
13136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "LayoutAlgorithm_LayoutWindow" "', expected argument " "3"" of type '" "wxWindow *""'");
13138 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
13141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13142 result
= (bool)(arg1
)->LayoutWindow(arg2
,arg3
);
13143 wxPyEndAllowThreads(__tstate
);
13144 if (PyErr_Occurred()) SWIG_fail
;
13147 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13155 SWIGINTERN PyObject
*LayoutAlgorithm_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13157 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13158 SWIG_TypeNewClientData(SWIGTYPE_p_wxLayoutAlgorithm
, SWIG_NewClientData(obj
));
13159 return SWIG_Py_Void();
13162 SWIGINTERN PyObject
*LayoutAlgorithm_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13163 return SWIG_Python_InitShadowInstance(args
);
13166 SWIGINTERN PyObject
*_wrap_new_PopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13167 PyObject
*resultobj
= 0;
13168 wxWindow
*arg1
= (wxWindow
*) 0 ;
13169 int arg2
= (int) wxBORDER_NONE
;
13170 wxPopupWindow
*result
= 0 ;
13175 PyObject
* obj0
= 0 ;
13176 PyObject
* obj1
= 0 ;
13177 char * kwnames
[] = {
13178 (char *) "parent",(char *) "flags", NULL
13181 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13182 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13183 if (!SWIG_IsOK(res1
)) {
13184 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13186 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13188 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13189 if (!SWIG_IsOK(ecode2
)) {
13190 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupWindow" "', expected argument " "2"" of type '" "int""'");
13192 arg2
= static_cast< int >(val2
);
13195 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13196 result
= (wxPopupWindow
*)new wxPopupWindow(arg1
,arg2
);
13197 wxPyEndAllowThreads(__tstate
);
13198 if (PyErr_Occurred()) SWIG_fail
;
13200 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_NEW
| 0 );
13207 SWIGINTERN PyObject
*_wrap_new_PrePopupWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13208 PyObject
*resultobj
= 0;
13209 wxPopupWindow
*result
= 0 ;
13211 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupWindow",0,0,0)) SWIG_fail
;
13213 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13214 result
= (wxPopupWindow
*)new wxPopupWindow();
13215 wxPyEndAllowThreads(__tstate
);
13216 if (PyErr_Occurred()) SWIG_fail
;
13218 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPopupWindow
, SWIG_POINTER_OWN
| 0 );
13225 SWIGINTERN PyObject
*PopupWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13227 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13228 SWIG_TypeNewClientData(SWIGTYPE_p_wxPopupWindow
, SWIG_NewClientData(obj
));
13229 return SWIG_Py_Void();
13232 SWIGINTERN PyObject
*PopupWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13233 return SWIG_Python_InitShadowInstance(args
);
13236 SWIGINTERN PyObject
*_wrap_new_PopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13237 PyObject
*resultobj
= 0;
13238 wxWindow
*arg1
= (wxWindow
*) 0 ;
13239 int arg2
= (int) wxBORDER_NONE
;
13240 wxPyPopupTransientWindow
*result
= 0 ;
13245 PyObject
* obj0
= 0 ;
13246 PyObject
* obj1
= 0 ;
13247 char * kwnames
[] = {
13248 (char *) "parent",(char *) "style", NULL
13251 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PopupTransientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13252 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13253 if (!SWIG_IsOK(res1
)) {
13254 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PopupTransientWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13256 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13258 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13259 if (!SWIG_IsOK(ecode2
)) {
13260 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PopupTransientWindow" "', expected argument " "2"" of type '" "int""'");
13262 arg2
= static_cast< int >(val2
);
13265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13266 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow(arg1
,arg2
);
13267 wxPyEndAllowThreads(__tstate
);
13268 if (PyErr_Occurred()) SWIG_fail
;
13270 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_NEW
| 0 );
13277 SWIGINTERN PyObject
*_wrap_new_PrePopupTransientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13278 PyObject
*resultobj
= 0;
13279 wxPyPopupTransientWindow
*result
= 0 ;
13281 if (!SWIG_Python_UnpackTuple(args
,"new_PrePopupTransientWindow",0,0,0)) SWIG_fail
;
13283 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13284 result
= (wxPyPopupTransientWindow
*)new wxPyPopupTransientWindow();
13285 wxPyEndAllowThreads(__tstate
);
13286 if (PyErr_Occurred()) SWIG_fail
;
13288 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_POINTER_OWN
| 0 );
13295 SWIGINTERN PyObject
*PopupTransientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13297 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13298 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPopupTransientWindow
, SWIG_NewClientData(obj
));
13299 return SWIG_Py_Void();
13302 SWIGINTERN PyObject
*PopupTransientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13303 return SWIG_Python_InitShadowInstance(args
);
13306 SWIGINTERN PyObject
*_wrap_new_TipWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13307 PyObject
*resultobj
= 0;
13308 wxWindow
*arg1
= (wxWindow
*) 0 ;
13309 wxString
*arg2
= 0 ;
13310 int arg3
= (int) 100 ;
13311 wxRect
*arg4
= (wxRect
*) NULL
;
13312 wxTipWindow
*result
= 0 ;
13315 bool temp2
= false ;
13320 PyObject
* obj0
= 0 ;
13321 PyObject
* obj1
= 0 ;
13322 PyObject
* obj2
= 0 ;
13323 PyObject
* obj3
= 0 ;
13324 char * kwnames
[] = {
13325 (char *) "parent",(char *) "text",(char *) "maxLength",(char *) "rectBound", NULL
13328 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OO:new_TipWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
13329 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13330 if (!SWIG_IsOK(res1
)) {
13331 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TipWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13333 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13335 arg2
= wxString_in_helper(obj1
);
13336 if (arg2
== NULL
) SWIG_fail
;
13340 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13341 if (!SWIG_IsOK(ecode3
)) {
13342 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_TipWindow" "', expected argument " "3"" of type '" "int""'");
13344 arg3
= static_cast< int >(val3
);
13347 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxRect
, 0 | 0 );
13348 if (!SWIG_IsOK(res4
)) {
13349 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_TipWindow" "', expected argument " "4"" of type '" "wxRect *""'");
13351 arg4
= reinterpret_cast< wxRect
* >(argp4
);
13354 if (!wxPyCheckForApp()) SWIG_fail
;
13355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13356 result
= (wxTipWindow
*)new_wxTipWindow(arg1
,(wxString
const &)*arg2
,arg3
,arg4
);
13357 wxPyEndAllowThreads(__tstate
);
13358 if (PyErr_Occurred()) SWIG_fail
;
13360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTipWindow
, SWIG_POINTER_NEW
| 0 );
13375 SWIGINTERN PyObject
*_wrap_TipWindow_SetBoundingRect(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13376 PyObject
*resultobj
= 0;
13377 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13382 PyObject
* obj0
= 0 ;
13383 PyObject
* obj1
= 0 ;
13384 char * kwnames
[] = {
13385 (char *) "self",(char *) "rectBound", NULL
13388 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TipWindow_SetBoundingRect",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13389 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13390 if (!SWIG_IsOK(res1
)) {
13391 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_SetBoundingRect" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13393 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13396 if ( ! wxRect_helper(obj1
, &arg2
)) SWIG_fail
;
13399 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13400 (arg1
)->SetBoundingRect((wxRect
const &)*arg2
);
13401 wxPyEndAllowThreads(__tstate
);
13402 if (PyErr_Occurred()) SWIG_fail
;
13404 resultobj
= SWIG_Py_Void();
13411 SWIGINTERN PyObject
*_wrap_TipWindow_Close(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13412 PyObject
*resultobj
= 0;
13413 wxTipWindow
*arg1
= (wxTipWindow
*) 0 ;
13416 PyObject
*swig_obj
[1] ;
13418 if (!args
) SWIG_fail
;
13419 swig_obj
[0] = args
;
13420 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTipWindow
, 0 | 0 );
13421 if (!SWIG_IsOK(res1
)) {
13422 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TipWindow_Close" "', expected argument " "1"" of type '" "wxTipWindow *""'");
13424 arg1
= reinterpret_cast< wxTipWindow
* >(argp1
);
13426 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13428 wxPyEndAllowThreads(__tstate
);
13429 if (PyErr_Occurred()) SWIG_fail
;
13431 resultobj
= SWIG_Py_Void();
13438 SWIGINTERN PyObject
*TipWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13440 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
13441 SWIG_TypeNewClientData(SWIGTYPE_p_wxTipWindow
, SWIG_NewClientData(obj
));
13442 return SWIG_Py_Void();
13445 SWIGINTERN PyObject
*TipWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13446 return SWIG_Python_InitShadowInstance(args
);
13449 SWIGINTERN PyObject
*_wrap_new_VScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13450 PyObject
*resultobj
= 0;
13451 wxWindow
*arg1
= (wxWindow
*) 0 ;
13452 int arg2
= (int) wxID_ANY
;
13453 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
13454 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
13455 wxSize
const &arg4_defvalue
= wxDefaultSize
;
13456 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
13457 long arg5
= (long) 0 ;
13458 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
13459 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
13460 wxPyVScrolledWindow
*result
= 0 ;
13469 bool temp6
= false ;
13470 PyObject
* obj0
= 0 ;
13471 PyObject
* obj1
= 0 ;
13472 PyObject
* obj2
= 0 ;
13473 PyObject
* obj3
= 0 ;
13474 PyObject
* obj4
= 0 ;
13475 PyObject
* obj5
= 0 ;
13476 char * kwnames
[] = {
13477 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13480 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
13481 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13482 if (!SWIG_IsOK(res1
)) {
13483 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
13485 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
13487 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13488 if (!SWIG_IsOK(ecode2
)) {
13489 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VScrolledWindow" "', expected argument " "2"" of type '" "int""'");
13491 arg2
= static_cast< int >(val2
);
13496 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
13502 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
13506 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
13507 if (!SWIG_IsOK(ecode5
)) {
13508 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VScrolledWindow" "', expected argument " "5"" of type '" "long""'");
13510 arg5
= static_cast< long >(val5
);
13514 arg6
= wxString_in_helper(obj5
);
13515 if (arg6
== NULL
) SWIG_fail
;
13520 if (!wxPyCheckForApp()) SWIG_fail
;
13521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13522 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
13523 wxPyEndAllowThreads(__tstate
);
13524 if (PyErr_Occurred()) SWIG_fail
;
13526 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_NEW
| 0 );
13541 SWIGINTERN PyObject
*_wrap_new_PreVScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13542 PyObject
*resultobj
= 0;
13543 wxPyVScrolledWindow
*result
= 0 ;
13545 if (!SWIG_Python_UnpackTuple(args
,"new_PreVScrolledWindow",0,0,0)) SWIG_fail
;
13547 if (!wxPyCheckForApp()) SWIG_fail
;
13548 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13549 result
= (wxPyVScrolledWindow
*)new wxPyVScrolledWindow();
13550 wxPyEndAllowThreads(__tstate
);
13551 if (PyErr_Occurred()) SWIG_fail
;
13553 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_POINTER_OWN
| 0 );
13560 SWIGINTERN PyObject
*_wrap_VScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13561 PyObject
*resultobj
= 0;
13562 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13563 PyObject
*arg2
= (PyObject
*) 0 ;
13564 PyObject
*arg3
= (PyObject
*) 0 ;
13567 PyObject
* obj0
= 0 ;
13568 PyObject
* obj1
= 0 ;
13569 PyObject
* obj2
= 0 ;
13570 char * kwnames
[] = {
13571 (char *) "self",(char *) "self",(char *) "_class", NULL
13574 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13575 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13576 if (!SWIG_IsOK(res1
)) {
13577 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13579 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13584 (arg1
)->_setCallbackInfo(arg2
,arg3
);
13585 wxPyEndAllowThreads(__tstate
);
13586 if (PyErr_Occurred()) SWIG_fail
;
13588 resultobj
= SWIG_Py_Void();
13595 SWIGINTERN PyObject
*_wrap_VScrolledWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13596 PyObject
*resultobj
= 0;
13597 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13598 wxWindow
*arg2
= (wxWindow
*) 0 ;
13599 int arg3
= (int) wxID_ANY
;
13600 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
13601 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
13602 wxSize
const &arg5_defvalue
= wxDefaultSize
;
13603 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
13604 long arg6
= (long) 0 ;
13605 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
13606 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
13618 bool temp7
= false ;
13619 PyObject
* obj0
= 0 ;
13620 PyObject
* obj1
= 0 ;
13621 PyObject
* obj2
= 0 ;
13622 PyObject
* obj3
= 0 ;
13623 PyObject
* obj4
= 0 ;
13624 PyObject
* obj5
= 0 ;
13625 PyObject
* obj6
= 0 ;
13626 char * kwnames
[] = {
13627 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
13630 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VScrolledWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
13631 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13632 if (!SWIG_IsOK(res1
)) {
13633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_Create" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13635 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13636 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
13637 if (!SWIG_IsOK(res2
)) {
13638 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VScrolledWindow_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
13640 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
13642 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13643 if (!SWIG_IsOK(ecode3
)) {
13644 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_Create" "', expected argument " "3"" of type '" "int""'");
13646 arg3
= static_cast< int >(val3
);
13651 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
13657 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
13661 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
13662 if (!SWIG_IsOK(ecode6
)) {
13663 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VScrolledWindow_Create" "', expected argument " "6"" of type '" "long""'");
13665 arg6
= static_cast< long >(val6
);
13669 arg7
= wxString_in_helper(obj6
);
13670 if (arg7
== NULL
) SWIG_fail
;
13675 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13676 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
13677 wxPyEndAllowThreads(__tstate
);
13678 if (PyErr_Occurred()) SWIG_fail
;
13681 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13697 SWIGINTERN PyObject
*_wrap_VScrolledWindow_SetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13698 PyObject
*resultobj
= 0;
13699 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13705 PyObject
* obj0
= 0 ;
13706 PyObject
* obj1
= 0 ;
13707 char * kwnames
[] = {
13708 (char *) "self",(char *) "count", NULL
13711 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_SetLineCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13712 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13713 if (!SWIG_IsOK(res1
)) {
13714 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13716 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13717 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13718 if (!SWIG_IsOK(ecode2
)) {
13719 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_SetLineCount" "', expected argument " "2"" of type '" "size_t""'");
13721 arg2
= static_cast< size_t >(val2
);
13723 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13724 (arg1
)->SetLineCount(arg2
);
13725 wxPyEndAllowThreads(__tstate
);
13726 if (PyErr_Occurred()) SWIG_fail
;
13728 resultobj
= SWIG_Py_Void();
13735 SWIGINTERN PyObject
*_wrap_VScrolledWindow_ScrollToLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13736 PyObject
*resultobj
= 0;
13737 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13744 PyObject
* obj0
= 0 ;
13745 PyObject
* obj1
= 0 ;
13746 char * kwnames
[] = {
13747 (char *) "self",(char *) "line", NULL
13750 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_ScrollToLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13751 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13752 if (!SWIG_IsOK(res1
)) {
13753 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13755 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13756 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13757 if (!SWIG_IsOK(ecode2
)) {
13758 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_ScrollToLine" "', expected argument " "2"" of type '" "size_t""'");
13760 arg2
= static_cast< size_t >(val2
);
13762 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13763 result
= (bool)(arg1
)->ScrollToLine(arg2
);
13764 wxPyEndAllowThreads(__tstate
);
13765 if (PyErr_Occurred()) SWIG_fail
;
13768 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
13776 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13777 PyObject
*resultobj
= 0;
13778 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13784 PyObject
* obj0
= 0 ;
13785 PyObject
* obj1
= 0 ;
13786 char * kwnames
[] = {
13787 (char *) "self",(char *) "line", NULL
13790 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_RefreshLine",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13791 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13792 if (!SWIG_IsOK(res1
)) {
13793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13795 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13796 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13797 if (!SWIG_IsOK(ecode2
)) {
13798 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLine" "', expected argument " "2"" of type '" "size_t""'");
13800 arg2
= static_cast< size_t >(val2
);
13802 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13803 (arg1
)->RefreshLine(arg2
);
13804 wxPyEndAllowThreads(__tstate
);
13805 if (PyErr_Occurred()) SWIG_fail
;
13807 resultobj
= SWIG_Py_Void();
13814 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshLines(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13815 PyObject
*resultobj
= 0;
13816 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13825 PyObject
* obj0
= 0 ;
13826 PyObject
* obj1
= 0 ;
13827 PyObject
* obj2
= 0 ;
13828 char * kwnames
[] = {
13829 (char *) "self",(char *) "from",(char *) "to", NULL
13832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_RefreshLines",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13834 if (!SWIG_IsOK(res1
)) {
13835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13837 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13838 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
13839 if (!SWIG_IsOK(ecode2
)) {
13840 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "2"" of type '" "size_t""'");
13842 arg2
= static_cast< size_t >(val2
);
13843 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
13844 if (!SWIG_IsOK(ecode3
)) {
13845 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_RefreshLines" "', expected argument " "3"" of type '" "size_t""'");
13847 arg3
= static_cast< size_t >(val3
);
13849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13850 (arg1
)->RefreshLines(arg2
,arg3
);
13851 wxPyEndAllowThreads(__tstate
);
13852 if (PyErr_Occurred()) SWIG_fail
;
13854 resultobj
= SWIG_Py_Void();
13861 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTestXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13862 PyObject
*resultobj
= 0;
13863 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13873 PyObject
* obj0
= 0 ;
13874 PyObject
* obj1
= 0 ;
13875 PyObject
* obj2
= 0 ;
13876 char * kwnames
[] = {
13877 (char *) "self",(char *) "x",(char *) "y", NULL
13880 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_HitTestXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
13881 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13882 if (!SWIG_IsOK(res1
)) {
13883 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13885 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13886 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
13887 if (!SWIG_IsOK(ecode2
)) {
13888 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "2"" of type '" "int""'");
13890 arg2
= static_cast< int >(val2
);
13891 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
13892 if (!SWIG_IsOK(ecode3
)) {
13893 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_HitTestXY" "', expected argument " "3"" of type '" "int""'");
13895 arg3
= static_cast< int >(val3
);
13897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13898 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest(arg2
,arg3
);
13899 wxPyEndAllowThreads(__tstate
);
13900 if (PyErr_Occurred()) SWIG_fail
;
13902 resultobj
= SWIG_From_int(static_cast< int >(result
));
13909 SWIGINTERN PyObject
*_wrap_VScrolledWindow_HitTest(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
13910 PyObject
*resultobj
= 0;
13911 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13912 wxPoint
*arg2
= 0 ;
13917 PyObject
* obj0
= 0 ;
13918 PyObject
* obj1
= 0 ;
13919 char * kwnames
[] = {
13920 (char *) "self",(char *) "pt", NULL
13923 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_HitTest",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
13924 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13925 if (!SWIG_IsOK(res1
)) {
13926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_HitTest" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13928 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13931 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
13934 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13935 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->HitTest((wxPoint
const &)*arg2
);
13936 wxPyEndAllowThreads(__tstate
);
13937 if (PyErr_Occurred()) SWIG_fail
;
13939 resultobj
= SWIG_From_int(static_cast< int >(result
));
13946 SWIGINTERN PyObject
*_wrap_VScrolledWindow_RefreshAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13947 PyObject
*resultobj
= 0;
13948 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13951 PyObject
*swig_obj
[1] ;
13953 if (!args
) SWIG_fail
;
13954 swig_obj
[0] = args
;
13955 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13956 if (!SWIG_IsOK(res1
)) {
13957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_RefreshAll" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
13959 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13961 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13962 (arg1
)->RefreshAll();
13963 wxPyEndAllowThreads(__tstate
);
13964 if (PyErr_Occurred()) SWIG_fail
;
13966 resultobj
= SWIG_Py_Void();
13973 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLineCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
13974 PyObject
*resultobj
= 0;
13975 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
13979 PyObject
*swig_obj
[1] ;
13981 if (!args
) SWIG_fail
;
13982 swig_obj
[0] = args
;
13983 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
13984 if (!SWIG_IsOK(res1
)) {
13985 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLineCount" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
13987 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
13989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
13990 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLineCount();
13991 wxPyEndAllowThreads(__tstate
);
13992 if (PyErr_Occurred()) SWIG_fail
;
13994 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14001 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleBegin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14002 PyObject
*resultobj
= 0;
14003 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14007 PyObject
*swig_obj
[1] ;
14009 if (!args
) SWIG_fail
;
14010 swig_obj
[0] = args
;
14011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14012 if (!SWIG_IsOK(res1
)) {
14013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleBegin" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14015 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14018 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleBegin();
14019 wxPyEndAllowThreads(__tstate
);
14020 if (PyErr_Occurred()) SWIG_fail
;
14022 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14029 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetVisibleEnd(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14030 PyObject
*resultobj
= 0;
14031 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14035 PyObject
*swig_obj
[1] ;
14037 if (!args
) SWIG_fail
;
14038 swig_obj
[0] = args
;
14039 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14040 if (!SWIG_IsOK(res1
)) {
14041 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetVisibleEnd" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14043 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14045 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14046 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetVisibleEnd();
14047 wxPyEndAllowThreads(__tstate
);
14048 if (PyErr_Occurred()) SWIG_fail
;
14050 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14057 SWIGINTERN PyObject
*_wrap_VScrolledWindow_IsVisible(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14058 PyObject
*resultobj
= 0;
14059 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14066 PyObject
* obj0
= 0 ;
14067 PyObject
* obj1
= 0 ;
14068 char * kwnames
[] = {
14069 (char *) "self",(char *) "line", NULL
14072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VScrolledWindow_IsVisible",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14074 if (!SWIG_IsOK(res1
)) {
14075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14077 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14079 if (!SWIG_IsOK(ecode2
)) {
14080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_IsVisible" "', expected argument " "2"" of type '" "size_t""'");
14082 arg2
= static_cast< size_t >(val2
);
14084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14085 result
= (bool)((wxPyVScrolledWindow
const *)arg1
)->IsVisible(arg2
);
14086 wxPyEndAllowThreads(__tstate
);
14087 if (PyErr_Occurred()) SWIG_fail
;
14090 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14098 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetFirstVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14099 PyObject
*resultobj
= 0;
14100 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14104 PyObject
*swig_obj
[1] ;
14106 if (!args
) SWIG_fail
;
14107 swig_obj
[0] = args
;
14108 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14109 if (!SWIG_IsOK(res1
)) {
14110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetFirstVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14112 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14115 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetFirstVisibleLine();
14116 wxPyEndAllowThreads(__tstate
);
14117 if (PyErr_Occurred()) SWIG_fail
;
14119 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14126 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLastVisibleLine(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14127 PyObject
*resultobj
= 0;
14128 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14132 PyObject
*swig_obj
[1] ;
14134 if (!args
) SWIG_fail
;
14135 swig_obj
[0] = args
;
14136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14137 if (!SWIG_IsOK(res1
)) {
14138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLastVisibleLine" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14140 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14143 result
= (size_t)((wxPyVScrolledWindow
const *)arg1
)->GetLastVisibleLine();
14144 wxPyEndAllowThreads(__tstate
);
14145 if (PyErr_Occurred()) SWIG_fail
;
14147 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14154 SWIGINTERN PyObject
*_wrap_VScrolledWindow_FindFirstFromBottom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14155 PyObject
*resultobj
= 0;
14156 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14158 bool arg3
= (bool) false ;
14166 PyObject
* obj0
= 0 ;
14167 PyObject
* obj1
= 0 ;
14168 PyObject
* obj2
= 0 ;
14169 char * kwnames
[] = {
14170 (char *) "self",(char *) "lineLast",(char *) "fullyVisible", NULL
14173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VScrolledWindow_FindFirstFromBottom",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14175 if (!SWIG_IsOK(res1
)) {
14176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "1"" of type '" "wxPyVScrolledWindow *""'");
14178 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14179 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14180 if (!SWIG_IsOK(ecode2
)) {
14181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "2"" of type '" "size_t""'");
14183 arg2
= static_cast< size_t >(val2
);
14185 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14186 if (!SWIG_IsOK(ecode3
)) {
14187 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_FindFirstFromBottom" "', expected argument " "3"" of type '" "bool""'");
14189 arg3
= static_cast< bool >(val3
);
14192 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14193 result
= (size_t)(arg1
)->FindFirstFromBottom(arg2
,arg3
);
14194 wxPyEndAllowThreads(__tstate
);
14195 if (PyErr_Occurred()) SWIG_fail
;
14197 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14204 SWIGINTERN PyObject
*_wrap_VScrolledWindow_GetLinesHeight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14205 PyObject
*resultobj
= 0;
14206 wxPyVScrolledWindow
*arg1
= (wxPyVScrolledWindow
*) 0 ;
14216 PyObject
* obj0
= 0 ;
14217 PyObject
* obj1
= 0 ;
14218 PyObject
* obj2
= 0 ;
14219 char * kwnames
[] = {
14220 (char *) "self",(char *) "lineMin",(char *) "lineMax", NULL
14223 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VScrolledWindow_GetLinesHeight",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14224 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVScrolledWindow
, 0 | 0 );
14225 if (!SWIG_IsOK(res1
)) {
14226 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "1"" of type '" "wxPyVScrolledWindow const *""'");
14228 arg1
= reinterpret_cast< wxPyVScrolledWindow
* >(argp1
);
14229 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14230 if (!SWIG_IsOK(ecode2
)) {
14231 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "2"" of type '" "size_t""'");
14233 arg2
= static_cast< size_t >(val2
);
14234 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
14235 if (!SWIG_IsOK(ecode3
)) {
14236 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VScrolledWindow_GetLinesHeight" "', expected argument " "3"" of type '" "size_t""'");
14238 arg3
= static_cast< size_t >(val3
);
14240 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14241 result
= (int)((wxPyVScrolledWindow
const *)arg1
)->GetLinesHeight(arg2
,arg3
);
14242 wxPyEndAllowThreads(__tstate
);
14243 if (PyErr_Occurred()) SWIG_fail
;
14245 resultobj
= SWIG_From_int(static_cast< int >(result
));
14252 SWIGINTERN PyObject
*VScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14254 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
14255 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVScrolledWindow
, SWIG_NewClientData(obj
));
14256 return SWIG_Py_Void();
14259 SWIGINTERN PyObject
*VScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14260 return SWIG_Python_InitShadowInstance(args
);
14263 SWIGINTERN
int VListBoxNameStr_set(PyObject
*) {
14264 SWIG_Error(SWIG_AttributeError
,"Variable VListBoxNameStr is read-only.");
14269 SWIGINTERN PyObject
*VListBoxNameStr_get(void) {
14270 PyObject
*pyobj
= 0;
14274 pyobj
= PyUnicode_FromWideChar((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14276 pyobj
= PyString_FromStringAndSize((&wxPyVListBoxNameStr
)->c_str(), (&wxPyVListBoxNameStr
)->Len());
14283 SWIGINTERN PyObject
*_wrap_new_VListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14284 PyObject
*resultobj
= 0;
14285 wxWindow
*arg1
= (wxWindow
*) 0 ;
14286 int arg2
= (int) wxID_ANY
;
14287 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
14288 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
14289 wxSize
const &arg4_defvalue
= wxDefaultSize
;
14290 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
14291 long arg5
= (long) 0 ;
14292 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
14293 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
14294 wxPyVListBox
*result
= 0 ;
14303 bool temp6
= false ;
14304 PyObject
* obj0
= 0 ;
14305 PyObject
* obj1
= 0 ;
14306 PyObject
* obj2
= 0 ;
14307 PyObject
* obj3
= 0 ;
14308 PyObject
* obj4
= 0 ;
14309 PyObject
* obj5
= 0 ;
14310 char * kwnames
[] = {
14311 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14314 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_VListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
14315 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14316 if (!SWIG_IsOK(res1
)) {
14317 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_VListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
14319 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
14321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14322 if (!SWIG_IsOK(ecode2
)) {
14323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_VListBox" "', expected argument " "2"" of type '" "int""'");
14325 arg2
= static_cast< int >(val2
);
14330 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
14336 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
14340 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
14341 if (!SWIG_IsOK(ecode5
)) {
14342 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_VListBox" "', expected argument " "5"" of type '" "long""'");
14344 arg5
= static_cast< long >(val5
);
14348 arg6
= wxString_in_helper(obj5
);
14349 if (arg6
== NULL
) SWIG_fail
;
14354 if (!wxPyCheckForApp()) SWIG_fail
;
14355 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14356 result
= (wxPyVListBox
*)new wxPyVListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
14357 wxPyEndAllowThreads(__tstate
);
14358 if (PyErr_Occurred()) SWIG_fail
;
14360 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_NEW
| 0 );
14375 SWIGINTERN PyObject
*_wrap_new_PreVListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14376 PyObject
*resultobj
= 0;
14377 wxPyVListBox
*result
= 0 ;
14379 if (!SWIG_Python_UnpackTuple(args
,"new_PreVListBox",0,0,0)) SWIG_fail
;
14381 if (!wxPyCheckForApp()) SWIG_fail
;
14382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14383 result
= (wxPyVListBox
*)new wxPyVListBox();
14384 wxPyEndAllowThreads(__tstate
);
14385 if (PyErr_Occurred()) SWIG_fail
;
14387 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyVListBox
, SWIG_POINTER_OWN
| 0 );
14394 SWIGINTERN PyObject
*_wrap_VListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14395 PyObject
*resultobj
= 0;
14396 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14397 PyObject
*arg2
= (PyObject
*) 0 ;
14398 PyObject
*arg3
= (PyObject
*) 0 ;
14401 PyObject
* obj0
= 0 ;
14402 PyObject
* obj1
= 0 ;
14403 PyObject
* obj2
= 0 ;
14404 char * kwnames
[] = {
14405 (char *) "self",(char *) "self",(char *) "_class", NULL
14408 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14409 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14410 if (!SWIG_IsOK(res1
)) {
14411 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14413 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14417 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14418 (arg1
)->_setCallbackInfo(arg2
,arg3
);
14419 wxPyEndAllowThreads(__tstate
);
14420 if (PyErr_Occurred()) SWIG_fail
;
14422 resultobj
= SWIG_Py_Void();
14429 SWIGINTERN PyObject
*_wrap_VListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14430 PyObject
*resultobj
= 0;
14431 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14432 wxWindow
*arg2
= (wxWindow
*) 0 ;
14433 int arg3
= (int) wxID_ANY
;
14434 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
14435 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
14436 wxSize
const &arg5_defvalue
= wxDefaultSize
;
14437 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
14438 long arg6
= (long) 0 ;
14439 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
14440 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
14452 bool temp7
= false ;
14453 PyObject
* obj0
= 0 ;
14454 PyObject
* obj1
= 0 ;
14455 PyObject
* obj2
= 0 ;
14456 PyObject
* obj3
= 0 ;
14457 PyObject
* obj4
= 0 ;
14458 PyObject
* obj5
= 0 ;
14459 PyObject
* obj6
= 0 ;
14460 char * kwnames
[] = {
14461 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
14464 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:VListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
14465 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14466 if (!SWIG_IsOK(res1
)) {
14467 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Create" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14469 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14470 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
14471 if (!SWIG_IsOK(res2
)) {
14472 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
14474 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
14476 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
14477 if (!SWIG_IsOK(ecode3
)) {
14478 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Create" "', expected argument " "3"" of type '" "int""'");
14480 arg3
= static_cast< int >(val3
);
14485 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
14491 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
14495 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
14496 if (!SWIG_IsOK(ecode6
)) {
14497 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "VListBox_Create" "', expected argument " "6"" of type '" "long""'");
14499 arg6
= static_cast< long >(val6
);
14503 arg7
= wxString_in_helper(obj6
);
14504 if (arg7
== NULL
) SWIG_fail
;
14509 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14510 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
14511 wxPyEndAllowThreads(__tstate
);
14512 if (PyErr_Occurred()) SWIG_fail
;
14515 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14531 SWIGINTERN PyObject
*_wrap_VListBox_GetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14532 PyObject
*resultobj
= 0;
14533 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14537 PyObject
*swig_obj
[1] ;
14539 if (!args
) SWIG_fail
;
14540 swig_obj
[0] = args
;
14541 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14542 if (!SWIG_IsOK(res1
)) {
14543 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14545 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14547 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14548 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetItemCount();
14549 wxPyEndAllowThreads(__tstate
);
14550 if (PyErr_Occurred()) SWIG_fail
;
14552 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14559 SWIGINTERN PyObject
*_wrap_VListBox_HasMultipleSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14560 PyObject
*resultobj
= 0;
14561 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14565 PyObject
*swig_obj
[1] ;
14567 if (!args
) SWIG_fail
;
14568 swig_obj
[0] = args
;
14569 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14570 if (!SWIG_IsOK(res1
)) {
14571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_HasMultipleSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14573 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14575 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14576 result
= (bool)((wxPyVListBox
const *)arg1
)->HasMultipleSelection();
14577 wxPyEndAllowThreads(__tstate
);
14578 if (PyErr_Occurred()) SWIG_fail
;
14581 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14589 SWIGINTERN PyObject
*_wrap_VListBox_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14590 PyObject
*resultobj
= 0;
14591 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14595 PyObject
*swig_obj
[1] ;
14597 if (!args
) SWIG_fail
;
14598 swig_obj
[0] = args
;
14599 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14600 if (!SWIG_IsOK(res1
)) {
14601 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelection" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14603 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14605 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14606 result
= (int)((wxPyVListBox
const *)arg1
)->GetSelection();
14607 wxPyEndAllowThreads(__tstate
);
14608 if (PyErr_Occurred()) SWIG_fail
;
14610 resultobj
= SWIG_From_int(static_cast< int >(result
));
14617 SWIGINTERN PyObject
*_wrap_VListBox_IsCurrent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14618 PyObject
*resultobj
= 0;
14619 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14626 PyObject
* obj0
= 0 ;
14627 PyObject
* obj1
= 0 ;
14628 char * kwnames
[] = {
14629 (char *) "self",(char *) "item", NULL
14632 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsCurrent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14633 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14634 if (!SWIG_IsOK(res1
)) {
14635 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsCurrent" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14637 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14638 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14639 if (!SWIG_IsOK(ecode2
)) {
14640 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsCurrent" "', expected argument " "2"" of type '" "size_t""'");
14642 arg2
= static_cast< size_t >(val2
);
14644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14645 result
= (bool)((wxPyVListBox
const *)arg1
)->IsCurrent(arg2
);
14646 wxPyEndAllowThreads(__tstate
);
14647 if (PyErr_Occurred()) SWIG_fail
;
14650 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14658 SWIGINTERN PyObject
*_wrap_VListBox_IsSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14659 PyObject
*resultobj
= 0;
14660 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14667 PyObject
* obj0
= 0 ;
14668 PyObject
* obj1
= 0 ;
14669 char * kwnames
[] = {
14670 (char *) "self",(char *) "item", NULL
14673 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_IsSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14674 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14675 if (!SWIG_IsOK(res1
)) {
14676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_IsSelected" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14678 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14679 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14680 if (!SWIG_IsOK(ecode2
)) {
14681 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_IsSelected" "', expected argument " "2"" of type '" "size_t""'");
14683 arg2
= static_cast< size_t >(val2
);
14685 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14686 result
= (bool)((wxPyVListBox
const *)arg1
)->IsSelected(arg2
);
14687 wxPyEndAllowThreads(__tstate
);
14688 if (PyErr_Occurred()) SWIG_fail
;
14691 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
14699 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectedCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14700 PyObject
*resultobj
= 0;
14701 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14705 PyObject
*swig_obj
[1] ;
14707 if (!args
) SWIG_fail
;
14708 swig_obj
[0] = args
;
14709 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14710 if (!SWIG_IsOK(res1
)) {
14711 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectedCount" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14713 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14715 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14716 result
= (size_t)((wxPyVListBox
const *)arg1
)->GetSelectedCount();
14717 wxPyEndAllowThreads(__tstate
);
14718 if (PyErr_Occurred()) SWIG_fail
;
14720 resultobj
= SWIG_From_size_t(static_cast< size_t >(result
));
14727 SWIGINTERN PyObject
*_wrap_VListBox_GetFirstSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14728 PyObject
*resultobj
= 0;
14729 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14730 PyObject
*result
= 0 ;
14733 PyObject
*swig_obj
[1] ;
14735 if (!args
) SWIG_fail
;
14736 swig_obj
[0] = args
;
14737 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14738 if (!SWIG_IsOK(res1
)) {
14739 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetFirstSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14741 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14743 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14744 result
= (PyObject
*)wxPyVListBox_GetFirstSelected(arg1
);
14745 wxPyEndAllowThreads(__tstate
);
14746 if (PyErr_Occurred()) SWIG_fail
;
14748 resultobj
= result
;
14755 SWIGINTERN PyObject
*_wrap_VListBox_GetNextSelected(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14756 PyObject
*resultobj
= 0;
14757 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14758 unsigned long arg2
;
14759 PyObject
*result
= 0 ;
14762 unsigned long val2
;
14764 PyObject
* obj0
= 0 ;
14765 PyObject
* obj1
= 0 ;
14766 char * kwnames
[] = {
14767 (char *) "self",(char *) "cookie", NULL
14770 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_GetNextSelected",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14771 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14772 if (!SWIG_IsOK(res1
)) {
14773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetNextSelected" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14775 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14776 ecode2
= SWIG_AsVal_unsigned_SS_long(obj1
, &val2
);
14777 if (!SWIG_IsOK(ecode2
)) {
14778 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_GetNextSelected" "', expected argument " "2"" of type '" "unsigned long""'");
14780 arg2
= static_cast< unsigned long >(val2
);
14782 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14783 result
= (PyObject
*)wxPyVListBox_GetNextSelected(arg1
,arg2
);
14784 wxPyEndAllowThreads(__tstate
);
14785 if (PyErr_Occurred()) SWIG_fail
;
14787 resultobj
= result
;
14794 SWIGINTERN PyObject
*_wrap_VListBox_GetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14795 PyObject
*resultobj
= 0;
14796 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14800 PyObject
*swig_obj
[1] ;
14802 if (!args
) SWIG_fail
;
14803 swig_obj
[0] = args
;
14804 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14805 if (!SWIG_IsOK(res1
)) {
14806 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetMargins" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14808 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14810 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14811 result
= ((wxPyVListBox
const *)arg1
)->GetMargins();
14812 wxPyEndAllowThreads(__tstate
);
14813 if (PyErr_Occurred()) SWIG_fail
;
14815 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
14822 SWIGINTERN PyObject
*_wrap_VListBox_GetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14823 PyObject
*resultobj
= 0;
14824 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14825 wxColour
*result
= 0 ;
14828 PyObject
*swig_obj
[1] ;
14830 if (!args
) SWIG_fail
;
14831 swig_obj
[0] = args
;
14832 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14833 if (!SWIG_IsOK(res1
)) {
14834 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_GetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
14836 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14838 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14840 wxColour
const &_result_ref
= ((wxPyVListBox
const *)arg1
)->GetSelectionBackground();
14841 result
= (wxColour
*) &_result_ref
;
14843 wxPyEndAllowThreads(__tstate
);
14844 if (PyErr_Occurred()) SWIG_fail
;
14846 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColour
, 0 | 0 );
14853 SWIGINTERN PyObject
*_wrap_VListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14854 PyObject
*resultobj
= 0;
14855 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14861 PyObject
* obj0
= 0 ;
14862 PyObject
* obj1
= 0 ;
14863 char * kwnames
[] = {
14864 (char *) "self",(char *) "count", NULL
14867 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14868 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14869 if (!SWIG_IsOK(res1
)) {
14870 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14872 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14873 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14874 if (!SWIG_IsOK(ecode2
)) {
14875 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
14877 arg2
= static_cast< size_t >(val2
);
14879 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14880 (arg1
)->SetItemCount(arg2
);
14881 wxPyEndAllowThreads(__tstate
);
14882 if (PyErr_Occurred()) SWIG_fail
;
14884 resultobj
= SWIG_Py_Void();
14891 SWIGINTERN PyObject
*_wrap_VListBox_Clear(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
14892 PyObject
*resultobj
= 0;
14893 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14896 PyObject
*swig_obj
[1] ;
14898 if (!args
) SWIG_fail
;
14899 swig_obj
[0] = args
;
14900 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14901 if (!SWIG_IsOK(res1
)) {
14902 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Clear" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14904 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14906 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14908 wxPyEndAllowThreads(__tstate
);
14909 if (PyErr_Occurred()) SWIG_fail
;
14911 resultobj
= SWIG_Py_Void();
14918 SWIGINTERN PyObject
*_wrap_VListBox_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14919 PyObject
*resultobj
= 0;
14920 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14926 PyObject
* obj0
= 0 ;
14927 PyObject
* obj1
= 0 ;
14928 char * kwnames
[] = {
14929 (char *) "self",(char *) "selection", NULL
14932 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
14933 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14934 if (!SWIG_IsOK(res1
)) {
14935 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelection" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14937 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14938 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
14939 if (!SWIG_IsOK(ecode2
)) {
14940 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetSelection" "', expected argument " "2"" of type '" "int""'");
14942 arg2
= static_cast< int >(val2
);
14944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14945 (arg1
)->SetSelection(arg2
);
14946 wxPyEndAllowThreads(__tstate
);
14947 if (PyErr_Occurred()) SWIG_fail
;
14949 resultobj
= SWIG_Py_Void();
14956 SWIGINTERN PyObject
*_wrap_VListBox_Select(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
14957 PyObject
*resultobj
= 0;
14958 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
14960 bool arg3
= (bool) true ;
14968 PyObject
* obj0
= 0 ;
14969 PyObject
* obj1
= 0 ;
14970 PyObject
* obj2
= 0 ;
14971 char * kwnames
[] = {
14972 (char *) "self",(char *) "item",(char *) "select", NULL
14975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:VListBox_Select",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
14976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
14977 if (!SWIG_IsOK(res1
)) {
14978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Select" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
14980 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
14981 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
14982 if (!SWIG_IsOK(ecode2
)) {
14983 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Select" "', expected argument " "2"" of type '" "size_t""'");
14985 arg2
= static_cast< size_t >(val2
);
14987 ecode3
= SWIG_AsVal_bool(obj2
, &val3
);
14988 if (!SWIG_IsOK(ecode3
)) {
14989 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_Select" "', expected argument " "3"" of type '" "bool""'");
14991 arg3
= static_cast< bool >(val3
);
14994 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
14995 result
= (bool)(arg1
)->Select(arg2
,arg3
);
14996 wxPyEndAllowThreads(__tstate
);
14997 if (PyErr_Occurred()) SWIG_fail
;
15000 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15008 SWIGINTERN PyObject
*_wrap_VListBox_SelectRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15009 PyObject
*resultobj
= 0;
15010 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15020 PyObject
* obj0
= 0 ;
15021 PyObject
* obj1
= 0 ;
15022 PyObject
* obj2
= 0 ;
15023 char * kwnames
[] = {
15024 (char *) "self",(char *) "from",(char *) "to", NULL
15027 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SelectRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15028 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15029 if (!SWIG_IsOK(res1
)) {
15030 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectRange" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15032 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15033 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15034 if (!SWIG_IsOK(ecode2
)) {
15035 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SelectRange" "', expected argument " "2"" of type '" "size_t""'");
15037 arg2
= static_cast< size_t >(val2
);
15038 ecode3
= SWIG_AsVal_size_t(obj2
, &val3
);
15039 if (!SWIG_IsOK(ecode3
)) {
15040 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SelectRange" "', expected argument " "3"" of type '" "size_t""'");
15042 arg3
= static_cast< size_t >(val3
);
15044 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15045 result
= (bool)(arg1
)->SelectRange(arg2
,arg3
);
15046 wxPyEndAllowThreads(__tstate
);
15047 if (PyErr_Occurred()) SWIG_fail
;
15050 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15058 SWIGINTERN PyObject
*_wrap_VListBox_Toggle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15059 PyObject
*resultobj
= 0;
15060 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15066 PyObject
* obj0
= 0 ;
15067 PyObject
* obj1
= 0 ;
15068 char * kwnames
[] = {
15069 (char *) "self",(char *) "item", NULL
15072 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_Toggle",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15073 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15074 if (!SWIG_IsOK(res1
)) {
15075 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_Toggle" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15077 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15078 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15079 if (!SWIG_IsOK(ecode2
)) {
15080 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_Toggle" "', expected argument " "2"" of type '" "size_t""'");
15082 arg2
= static_cast< size_t >(val2
);
15084 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15085 (arg1
)->Toggle(arg2
);
15086 wxPyEndAllowThreads(__tstate
);
15087 if (PyErr_Occurred()) SWIG_fail
;
15089 resultobj
= SWIG_Py_Void();
15096 SWIGINTERN PyObject
*_wrap_VListBox_SelectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15097 PyObject
*resultobj
= 0;
15098 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15102 PyObject
*swig_obj
[1] ;
15104 if (!args
) SWIG_fail
;
15105 swig_obj
[0] = args
;
15106 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15107 if (!SWIG_IsOK(res1
)) {
15108 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SelectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15110 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15112 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15113 result
= (bool)(arg1
)->SelectAll();
15114 wxPyEndAllowThreads(__tstate
);
15115 if (PyErr_Occurred()) SWIG_fail
;
15118 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15126 SWIGINTERN PyObject
*_wrap_VListBox_DeselectAll(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15127 PyObject
*resultobj
= 0;
15128 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15132 PyObject
*swig_obj
[1] ;
15134 if (!args
) SWIG_fail
;
15135 swig_obj
[0] = args
;
15136 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15137 if (!SWIG_IsOK(res1
)) {
15138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_DeselectAll" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15140 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15142 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15143 result
= (bool)(arg1
)->DeselectAll();
15144 wxPyEndAllowThreads(__tstate
);
15145 if (PyErr_Occurred()) SWIG_fail
;
15148 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15156 SWIGINTERN PyObject
*_wrap_VListBox_SetMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15157 PyObject
*resultobj
= 0;
15158 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15159 wxPoint
*arg2
= 0 ;
15163 PyObject
* obj0
= 0 ;
15164 PyObject
* obj1
= 0 ;
15165 char * kwnames
[] = {
15166 (char *) "self",(char *) "pt", NULL
15169 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15170 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15171 if (!SWIG_IsOK(res1
)) {
15172 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMargins" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15174 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15177 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
15180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15181 (arg1
)->SetMargins((wxPoint
const &)*arg2
);
15182 wxPyEndAllowThreads(__tstate
);
15183 if (PyErr_Occurred()) SWIG_fail
;
15185 resultobj
= SWIG_Py_Void();
15192 SWIGINTERN PyObject
*_wrap_VListBox_SetMarginsXY(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15193 PyObject
*resultobj
= 0;
15194 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15203 PyObject
* obj0
= 0 ;
15204 PyObject
* obj1
= 0 ;
15205 PyObject
* obj2
= 0 ;
15206 char * kwnames
[] = {
15207 (char *) "self",(char *) "x",(char *) "y", NULL
15210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:VListBox_SetMarginsXY",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15212 if (!SWIG_IsOK(res1
)) {
15213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15215 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15216 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15217 if (!SWIG_IsOK(ecode2
)) {
15218 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "2"" of type '" "int""'");
15220 arg2
= static_cast< int >(val2
);
15221 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15222 if (!SWIG_IsOK(ecode3
)) {
15223 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "VListBox_SetMarginsXY" "', expected argument " "3"" of type '" "int""'");
15225 arg3
= static_cast< int >(val3
);
15227 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15228 (arg1
)->SetMargins(arg2
,arg3
);
15229 wxPyEndAllowThreads(__tstate
);
15230 if (PyErr_Occurred()) SWIG_fail
;
15232 resultobj
= SWIG_Py_Void();
15239 SWIGINTERN PyObject
*_wrap_VListBox_SetSelectionBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15240 PyObject
*resultobj
= 0;
15241 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15242 wxColour
*arg2
= 0 ;
15246 PyObject
* obj0
= 0 ;
15247 PyObject
* obj1
= 0 ;
15248 char * kwnames
[] = {
15249 (char *) "self",(char *) "col", NULL
15252 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:VListBox_SetSelectionBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15253 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15254 if (!SWIG_IsOK(res1
)) {
15255 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_SetSelectionBackground" "', expected argument " "1"" of type '" "wxPyVListBox *""'");
15257 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15260 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
15263 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15264 (arg1
)->SetSelectionBackground((wxColour
const &)*arg2
);
15265 wxPyEndAllowThreads(__tstate
);
15266 if (PyErr_Occurred()) SWIG_fail
;
15268 resultobj
= SWIG_Py_Void();
15275 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawSeparator(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15276 PyObject
*resultobj
= 0;
15277 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15288 PyObject
* obj0
= 0 ;
15289 PyObject
* obj1
= 0 ;
15290 PyObject
* obj2
= 0 ;
15291 PyObject
* obj3
= 0 ;
15292 char * kwnames
[] = {
15293 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15296 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawSeparator",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15297 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15298 if (!SWIG_IsOK(res1
)) {
15299 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15301 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15302 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15303 if (!SWIG_IsOK(res2
)) {
15304 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15307 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawSeparator" "', expected argument " "2"" of type '" "wxDC &""'");
15309 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15312 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15314 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15315 if (!SWIG_IsOK(ecode4
)) {
15316 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawSeparator" "', expected argument " "4"" of type '" "size_t""'");
15318 arg4
= static_cast< size_t >(val4
);
15320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15321 ((wxPyVListBox
const *)arg1
)->OnDrawSeparator(*arg2
,*arg3
,arg4
);
15322 wxPyEndAllowThreads(__tstate
);
15323 if (PyErr_Occurred()) SWIG_fail
;
15325 resultobj
= SWIG_Py_Void();
15332 SWIGINTERN PyObject
*_wrap_VListBox_OnDrawBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15333 PyObject
*resultobj
= 0;
15334 wxPyVListBox
*arg1
= (wxPyVListBox
*) 0 ;
15345 PyObject
* obj0
= 0 ;
15346 PyObject
* obj1
= 0 ;
15347 PyObject
* obj2
= 0 ;
15348 PyObject
* obj3
= 0 ;
15349 char * kwnames
[] = {
15350 (char *) "self",(char *) "dc",(char *) "rect",(char *) "n", NULL
15353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:VListBox_OnDrawBackground",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyVListBox
, 0 | 0 );
15355 if (!SWIG_IsOK(res1
)) {
15356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "1"" of type '" "wxPyVListBox const *""'");
15358 arg1
= reinterpret_cast< wxPyVListBox
* >(argp1
);
15359 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxDC
, 0 );
15360 if (!SWIG_IsOK(res2
)) {
15361 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15364 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "VListBox_OnDrawBackground" "', expected argument " "2"" of type '" "wxDC &""'");
15366 arg2
= reinterpret_cast< wxDC
* >(argp2
);
15369 if ( ! wxRect_helper(obj2
, &arg3
)) SWIG_fail
;
15371 ecode4
= SWIG_AsVal_size_t(obj3
, &val4
);
15372 if (!SWIG_IsOK(ecode4
)) {
15373 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "VListBox_OnDrawBackground" "', expected argument " "4"" of type '" "size_t""'");
15375 arg4
= static_cast< size_t >(val4
);
15377 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15378 ((wxPyVListBox
const *)arg1
)->OnDrawBackground(*arg2
,(wxRect
const &)*arg3
,arg4
);
15379 wxPyEndAllowThreads(__tstate
);
15380 if (PyErr_Occurred()) SWIG_fail
;
15382 resultobj
= SWIG_Py_Void();
15389 SWIGINTERN PyObject
*VListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15391 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15392 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyVListBox
, SWIG_NewClientData(obj
));
15393 return SWIG_Py_Void();
15396 SWIGINTERN PyObject
*VListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15397 return SWIG_Python_InitShadowInstance(args
);
15400 SWIGINTERN PyObject
*_wrap_new_HtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15401 PyObject
*resultobj
= 0;
15402 wxWindow
*arg1
= (wxWindow
*) 0 ;
15403 int arg2
= (int) wxID_ANY
;
15404 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
15405 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
15406 wxSize
const &arg4_defvalue
= wxDefaultSize
;
15407 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
15408 long arg5
= (long) 0 ;
15409 wxString
const &arg6_defvalue
= wxPyVListBoxNameStr
;
15410 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
15411 wxPyHtmlListBox
*result
= 0 ;
15420 bool temp6
= false ;
15421 PyObject
* obj0
= 0 ;
15422 PyObject
* obj1
= 0 ;
15423 PyObject
* obj2
= 0 ;
15424 PyObject
* obj3
= 0 ;
15425 PyObject
* obj4
= 0 ;
15426 PyObject
* obj5
= 0 ;
15427 char * kwnames
[] = {
15428 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15431 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_HtmlListBox",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
15432 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15433 if (!SWIG_IsOK(res1
)) {
15434 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_HtmlListBox" "', expected argument " "1"" of type '" "wxWindow *""'");
15436 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
15438 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
15439 if (!SWIG_IsOK(ecode2
)) {
15440 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_HtmlListBox" "', expected argument " "2"" of type '" "int""'");
15442 arg2
= static_cast< int >(val2
);
15447 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
15453 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
15457 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
15458 if (!SWIG_IsOK(ecode5
)) {
15459 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_HtmlListBox" "', expected argument " "5"" of type '" "long""'");
15461 arg5
= static_cast< long >(val5
);
15465 arg6
= wxString_in_helper(obj5
);
15466 if (arg6
== NULL
) SWIG_fail
;
15471 if (!wxPyCheckForApp()) SWIG_fail
;
15472 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15473 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
15474 wxPyEndAllowThreads(__tstate
);
15475 if (PyErr_Occurred()) SWIG_fail
;
15477 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_NEW
| 0 );
15492 SWIGINTERN PyObject
*_wrap_new_PreHtmlListBox(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15493 PyObject
*resultobj
= 0;
15494 wxPyHtmlListBox
*result
= 0 ;
15496 if (!SWIG_Python_UnpackTuple(args
,"new_PreHtmlListBox",0,0,0)) SWIG_fail
;
15498 if (!wxPyCheckForApp()) SWIG_fail
;
15499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15500 result
= (wxPyHtmlListBox
*)new wxPyHtmlListBox();
15501 wxPyEndAllowThreads(__tstate
);
15502 if (PyErr_Occurred()) SWIG_fail
;
15504 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyHtmlListBox
, SWIG_POINTER_OWN
| 0 );
15511 SWIGINTERN PyObject
*_wrap_HtmlListBox__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15512 PyObject
*resultobj
= 0;
15513 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15514 PyObject
*arg2
= (PyObject
*) 0 ;
15515 PyObject
*arg3
= (PyObject
*) 0 ;
15518 PyObject
* obj0
= 0 ;
15519 PyObject
* obj1
= 0 ;
15520 PyObject
* obj2
= 0 ;
15521 char * kwnames
[] = {
15522 (char *) "self",(char *) "self",(char *) "_class", NULL
15525 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15526 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15527 if (!SWIG_IsOK(res1
)) {
15528 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15530 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15534 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15535 (arg1
)->_setCallbackInfo(arg2
,arg3
);
15536 wxPyEndAllowThreads(__tstate
);
15537 if (PyErr_Occurred()) SWIG_fail
;
15539 resultobj
= SWIG_Py_Void();
15546 SWIGINTERN PyObject
*_wrap_HtmlListBox_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15547 PyObject
*resultobj
= 0;
15548 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15549 wxWindow
*arg2
= (wxWindow
*) 0 ;
15550 int arg3
= (int) wxID_ANY
;
15551 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
15552 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
15553 wxSize
const &arg5_defvalue
= wxDefaultSize
;
15554 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
15555 long arg6
= (long) 0 ;
15556 wxString
const &arg7_defvalue
= wxPyVListBoxNameStr
;
15557 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
15569 bool temp7
= false ;
15570 PyObject
* obj0
= 0 ;
15571 PyObject
* obj1
= 0 ;
15572 PyObject
* obj2
= 0 ;
15573 PyObject
* obj3
= 0 ;
15574 PyObject
* obj4
= 0 ;
15575 PyObject
* obj5
= 0 ;
15576 PyObject
* obj6
= 0 ;
15577 char * kwnames
[] = {
15578 (char *) "self",(char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
15581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOO:HtmlListBox_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
15582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15583 if (!SWIG_IsOK(res1
)) {
15584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_Create" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15586 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15587 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
15588 if (!SWIG_IsOK(res2
)) {
15589 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "HtmlListBox_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
15591 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
15593 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
15594 if (!SWIG_IsOK(ecode3
)) {
15595 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "HtmlListBox_Create" "', expected argument " "3"" of type '" "int""'");
15597 arg3
= static_cast< int >(val3
);
15602 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
15608 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
15612 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
15613 if (!SWIG_IsOK(ecode6
)) {
15614 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "HtmlListBox_Create" "', expected argument " "6"" of type '" "long""'");
15616 arg6
= static_cast< long >(val6
);
15620 arg7
= wxString_in_helper(obj6
);
15621 if (arg7
== NULL
) SWIG_fail
;
15626 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15627 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
15628 wxPyEndAllowThreads(__tstate
);
15629 if (PyErr_Occurred()) SWIG_fail
;
15632 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15648 SWIGINTERN PyObject
*_wrap_HtmlListBox_SetItemCount(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15649 PyObject
*resultobj
= 0;
15650 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15656 PyObject
* obj0
= 0 ;
15657 PyObject
* obj1
= 0 ;
15658 char * kwnames
[] = {
15659 (char *) "self",(char *) "count", NULL
15662 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:HtmlListBox_SetItemCount",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
15663 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15664 if (!SWIG_IsOK(res1
)) {
15665 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15667 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15668 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15669 if (!SWIG_IsOK(ecode2
)) {
15670 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_SetItemCount" "', expected argument " "2"" of type '" "size_t""'");
15672 arg2
= static_cast< size_t >(val2
);
15674 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15675 (arg1
)->SetItemCount(arg2
);
15676 wxPyEndAllowThreads(__tstate
);
15677 if (PyErr_Occurred()) SWIG_fail
;
15679 resultobj
= SWIG_Py_Void();
15686 SWIGINTERN PyObject
*_wrap_HtmlListBox_GetFileSystem(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15687 PyObject
*resultobj
= 0;
15688 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15689 wxFileSystem
*result
= 0 ;
15692 PyObject
*swig_obj
[1] ;
15694 if (!args
) SWIG_fail
;
15695 swig_obj
[0] = args
;
15696 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15697 if (!SWIG_IsOK(res1
)) {
15698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_GetFileSystem" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15700 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15704 wxFileSystem
&_result_ref
= (arg1
)->GetFileSystem();
15705 result
= (wxFileSystem
*) &_result_ref
;
15707 wxPyEndAllowThreads(__tstate
);
15708 if (PyErr_Occurred()) SWIG_fail
;
15710 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileSystem
, 0 | 0 );
15717 SWIGINTERN PyObject
*_wrap_HtmlListBox_OnLinkClicked(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15718 PyObject
*resultobj
= 0;
15719 wxPyHtmlListBox
*arg1
= (wxPyHtmlListBox
*) 0 ;
15721 wxHtmlLinkInfo
*arg3
= 0 ;
15728 PyObject
* obj0
= 0 ;
15729 PyObject
* obj1
= 0 ;
15730 PyObject
* obj2
= 0 ;
15731 char * kwnames
[] = {
15732 (char *) "self",(char *) "n",(char *) "link", NULL
15735 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:HtmlListBox_OnLinkClicked",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15736 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyHtmlListBox
, 0 | 0 );
15737 if (!SWIG_IsOK(res1
)) {
15738 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "1"" of type '" "wxPyHtmlListBox *""'");
15740 arg1
= reinterpret_cast< wxPyHtmlListBox
* >(argp1
);
15741 ecode2
= SWIG_AsVal_size_t(obj1
, &val2
);
15742 if (!SWIG_IsOK(ecode2
)) {
15743 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "2"" of type '" "size_t""'");
15745 arg2
= static_cast< size_t >(val2
);
15746 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxHtmlLinkInfo
, 0 | 0);
15747 if (!SWIG_IsOK(res3
)) {
15748 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15751 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "HtmlListBox_OnLinkClicked" "', expected argument " "3"" of type '" "wxHtmlLinkInfo const &""'");
15753 arg3
= reinterpret_cast< wxHtmlLinkInfo
* >(argp3
);
15755 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15756 (arg1
)->OnLinkClicked(arg2
,(wxHtmlLinkInfo
const &)*arg3
);
15757 wxPyEndAllowThreads(__tstate
);
15758 if (PyErr_Occurred()) SWIG_fail
;
15760 resultobj
= SWIG_Py_Void();
15767 SWIGINTERN PyObject
*HtmlListBox_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15769 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
15770 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyHtmlListBox
, SWIG_NewClientData(obj
));
15771 return SWIG_Py_Void();
15774 SWIGINTERN PyObject
*HtmlListBox_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15775 return SWIG_Python_InitShadowInstance(args
);
15778 SWIGINTERN PyObject
*_wrap_new_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15779 PyObject
*resultobj
= 0;
15780 wxPyTaskBarIcon
*result
= 0 ;
15782 if (!SWIG_Python_UnpackTuple(args
,"new_TaskBarIcon",0,0,0)) SWIG_fail
;
15784 if (!wxPyCheckForApp()) SWIG_fail
;
15785 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15786 result
= (wxPyTaskBarIcon
*)new wxPyTaskBarIcon();
15787 wxPyEndAllowThreads(__tstate
);
15788 if (PyErr_Occurred()) SWIG_fail
;
15790 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_NEW
| 0 );
15797 SWIGINTERN PyObject
*_wrap_delete_TaskBarIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15798 PyObject
*resultobj
= 0;
15799 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15802 PyObject
*swig_obj
[1] ;
15804 if (!args
) SWIG_fail
;
15805 swig_obj
[0] = args
;
15806 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_POINTER_DISOWN
| 0 );
15807 if (!SWIG_IsOK(res1
)) {
15808 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_TaskBarIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15810 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15812 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15815 wxPyEndAllowThreads(__tstate
);
15816 if (PyErr_Occurred()) SWIG_fail
;
15818 resultobj
= SWIG_Py_Void();
15825 SWIGINTERN PyObject
*_wrap_TaskBarIcon__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15826 PyObject
*resultobj
= 0;
15827 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15828 PyObject
*arg2
= (PyObject
*) 0 ;
15829 PyObject
*arg3
= (PyObject
*) 0 ;
15835 PyObject
* obj0
= 0 ;
15836 PyObject
* obj1
= 0 ;
15837 PyObject
* obj2
= 0 ;
15838 PyObject
* obj3
= 0 ;
15839 char * kwnames
[] = {
15840 (char *) "self",(char *) "self",(char *) "_class",(char *) "incref", NULL
15843 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:TaskBarIcon__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
15844 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15845 if (!SWIG_IsOK(res1
)) {
15846 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15848 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15851 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
15852 if (!SWIG_IsOK(ecode4
)) {
15853 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "TaskBarIcon__setCallbackInfo" "', expected argument " "4"" of type '" "int""'");
15855 arg4
= static_cast< int >(val4
);
15857 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15858 (arg1
)->_setCallbackInfo(arg2
,arg3
,arg4
);
15859 wxPyEndAllowThreads(__tstate
);
15860 if (PyErr_Occurred()) SWIG_fail
;
15862 resultobj
= SWIG_Py_Void();
15869 SWIGINTERN PyObject
*_wrap_TaskBarIcon_Destroy(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15870 PyObject
*resultobj
= 0;
15871 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15874 PyObject
*swig_obj
[1] ;
15876 if (!args
) SWIG_fail
;
15877 swig_obj
[0] = args
;
15878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15879 if (!SWIG_IsOK(res1
)) {
15880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_Destroy" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15882 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15885 wxPyTaskBarIcon_Destroy(arg1
);
15886 wxPyEndAllowThreads(__tstate
);
15887 if (PyErr_Occurred()) SWIG_fail
;
15889 resultobj
= SWIG_Py_Void();
15896 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15897 PyObject
*resultobj
= 0;
15898 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15902 PyObject
*swig_obj
[1] ;
15904 if (!args
) SWIG_fail
;
15905 swig_obj
[0] = args
;
15906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15907 if (!SWIG_IsOK(res1
)) {
15908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsOk" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15910 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15913 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsOk();
15914 wxPyEndAllowThreads(__tstate
);
15915 if (PyErr_Occurred()) SWIG_fail
;
15918 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15926 SWIGINTERN PyObject
*_wrap_TaskBarIcon_IsIconInstalled(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
15927 PyObject
*resultobj
= 0;
15928 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15932 PyObject
*swig_obj
[1] ;
15934 if (!args
) SWIG_fail
;
15935 swig_obj
[0] = args
;
15936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15937 if (!SWIG_IsOK(res1
)) {
15938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_IsIconInstalled" "', expected argument " "1"" of type '" "wxPyTaskBarIcon const *""'");
15940 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15943 result
= (bool)((wxPyTaskBarIcon
const *)arg1
)->IsIconInstalled();
15944 wxPyEndAllowThreads(__tstate
);
15945 if (PyErr_Occurred()) SWIG_fail
;
15948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
15956 SWIGINTERN PyObject
*_wrap_TaskBarIcon_SetIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
15957 PyObject
*resultobj
= 0;
15958 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
15960 wxString
const &arg3_defvalue
= wxPyEmptyString
;
15961 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
15967 bool temp3
= false ;
15968 PyObject
* obj0
= 0 ;
15969 PyObject
* obj1
= 0 ;
15970 PyObject
* obj2
= 0 ;
15971 char * kwnames
[] = {
15972 (char *) "self",(char *) "icon",(char *) "tooltip", NULL
15975 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:TaskBarIcon_SetIcon",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
15976 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
15977 if (!SWIG_IsOK(res1
)) {
15978 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
15980 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
15981 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxIcon
, 0 | 0);
15982 if (!SWIG_IsOK(res2
)) {
15983 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15986 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "TaskBarIcon_SetIcon" "', expected argument " "2"" of type '" "wxIcon const &""'");
15988 arg2
= reinterpret_cast< wxIcon
* >(argp2
);
15991 arg3
= wxString_in_helper(obj2
);
15992 if (arg3
== NULL
) SWIG_fail
;
15997 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
15998 result
= (bool)(arg1
)->SetIcon((wxIcon
const &)*arg2
,(wxString
const &)*arg3
);
15999 wxPyEndAllowThreads(__tstate
);
16000 if (PyErr_Occurred()) SWIG_fail
;
16003 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16019 SWIGINTERN PyObject
*_wrap_TaskBarIcon_RemoveIcon(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16020 PyObject
*resultobj
= 0;
16021 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16025 PyObject
*swig_obj
[1] ;
16027 if (!args
) SWIG_fail
;
16028 swig_obj
[0] = args
;
16029 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16030 if (!SWIG_IsOK(res1
)) {
16031 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_RemoveIcon" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16033 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16035 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16036 result
= (bool)(arg1
)->RemoveIcon();
16037 wxPyEndAllowThreads(__tstate
);
16038 if (PyErr_Occurred()) SWIG_fail
;
16041 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16049 SWIGINTERN PyObject
*_wrap_TaskBarIcon_PopupMenu(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16050 PyObject
*resultobj
= 0;
16051 wxPyTaskBarIcon
*arg1
= (wxPyTaskBarIcon
*) 0 ;
16052 wxMenu
*arg2
= (wxMenu
*) 0 ;
16058 PyObject
* obj0
= 0 ;
16059 PyObject
* obj1
= 0 ;
16060 char * kwnames
[] = {
16061 (char *) "self",(char *) "menu", NULL
16064 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TaskBarIcon_PopupMenu",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16065 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyTaskBarIcon
, 0 | 0 );
16066 if (!SWIG_IsOK(res1
)) {
16067 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "1"" of type '" "wxPyTaskBarIcon *""'");
16069 arg1
= reinterpret_cast< wxPyTaskBarIcon
* >(argp1
);
16070 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMenu
, 0 | 0 );
16071 if (!SWIG_IsOK(res2
)) {
16072 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "TaskBarIcon_PopupMenu" "', expected argument " "2"" of type '" "wxMenu *""'");
16074 arg2
= reinterpret_cast< wxMenu
* >(argp2
);
16076 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16077 result
= (bool)(arg1
)->PopupMenu(arg2
);
16078 wxPyEndAllowThreads(__tstate
);
16079 if (PyErr_Occurred()) SWIG_fail
;
16082 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16090 SWIGINTERN PyObject
*TaskBarIcon_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16092 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16093 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyTaskBarIcon
, SWIG_NewClientData(obj
));
16094 return SWIG_Py_Void();
16097 SWIGINTERN PyObject
*TaskBarIcon_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16098 return SWIG_Python_InitShadowInstance(args
);
16101 SWIGINTERN PyObject
*_wrap_new_TaskBarIconEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16102 PyObject
*resultobj
= 0;
16104 wxTaskBarIcon
*arg2
= (wxTaskBarIcon
*) 0 ;
16105 wxTaskBarIconEvent
*result
= 0 ;
16110 PyObject
* obj0
= 0 ;
16111 PyObject
* obj1
= 0 ;
16112 char * kwnames
[] = {
16113 (char *) "evtType",(char *) "tbIcon", NULL
16116 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_TaskBarIconEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16117 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
16118 if (!SWIG_IsOK(ecode1
)) {
16119 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_TaskBarIconEvent" "', expected argument " "1"" of type '" "wxEventType""'");
16121 arg1
= static_cast< wxEventType
>(val1
);
16122 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxTaskBarIcon
, 0 | 0 );
16123 if (!SWIG_IsOK(res2
)) {
16124 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_TaskBarIconEvent" "', expected argument " "2"" of type '" "wxTaskBarIcon *""'");
16126 arg2
= reinterpret_cast< wxTaskBarIcon
* >(argp2
);
16128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16129 result
= (wxTaskBarIconEvent
*)new wxTaskBarIconEvent(arg1
,arg2
);
16130 wxPyEndAllowThreads(__tstate
);
16131 if (PyErr_Occurred()) SWIG_fail
;
16133 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_POINTER_NEW
| 0 );
16140 SWIGINTERN PyObject
*TaskBarIconEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16143 SWIG_TypeNewClientData(SWIGTYPE_p_wxTaskBarIconEvent
, SWIG_NewClientData(obj
));
16144 return SWIG_Py_Void();
16147 SWIGINTERN PyObject
*TaskBarIconEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16148 return SWIG_Python_InitShadowInstance(args
);
16151 SWIGINTERN
int FileSelectorPromptStr_set(PyObject
*) {
16152 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorPromptStr is read-only.");
16157 SWIGINTERN PyObject
*FileSelectorPromptStr_get(void) {
16158 PyObject
*pyobj
= 0;
16162 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16164 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorPromptStr
)->c_str(), (&wxPyFileSelectorPromptStr
)->Len());
16171 SWIGINTERN
int DirSelectorPromptStr_set(PyObject
*) {
16172 SWIG_Error(SWIG_AttributeError
,"Variable DirSelectorPromptStr is read-only.");
16177 SWIGINTERN PyObject
*DirSelectorPromptStr_get(void) {
16178 PyObject
*pyobj
= 0;
16182 pyobj
= PyUnicode_FromWideChar((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16184 pyobj
= PyString_FromStringAndSize((&wxPyDirSelectorPromptStr
)->c_str(), (&wxPyDirSelectorPromptStr
)->Len());
16191 SWIGINTERN
int DirDialogNameStr_set(PyObject
*) {
16192 SWIG_Error(SWIG_AttributeError
,"Variable DirDialogNameStr is read-only.");
16197 SWIGINTERN PyObject
*DirDialogNameStr_get(void) {
16198 PyObject
*pyobj
= 0;
16202 pyobj
= PyUnicode_FromWideChar((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16204 pyobj
= PyString_FromStringAndSize((&wxPyDirDialogNameStr
)->c_str(), (&wxPyDirDialogNameStr
)->Len());
16211 SWIGINTERN
int FileSelectorDefaultWildcardStr_set(PyObject
*) {
16212 SWIG_Error(SWIG_AttributeError
,"Variable FileSelectorDefaultWildcardStr is read-only.");
16217 SWIGINTERN PyObject
*FileSelectorDefaultWildcardStr_get(void) {
16218 PyObject
*pyobj
= 0;
16222 pyobj
= PyUnicode_FromWideChar((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16224 pyobj
= PyString_FromStringAndSize((&wxPyFileSelectorDefaultWildcardStr
)->c_str(), (&wxPyFileSelectorDefaultWildcardStr
)->Len());
16231 SWIGINTERN
int GetTextFromUserPromptStr_set(PyObject
*) {
16232 SWIG_Error(SWIG_AttributeError
,"Variable GetTextFromUserPromptStr is read-only.");
16237 SWIGINTERN PyObject
*GetTextFromUserPromptStr_get(void) {
16238 PyObject
*pyobj
= 0;
16242 pyobj
= PyUnicode_FromWideChar((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16244 pyobj
= PyString_FromStringAndSize((&wxPyGetTextFromUserPromptStr
)->c_str(), (&wxPyGetTextFromUserPromptStr
)->Len());
16251 SWIGINTERN
int MessageBoxCaptionStr_set(PyObject
*) {
16252 SWIG_Error(SWIG_AttributeError
,"Variable MessageBoxCaptionStr is read-only.");
16257 SWIGINTERN PyObject
*MessageBoxCaptionStr_get(void) {
16258 PyObject
*pyobj
= 0;
16262 pyobj
= PyUnicode_FromWideChar((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16264 pyobj
= PyString_FromStringAndSize((&wxPyMessageBoxCaptionStr
)->c_str(), (&wxPyMessageBoxCaptionStr
)->Len());
16271 SWIGINTERN PyObject
*_wrap_new_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16272 PyObject
*resultobj
= 0;
16273 wxColourData
*result
= 0 ;
16275 if (!SWIG_Python_UnpackTuple(args
,"new_ColourData",0,0,0)) SWIG_fail
;
16277 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16278 result
= (wxColourData
*)new wxColourData();
16279 wxPyEndAllowThreads(__tstate
);
16280 if (PyErr_Occurred()) SWIG_fail
;
16282 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, SWIG_POINTER_NEW
| 0 );
16289 SWIGINTERN PyObject
*_wrap_delete_ColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16290 PyObject
*resultobj
= 0;
16291 wxColourData
*arg1
= (wxColourData
*) 0 ;
16294 PyObject
*swig_obj
[1] ;
16296 if (!args
) SWIG_fail
;
16297 swig_obj
[0] = args
;
16298 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, SWIG_POINTER_DISOWN
| 0 );
16299 if (!SWIG_IsOK(res1
)) {
16300 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_ColourData" "', expected argument " "1"" of type '" "wxColourData *""'");
16302 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16304 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16307 wxPyEndAllowThreads(__tstate
);
16308 if (PyErr_Occurred()) SWIG_fail
;
16310 resultobj
= SWIG_Py_Void();
16317 SWIGINTERN PyObject
*_wrap_ColourData_GetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16318 PyObject
*resultobj
= 0;
16319 wxColourData
*arg1
= (wxColourData
*) 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_wxColourData
, 0 | 0 );
16328 if (!SWIG_IsOK(res1
)) {
16329 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16331 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16333 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16334 result
= (bool)(arg1
)->GetChooseFull();
16335 wxPyEndAllowThreads(__tstate
);
16336 if (PyErr_Occurred()) SWIG_fail
;
16339 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
16347 SWIGINTERN PyObject
*_wrap_ColourData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16348 PyObject
*resultobj
= 0;
16349 wxColourData
*arg1
= (wxColourData
*) 0 ;
16353 PyObject
*swig_obj
[1] ;
16355 if (!args
) SWIG_fail
;
16356 swig_obj
[0] = args
;
16357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16358 if (!SWIG_IsOK(res1
)) {
16359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16361 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16364 result
= (arg1
)->GetColour();
16365 wxPyEndAllowThreads(__tstate
);
16366 if (PyErr_Occurred()) SWIG_fail
;
16368 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16375 SWIGINTERN PyObject
*_wrap_ColourData_GetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16376 PyObject
*resultobj
= 0;
16377 wxColourData
*arg1
= (wxColourData
*) 0 ;
16384 PyObject
* obj0
= 0 ;
16385 PyObject
* obj1
= 0 ;
16386 char * kwnames
[] = {
16387 (char *) "self",(char *) "i", NULL
16390 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_GetCustomColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16391 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16392 if (!SWIG_IsOK(res1
)) {
16393 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_GetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16395 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16396 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16397 if (!SWIG_IsOK(ecode2
)) {
16398 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_GetCustomColour" "', expected argument " "2"" of type '" "int""'");
16400 arg2
= static_cast< int >(val2
);
16402 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16403 result
= (arg1
)->GetCustomColour(arg2
);
16404 wxPyEndAllowThreads(__tstate
);
16405 if (PyErr_Occurred()) SWIG_fail
;
16407 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16414 SWIGINTERN PyObject
*_wrap_ColourData_SetChooseFull(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16415 PyObject
*resultobj
= 0;
16416 wxColourData
*arg1
= (wxColourData
*) 0 ;
16422 PyObject
* obj0
= 0 ;
16423 PyObject
* obj1
= 0 ;
16424 char * kwnames
[] = {
16425 (char *) "self",(char *) "flag", NULL
16428 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetChooseFull",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16429 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16430 if (!SWIG_IsOK(res1
)) {
16431 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetChooseFull" "', expected argument " "1"" of type '" "wxColourData *""'");
16433 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16434 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16435 if (!SWIG_IsOK(ecode2
)) {
16436 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetChooseFull" "', expected argument " "2"" of type '" "int""'");
16438 arg2
= static_cast< int >(val2
);
16440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16441 (arg1
)->SetChooseFull(arg2
);
16442 wxPyEndAllowThreads(__tstate
);
16443 if (PyErr_Occurred()) SWIG_fail
;
16445 resultobj
= SWIG_Py_Void();
16452 SWIGINTERN PyObject
*_wrap_ColourData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16453 PyObject
*resultobj
= 0;
16454 wxColourData
*arg1
= (wxColourData
*) 0 ;
16455 wxColour
*arg2
= 0 ;
16459 PyObject
* obj0
= 0 ;
16460 PyObject
* obj1
= 0 ;
16461 char * kwnames
[] = {
16462 (char *) "self",(char *) "colour", NULL
16465 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:ColourData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16466 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16467 if (!SWIG_IsOK(res1
)) {
16468 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16470 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16473 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16476 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16477 (arg1
)->SetColour((wxColour
const &)*arg2
);
16478 wxPyEndAllowThreads(__tstate
);
16479 if (PyErr_Occurred()) SWIG_fail
;
16481 resultobj
= SWIG_Py_Void();
16488 SWIGINTERN PyObject
*_wrap_ColourData_SetCustomColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16489 PyObject
*resultobj
= 0;
16490 wxColourData
*arg1
= (wxColourData
*) 0 ;
16492 wxColour
*arg3
= 0 ;
16498 PyObject
* obj0
= 0 ;
16499 PyObject
* obj1
= 0 ;
16500 PyObject
* obj2
= 0 ;
16501 char * kwnames
[] = {
16502 (char *) "self",(char *) "i",(char *) "colour", NULL
16505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:ColourData_SetCustomColour",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16507 if (!SWIG_IsOK(res1
)) {
16508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourData_SetCustomColour" "', expected argument " "1"" of type '" "wxColourData *""'");
16510 arg1
= reinterpret_cast< wxColourData
* >(argp1
);
16511 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
16512 if (!SWIG_IsOK(ecode2
)) {
16513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ColourData_SetCustomColour" "', expected argument " "2"" of type '" "int""'");
16515 arg2
= static_cast< int >(val2
);
16518 if ( ! wxColour_helper(obj2
, &arg3
)) SWIG_fail
;
16521 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16522 (arg1
)->SetCustomColour(arg2
,(wxColour
const &)*arg3
);
16523 wxPyEndAllowThreads(__tstate
);
16524 if (PyErr_Occurred()) SWIG_fail
;
16526 resultobj
= SWIG_Py_Void();
16533 SWIGINTERN PyObject
*ColourData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16535 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16536 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourData
, SWIG_NewClientData(obj
));
16537 return SWIG_Py_Void();
16540 SWIGINTERN PyObject
*ColourData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16541 return SWIG_Python_InitShadowInstance(args
);
16544 SWIGINTERN PyObject
*_wrap_new_ColourDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16545 PyObject
*resultobj
= 0;
16546 wxWindow
*arg1
= (wxWindow
*) 0 ;
16547 wxColourData
*arg2
= (wxColourData
*) NULL
;
16548 wxColourDialog
*result
= 0 ;
16553 PyObject
* obj0
= 0 ;
16554 PyObject
* obj1
= 0 ;
16555 char * kwnames
[] = {
16556 (char *) "parent",(char *) "data", NULL
16559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_ColourDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16561 if (!SWIG_IsOK(res1
)) {
16562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_ColourDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16564 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16566 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxColourData
, 0 | 0 );
16567 if (!SWIG_IsOK(res2
)) {
16568 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_ColourDialog" "', expected argument " "2"" of type '" "wxColourData *""'");
16570 arg2
= reinterpret_cast< wxColourData
* >(argp2
);
16573 if (!wxPyCheckForApp()) SWIG_fail
;
16574 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16575 result
= (wxColourDialog
*)new wxColourDialog(arg1
,arg2
);
16576 wxPyEndAllowThreads(__tstate
);
16577 if (PyErr_Occurred()) SWIG_fail
;
16579 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourDialog
, SWIG_POINTER_NEW
| 0 );
16586 SWIGINTERN PyObject
*_wrap_ColourDialog_GetColourData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16587 PyObject
*resultobj
= 0;
16588 wxColourDialog
*arg1
= (wxColourDialog
*) 0 ;
16589 wxColourData
*result
= 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_wxColourDialog
, 0 | 0 );
16597 if (!SWIG_IsOK(res1
)) {
16598 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ColourDialog_GetColourData" "', expected argument " "1"" of type '" "wxColourDialog *""'");
16600 arg1
= reinterpret_cast< wxColourDialog
* >(argp1
);
16602 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16604 wxColourData
&_result_ref
= (arg1
)->GetColourData();
16605 result
= (wxColourData
*) &_result_ref
;
16607 wxPyEndAllowThreads(__tstate
);
16608 if (PyErr_Occurred()) SWIG_fail
;
16610 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxColourData
, 0 | 0 );
16617 SWIGINTERN PyObject
*ColourDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16619 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16620 SWIG_TypeNewClientData(SWIGTYPE_p_wxColourDialog
, SWIG_NewClientData(obj
));
16621 return SWIG_Py_Void();
16624 SWIGINTERN PyObject
*ColourDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16625 return SWIG_Python_InitShadowInstance(args
);
16628 SWIGINTERN PyObject
*_wrap_GetColourFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16629 PyObject
*resultobj
= 0;
16630 wxWindow
*arg1
= (wxWindow
*) (wxWindow
*) NULL
;
16631 wxColour
const &arg2_defvalue
= wxNullColour
;
16632 wxColour
*arg2
= (wxColour
*) &arg2_defvalue
;
16633 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16634 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16639 bool temp3
= false ;
16640 PyObject
* obj0
= 0 ;
16641 PyObject
* obj1
= 0 ;
16642 PyObject
* obj2
= 0 ;
16643 char * kwnames
[] = {
16644 (char *) "parent",(char *) "colInit",(char *) "caption", NULL
16647 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetColourFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
16649 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16650 if (!SWIG_IsOK(res1
)) {
16651 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetColourFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
16653 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16658 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
16663 arg3
= wxString_in_helper(obj2
);
16664 if (arg3
== NULL
) SWIG_fail
;
16669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16670 result
= wxGetColourFromUser(arg1
,(wxColour
const &)*arg2
,(wxString
const &)*arg3
);
16671 wxPyEndAllowThreads(__tstate
);
16672 if (PyErr_Occurred()) SWIG_fail
;
16674 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
16689 SWIGINTERN PyObject
*_wrap_new_DirDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16690 PyObject
*resultobj
= 0;
16691 wxWindow
*arg1
= (wxWindow
*) 0 ;
16692 wxString
const &arg2_defvalue
= wxPyDirSelectorPromptStr
;
16693 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16694 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16695 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16696 long arg4
= (long) wxDD_DEFAULT_STYLE
;
16697 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
16698 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
16699 wxSize
const &arg6_defvalue
= wxDefaultSize
;
16700 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
16701 wxString
const &arg7_defvalue
= wxPyDirDialogNameStr
;
16702 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
16703 wxDirDialog
*result
= 0 ;
16706 bool temp2
= false ;
16707 bool temp3
= false ;
16712 bool temp7
= false ;
16713 PyObject
* obj0
= 0 ;
16714 PyObject
* obj1
= 0 ;
16715 PyObject
* obj2
= 0 ;
16716 PyObject
* obj3
= 0 ;
16717 PyObject
* obj4
= 0 ;
16718 PyObject
* obj5
= 0 ;
16719 PyObject
* obj6
= 0 ;
16720 char * kwnames
[] = {
16721 (char *) "parent",(char *) "message",(char *) "defaultPath",(char *) "style",(char *) "pos",(char *) "size",(char *) "name", NULL
16724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_DirDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
16725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
16726 if (!SWIG_IsOK(res1
)) {
16727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_DirDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
16729 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
16732 arg2
= wxString_in_helper(obj1
);
16733 if (arg2
== NULL
) SWIG_fail
;
16739 arg3
= wxString_in_helper(obj2
);
16740 if (arg3
== NULL
) SWIG_fail
;
16745 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
16746 if (!SWIG_IsOK(ecode4
)) {
16747 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_DirDialog" "', expected argument " "4"" of type '" "long""'");
16749 arg4
= static_cast< long >(val4
);
16754 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
16760 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
16765 arg7
= wxString_in_helper(obj6
);
16766 if (arg7
== NULL
) SWIG_fail
;
16771 if (!wxPyCheckForApp()) SWIG_fail
;
16772 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16773 result
= (wxDirDialog
*)new wxDirDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,(wxString
const &)*arg7
);
16774 wxPyEndAllowThreads(__tstate
);
16775 if (PyErr_Occurred()) SWIG_fail
;
16777 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxDirDialog
, SWIG_POINTER_NEW
| 0 );
16808 SWIGINTERN PyObject
*_wrap_DirDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16809 PyObject
*resultobj
= 0;
16810 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16814 PyObject
*swig_obj
[1] ;
16816 if (!args
) SWIG_fail
;
16817 swig_obj
[0] = args
;
16818 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16819 if (!SWIG_IsOK(res1
)) {
16820 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16822 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16824 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16825 result
= (arg1
)->GetPath();
16826 wxPyEndAllowThreads(__tstate
);
16827 if (PyErr_Occurred()) SWIG_fail
;
16831 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16833 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16842 SWIGINTERN PyObject
*_wrap_DirDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16843 PyObject
*resultobj
= 0;
16844 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16848 PyObject
*swig_obj
[1] ;
16850 if (!args
) SWIG_fail
;
16851 swig_obj
[0] = args
;
16852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16853 if (!SWIG_IsOK(res1
)) {
16854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_GetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16856 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16859 result
= (arg1
)->GetMessage();
16860 wxPyEndAllowThreads(__tstate
);
16861 if (PyErr_Occurred()) SWIG_fail
;
16865 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
16867 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
16876 SWIGINTERN PyObject
*_wrap_DirDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16877 PyObject
*resultobj
= 0;
16878 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16879 wxString
*arg2
= 0 ;
16882 bool temp2
= false ;
16883 PyObject
* obj0
= 0 ;
16884 PyObject
* obj1
= 0 ;
16885 char * kwnames
[] = {
16886 (char *) "self",(char *) "message", NULL
16889 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16890 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16891 if (!SWIG_IsOK(res1
)) {
16892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetMessage" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16894 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16896 arg2
= wxString_in_helper(obj1
);
16897 if (arg2
== NULL
) SWIG_fail
;
16901 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16902 (arg1
)->SetMessage((wxString
const &)*arg2
);
16903 wxPyEndAllowThreads(__tstate
);
16904 if (PyErr_Occurred()) SWIG_fail
;
16906 resultobj
= SWIG_Py_Void();
16921 SWIGINTERN PyObject
*_wrap_DirDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16922 PyObject
*resultobj
= 0;
16923 wxDirDialog
*arg1
= (wxDirDialog
*) 0 ;
16924 wxString
*arg2
= 0 ;
16927 bool temp2
= false ;
16928 PyObject
* obj0
= 0 ;
16929 PyObject
* obj1
= 0 ;
16930 char * kwnames
[] = {
16931 (char *) "self",(char *) "path", NULL
16934 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:DirDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
16935 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxDirDialog
, 0 | 0 );
16936 if (!SWIG_IsOK(res1
)) {
16937 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "DirDialog_SetPath" "', expected argument " "1"" of type '" "wxDirDialog *""'");
16939 arg1
= reinterpret_cast< wxDirDialog
* >(argp1
);
16941 arg2
= wxString_in_helper(obj1
);
16942 if (arg2
== NULL
) SWIG_fail
;
16946 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
16947 (arg1
)->SetPath((wxString
const &)*arg2
);
16948 wxPyEndAllowThreads(__tstate
);
16949 if (PyErr_Occurred()) SWIG_fail
;
16951 resultobj
= SWIG_Py_Void();
16966 SWIGINTERN PyObject
*DirDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16968 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
16969 SWIG_TypeNewClientData(SWIGTYPE_p_wxDirDialog
, SWIG_NewClientData(obj
));
16970 return SWIG_Py_Void();
16973 SWIGINTERN PyObject
*DirDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
16974 return SWIG_Python_InitShadowInstance(args
);
16977 SWIGINTERN PyObject
*_wrap_new_FileDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
16978 PyObject
*resultobj
= 0;
16979 wxWindow
*arg1
= (wxWindow
*) 0 ;
16980 wxString
const &arg2_defvalue
= wxPyFileSelectorPromptStr
;
16981 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
16982 wxString
const &arg3_defvalue
= wxPyEmptyString
;
16983 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
16984 wxString
const &arg4_defvalue
= wxPyEmptyString
;
16985 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
16986 wxString
const &arg5_defvalue
= wxPyFileSelectorDefaultWildcardStr
;
16987 wxString
*arg5
= (wxString
*) &arg5_defvalue
;
16988 long arg6
= (long) wxFD_DEFAULT_STYLE
;
16989 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
16990 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
16991 wxFileDialog
*result
= 0 ;
16994 bool temp2
= false ;
16995 bool temp3
= false ;
16996 bool temp4
= false ;
16997 bool temp5
= false ;
17001 PyObject
* obj0
= 0 ;
17002 PyObject
* obj1
= 0 ;
17003 PyObject
* obj2
= 0 ;
17004 PyObject
* obj3
= 0 ;
17005 PyObject
* obj4
= 0 ;
17006 PyObject
* obj5
= 0 ;
17007 PyObject
* obj6
= 0 ;
17008 char * kwnames
[] = {
17009 (char *) "parent",(char *) "message",(char *) "defaultDir",(char *) "defaultFile",(char *) "wildcard",(char *) "style",(char *) "pos", NULL
17012 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_FileDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
17013 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17014 if (!SWIG_IsOK(res1
)) {
17015 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FileDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17017 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17020 arg2
= wxString_in_helper(obj1
);
17021 if (arg2
== NULL
) SWIG_fail
;
17027 arg3
= wxString_in_helper(obj2
);
17028 if (arg3
== NULL
) SWIG_fail
;
17034 arg4
= wxString_in_helper(obj3
);
17035 if (arg4
== NULL
) SWIG_fail
;
17041 arg5
= wxString_in_helper(obj4
);
17042 if (arg5
== NULL
) SWIG_fail
;
17047 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
17048 if (!SWIG_IsOK(ecode6
)) {
17049 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_FileDialog" "', expected argument " "6"" of type '" "long""'");
17051 arg6
= static_cast< long >(val6
);
17056 if ( ! wxPoint_helper(obj6
, &arg7
)) SWIG_fail
;
17060 if (!wxPyCheckForApp()) SWIG_fail
;
17061 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17062 result
= (wxFileDialog
*)new wxFileDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,(wxString
const &)*arg5
,arg6
,(wxPoint
const &)*arg7
);
17063 wxPyEndAllowThreads(__tstate
);
17064 if (PyErr_Occurred()) SWIG_fail
;
17066 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFileDialog
, SWIG_POINTER_NEW
| 0 );
17105 SWIGINTERN PyObject
*_wrap_FileDialog_SetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17106 PyObject
*resultobj
= 0;
17107 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17108 wxString
*arg2
= 0 ;
17111 bool temp2
= false ;
17112 PyObject
* obj0
= 0 ;
17113 PyObject
* obj1
= 0 ;
17114 char * kwnames
[] = {
17115 (char *) "self",(char *) "message", NULL
17118 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetMessage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17119 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17120 if (!SWIG_IsOK(res1
)) {
17121 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetMessage" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17123 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17125 arg2
= wxString_in_helper(obj1
);
17126 if (arg2
== NULL
) SWIG_fail
;
17130 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17131 (arg1
)->SetMessage((wxString
const &)*arg2
);
17132 wxPyEndAllowThreads(__tstate
);
17133 if (PyErr_Occurred()) SWIG_fail
;
17135 resultobj
= SWIG_Py_Void();
17150 SWIGINTERN PyObject
*_wrap_FileDialog_SetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17151 PyObject
*resultobj
= 0;
17152 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17153 wxString
*arg2
= 0 ;
17156 bool temp2
= false ;
17157 PyObject
* obj0
= 0 ;
17158 PyObject
* obj1
= 0 ;
17159 char * kwnames
[] = {
17160 (char *) "self",(char *) "path", NULL
17163 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetPath",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17164 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17165 if (!SWIG_IsOK(res1
)) {
17166 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetPath" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17168 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17170 arg2
= wxString_in_helper(obj1
);
17171 if (arg2
== NULL
) SWIG_fail
;
17175 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17176 (arg1
)->SetPath((wxString
const &)*arg2
);
17177 wxPyEndAllowThreads(__tstate
);
17178 if (PyErr_Occurred()) SWIG_fail
;
17180 resultobj
= SWIG_Py_Void();
17195 SWIGINTERN PyObject
*_wrap_FileDialog_SetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17196 PyObject
*resultobj
= 0;
17197 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17198 wxString
*arg2
= 0 ;
17201 bool temp2
= false ;
17202 PyObject
* obj0
= 0 ;
17203 PyObject
* obj1
= 0 ;
17204 char * kwnames
[] = {
17205 (char *) "self",(char *) "dir", NULL
17208 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetDirectory",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17209 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17210 if (!SWIG_IsOK(res1
)) {
17211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetDirectory" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17213 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17215 arg2
= wxString_in_helper(obj1
);
17216 if (arg2
== NULL
) SWIG_fail
;
17220 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17221 (arg1
)->SetDirectory((wxString
const &)*arg2
);
17222 wxPyEndAllowThreads(__tstate
);
17223 if (PyErr_Occurred()) SWIG_fail
;
17225 resultobj
= SWIG_Py_Void();
17240 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17241 PyObject
*resultobj
= 0;
17242 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17243 wxString
*arg2
= 0 ;
17246 bool temp2
= false ;
17247 PyObject
* obj0
= 0 ;
17248 PyObject
* obj1
= 0 ;
17249 char * kwnames
[] = {
17250 (char *) "self",(char *) "name", NULL
17253 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17254 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17255 if (!SWIG_IsOK(res1
)) {
17256 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilename" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17258 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17260 arg2
= wxString_in_helper(obj1
);
17261 if (arg2
== NULL
) SWIG_fail
;
17265 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17266 (arg1
)->SetFilename((wxString
const &)*arg2
);
17267 wxPyEndAllowThreads(__tstate
);
17268 if (PyErr_Occurred()) SWIG_fail
;
17270 resultobj
= SWIG_Py_Void();
17285 SWIGINTERN PyObject
*_wrap_FileDialog_SetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17286 PyObject
*resultobj
= 0;
17287 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17288 wxString
*arg2
= 0 ;
17291 bool temp2
= false ;
17292 PyObject
* obj0
= 0 ;
17293 PyObject
* obj1
= 0 ;
17294 char * kwnames
[] = {
17295 (char *) "self",(char *) "wildCard", NULL
17298 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetWildcard",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17299 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17300 if (!SWIG_IsOK(res1
)) {
17301 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetWildcard" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17303 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17305 arg2
= wxString_in_helper(obj1
);
17306 if (arg2
== NULL
) SWIG_fail
;
17310 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17311 (arg1
)->SetWildcard((wxString
const &)*arg2
);
17312 wxPyEndAllowThreads(__tstate
);
17313 if (PyErr_Occurred()) SWIG_fail
;
17315 resultobj
= SWIG_Py_Void();
17330 SWIGINTERN PyObject
*_wrap_FileDialog_SetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17331 PyObject
*resultobj
= 0;
17332 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17338 PyObject
* obj0
= 0 ;
17339 PyObject
* obj1
= 0 ;
17340 char * kwnames
[] = {
17341 (char *) "self",(char *) "filterIndex", NULL
17344 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FileDialog_SetFilterIndex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17345 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17346 if (!SWIG_IsOK(res1
)) {
17347 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17349 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17350 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
17351 if (!SWIG_IsOK(ecode2
)) {
17352 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FileDialog_SetFilterIndex" "', expected argument " "2"" of type '" "int""'");
17354 arg2
= static_cast< int >(val2
);
17356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17357 (arg1
)->SetFilterIndex(arg2
);
17358 wxPyEndAllowThreads(__tstate
);
17359 if (PyErr_Occurred()) SWIG_fail
;
17361 resultobj
= SWIG_Py_Void();
17368 SWIGINTERN PyObject
*_wrap_FileDialog_GetMessage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17369 PyObject
*resultobj
= 0;
17370 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17374 PyObject
*swig_obj
[1] ;
17376 if (!args
) SWIG_fail
;
17377 swig_obj
[0] = args
;
17378 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17379 if (!SWIG_IsOK(res1
)) {
17380 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetMessage" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17382 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17384 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17385 result
= ((wxFileDialog
const *)arg1
)->GetMessage();
17386 wxPyEndAllowThreads(__tstate
);
17387 if (PyErr_Occurred()) SWIG_fail
;
17391 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17393 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17402 SWIGINTERN PyObject
*_wrap_FileDialog_GetPath(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17403 PyObject
*resultobj
= 0;
17404 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17408 PyObject
*swig_obj
[1] ;
17410 if (!args
) SWIG_fail
;
17411 swig_obj
[0] = args
;
17412 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17413 if (!SWIG_IsOK(res1
)) {
17414 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPath" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17416 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17418 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17419 result
= ((wxFileDialog
const *)arg1
)->GetPath();
17420 wxPyEndAllowThreads(__tstate
);
17421 if (PyErr_Occurred()) SWIG_fail
;
17425 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17427 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17436 SWIGINTERN PyObject
*_wrap_FileDialog_GetDirectory(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17437 PyObject
*resultobj
= 0;
17438 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17442 PyObject
*swig_obj
[1] ;
17444 if (!args
) SWIG_fail
;
17445 swig_obj
[0] = args
;
17446 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17447 if (!SWIG_IsOK(res1
)) {
17448 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetDirectory" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17450 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17452 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17453 result
= ((wxFileDialog
const *)arg1
)->GetDirectory();
17454 wxPyEndAllowThreads(__tstate
);
17455 if (PyErr_Occurred()) SWIG_fail
;
17459 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17461 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17470 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17471 PyObject
*resultobj
= 0;
17472 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17476 PyObject
*swig_obj
[1] ;
17478 if (!args
) SWIG_fail
;
17479 swig_obj
[0] = args
;
17480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17481 if (!SWIG_IsOK(res1
)) {
17482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilename" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17484 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17487 result
= ((wxFileDialog
const *)arg1
)->GetFilename();
17488 wxPyEndAllowThreads(__tstate
);
17489 if (PyErr_Occurred()) SWIG_fail
;
17493 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17495 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17504 SWIGINTERN PyObject
*_wrap_FileDialog_GetWildcard(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17505 PyObject
*resultobj
= 0;
17506 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17510 PyObject
*swig_obj
[1] ;
17512 if (!args
) SWIG_fail
;
17513 swig_obj
[0] = args
;
17514 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17515 if (!SWIG_IsOK(res1
)) {
17516 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetWildcard" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17518 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17520 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17521 result
= ((wxFileDialog
const *)arg1
)->GetWildcard();
17522 wxPyEndAllowThreads(__tstate
);
17523 if (PyErr_Occurred()) SWIG_fail
;
17527 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17529 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17538 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilterIndex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17539 PyObject
*resultobj
= 0;
17540 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17544 PyObject
*swig_obj
[1] ;
17546 if (!args
) SWIG_fail
;
17547 swig_obj
[0] = args
;
17548 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17549 if (!SWIG_IsOK(res1
)) {
17550 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilterIndex" "', expected argument " "1"" of type '" "wxFileDialog const *""'");
17552 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17554 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17555 result
= (int)((wxFileDialog
const *)arg1
)->GetFilterIndex();
17556 wxPyEndAllowThreads(__tstate
);
17557 if (PyErr_Occurred()) SWIG_fail
;
17559 resultobj
= SWIG_From_int(static_cast< int >(result
));
17566 SWIGINTERN PyObject
*_wrap_FileDialog_GetFilenames(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17567 PyObject
*resultobj
= 0;
17568 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17569 PyObject
*result
= 0 ;
17572 PyObject
*swig_obj
[1] ;
17574 if (!args
) SWIG_fail
;
17575 swig_obj
[0] = args
;
17576 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17577 if (!SWIG_IsOK(res1
)) {
17578 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetFilenames" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17580 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17582 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17583 result
= (PyObject
*)wxFileDialog_GetFilenames(arg1
);
17584 wxPyEndAllowThreads(__tstate
);
17585 if (PyErr_Occurred()) SWIG_fail
;
17587 resultobj
= result
;
17594 SWIGINTERN PyObject
*_wrap_FileDialog_GetPaths(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17595 PyObject
*resultobj
= 0;
17596 wxFileDialog
*arg1
= (wxFileDialog
*) 0 ;
17597 PyObject
*result
= 0 ;
17600 PyObject
*swig_obj
[1] ;
17602 if (!args
) SWIG_fail
;
17603 swig_obj
[0] = args
;
17604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFileDialog
, 0 | 0 );
17605 if (!SWIG_IsOK(res1
)) {
17606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FileDialog_GetPaths" "', expected argument " "1"" of type '" "wxFileDialog *""'");
17608 arg1
= reinterpret_cast< wxFileDialog
* >(argp1
);
17610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17611 result
= (PyObject
*)wxFileDialog_GetPaths(arg1
);
17612 wxPyEndAllowThreads(__tstate
);
17613 if (PyErr_Occurred()) SWIG_fail
;
17615 resultobj
= result
;
17622 SWIGINTERN PyObject
*FileDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17624 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17625 SWIG_TypeNewClientData(SWIGTYPE_p_wxFileDialog
, SWIG_NewClientData(obj
));
17626 return SWIG_Py_Void();
17629 SWIGINTERN PyObject
*FileDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17630 return SWIG_Python_InitShadowInstance(args
);
17633 SWIGINTERN PyObject
*_wrap_new_MultiChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17634 PyObject
*resultobj
= 0;
17635 wxWindow
*arg1
= (wxWindow
*) 0 ;
17636 wxString
*arg2
= 0 ;
17637 wxString
*arg3
= 0 ;
17638 int arg4
= (int) 0 ;
17639 wxString
*arg5
= (wxString
*) NULL
;
17640 long arg6
= (long) wxCHOICEDLG_STYLE
;
17641 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17642 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17643 wxMultiChoiceDialog
*result
= 0 ;
17646 bool temp2
= false ;
17647 bool temp3
= false ;
17651 PyObject
* obj0
= 0 ;
17652 PyObject
* obj1
= 0 ;
17653 PyObject
* obj2
= 0 ;
17654 PyObject
* obj3
= 0 ;
17655 PyObject
* obj4
= 0 ;
17656 PyObject
* obj5
= 0 ;
17657 char * kwnames
[] = {
17658 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17661 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOO:new_MultiChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17662 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17663 if (!SWIG_IsOK(res1
)) {
17664 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MultiChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17666 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17668 arg2
= wxString_in_helper(obj1
);
17669 if (arg2
== NULL
) SWIG_fail
;
17673 arg3
= wxString_in_helper(obj2
);
17674 if (arg3
== NULL
) SWIG_fail
;
17679 arg4
= PyList_Size(obj3
);
17680 arg5
= wxString_LIST_helper(obj3
);
17681 if (arg5
== NULL
) SWIG_fail
;
17685 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17686 if (!SWIG_IsOK(ecode6
)) {
17687 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MultiChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17689 arg6
= static_cast< long >(val6
);
17694 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17698 if (!wxPyCheckForApp()) SWIG_fail
;
17699 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17700 result
= (wxMultiChoiceDialog
*)new wxMultiChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17701 wxPyEndAllowThreads(__tstate
);
17702 if (PyErr_Occurred()) SWIG_fail
;
17704 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17714 if (arg5
) delete [] arg5
;
17727 if (arg5
) delete [] arg5
;
17733 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_SetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17734 PyObject
*resultobj
= 0;
17735 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17736 wxArrayInt
*arg2
= 0 ;
17739 bool temp2
= false ;
17740 PyObject
* obj0
= 0 ;
17741 PyObject
* obj1
= 0 ;
17742 char * kwnames
[] = {
17743 (char *) "self",(char *) "selections", NULL
17746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:MultiChoiceDialog_SetSelections",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
17747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17748 if (!SWIG_IsOK(res1
)) {
17749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_SetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17751 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17753 if (! PySequence_Check(obj1
)) {
17754 PyErr_SetString(PyExc_TypeError
, "Sequence of integers expected.");
17757 arg2
= new wxArrayInt
;
17759 int i
, len
=PySequence_Length(obj1
);
17760 for (i
=0; i
<len
; i
++) {
17761 PyObject
* item
= PySequence_GetItem(obj1
, i
);
17762 PyObject
* number
= PyNumber_Int(item
);
17763 arg2
->Add(PyInt_AS_LONG(number
));
17769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17770 (arg1
)->SetSelections((wxArrayInt
const &)*arg2
);
17771 wxPyEndAllowThreads(__tstate
);
17772 if (PyErr_Occurred()) SWIG_fail
;
17774 resultobj
= SWIG_Py_Void();
17776 if (temp2
) delete arg2
;
17781 if (temp2
) delete arg2
;
17787 SWIGINTERN PyObject
*_wrap_MultiChoiceDialog_GetSelections(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17788 PyObject
*resultobj
= 0;
17789 wxMultiChoiceDialog
*arg1
= (wxMultiChoiceDialog
*) 0 ;
17790 PyObject
*result
= 0 ;
17793 PyObject
*swig_obj
[1] ;
17795 if (!args
) SWIG_fail
;
17796 swig_obj
[0] = args
;
17797 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMultiChoiceDialog
, 0 | 0 );
17798 if (!SWIG_IsOK(res1
)) {
17799 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MultiChoiceDialog_GetSelections" "', expected argument " "1"" of type '" "wxMultiChoiceDialog *""'");
17801 arg1
= reinterpret_cast< wxMultiChoiceDialog
* >(argp1
);
17803 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17804 result
= (PyObject
*)wxMultiChoiceDialog_GetSelections(arg1
);
17805 wxPyEndAllowThreads(__tstate
);
17806 if (PyErr_Occurred()) SWIG_fail
;
17808 resultobj
= result
;
17815 SWIGINTERN PyObject
*MultiChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17817 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
17818 SWIG_TypeNewClientData(SWIGTYPE_p_wxMultiChoiceDialog
, SWIG_NewClientData(obj
));
17819 return SWIG_Py_Void();
17822 SWIGINTERN PyObject
*MultiChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17823 return SWIG_Python_InitShadowInstance(args
);
17826 SWIGINTERN PyObject
*_wrap_new_SingleChoiceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17827 PyObject
*resultobj
= 0;
17828 wxWindow
*arg1
= (wxWindow
*) 0 ;
17829 wxString
*arg2
= 0 ;
17830 wxString
*arg3
= 0 ;
17832 wxString
*arg5
= (wxString
*) 0 ;
17833 long arg6
= (long) wxCHOICEDLG_STYLE
;
17834 wxPoint
const &arg7_defvalue
= wxDefaultPosition
;
17835 wxPoint
*arg7
= (wxPoint
*) &arg7_defvalue
;
17836 wxSingleChoiceDialog
*result
= 0 ;
17839 bool temp2
= false ;
17840 bool temp3
= false ;
17844 PyObject
* obj0
= 0 ;
17845 PyObject
* obj1
= 0 ;
17846 PyObject
* obj2
= 0 ;
17847 PyObject
* obj3
= 0 ;
17848 PyObject
* obj4
= 0 ;
17849 PyObject
* obj5
= 0 ;
17850 char * kwnames
[] = {
17851 (char *) "parent",(char *) "message",(char *) "caption",(char *) "choices",(char *) "style",(char *) "pos", NULL
17854 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|OO:new_SingleChoiceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
17855 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
17856 if (!SWIG_IsOK(res1
)) {
17857 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_SingleChoiceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
17859 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
17861 arg2
= wxString_in_helper(obj1
);
17862 if (arg2
== NULL
) SWIG_fail
;
17866 arg3
= wxString_in_helper(obj2
);
17867 if (arg3
== NULL
) SWIG_fail
;
17871 arg4
= PyList_Size(obj3
);
17872 arg5
= wxString_LIST_helper(obj3
);
17873 if (arg5
== NULL
) SWIG_fail
;
17876 ecode6
= SWIG_AsVal_long(obj4
, &val6
);
17877 if (!SWIG_IsOK(ecode6
)) {
17878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_SingleChoiceDialog" "', expected argument " "6"" of type '" "long""'");
17880 arg6
= static_cast< long >(val6
);
17885 if ( ! wxPoint_helper(obj5
, &arg7
)) SWIG_fail
;
17889 if (!wxPyCheckForApp()) SWIG_fail
;
17890 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17891 result
= (wxSingleChoiceDialog
*)new_wxSingleChoiceDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,arg5
,arg6
,(wxPoint
const &)*arg7
);
17892 wxPyEndAllowThreads(__tstate
);
17893 if (PyErr_Occurred()) SWIG_fail
;
17895 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_POINTER_NEW
| 0 );
17905 if (arg5
) delete [] arg5
;
17918 if (arg5
) delete [] arg5
;
17924 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17925 PyObject
*resultobj
= 0;
17926 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17930 PyObject
*swig_obj
[1] ;
17932 if (!args
) SWIG_fail
;
17933 swig_obj
[0] = args
;
17934 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17935 if (!SWIG_IsOK(res1
)) {
17936 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17938 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17940 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17941 result
= (int)(arg1
)->GetSelection();
17942 wxPyEndAllowThreads(__tstate
);
17943 if (PyErr_Occurred()) SWIG_fail
;
17945 resultobj
= SWIG_From_int(static_cast< int >(result
));
17952 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_GetStringSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
17953 PyObject
*resultobj
= 0;
17954 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17958 PyObject
*swig_obj
[1] ;
17960 if (!args
) SWIG_fail
;
17961 swig_obj
[0] = args
;
17962 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
17963 if (!SWIG_IsOK(res1
)) {
17964 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_GetStringSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
17966 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
17968 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
17969 result
= (arg1
)->GetStringSelection();
17970 wxPyEndAllowThreads(__tstate
);
17971 if (PyErr_Occurred()) SWIG_fail
;
17975 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
17977 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
17986 SWIGINTERN PyObject
*_wrap_SingleChoiceDialog_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
17987 PyObject
*resultobj
= 0;
17988 wxSingleChoiceDialog
*arg1
= (wxSingleChoiceDialog
*) 0 ;
17994 PyObject
* obj0
= 0 ;
17995 PyObject
* obj1
= 0 ;
17996 char * kwnames
[] = {
17997 (char *) "self",(char *) "sel", NULL
18000 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:SingleChoiceDialog_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18001 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxSingleChoiceDialog
, 0 | 0 );
18002 if (!SWIG_IsOK(res1
)) {
18003 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "1"" of type '" "wxSingleChoiceDialog *""'");
18005 arg1
= reinterpret_cast< wxSingleChoiceDialog
* >(argp1
);
18006 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18007 if (!SWIG_IsOK(ecode2
)) {
18008 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "SingleChoiceDialog_SetSelection" "', expected argument " "2"" of type '" "int""'");
18010 arg2
= static_cast< int >(val2
);
18012 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18013 (arg1
)->SetSelection(arg2
);
18014 wxPyEndAllowThreads(__tstate
);
18015 if (PyErr_Occurred()) SWIG_fail
;
18017 resultobj
= SWIG_Py_Void();
18024 SWIGINTERN PyObject
*SingleChoiceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18026 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18027 SWIG_TypeNewClientData(SWIGTYPE_p_wxSingleChoiceDialog
, SWIG_NewClientData(obj
));
18028 return SWIG_Py_Void();
18031 SWIGINTERN PyObject
*SingleChoiceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18032 return SWIG_Python_InitShadowInstance(args
);
18035 SWIGINTERN PyObject
*_wrap_new_TextEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18036 PyObject
*resultobj
= 0;
18037 wxWindow
*arg1
= (wxWindow
*) 0 ;
18038 wxString
*arg2
= 0 ;
18039 wxString
const &arg3_defvalue
= wxPyGetTextFromUserPromptStr
;
18040 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18041 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18042 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18043 long arg5
= (long) wxTextEntryDialogStyle
;
18044 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18045 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18046 wxTextEntryDialog
*result
= 0 ;
18049 bool temp2
= false ;
18050 bool temp3
= false ;
18051 bool temp4
= false ;
18055 PyObject
* obj0
= 0 ;
18056 PyObject
* obj1
= 0 ;
18057 PyObject
* obj2
= 0 ;
18058 PyObject
* obj3
= 0 ;
18059 PyObject
* obj4
= 0 ;
18060 PyObject
* obj5
= 0 ;
18061 char * kwnames
[] = {
18062 (char *) "parent",(char *) "message",(char *) "caption",(char *) "defaultValue",(char *) "style",(char *) "pos", NULL
18065 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_TextEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18066 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18067 if (!SWIG_IsOK(res1
)) {
18068 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_TextEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18070 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18072 arg2
= wxString_in_helper(obj1
);
18073 if (arg2
== NULL
) SWIG_fail
;
18078 arg3
= wxString_in_helper(obj2
);
18079 if (arg3
== NULL
) SWIG_fail
;
18085 arg4
= wxString_in_helper(obj3
);
18086 if (arg4
== NULL
) SWIG_fail
;
18091 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18092 if (!SWIG_IsOK(ecode5
)) {
18093 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_TextEntryDialog" "', expected argument " "5"" of type '" "long""'");
18095 arg5
= static_cast< long >(val5
);
18100 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18104 if (!wxPyCheckForApp()) SWIG_fail
;
18105 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18106 result
= (wxTextEntryDialog
*)new wxTextEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18107 wxPyEndAllowThreads(__tstate
);
18108 if (PyErr_Occurred()) SWIG_fail
;
18110 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxTextEntryDialog
, SWIG_POINTER_NEW
| 0 );
18141 SWIGINTERN PyObject
*_wrap_TextEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18142 PyObject
*resultobj
= 0;
18143 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18147 PyObject
*swig_obj
[1] ;
18149 if (!args
) SWIG_fail
;
18150 swig_obj
[0] = args
;
18151 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18152 if (!SWIG_IsOK(res1
)) {
18153 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18155 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18157 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18158 result
= (arg1
)->GetValue();
18159 wxPyEndAllowThreads(__tstate
);
18160 if (PyErr_Occurred()) SWIG_fail
;
18164 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
18166 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
18175 SWIGINTERN PyObject
*_wrap_TextEntryDialog_SetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18176 PyObject
*resultobj
= 0;
18177 wxTextEntryDialog
*arg1
= (wxTextEntryDialog
*) 0 ;
18178 wxString
*arg2
= 0 ;
18181 bool temp2
= false ;
18182 PyObject
* obj0
= 0 ;
18183 PyObject
* obj1
= 0 ;
18184 char * kwnames
[] = {
18185 (char *) "self",(char *) "value", NULL
18188 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:TextEntryDialog_SetValue",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18189 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxTextEntryDialog
, 0 | 0 );
18190 if (!SWIG_IsOK(res1
)) {
18191 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "TextEntryDialog_SetValue" "', expected argument " "1"" of type '" "wxTextEntryDialog *""'");
18193 arg1
= reinterpret_cast< wxTextEntryDialog
* >(argp1
);
18195 arg2
= wxString_in_helper(obj1
);
18196 if (arg2
== NULL
) SWIG_fail
;
18200 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18201 (arg1
)->SetValue((wxString
const &)*arg2
);
18202 wxPyEndAllowThreads(__tstate
);
18203 if (PyErr_Occurred()) SWIG_fail
;
18205 resultobj
= SWIG_Py_Void();
18220 SWIGINTERN PyObject
*TextEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18222 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18223 SWIG_TypeNewClientData(SWIGTYPE_p_wxTextEntryDialog
, SWIG_NewClientData(obj
));
18224 return SWIG_Py_Void();
18227 SWIGINTERN PyObject
*TextEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18228 return SWIG_Python_InitShadowInstance(args
);
18231 SWIGINTERN
int GetPasswordFromUserPromptStr_set(PyObject
*) {
18232 SWIG_Error(SWIG_AttributeError
,"Variable GetPasswordFromUserPromptStr is read-only.");
18237 SWIGINTERN PyObject
*GetPasswordFromUserPromptStr_get(void) {
18238 PyObject
*pyobj
= 0;
18242 pyobj
= PyUnicode_FromWideChar((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18244 pyobj
= PyString_FromStringAndSize((&wxPyGetPasswordFromUserPromptStr
)->c_str(), (&wxPyGetPasswordFromUserPromptStr
)->Len());
18251 SWIGINTERN PyObject
*_wrap_new_PasswordEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18252 PyObject
*resultobj
= 0;
18253 wxWindow
*arg1
= (wxWindow
*) 0 ;
18254 wxString
*arg2
= 0 ;
18255 wxString
const &arg3_defvalue
= wxPyGetPasswordFromUserPromptStr
;
18256 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
18257 wxString
const &arg4_defvalue
= wxPyEmptyString
;
18258 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
18259 long arg5
= (long) wxTextEntryDialogStyle
;
18260 wxPoint
const &arg6_defvalue
= wxDefaultPosition
;
18261 wxPoint
*arg6
= (wxPoint
*) &arg6_defvalue
;
18262 wxPasswordEntryDialog
*result
= 0 ;
18265 bool temp2
= false ;
18266 bool temp3
= false ;
18267 bool temp4
= false ;
18271 PyObject
* obj0
= 0 ;
18272 PyObject
* obj1
= 0 ;
18273 PyObject
* obj2
= 0 ;
18274 PyObject
* obj3
= 0 ;
18275 PyObject
* obj4
= 0 ;
18276 PyObject
* obj5
= 0 ;
18277 char * kwnames
[] = {
18278 (char *) "parent",(char *) "message",(char *) "caption",(char *) "value",(char *) "style",(char *) "pos", NULL
18281 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PasswordEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
18282 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18283 if (!SWIG_IsOK(res1
)) {
18284 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PasswordEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18286 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18288 arg2
= wxString_in_helper(obj1
);
18289 if (arg2
== NULL
) SWIG_fail
;
18294 arg3
= wxString_in_helper(obj2
);
18295 if (arg3
== NULL
) SWIG_fail
;
18301 arg4
= wxString_in_helper(obj3
);
18302 if (arg4
== NULL
) SWIG_fail
;
18307 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18308 if (!SWIG_IsOK(ecode5
)) {
18309 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PasswordEntryDialog" "', expected argument " "5"" of type '" "long""'");
18311 arg5
= static_cast< long >(val5
);
18316 if ( ! wxPoint_helper(obj5
, &arg6
)) SWIG_fail
;
18320 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18321 result
= (wxPasswordEntryDialog
*)new wxPasswordEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,(wxPoint
const &)*arg6
);
18322 wxPyEndAllowThreads(__tstate
);
18323 if (PyErr_Occurred()) SWIG_fail
;
18325 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_POINTER_NEW
| 0 );
18356 SWIGINTERN PyObject
*PasswordEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18358 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18359 SWIG_TypeNewClientData(SWIGTYPE_p_wxPasswordEntryDialog
, SWIG_NewClientData(obj
));
18360 return SWIG_Py_Void();
18363 SWIGINTERN PyObject
*PasswordEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18364 return SWIG_Python_InitShadowInstance(args
);
18367 SWIGINTERN PyObject
*_wrap_new_NumberEntryDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18368 PyObject
*resultobj
= 0;
18369 wxWindow
*arg1
= (wxWindow
*) 0 ;
18370 wxString
*arg2
= 0 ;
18371 wxString
*arg3
= 0 ;
18372 wxString
*arg4
= 0 ;
18376 wxPoint
const &arg8_defvalue
= wxDefaultPosition
;
18377 wxPoint
*arg8
= (wxPoint
*) &arg8_defvalue
;
18378 wxNumberEntryDialog
*result
= 0 ;
18381 bool temp2
= false ;
18382 bool temp3
= false ;
18383 bool temp4
= false ;
18391 PyObject
* obj0
= 0 ;
18392 PyObject
* obj1
= 0 ;
18393 PyObject
* obj2
= 0 ;
18394 PyObject
* obj3
= 0 ;
18395 PyObject
* obj4
= 0 ;
18396 PyObject
* obj5
= 0 ;
18397 PyObject
* obj6
= 0 ;
18398 PyObject
* obj7
= 0 ;
18399 char * kwnames
[] = {
18400 (char *) "parent",(char *) "message",(char *) "prompt",(char *) "caption",(char *) "value",(char *) "min",(char *) "max",(char *) "pos", NULL
18403 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOOOO|O:new_NumberEntryDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
18404 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
18405 if (!SWIG_IsOK(res1
)) {
18406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_NumberEntryDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
18408 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
18410 arg2
= wxString_in_helper(obj1
);
18411 if (arg2
== NULL
) SWIG_fail
;
18415 arg3
= wxString_in_helper(obj2
);
18416 if (arg3
== NULL
) SWIG_fail
;
18420 arg4
= wxString_in_helper(obj3
);
18421 if (arg4
== NULL
) SWIG_fail
;
18424 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
18425 if (!SWIG_IsOK(ecode5
)) {
18426 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_NumberEntryDialog" "', expected argument " "5"" of type '" "long""'");
18428 arg5
= static_cast< long >(val5
);
18429 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
18430 if (!SWIG_IsOK(ecode6
)) {
18431 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_NumberEntryDialog" "', expected argument " "6"" of type '" "long""'");
18433 arg6
= static_cast< long >(val6
);
18434 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
18435 if (!SWIG_IsOK(ecode7
)) {
18436 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "new_NumberEntryDialog" "', expected argument " "7"" of type '" "long""'");
18438 arg7
= static_cast< long >(val7
);
18442 if ( ! wxPoint_helper(obj7
, &arg8
)) SWIG_fail
;
18446 if (!wxPyCheckForApp()) SWIG_fail
;
18447 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18448 result
= (wxNumberEntryDialog
*)new wxNumberEntryDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,(wxString
const &)*arg4
,arg5
,arg6
,arg7
,(wxPoint
const &)*arg8
);
18449 wxPyEndAllowThreads(__tstate
);
18450 if (PyErr_Occurred()) SWIG_fail
;
18452 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxNumberEntryDialog
, SWIG_POINTER_NEW
| 0 );
18483 SWIGINTERN PyObject
*_wrap_NumberEntryDialog_GetValue(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18484 PyObject
*resultobj
= 0;
18485 wxNumberEntryDialog
*arg1
= (wxNumberEntryDialog
*) 0 ;
18489 PyObject
*swig_obj
[1] ;
18491 if (!args
) SWIG_fail
;
18492 swig_obj
[0] = args
;
18493 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxNumberEntryDialog
, 0 | 0 );
18494 if (!SWIG_IsOK(res1
)) {
18495 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "NumberEntryDialog_GetValue" "', expected argument " "1"" of type '" "wxNumberEntryDialog *""'");
18497 arg1
= reinterpret_cast< wxNumberEntryDialog
* >(argp1
);
18499 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18500 result
= (long)(arg1
)->GetValue();
18501 wxPyEndAllowThreads(__tstate
);
18502 if (PyErr_Occurred()) SWIG_fail
;
18504 resultobj
= SWIG_From_long(static_cast< long >(result
));
18511 SWIGINTERN PyObject
*NumberEntryDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18513 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
18514 SWIG_TypeNewClientData(SWIGTYPE_p_wxNumberEntryDialog
, SWIG_NewClientData(obj
));
18515 return SWIG_Py_Void();
18518 SWIGINTERN PyObject
*NumberEntryDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18519 return SWIG_Python_InitShadowInstance(args
);
18522 SWIGINTERN PyObject
*_wrap_new_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18523 PyObject
*resultobj
= 0;
18524 wxFontData
*result
= 0 ;
18526 if (!SWIG_Python_UnpackTuple(args
,"new_FontData",0,0,0)) SWIG_fail
;
18528 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18529 result
= (wxFontData
*)new wxFontData();
18530 wxPyEndAllowThreads(__tstate
);
18531 if (PyErr_Occurred()) SWIG_fail
;
18533 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, SWIG_POINTER_NEW
| 0 );
18540 SWIGINTERN PyObject
*_wrap_delete_FontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18541 PyObject
*resultobj
= 0;
18542 wxFontData
*arg1
= (wxFontData
*) 0 ;
18545 PyObject
*swig_obj
[1] ;
18547 if (!args
) SWIG_fail
;
18548 swig_obj
[0] = args
;
18549 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, SWIG_POINTER_DISOWN
| 0 );
18550 if (!SWIG_IsOK(res1
)) {
18551 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FontData" "', expected argument " "1"" of type '" "wxFontData *""'");
18553 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18558 wxPyEndAllowThreads(__tstate
);
18559 if (PyErr_Occurred()) SWIG_fail
;
18561 resultobj
= SWIG_Py_Void();
18568 SWIGINTERN PyObject
*_wrap_FontData_EnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18569 PyObject
*resultobj
= 0;
18570 wxFontData
*arg1
= (wxFontData
*) 0 ;
18576 PyObject
* obj0
= 0 ;
18577 PyObject
* obj1
= 0 ;
18578 char * kwnames
[] = {
18579 (char *) "self",(char *) "enable", NULL
18582 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_EnableEffects",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18583 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18584 if (!SWIG_IsOK(res1
)) {
18585 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_EnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18587 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18588 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18589 if (!SWIG_IsOK(ecode2
)) {
18590 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_EnableEffects" "', expected argument " "2"" of type '" "bool""'");
18592 arg2
= static_cast< bool >(val2
);
18594 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18595 (arg1
)->EnableEffects(arg2
);
18596 wxPyEndAllowThreads(__tstate
);
18597 if (PyErr_Occurred()) SWIG_fail
;
18599 resultobj
= SWIG_Py_Void();
18606 SWIGINTERN PyObject
*_wrap_FontData_GetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18607 PyObject
*resultobj
= 0;
18608 wxFontData
*arg1
= (wxFontData
*) 0 ;
18612 PyObject
*swig_obj
[1] ;
18614 if (!args
) SWIG_fail
;
18615 swig_obj
[0] = args
;
18616 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18617 if (!SWIG_IsOK(res1
)) {
18618 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18620 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18622 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18623 result
= (bool)(arg1
)->GetAllowSymbols();
18624 wxPyEndAllowThreads(__tstate
);
18625 if (PyErr_Occurred()) SWIG_fail
;
18628 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18636 SWIGINTERN PyObject
*_wrap_FontData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18637 PyObject
*resultobj
= 0;
18638 wxFontData
*arg1
= (wxFontData
*) 0 ;
18642 PyObject
*swig_obj
[1] ;
18644 if (!args
) SWIG_fail
;
18645 swig_obj
[0] = args
;
18646 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18647 if (!SWIG_IsOK(res1
)) {
18648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18650 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18653 result
= (arg1
)->GetColour();
18654 wxPyEndAllowThreads(__tstate
);
18655 if (PyErr_Occurred()) SWIG_fail
;
18657 resultobj
= SWIG_NewPointerObj((new wxColour(static_cast< const wxColour
& >(result
))), SWIGTYPE_p_wxColour
, SWIG_POINTER_OWN
| 0 );
18664 SWIGINTERN PyObject
*_wrap_FontData_GetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18665 PyObject
*resultobj
= 0;
18666 wxFontData
*arg1
= (wxFontData
*) 0 ;
18670 PyObject
*swig_obj
[1] ;
18672 if (!args
) SWIG_fail
;
18673 swig_obj
[0] = args
;
18674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18675 if (!SWIG_IsOK(res1
)) {
18676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18678 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18681 result
= (arg1
)->GetChosenFont();
18682 wxPyEndAllowThreads(__tstate
);
18683 if (PyErr_Occurred()) SWIG_fail
;
18685 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18692 SWIGINTERN PyObject
*_wrap_FontData_GetEnableEffects(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18693 PyObject
*resultobj
= 0;
18694 wxFontData
*arg1
= (wxFontData
*) 0 ;
18698 PyObject
*swig_obj
[1] ;
18700 if (!args
) SWIG_fail
;
18701 swig_obj
[0] = args
;
18702 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18703 if (!SWIG_IsOK(res1
)) {
18704 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetEnableEffects" "', expected argument " "1"" of type '" "wxFontData *""'");
18706 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18708 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18709 result
= (bool)(arg1
)->GetEnableEffects();
18710 wxPyEndAllowThreads(__tstate
);
18711 if (PyErr_Occurred()) SWIG_fail
;
18714 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18722 SWIGINTERN PyObject
*_wrap_FontData_GetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18723 PyObject
*resultobj
= 0;
18724 wxFontData
*arg1
= (wxFontData
*) 0 ;
18728 PyObject
*swig_obj
[1] ;
18730 if (!args
) SWIG_fail
;
18731 swig_obj
[0] = args
;
18732 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18733 if (!SWIG_IsOK(res1
)) {
18734 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18736 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18738 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18739 result
= (arg1
)->GetInitialFont();
18740 wxPyEndAllowThreads(__tstate
);
18741 if (PyErr_Occurred()) SWIG_fail
;
18743 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
18750 SWIGINTERN PyObject
*_wrap_FontData_GetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
18751 PyObject
*resultobj
= 0;
18752 wxFontData
*arg1
= (wxFontData
*) 0 ;
18756 PyObject
*swig_obj
[1] ;
18758 if (!args
) SWIG_fail
;
18759 swig_obj
[0] = args
;
18760 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18761 if (!SWIG_IsOK(res1
)) {
18762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_GetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
18764 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18766 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18767 result
= (bool)(arg1
)->GetShowHelp();
18768 wxPyEndAllowThreads(__tstate
);
18769 if (PyErr_Occurred()) SWIG_fail
;
18772 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
18780 SWIGINTERN PyObject
*_wrap_FontData_SetAllowSymbols(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18781 PyObject
*resultobj
= 0;
18782 wxFontData
*arg1
= (wxFontData
*) 0 ;
18788 PyObject
* obj0
= 0 ;
18789 PyObject
* obj1
= 0 ;
18790 char * kwnames
[] = {
18791 (char *) "self",(char *) "allowSymbols", NULL
18794 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetAllowSymbols",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18795 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18796 if (!SWIG_IsOK(res1
)) {
18797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "1"" of type '" "wxFontData *""'");
18799 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18800 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
18801 if (!SWIG_IsOK(ecode2
)) {
18802 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetAllowSymbols" "', expected argument " "2"" of type '" "bool""'");
18804 arg2
= static_cast< bool >(val2
);
18806 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18807 (arg1
)->SetAllowSymbols(arg2
);
18808 wxPyEndAllowThreads(__tstate
);
18809 if (PyErr_Occurred()) SWIG_fail
;
18811 resultobj
= SWIG_Py_Void();
18818 SWIGINTERN PyObject
*_wrap_FontData_SetChosenFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18819 PyObject
*resultobj
= 0;
18820 wxFontData
*arg1
= (wxFontData
*) 0 ;
18826 PyObject
* obj0
= 0 ;
18827 PyObject
* obj1
= 0 ;
18828 char * kwnames
[] = {
18829 (char *) "self",(char *) "font", NULL
18832 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetChosenFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18833 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18834 if (!SWIG_IsOK(res1
)) {
18835 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetChosenFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18837 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18838 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18839 if (!SWIG_IsOK(res2
)) {
18840 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18843 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetChosenFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18845 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18847 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18848 (arg1
)->SetChosenFont((wxFont
const &)*arg2
);
18849 wxPyEndAllowThreads(__tstate
);
18850 if (PyErr_Occurred()) SWIG_fail
;
18852 resultobj
= SWIG_Py_Void();
18859 SWIGINTERN PyObject
*_wrap_FontData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18860 PyObject
*resultobj
= 0;
18861 wxFontData
*arg1
= (wxFontData
*) 0 ;
18862 wxColour
*arg2
= 0 ;
18866 PyObject
* obj0
= 0 ;
18867 PyObject
* obj1
= 0 ;
18868 char * kwnames
[] = {
18869 (char *) "self",(char *) "colour", NULL
18872 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18873 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18874 if (!SWIG_IsOK(res1
)) {
18875 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetColour" "', expected argument " "1"" of type '" "wxFontData *""'");
18877 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18880 if ( ! wxColour_helper(obj1
, &arg2
)) SWIG_fail
;
18883 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18884 (arg1
)->SetColour((wxColour
const &)*arg2
);
18885 wxPyEndAllowThreads(__tstate
);
18886 if (PyErr_Occurred()) SWIG_fail
;
18888 resultobj
= SWIG_Py_Void();
18895 SWIGINTERN PyObject
*_wrap_FontData_SetInitialFont(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18896 PyObject
*resultobj
= 0;
18897 wxFontData
*arg1
= (wxFontData
*) 0 ;
18903 PyObject
* obj0
= 0 ;
18904 PyObject
* obj1
= 0 ;
18905 char * kwnames
[] = {
18906 (char *) "self",(char *) "font", NULL
18909 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetInitialFont",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18910 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18911 if (!SWIG_IsOK(res1
)) {
18912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetInitialFont" "', expected argument " "1"" of type '" "wxFontData *""'");
18914 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18915 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
18916 if (!SWIG_IsOK(res2
)) {
18917 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18920 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "FontData_SetInitialFont" "', expected argument " "2"" of type '" "wxFont const &""'");
18922 arg2
= reinterpret_cast< wxFont
* >(argp2
);
18924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18925 (arg1
)->SetInitialFont((wxFont
const &)*arg2
);
18926 wxPyEndAllowThreads(__tstate
);
18927 if (PyErr_Occurred()) SWIG_fail
;
18929 resultobj
= SWIG_Py_Void();
18936 SWIGINTERN PyObject
*_wrap_FontData_SetRange(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18937 PyObject
*resultobj
= 0;
18938 wxFontData
*arg1
= (wxFontData
*) 0 ;
18947 PyObject
* obj0
= 0 ;
18948 PyObject
* obj1
= 0 ;
18949 PyObject
* obj2
= 0 ;
18950 char * kwnames
[] = {
18951 (char *) "self",(char *) "min",(char *) "max", NULL
18954 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:FontData_SetRange",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
18955 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18956 if (!SWIG_IsOK(res1
)) {
18957 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetRange" "', expected argument " "1"" of type '" "wxFontData *""'");
18959 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
18960 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
18961 if (!SWIG_IsOK(ecode2
)) {
18962 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetRange" "', expected argument " "2"" of type '" "int""'");
18964 arg2
= static_cast< int >(val2
);
18965 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
18966 if (!SWIG_IsOK(ecode3
)) {
18967 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "FontData_SetRange" "', expected argument " "3"" of type '" "int""'");
18969 arg3
= static_cast< int >(val3
);
18971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
18972 (arg1
)->SetRange(arg2
,arg3
);
18973 wxPyEndAllowThreads(__tstate
);
18974 if (PyErr_Occurred()) SWIG_fail
;
18976 resultobj
= SWIG_Py_Void();
18983 SWIGINTERN PyObject
*_wrap_FontData_SetShowHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
18984 PyObject
*resultobj
= 0;
18985 wxFontData
*arg1
= (wxFontData
*) 0 ;
18991 PyObject
* obj0
= 0 ;
18992 PyObject
* obj1
= 0 ;
18993 char * kwnames
[] = {
18994 (char *) "self",(char *) "showHelp", NULL
18997 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FontData_SetShowHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
18998 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFontData
, 0 | 0 );
18999 if (!SWIG_IsOK(res1
)) {
19000 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontData_SetShowHelp" "', expected argument " "1"" of type '" "wxFontData *""'");
19002 arg1
= reinterpret_cast< wxFontData
* >(argp1
);
19003 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
19004 if (!SWIG_IsOK(ecode2
)) {
19005 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FontData_SetShowHelp" "', expected argument " "2"" of type '" "bool""'");
19007 arg2
= static_cast< bool >(val2
);
19009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19010 (arg1
)->SetShowHelp(arg2
);
19011 wxPyEndAllowThreads(__tstate
);
19012 if (PyErr_Occurred()) SWIG_fail
;
19014 resultobj
= SWIG_Py_Void();
19021 SWIGINTERN PyObject
*FontData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19023 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19024 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontData
, SWIG_NewClientData(obj
));
19025 return SWIG_Py_Void();
19028 SWIGINTERN PyObject
*FontData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19029 return SWIG_Python_InitShadowInstance(args
);
19032 SWIGINTERN PyObject
*_wrap_new_FontDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19033 PyObject
*resultobj
= 0;
19034 wxWindow
*arg1
= (wxWindow
*) 0 ;
19035 wxFontData
*arg2
= 0 ;
19036 wxFontDialog
*result
= 0 ;
19041 PyObject
* obj0
= 0 ;
19042 PyObject
* obj1
= 0 ;
19043 char * kwnames
[] = {
19044 (char *) "parent",(char *) "data", NULL
19047 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:new_FontDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19048 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19049 if (!SWIG_IsOK(res1
)) {
19050 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FontDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19052 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19053 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFontData
, 0 | 0);
19054 if (!SWIG_IsOK(res2
)) {
19055 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19058 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_FontDialog" "', expected argument " "2"" of type '" "wxFontData const &""'");
19060 arg2
= reinterpret_cast< wxFontData
* >(argp2
);
19062 if (!wxPyCheckForApp()) SWIG_fail
;
19063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19064 result
= (wxFontDialog
*)new wxFontDialog(arg1
,(wxFontData
const &)*arg2
);
19065 wxPyEndAllowThreads(__tstate
);
19066 if (PyErr_Occurred()) SWIG_fail
;
19068 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontDialog
, SWIG_POINTER_NEW
| 0 );
19075 SWIGINTERN PyObject
*_wrap_FontDialog_GetFontData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19076 PyObject
*resultobj
= 0;
19077 wxFontDialog
*arg1
= (wxFontDialog
*) 0 ;
19078 wxFontData
*result
= 0 ;
19081 PyObject
*swig_obj
[1] ;
19083 if (!args
) SWIG_fail
;
19084 swig_obj
[0] = args
;
19085 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFontDialog
, 0 | 0 );
19086 if (!SWIG_IsOK(res1
)) {
19087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FontDialog_GetFontData" "', expected argument " "1"" of type '" "wxFontDialog *""'");
19089 arg1
= reinterpret_cast< wxFontDialog
* >(argp1
);
19091 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19093 wxFontData
&_result_ref
= (arg1
)->GetFontData();
19094 result
= (wxFontData
*) &_result_ref
;
19096 wxPyEndAllowThreads(__tstate
);
19097 if (PyErr_Occurred()) SWIG_fail
;
19099 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFontData
, 0 | 0 );
19106 SWIGINTERN PyObject
*FontDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19108 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19109 SWIG_TypeNewClientData(SWIGTYPE_p_wxFontDialog
, SWIG_NewClientData(obj
));
19110 return SWIG_Py_Void();
19113 SWIGINTERN PyObject
*FontDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19114 return SWIG_Python_InitShadowInstance(args
);
19117 SWIGINTERN PyObject
*_wrap_GetFontFromUser(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19118 PyObject
*resultobj
= 0;
19119 wxWindow
*arg1
= (wxWindow
*) NULL
;
19120 wxFont
const &arg2_defvalue
= wxNullFont
;
19121 wxFont
*arg2
= (wxFont
*) &arg2_defvalue
;
19122 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19123 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19129 bool temp3
= false ;
19130 PyObject
* obj0
= 0 ;
19131 PyObject
* obj1
= 0 ;
19132 PyObject
* obj2
= 0 ;
19133 char * kwnames
[] = {
19134 (char *) "parent",(char *) "fontInit",(char *) "caption", NULL
19137 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OOO:GetFontFromUser",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19139 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19140 if (!SWIG_IsOK(res1
)) {
19141 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "GetFontFromUser" "', expected argument " "1"" of type '" "wxWindow *""'");
19143 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19146 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxFont
, 0 | 0);
19147 if (!SWIG_IsOK(res2
)) {
19148 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19151 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "GetFontFromUser" "', expected argument " "2"" of type '" "wxFont const &""'");
19153 arg2
= reinterpret_cast< wxFont
* >(argp2
);
19157 arg3
= wxString_in_helper(obj2
);
19158 if (arg3
== NULL
) SWIG_fail
;
19163 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19164 result
= wxGetFontFromUser(arg1
,(wxFont
const &)*arg2
,(wxString
const &)*arg3
);
19165 wxPyEndAllowThreads(__tstate
);
19166 if (PyErr_Occurred()) SWIG_fail
;
19168 resultobj
= SWIG_NewPointerObj((new wxFont(static_cast< const wxFont
& >(result
))), SWIGTYPE_p_wxFont
, SWIG_POINTER_OWN
| 0 );
19183 SWIGINTERN PyObject
*_wrap_new_MessageDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19184 PyObject
*resultobj
= 0;
19185 wxWindow
*arg1
= (wxWindow
*) 0 ;
19186 wxString
*arg2
= 0 ;
19187 wxString
const &arg3_defvalue
= wxPyMessageBoxCaptionStr
;
19188 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19189 long arg4
= (long) wxOK
|wxCANCEL
|wxCENTRE
;
19190 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
19191 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
19192 wxMessageDialog
*result
= 0 ;
19195 bool temp2
= false ;
19196 bool temp3
= false ;
19200 PyObject
* obj0
= 0 ;
19201 PyObject
* obj1
= 0 ;
19202 PyObject
* obj2
= 0 ;
19203 PyObject
* obj3
= 0 ;
19204 PyObject
* obj4
= 0 ;
19205 char * kwnames
[] = {
19206 (char *) "parent",(char *) "message",(char *) "caption",(char *) "style",(char *) "pos", NULL
19209 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_MessageDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19210 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19211 if (!SWIG_IsOK(res1
)) {
19212 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MessageDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
19214 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
19216 arg2
= wxString_in_helper(obj1
);
19217 if (arg2
== NULL
) SWIG_fail
;
19222 arg3
= wxString_in_helper(obj2
);
19223 if (arg3
== NULL
) SWIG_fail
;
19228 ecode4
= SWIG_AsVal_long(obj3
, &val4
);
19229 if (!SWIG_IsOK(ecode4
)) {
19230 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_MessageDialog" "', expected argument " "4"" of type '" "long""'");
19232 arg4
= static_cast< long >(val4
);
19237 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
19241 if (!wxPyCheckForApp()) SWIG_fail
;
19242 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19243 result
= (wxMessageDialog
*)new wxMessageDialog(arg1
,(wxString
const &)*arg2
,(wxString
const &)*arg3
,arg4
,(wxPoint
const &)*arg5
);
19244 wxPyEndAllowThreads(__tstate
);
19245 if (PyErr_Occurred()) SWIG_fail
;
19247 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMessageDialog
, SWIG_POINTER_NEW
| 0 );
19270 SWIGINTERN PyObject
*MessageDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19272 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19273 SWIG_TypeNewClientData(SWIGTYPE_p_wxMessageDialog
, SWIG_NewClientData(obj
));
19274 return SWIG_Py_Void();
19277 SWIGINTERN PyObject
*MessageDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19278 return SWIG_Python_InitShadowInstance(args
);
19281 SWIGINTERN PyObject
*_wrap_new_ProgressDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19282 PyObject
*resultobj
= 0;
19283 wxString
*arg1
= 0 ;
19284 wxString
*arg2
= 0 ;
19285 int arg3
= (int) 100 ;
19286 wxWindow
*arg4
= (wxWindow
*) NULL
;
19287 int arg5
= (int) wxPD_AUTO_HIDE
|wxPD_APP_MODAL
;
19288 wxProgressDialog
*result
= 0 ;
19289 bool temp1
= false ;
19290 bool temp2
= false ;
19297 PyObject
* obj0
= 0 ;
19298 PyObject
* obj1
= 0 ;
19299 PyObject
* obj2
= 0 ;
19300 PyObject
* obj3
= 0 ;
19301 PyObject
* obj4
= 0 ;
19302 char * kwnames
[] = {
19303 (char *) "title",(char *) "message",(char *) "maximum",(char *) "parent",(char *) "style", NULL
19306 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOO:new_ProgressDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
19308 arg1
= wxString_in_helper(obj0
);
19309 if (arg1
== NULL
) SWIG_fail
;
19313 arg2
= wxString_in_helper(obj1
);
19314 if (arg2
== NULL
) SWIG_fail
;
19318 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
19319 if (!SWIG_IsOK(ecode3
)) {
19320 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "new_ProgressDialog" "', expected argument " "3"" of type '" "int""'");
19322 arg3
= static_cast< int >(val3
);
19325 res4
= SWIG_ConvertPtr(obj3
, &argp4
,SWIGTYPE_p_wxWindow
, 0 | 0 );
19326 if (!SWIG_IsOK(res4
)) {
19327 SWIG_exception_fail(SWIG_ArgError(res4
), "in method '" "new_ProgressDialog" "', expected argument " "4"" of type '" "wxWindow *""'");
19329 arg4
= reinterpret_cast< wxWindow
* >(argp4
);
19332 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
19333 if (!SWIG_IsOK(ecode5
)) {
19334 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_ProgressDialog" "', expected argument " "5"" of type '" "int""'");
19336 arg5
= static_cast< int >(val5
);
19339 if (!wxPyCheckForApp()) SWIG_fail
;
19340 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19341 result
= (wxProgressDialog
*)new wxProgressDialog((wxString
const &)*arg1
,(wxString
const &)*arg2
,arg3
,arg4
,arg5
);
19342 wxPyEndAllowThreads(__tstate
);
19343 if (PyErr_Occurred()) SWIG_fail
;
19345 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxProgressDialog
, SWIG_POINTER_NEW
| 0 );
19368 SWIGINTERN PyObject
*_wrap_ProgressDialog_Update(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19369 PyObject
*resultobj
= 0;
19370 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19372 wxString
const &arg3_defvalue
= wxPyEmptyString
;
19373 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
19374 bool *arg4
= (bool *) 0 ;
19380 bool temp3
= false ;
19382 int res4
= SWIG_TMPOBJ
;
19383 PyObject
* obj0
= 0 ;
19384 PyObject
* obj1
= 0 ;
19385 PyObject
* obj2
= 0 ;
19386 char * kwnames
[] = {
19387 (char *) "self",(char *) "value",(char *) "newmsg", NULL
19391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:ProgressDialog_Update",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
19392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19393 if (!SWIG_IsOK(res1
)) {
19394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Update" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19396 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19398 if (!SWIG_IsOK(ecode2
)) {
19399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "ProgressDialog_Update" "', expected argument " "2"" of type '" "int""'");
19401 arg2
= static_cast< int >(val2
);
19404 arg3
= wxString_in_helper(obj2
);
19405 if (arg3
== NULL
) SWIG_fail
;
19410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19411 result
= (bool)(arg1
)->Update(arg2
,(wxString
const &)*arg3
,arg4
);
19412 wxPyEndAllowThreads(__tstate
);
19413 if (PyErr_Occurred()) SWIG_fail
;
19416 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19418 if (SWIG_IsTmpObj(res4
)) {
19419 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg4
)));
19421 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19422 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_bool
, new_flags
));
19438 SWIGINTERN PyObject
*_wrap_ProgressDialog_UpdatePulse(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19439 PyObject
*resultobj
= 0;
19440 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19441 wxString
const &arg2_defvalue
= wxPyEmptyString
;
19442 wxString
*arg2
= (wxString
*) &arg2_defvalue
;
19443 bool *arg3
= (bool *) 0 ;
19447 bool temp2
= false ;
19449 int res3
= SWIG_TMPOBJ
;
19450 PyObject
* obj0
= 0 ;
19451 PyObject
* obj1
= 0 ;
19452 char * kwnames
[] = {
19453 (char *) "self",(char *) "newmsg", NULL
19457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:ProgressDialog_UpdatePulse",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19459 if (!SWIG_IsOK(res1
)) {
19460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_UpdatePulse" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19462 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19465 arg2
= wxString_in_helper(obj1
);
19466 if (arg2
== NULL
) SWIG_fail
;
19471 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19472 result
= (bool)(arg1
)->UpdatePulse((wxString
const &)*arg2
,arg3
);
19473 wxPyEndAllowThreads(__tstate
);
19474 if (PyErr_Occurred()) SWIG_fail
;
19477 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
19479 if (SWIG_IsTmpObj(res3
)) {
19480 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_bool((*arg3
)));
19482 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
19483 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_bool
, new_flags
));
19499 SWIGINTERN PyObject
*_wrap_ProgressDialog_Resume(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19500 PyObject
*resultobj
= 0;
19501 wxProgressDialog
*arg1
= (wxProgressDialog
*) 0 ;
19504 PyObject
*swig_obj
[1] ;
19506 if (!args
) SWIG_fail
;
19507 swig_obj
[0] = args
;
19508 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxProgressDialog
, 0 | 0 );
19509 if (!SWIG_IsOK(res1
)) {
19510 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "ProgressDialog_Resume" "', expected argument " "1"" of type '" "wxProgressDialog *""'");
19512 arg1
= reinterpret_cast< wxProgressDialog
* >(argp1
);
19514 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19516 wxPyEndAllowThreads(__tstate
);
19517 if (PyErr_Occurred()) SWIG_fail
;
19519 resultobj
= SWIG_Py_Void();
19526 SWIGINTERN PyObject
*ProgressDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19528 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19529 SWIG_TypeNewClientData(SWIGTYPE_p_wxProgressDialog
, SWIG_NewClientData(obj
));
19530 return SWIG_Py_Void();
19533 SWIGINTERN PyObject
*ProgressDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19534 return SWIG_Python_InitShadowInstance(args
);
19537 SWIGINTERN PyObject
*_wrap_new_FindDialogEvent(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19538 PyObject
*resultobj
= 0;
19539 wxEventType arg1
= (wxEventType
) wxEVT_NULL
;
19540 int arg2
= (int) 0 ;
19541 wxFindDialogEvent
*result
= 0 ;
19546 PyObject
* obj0
= 0 ;
19547 PyObject
* obj1
= 0 ;
19548 char * kwnames
[] = {
19549 (char *) "commandType",(char *) "id", NULL
19552 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|OO:new_FindDialogEvent",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19554 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19555 if (!SWIG_IsOK(ecode1
)) {
19556 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindDialogEvent" "', expected argument " "1"" of type '" "wxEventType""'");
19558 arg1
= static_cast< wxEventType
>(val1
);
19561 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19562 if (!SWIG_IsOK(ecode2
)) {
19563 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_FindDialogEvent" "', expected argument " "2"" of type '" "int""'");
19565 arg2
= static_cast< int >(val2
);
19568 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19569 result
= (wxFindDialogEvent
*)new wxFindDialogEvent(arg1
,arg2
);
19570 wxPyEndAllowThreads(__tstate
);
19571 if (PyErr_Occurred()) SWIG_fail
;
19573 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindDialogEvent
, SWIG_POINTER_NEW
| 0 );
19580 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19581 PyObject
*resultobj
= 0;
19582 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19586 PyObject
*swig_obj
[1] ;
19588 if (!args
) SWIG_fail
;
19589 swig_obj
[0] = args
;
19590 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19591 if (!SWIG_IsOK(res1
)) {
19592 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19594 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19596 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19597 result
= (int)(arg1
)->GetFlags();
19598 wxPyEndAllowThreads(__tstate
);
19599 if (PyErr_Occurred()) SWIG_fail
;
19601 resultobj
= SWIG_From_int(static_cast< int >(result
));
19608 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19609 PyObject
*resultobj
= 0;
19610 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19611 wxString
*result
= 0 ;
19614 PyObject
*swig_obj
[1] ;
19616 if (!args
) SWIG_fail
;
19617 swig_obj
[0] = args
;
19618 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19619 if (!SWIG_IsOK(res1
)) {
19620 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19622 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19624 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19626 wxString
const &_result_ref
= (arg1
)->GetFindString();
19627 result
= (wxString
*) &_result_ref
;
19629 wxPyEndAllowThreads(__tstate
);
19630 if (PyErr_Occurred()) SWIG_fail
;
19634 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19636 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19645 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19646 PyObject
*resultobj
= 0;
19647 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19648 wxString
*result
= 0 ;
19651 PyObject
*swig_obj
[1] ;
19653 if (!args
) SWIG_fail
;
19654 swig_obj
[0] = args
;
19655 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19656 if (!SWIG_IsOK(res1
)) {
19657 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19659 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19661 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19663 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19664 result
= (wxString
*) &_result_ref
;
19666 wxPyEndAllowThreads(__tstate
);
19667 if (PyErr_Occurred()) SWIG_fail
;
19671 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19673 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19682 SWIGINTERN PyObject
*_wrap_FindDialogEvent_GetDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19683 PyObject
*resultobj
= 0;
19684 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19685 wxFindReplaceDialog
*result
= 0 ;
19688 PyObject
*swig_obj
[1] ;
19690 if (!args
) SWIG_fail
;
19691 swig_obj
[0] = args
;
19692 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19693 if (!SWIG_IsOK(res1
)) {
19694 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_GetDialog" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19696 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19699 result
= (wxFindReplaceDialog
*)(arg1
)->GetDialog();
19700 wxPyEndAllowThreads(__tstate
);
19701 if (PyErr_Occurred()) SWIG_fail
;
19703 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
19710 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19711 PyObject
*resultobj
= 0;
19712 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19718 PyObject
* obj0
= 0 ;
19719 PyObject
* obj1
= 0 ;
19720 char * kwnames
[] = {
19721 (char *) "self",(char *) "flags", NULL
19724 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19725 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19726 if (!SWIG_IsOK(res1
)) {
19727 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19729 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19730 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
19731 if (!SWIG_IsOK(ecode2
)) {
19732 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindDialogEvent_SetFlags" "', expected argument " "2"" of type '" "int""'");
19734 arg2
= static_cast< int >(val2
);
19736 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19737 (arg1
)->SetFlags(arg2
);
19738 wxPyEndAllowThreads(__tstate
);
19739 if (PyErr_Occurred()) SWIG_fail
;
19741 resultobj
= SWIG_Py_Void();
19748 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19749 PyObject
*resultobj
= 0;
19750 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19751 wxString
*arg2
= 0 ;
19754 bool temp2
= false ;
19755 PyObject
* obj0
= 0 ;
19756 PyObject
* obj1
= 0 ;
19757 char * kwnames
[] = {
19758 (char *) "self",(char *) "str", NULL
19761 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19762 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19763 if (!SWIG_IsOK(res1
)) {
19764 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetFindString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19766 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19768 arg2
= wxString_in_helper(obj1
);
19769 if (arg2
== NULL
) SWIG_fail
;
19773 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19774 (arg1
)->SetFindString((wxString
const &)*arg2
);
19775 wxPyEndAllowThreads(__tstate
);
19776 if (PyErr_Occurred()) SWIG_fail
;
19778 resultobj
= SWIG_Py_Void();
19793 SWIGINTERN PyObject
*_wrap_FindDialogEvent_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19794 PyObject
*resultobj
= 0;
19795 wxFindDialogEvent
*arg1
= (wxFindDialogEvent
*) 0 ;
19796 wxString
*arg2
= 0 ;
19799 bool temp2
= false ;
19800 PyObject
* obj0
= 0 ;
19801 PyObject
* obj1
= 0 ;
19802 char * kwnames
[] = {
19803 (char *) "self",(char *) "str", NULL
19806 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindDialogEvent_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
19807 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindDialogEvent
, 0 | 0 );
19808 if (!SWIG_IsOK(res1
)) {
19809 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindDialogEvent_SetReplaceString" "', expected argument " "1"" of type '" "wxFindDialogEvent *""'");
19811 arg1
= reinterpret_cast< wxFindDialogEvent
* >(argp1
);
19813 arg2
= wxString_in_helper(obj1
);
19814 if (arg2
== NULL
) SWIG_fail
;
19818 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19819 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
19820 wxPyEndAllowThreads(__tstate
);
19821 if (PyErr_Occurred()) SWIG_fail
;
19823 resultobj
= SWIG_Py_Void();
19838 SWIGINTERN PyObject
*FindDialogEvent_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19840 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
19841 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindDialogEvent
, SWIG_NewClientData(obj
));
19842 return SWIG_Py_Void();
19845 SWIGINTERN PyObject
*FindDialogEvent_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19846 return SWIG_Python_InitShadowInstance(args
);
19849 SWIGINTERN PyObject
*_wrap_new_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
19850 PyObject
*resultobj
= 0;
19851 int arg1
= (int) 0 ;
19852 wxFindReplaceData
*result
= 0 ;
19855 PyObject
* obj0
= 0 ;
19856 char * kwnames
[] = {
19857 (char *) "flags", NULL
19860 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_FindReplaceData",kwnames
,&obj0
)) SWIG_fail
;
19862 ecode1
= SWIG_AsVal_int(obj0
, &val1
);
19863 if (!SWIG_IsOK(ecode1
)) {
19864 SWIG_exception_fail(SWIG_ArgError(ecode1
), "in method '" "new_FindReplaceData" "', expected argument " "1"" of type '" "int""'");
19866 arg1
= static_cast< int >(val1
);
19869 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19870 result
= (wxFindReplaceData
*)new wxFindReplaceData(arg1
);
19871 wxPyEndAllowThreads(__tstate
);
19872 if (PyErr_Occurred()) SWIG_fail
;
19874 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_NEW
| 0 );
19881 SWIGINTERN PyObject
*_wrap_delete_FindReplaceData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19882 PyObject
*resultobj
= 0;
19883 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19886 PyObject
*swig_obj
[1] ;
19888 if (!args
) SWIG_fail
;
19889 swig_obj
[0] = args
;
19890 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, SWIG_POINTER_DISOWN
| 0 );
19891 if (!SWIG_IsOK(res1
)) {
19892 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_FindReplaceData" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19894 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19896 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19899 wxPyEndAllowThreads(__tstate
);
19900 if (PyErr_Occurred()) SWIG_fail
;
19902 resultobj
= SWIG_Py_Void();
19909 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19910 PyObject
*resultobj
= 0;
19911 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19912 wxString
*result
= 0 ;
19915 PyObject
*swig_obj
[1] ;
19917 if (!args
) SWIG_fail
;
19918 swig_obj
[0] = args
;
19919 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19920 if (!SWIG_IsOK(res1
)) {
19921 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19923 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19925 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19927 wxString
const &_result_ref
= (arg1
)->GetFindString();
19928 result
= (wxString
*) &_result_ref
;
19930 wxPyEndAllowThreads(__tstate
);
19931 if (PyErr_Occurred()) SWIG_fail
;
19935 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19937 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19946 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19947 PyObject
*resultobj
= 0;
19948 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19949 wxString
*result
= 0 ;
19952 PyObject
*swig_obj
[1] ;
19954 if (!args
) SWIG_fail
;
19955 swig_obj
[0] = args
;
19956 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19957 if (!SWIG_IsOK(res1
)) {
19958 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19960 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19962 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
19964 wxString
const &_result_ref
= (arg1
)->GetReplaceString();
19965 result
= (wxString
*) &_result_ref
;
19967 wxPyEndAllowThreads(__tstate
);
19968 if (PyErr_Occurred()) SWIG_fail
;
19972 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
19974 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
19983 SWIGINTERN PyObject
*_wrap_FindReplaceData_GetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
19984 PyObject
*resultobj
= 0;
19985 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
19989 PyObject
*swig_obj
[1] ;
19991 if (!args
) SWIG_fail
;
19992 swig_obj
[0] = args
;
19993 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
19994 if (!SWIG_IsOK(res1
)) {
19995 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_GetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
19997 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
19999 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20000 result
= (int)(arg1
)->GetFlags();
20001 wxPyEndAllowThreads(__tstate
);
20002 if (PyErr_Occurred()) SWIG_fail
;
20004 resultobj
= SWIG_From_int(static_cast< int >(result
));
20011 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFlags(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20012 PyObject
*resultobj
= 0;
20013 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20019 PyObject
* obj0
= 0 ;
20020 PyObject
* obj1
= 0 ;
20021 char * kwnames
[] = {
20022 (char *) "self",(char *) "flags", NULL
20025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFlags",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20027 if (!SWIG_IsOK(res1
)) {
20028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20030 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20031 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20032 if (!SWIG_IsOK(ecode2
)) {
20033 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "FindReplaceData_SetFlags" "', expected argument " "2"" of type '" "int""'");
20035 arg2
= static_cast< int >(val2
);
20037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20038 (arg1
)->SetFlags(arg2
);
20039 wxPyEndAllowThreads(__tstate
);
20040 if (PyErr_Occurred()) SWIG_fail
;
20042 resultobj
= SWIG_Py_Void();
20049 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetFindString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20050 PyObject
*resultobj
= 0;
20051 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20052 wxString
*arg2
= 0 ;
20055 bool temp2
= false ;
20056 PyObject
* obj0
= 0 ;
20057 PyObject
* obj1
= 0 ;
20058 char * kwnames
[] = {
20059 (char *) "self",(char *) "str", NULL
20062 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetFindString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20063 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20064 if (!SWIG_IsOK(res1
)) {
20065 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetFindString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20067 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20069 arg2
= wxString_in_helper(obj1
);
20070 if (arg2
== NULL
) SWIG_fail
;
20074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20075 (arg1
)->SetFindString((wxString
const &)*arg2
);
20076 wxPyEndAllowThreads(__tstate
);
20077 if (PyErr_Occurred()) SWIG_fail
;
20079 resultobj
= SWIG_Py_Void();
20094 SWIGINTERN PyObject
*_wrap_FindReplaceData_SetReplaceString(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20095 PyObject
*resultobj
= 0;
20096 wxFindReplaceData
*arg1
= (wxFindReplaceData
*) 0 ;
20097 wxString
*arg2
= 0 ;
20100 bool temp2
= false ;
20101 PyObject
* obj0
= 0 ;
20102 PyObject
* obj1
= 0 ;
20103 char * kwnames
[] = {
20104 (char *) "self",(char *) "str", NULL
20107 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceData_SetReplaceString",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20108 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20109 if (!SWIG_IsOK(res1
)) {
20110 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceData_SetReplaceString" "', expected argument " "1"" of type '" "wxFindReplaceData *""'");
20112 arg1
= reinterpret_cast< wxFindReplaceData
* >(argp1
);
20114 arg2
= wxString_in_helper(obj1
);
20115 if (arg2
== NULL
) SWIG_fail
;
20119 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20120 (arg1
)->SetReplaceString((wxString
const &)*arg2
);
20121 wxPyEndAllowThreads(__tstate
);
20122 if (PyErr_Occurred()) SWIG_fail
;
20124 resultobj
= SWIG_Py_Void();
20139 SWIGINTERN PyObject
*FindReplaceData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20141 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20142 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceData
, SWIG_NewClientData(obj
));
20143 return SWIG_Py_Void();
20146 SWIGINTERN PyObject
*FindReplaceData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20147 return SWIG_Python_InitShadowInstance(args
);
20150 SWIGINTERN PyObject
*_wrap_new_FindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20151 PyObject
*resultobj
= 0;
20152 wxWindow
*arg1
= (wxWindow
*) 0 ;
20153 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20154 wxString
*arg3
= 0 ;
20155 int arg4
= (int) 0 ;
20156 wxFindReplaceDialog
*result
= 0 ;
20161 bool temp3
= false ;
20164 PyObject
* obj0
= 0 ;
20165 PyObject
* obj1
= 0 ;
20166 PyObject
* obj2
= 0 ;
20167 PyObject
* obj3
= 0 ;
20168 char * kwnames
[] = {
20169 (char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20172 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:new_FindReplaceDialog",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
20173 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20174 if (!SWIG_IsOK(res1
)) {
20175 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_FindReplaceDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
20177 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20178 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20179 if (!SWIG_IsOK(res2
)) {
20180 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_FindReplaceDialog" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20182 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20184 arg3
= wxString_in_helper(obj2
);
20185 if (arg3
== NULL
) SWIG_fail
;
20189 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
20190 if (!SWIG_IsOK(ecode4
)) {
20191 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "new_FindReplaceDialog" "', expected argument " "4"" of type '" "int""'");
20193 arg4
= static_cast< int >(val4
);
20196 if (!wxPyCheckForApp()) SWIG_fail
;
20197 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20198 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog(arg1
,arg2
,(wxString
const &)*arg3
,arg4
);
20199 wxPyEndAllowThreads(__tstate
);
20200 if (PyErr_Occurred()) SWIG_fail
;
20202 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_NEW
| 0 );
20217 SWIGINTERN PyObject
*_wrap_new_PreFindReplaceDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20218 PyObject
*resultobj
= 0;
20219 wxFindReplaceDialog
*result
= 0 ;
20221 if (!SWIG_Python_UnpackTuple(args
,"new_PreFindReplaceDialog",0,0,0)) SWIG_fail
;
20223 if (!wxPyCheckForApp()) SWIG_fail
;
20224 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20225 result
= (wxFindReplaceDialog
*)new wxFindReplaceDialog();
20226 wxPyEndAllowThreads(__tstate
);
20227 if (PyErr_Occurred()) SWIG_fail
;
20229 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceDialog
, SWIG_POINTER_OWN
| 0 );
20236 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20237 PyObject
*resultobj
= 0;
20238 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20239 wxWindow
*arg2
= (wxWindow
*) 0 ;
20240 wxFindReplaceData
*arg3
= (wxFindReplaceData
*) 0 ;
20241 wxString
*arg4
= 0 ;
20242 int arg5
= (int) 0 ;
20250 bool temp4
= false ;
20253 PyObject
* obj0
= 0 ;
20254 PyObject
* obj1
= 0 ;
20255 PyObject
* obj2
= 0 ;
20256 PyObject
* obj3
= 0 ;
20257 PyObject
* obj4
= 0 ;
20258 char * kwnames
[] = {
20259 (char *) "self",(char *) "parent",(char *) "data",(char *) "title",(char *) "style", NULL
20262 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO|O:FindReplaceDialog_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
20263 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20264 if (!SWIG_IsOK(res1
)) {
20265 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_Create" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20267 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20268 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20269 if (!SWIG_IsOK(res2
)) {
20270 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20272 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20273 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20274 if (!SWIG_IsOK(res3
)) {
20275 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "FindReplaceDialog_Create" "', expected argument " "3"" of type '" "wxFindReplaceData *""'");
20277 arg3
= reinterpret_cast< wxFindReplaceData
* >(argp3
);
20279 arg4
= wxString_in_helper(obj3
);
20280 if (arg4
== NULL
) SWIG_fail
;
20284 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
20285 if (!SWIG_IsOK(ecode5
)) {
20286 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "FindReplaceDialog_Create" "', expected argument " "5"" of type '" "int""'");
20288 arg5
= static_cast< int >(val5
);
20291 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20292 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,arg5
);
20293 wxPyEndAllowThreads(__tstate
);
20294 if (PyErr_Occurred()) SWIG_fail
;
20297 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20313 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_GetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20314 PyObject
*resultobj
= 0;
20315 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20316 wxFindReplaceData
*result
= 0 ;
20319 PyObject
*swig_obj
[1] ;
20321 if (!args
) SWIG_fail
;
20322 swig_obj
[0] = args
;
20323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20324 if (!SWIG_IsOK(res1
)) {
20325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_GetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20327 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20330 result
= (wxFindReplaceData
*)(arg1
)->GetData();
20331 wxPyEndAllowThreads(__tstate
);
20332 if (PyErr_Occurred()) SWIG_fail
;
20334 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20341 SWIGINTERN PyObject
*_wrap_FindReplaceDialog_SetData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20342 PyObject
*resultobj
= 0;
20343 wxFindReplaceDialog
*arg1
= (wxFindReplaceDialog
*) 0 ;
20344 wxFindReplaceData
*arg2
= (wxFindReplaceData
*) 0 ;
20349 PyObject
* obj0
= 0 ;
20350 PyObject
* obj1
= 0 ;
20351 char * kwnames
[] = {
20352 (char *) "self",(char *) "data", NULL
20355 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:FindReplaceDialog_SetData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20356 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxFindReplaceDialog
, 0 | 0 );
20357 if (!SWIG_IsOK(res1
)) {
20358 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "1"" of type '" "wxFindReplaceDialog *""'");
20360 arg1
= reinterpret_cast< wxFindReplaceDialog
* >(argp1
);
20361 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFindReplaceData
, 0 | 0 );
20362 if (!SWIG_IsOK(res2
)) {
20363 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "FindReplaceDialog_SetData" "', expected argument " "2"" of type '" "wxFindReplaceData *""'");
20365 arg2
= reinterpret_cast< wxFindReplaceData
* >(argp2
);
20367 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20368 (arg1
)->SetData(arg2
);
20369 wxPyEndAllowThreads(__tstate
);
20370 if (PyErr_Occurred()) SWIG_fail
;
20372 resultobj
= SWIG_Py_Void();
20379 SWIGINTERN PyObject
*FindReplaceDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20381 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20382 SWIG_TypeNewClientData(SWIGTYPE_p_wxFindReplaceDialog
, SWIG_NewClientData(obj
));
20383 return SWIG_Py_Void();
20386 SWIGINTERN PyObject
*FindReplaceDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20387 return SWIG_Python_InitShadowInstance(args
);
20390 SWIGINTERN PyObject
*_wrap_new_MDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20391 PyObject
*resultobj
= 0;
20392 wxWindow
*arg1
= (wxWindow
*) 0 ;
20393 int arg2
= (int) (int)-1 ;
20394 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20395 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20396 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20397 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20398 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20399 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20400 long arg6
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20401 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20402 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20403 wxMDIParentFrame
*result
= 0 ;
20408 bool temp3
= false ;
20413 bool temp7
= false ;
20414 PyObject
* obj0
= 0 ;
20415 PyObject
* obj1
= 0 ;
20416 PyObject
* obj2
= 0 ;
20417 PyObject
* obj3
= 0 ;
20418 PyObject
* obj4
= 0 ;
20419 PyObject
* obj5
= 0 ;
20420 PyObject
* obj6
= 0 ;
20421 char * kwnames
[] = {
20422 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20425 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIParentFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20426 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20427 if (!SWIG_IsOK(res1
)) {
20428 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIParentFrame" "', expected argument " "1"" of type '" "wxWindow *""'");
20430 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
20432 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20433 if (!SWIG_IsOK(ecode2
)) {
20434 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIParentFrame" "', expected argument " "2"" of type '" "int""'");
20436 arg2
= static_cast< int >(val2
);
20440 arg3
= wxString_in_helper(obj2
);
20441 if (arg3
== NULL
) SWIG_fail
;
20448 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20454 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20458 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20459 if (!SWIG_IsOK(ecode6
)) {
20460 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIParentFrame" "', expected argument " "6"" of type '" "long""'");
20462 arg6
= static_cast< long >(val6
);
20466 arg7
= wxString_in_helper(obj6
);
20467 if (arg7
== NULL
) SWIG_fail
;
20472 if (!wxPyCheckForApp()) SWIG_fail
;
20473 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20474 result
= (wxMDIParentFrame
*)new wxMDIParentFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20475 wxPyEndAllowThreads(__tstate
);
20476 if (PyErr_Occurred()) SWIG_fail
;
20478 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_NEW
| 0 );
20501 SWIGINTERN PyObject
*_wrap_new_PreMDIParentFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20502 PyObject
*resultobj
= 0;
20503 wxMDIParentFrame
*result
= 0 ;
20505 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIParentFrame",0,0,0)) SWIG_fail
;
20507 if (!wxPyCheckForApp()) SWIG_fail
;
20508 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20509 result
= (wxMDIParentFrame
*)new wxMDIParentFrame();
20510 wxPyEndAllowThreads(__tstate
);
20511 if (PyErr_Occurred()) SWIG_fail
;
20513 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIParentFrame
, SWIG_POINTER_OWN
| 0 );
20520 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20521 PyObject
*resultobj
= 0;
20522 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20523 wxWindow
*arg2
= (wxWindow
*) 0 ;
20524 int arg3
= (int) (int)-1 ;
20525 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20526 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20527 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20528 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20529 wxSize
const &arg6_defvalue
= wxDefaultSize
;
20530 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
20531 long arg7
= (long) wxDEFAULT_FRAME_STYLE
|wxVSCROLL
|wxHSCROLL
;
20532 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
20533 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
20541 bool temp4
= false ;
20546 bool temp8
= false ;
20547 PyObject
* obj0
= 0 ;
20548 PyObject
* obj1
= 0 ;
20549 PyObject
* obj2
= 0 ;
20550 PyObject
* obj3
= 0 ;
20551 PyObject
* obj4
= 0 ;
20552 PyObject
* obj5
= 0 ;
20553 PyObject
* obj6
= 0 ;
20554 PyObject
* obj7
= 0 ;
20555 char * kwnames
[] = {
20556 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20559 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIParentFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
20560 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20561 if (!SWIG_IsOK(res1
)) {
20562 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Create" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20564 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20565 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
20566 if (!SWIG_IsOK(res2
)) {
20567 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIParentFrame_Create" "', expected argument " "2"" of type '" "wxWindow *""'");
20569 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
20571 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
20572 if (!SWIG_IsOK(ecode3
)) {
20573 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIParentFrame_Create" "', expected argument " "3"" of type '" "int""'");
20575 arg3
= static_cast< int >(val3
);
20579 arg4
= wxString_in_helper(obj3
);
20580 if (arg4
== NULL
) SWIG_fail
;
20587 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
20593 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
20597 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
20598 if (!SWIG_IsOK(ecode7
)) {
20599 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIParentFrame_Create" "', expected argument " "7"" of type '" "long""'");
20601 arg7
= static_cast< long >(val7
);
20605 arg8
= wxString_in_helper(obj7
);
20606 if (arg8
== NULL
) SWIG_fail
;
20611 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20612 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
20613 wxPyEndAllowThreads(__tstate
);
20614 if (PyErr_Occurred()) SWIG_fail
;
20617 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
20641 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivateNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20642 PyObject
*resultobj
= 0;
20643 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20646 PyObject
*swig_obj
[1] ;
20648 if (!args
) SWIG_fail
;
20649 swig_obj
[0] = args
;
20650 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20651 if (!SWIG_IsOK(res1
)) {
20652 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivateNext" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20654 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20656 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20657 (arg1
)->ActivateNext();
20658 wxPyEndAllowThreads(__tstate
);
20659 if (PyErr_Occurred()) SWIG_fail
;
20661 resultobj
= SWIG_Py_Void();
20668 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ActivatePrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20669 PyObject
*resultobj
= 0;
20670 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20673 PyObject
*swig_obj
[1] ;
20675 if (!args
) SWIG_fail
;
20676 swig_obj
[0] = args
;
20677 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20678 if (!SWIG_IsOK(res1
)) {
20679 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ActivatePrevious" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20681 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20683 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20684 (arg1
)->ActivatePrevious();
20685 wxPyEndAllowThreads(__tstate
);
20686 if (PyErr_Occurred()) SWIG_fail
;
20688 resultobj
= SWIG_Py_Void();
20695 SWIGINTERN PyObject
*_wrap_MDIParentFrame_ArrangeIcons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20696 PyObject
*resultobj
= 0;
20697 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20700 PyObject
*swig_obj
[1] ;
20702 if (!args
) SWIG_fail
;
20703 swig_obj
[0] = args
;
20704 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20705 if (!SWIG_IsOK(res1
)) {
20706 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_ArrangeIcons" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20708 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20710 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20711 (arg1
)->ArrangeIcons();
20712 wxPyEndAllowThreads(__tstate
);
20713 if (PyErr_Occurred()) SWIG_fail
;
20715 resultobj
= SWIG_Py_Void();
20722 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Cascade(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20723 PyObject
*resultobj
= 0;
20724 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20727 PyObject
*swig_obj
[1] ;
20729 if (!args
) SWIG_fail
;
20730 swig_obj
[0] = args
;
20731 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20732 if (!SWIG_IsOK(res1
)) {
20733 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Cascade" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20735 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20737 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20739 wxPyEndAllowThreads(__tstate
);
20740 if (PyErr_Occurred()) SWIG_fail
;
20742 resultobj
= SWIG_Py_Void();
20749 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetActiveChild(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20750 PyObject
*resultobj
= 0;
20751 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20752 wxMDIChildFrame
*result
= 0 ;
20755 PyObject
*swig_obj
[1] ;
20757 if (!args
) SWIG_fail
;
20758 swig_obj
[0] = args
;
20759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20760 if (!SWIG_IsOK(res1
)) {
20761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetActiveChild" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20763 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20766 result
= (wxMDIChildFrame
*)(arg1
)->GetActiveChild();
20767 wxPyEndAllowThreads(__tstate
);
20768 if (PyErr_Occurred()) SWIG_fail
;
20771 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20779 SWIGINTERN PyObject
*_wrap_MDIParentFrame_GetClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20780 PyObject
*resultobj
= 0;
20781 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20782 wxMDIClientWindow
*result
= 0 ;
20785 PyObject
*swig_obj
[1] ;
20787 if (!args
) SWIG_fail
;
20788 swig_obj
[0] = args
;
20789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20790 if (!SWIG_IsOK(res1
)) {
20791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_GetClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20793 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20796 result
= (wxMDIClientWindow
*)(arg1
)->GetClientWindow();
20797 wxPyEndAllowThreads(__tstate
);
20798 if (PyErr_Occurred()) SWIG_fail
;
20801 resultobj
= wxPyMake_wxObject(result
, (bool)0);
20809 SWIGINTERN PyObject
*_wrap_MDIParentFrame_Tile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20810 PyObject
*resultobj
= 0;
20811 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20812 wxOrientation arg2
= (wxOrientation
) wxHORIZONTAL
;
20817 PyObject
* obj0
= 0 ;
20818 PyObject
* obj1
= 0 ;
20819 char * kwnames
[] = {
20820 (char *) "self",(char *) "orient", NULL
20823 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:MDIParentFrame_Tile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
20824 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20825 if (!SWIG_IsOK(res1
)) {
20826 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIParentFrame_Tile" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20828 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20830 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20831 if (!SWIG_IsOK(ecode2
)) {
20832 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "MDIParentFrame_Tile" "', expected argument " "2"" of type '" "wxOrientation""'");
20834 arg2
= static_cast< wxOrientation
>(val2
);
20837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20838 (arg1
)->Tile(arg2
);
20839 wxPyEndAllowThreads(__tstate
);
20840 if (PyErr_Occurred()) SWIG_fail
;
20842 resultobj
= SWIG_Py_Void();
20849 SWIGINTERN PyObject
*MDIParentFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20851 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
20852 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIParentFrame
, SWIG_NewClientData(obj
));
20853 return SWIG_Py_Void();
20856 SWIGINTERN PyObject
*MDIParentFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20857 return SWIG_Python_InitShadowInstance(args
);
20860 SWIGINTERN PyObject
*_wrap_new_MDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20861 PyObject
*resultobj
= 0;
20862 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
20863 int arg2
= (int) (int)-1 ;
20864 wxString
const &arg3_defvalue
= wxPyEmptyString
;
20865 wxString
*arg3
= (wxString
*) &arg3_defvalue
;
20866 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
20867 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
20868 wxSize
const &arg5_defvalue
= wxDefaultSize
;
20869 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
20870 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
20871 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
20872 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
20873 wxMDIChildFrame
*result
= 0 ;
20878 bool temp3
= false ;
20883 bool temp7
= false ;
20884 PyObject
* obj0
= 0 ;
20885 PyObject
* obj1
= 0 ;
20886 PyObject
* obj2
= 0 ;
20887 PyObject
* obj3
= 0 ;
20888 PyObject
* obj4
= 0 ;
20889 PyObject
* obj5
= 0 ;
20890 PyObject
* obj6
= 0 ;
20891 char * kwnames
[] = {
20892 (char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
20895 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOOO:new_MDIChildFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
20896 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
20897 if (!SWIG_IsOK(res1
)) {
20898 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIChildFrame" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
20900 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
20902 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
20903 if (!SWIG_IsOK(ecode2
)) {
20904 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIChildFrame" "', expected argument " "2"" of type '" "int""'");
20906 arg2
= static_cast< int >(val2
);
20910 arg3
= wxString_in_helper(obj2
);
20911 if (arg3
== NULL
) SWIG_fail
;
20918 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
20924 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
20928 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
20929 if (!SWIG_IsOK(ecode6
)) {
20930 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_MDIChildFrame" "', expected argument " "6"" of type '" "long""'");
20932 arg6
= static_cast< long >(val6
);
20936 arg7
= wxString_in_helper(obj6
);
20937 if (arg7
== NULL
) SWIG_fail
;
20942 if (!wxPyCheckForApp()) SWIG_fail
;
20943 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20944 result
= (wxMDIChildFrame
*)new wxMDIChildFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
20945 wxPyEndAllowThreads(__tstate
);
20946 if (PyErr_Occurred()) SWIG_fail
;
20948 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_NEW
| 0 );
20971 SWIGINTERN PyObject
*_wrap_new_PreMDIChildFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
20972 PyObject
*resultobj
= 0;
20973 wxMDIChildFrame
*result
= 0 ;
20975 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIChildFrame",0,0,0)) SWIG_fail
;
20977 if (!wxPyCheckForApp()) SWIG_fail
;
20978 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
20979 result
= (wxMDIChildFrame
*)new wxMDIChildFrame();
20980 wxPyEndAllowThreads(__tstate
);
20981 if (PyErr_Occurred()) SWIG_fail
;
20983 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIChildFrame
, SWIG_POINTER_OWN
| 0 );
20990 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
20991 PyObject
*resultobj
= 0;
20992 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
20993 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
20994 int arg3
= (int) (int)-1 ;
20995 wxString
const &arg4_defvalue
= wxPyEmptyString
;
20996 wxString
*arg4
= (wxString
*) &arg4_defvalue
;
20997 wxPoint
const &arg5_defvalue
= wxDefaultPosition
;
20998 wxPoint
*arg5
= (wxPoint
*) &arg5_defvalue
;
20999 wxSize
const &arg6_defvalue
= wxDefaultSize
;
21000 wxSize
*arg6
= (wxSize
*) &arg6_defvalue
;
21001 long arg7
= (long) wxDEFAULT_FRAME_STYLE
;
21002 wxString
const &arg8_defvalue
= wxPyFrameNameStr
;
21003 wxString
*arg8
= (wxString
*) &arg8_defvalue
;
21011 bool temp4
= false ;
21016 bool temp8
= false ;
21017 PyObject
* obj0
= 0 ;
21018 PyObject
* obj1
= 0 ;
21019 PyObject
* obj2
= 0 ;
21020 PyObject
* obj3
= 0 ;
21021 PyObject
* obj4
= 0 ;
21022 PyObject
* obj5
= 0 ;
21023 PyObject
* obj6
= 0 ;
21024 PyObject
* obj7
= 0 ;
21025 char * kwnames
[] = {
21026 (char *) "self",(char *) "parent",(char *) "id",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21029 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOOOO:MDIChildFrame_Create",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
,&obj7
)) SWIG_fail
;
21030 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21031 if (!SWIG_IsOK(res1
)) {
21032 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Create" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21034 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21035 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21036 if (!SWIG_IsOK(res2
)) {
21037 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIChildFrame_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21039 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21041 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21042 if (!SWIG_IsOK(ecode3
)) {
21043 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIChildFrame_Create" "', expected argument " "3"" of type '" "int""'");
21045 arg3
= static_cast< int >(val3
);
21049 arg4
= wxString_in_helper(obj3
);
21050 if (arg4
== NULL
) SWIG_fail
;
21057 if ( ! wxPoint_helper(obj4
, &arg5
)) SWIG_fail
;
21063 if ( ! wxSize_helper(obj5
, &arg6
)) SWIG_fail
;
21067 ecode7
= SWIG_AsVal_long(obj6
, &val7
);
21068 if (!SWIG_IsOK(ecode7
)) {
21069 SWIG_exception_fail(SWIG_ArgError(ecode7
), "in method '" "MDIChildFrame_Create" "', expected argument " "7"" of type '" "long""'");
21071 arg7
= static_cast< long >(val7
);
21075 arg8
= wxString_in_helper(obj7
);
21076 if (arg8
== NULL
) SWIG_fail
;
21081 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21082 result
= (bool)(arg1
)->Create(arg2
,arg3
,(wxString
const &)*arg4
,(wxPoint
const &)*arg5
,(wxSize
const &)*arg6
,arg7
,(wxString
const &)*arg8
);
21083 wxPyEndAllowThreads(__tstate
);
21084 if (PyErr_Occurred()) SWIG_fail
;
21087 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21111 SWIGINTERN PyObject
*_wrap_MDIChildFrame_Activate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21112 PyObject
*resultobj
= 0;
21113 wxMDIChildFrame
*arg1
= (wxMDIChildFrame
*) 0 ;
21116 PyObject
*swig_obj
[1] ;
21118 if (!args
) SWIG_fail
;
21119 swig_obj
[0] = args
;
21120 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxMDIChildFrame
, 0 | 0 );
21121 if (!SWIG_IsOK(res1
)) {
21122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIChildFrame_Activate" "', expected argument " "1"" of type '" "wxMDIChildFrame *""'");
21124 arg1
= reinterpret_cast< wxMDIChildFrame
* >(argp1
);
21126 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21127 (arg1
)->Activate();
21128 wxPyEndAllowThreads(__tstate
);
21129 if (PyErr_Occurred()) SWIG_fail
;
21131 resultobj
= SWIG_Py_Void();
21138 SWIGINTERN PyObject
*MDIChildFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21140 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21141 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIChildFrame
, SWIG_NewClientData(obj
));
21142 return SWIG_Py_Void();
21145 SWIGINTERN PyObject
*MDIChildFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21146 return SWIG_Python_InitShadowInstance(args
);
21149 SWIGINTERN PyObject
*_wrap_new_MDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21150 PyObject
*resultobj
= 0;
21151 wxMDIParentFrame
*arg1
= (wxMDIParentFrame
*) 0 ;
21152 long arg2
= (long) 0 ;
21153 wxMDIClientWindow
*result
= 0 ;
21158 PyObject
* obj0
= 0 ;
21159 PyObject
* obj1
= 0 ;
21160 char * kwnames
[] = {
21161 (char *) "parent",(char *) "style", NULL
21164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_MDIClientWindow",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21165 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21166 if (!SWIG_IsOK(res1
)) {
21167 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_MDIClientWindow" "', expected argument " "1"" of type '" "wxMDIParentFrame *""'");
21169 arg1
= reinterpret_cast< wxMDIParentFrame
* >(argp1
);
21171 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
21172 if (!SWIG_IsOK(ecode2
)) {
21173 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_MDIClientWindow" "', expected argument " "2"" of type '" "long""'");
21175 arg2
= static_cast< long >(val2
);
21178 if (!wxPyCheckForApp()) SWIG_fail
;
21179 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21180 result
= (wxMDIClientWindow
*)new wxMDIClientWindow(arg1
,arg2
);
21181 wxPyEndAllowThreads(__tstate
);
21182 if (PyErr_Occurred()) SWIG_fail
;
21184 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_NEW
| 0 );
21191 SWIGINTERN PyObject
*_wrap_new_PreMDIClientWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21192 PyObject
*resultobj
= 0;
21193 wxMDIClientWindow
*result
= 0 ;
21195 if (!SWIG_Python_UnpackTuple(args
,"new_PreMDIClientWindow",0,0,0)) SWIG_fail
;
21197 if (!wxPyCheckForApp()) SWIG_fail
;
21198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21199 result
= (wxMDIClientWindow
*)new wxMDIClientWindow();
21200 wxPyEndAllowThreads(__tstate
);
21201 if (PyErr_Occurred()) SWIG_fail
;
21203 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxMDIClientWindow
, SWIG_POINTER_OWN
| 0 );
21210 SWIGINTERN PyObject
*_wrap_MDIClientWindow_Create(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21211 PyObject
*resultobj
= 0;
21212 wxMDIClientWindow
*arg1
= (wxMDIClientWindow
*) 0 ;
21213 wxMDIParentFrame
*arg2
= (wxMDIParentFrame
*) 0 ;
21214 long arg3
= (long) 0 ;
21222 PyObject
* obj0
= 0 ;
21223 PyObject
* obj1
= 0 ;
21224 PyObject
* obj2
= 0 ;
21225 char * kwnames
[] = {
21226 (char *) "self",(char *) "parent",(char *) "style", NULL
21229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|O:MDIClientWindow_Create",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxMDIClientWindow
, 0 | 0 );
21231 if (!SWIG_IsOK(res1
)) {
21232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "MDIClientWindow_Create" "', expected argument " "1"" of type '" "wxMDIClientWindow *""'");
21234 arg1
= reinterpret_cast< wxMDIClientWindow
* >(argp1
);
21235 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxMDIParentFrame
, 0 | 0 );
21236 if (!SWIG_IsOK(res2
)) {
21237 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "MDIClientWindow_Create" "', expected argument " "2"" of type '" "wxMDIParentFrame *""'");
21239 arg2
= reinterpret_cast< wxMDIParentFrame
* >(argp2
);
21241 ecode3
= SWIG_AsVal_long(obj2
, &val3
);
21242 if (!SWIG_IsOK(ecode3
)) {
21243 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "MDIClientWindow_Create" "', expected argument " "3"" of type '" "long""'");
21245 arg3
= static_cast< long >(val3
);
21248 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21249 result
= (bool)(arg1
)->Create(arg2
,arg3
);
21250 wxPyEndAllowThreads(__tstate
);
21251 if (PyErr_Occurred()) SWIG_fail
;
21254 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21262 SWIGINTERN PyObject
*MDIClientWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21264 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21265 SWIG_TypeNewClientData(SWIGTYPE_p_wxMDIClientWindow
, SWIG_NewClientData(obj
));
21266 return SWIG_Py_Void();
21269 SWIGINTERN PyObject
*MDIClientWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21270 return SWIG_Python_InitShadowInstance(args
);
21273 SWIGINTERN PyObject
*_wrap_new_PyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21274 PyObject
*resultobj
= 0;
21275 wxWindow
*arg1
= (wxWindow
*) 0 ;
21276 int arg2
= (int) (int)-1 ;
21277 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21278 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
21279 wxSize
const &arg4_defvalue
= wxDefaultSize
;
21280 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
21281 long arg5
= (long) 0 ;
21282 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
21283 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
21284 wxPyWindow
*result
= 0 ;
21293 bool temp6
= false ;
21294 PyObject
* obj0
= 0 ;
21295 PyObject
* obj1
= 0 ;
21296 PyObject
* obj2
= 0 ;
21297 PyObject
* obj3
= 0 ;
21298 PyObject
* obj4
= 0 ;
21299 PyObject
* obj5
= 0 ;
21300 char * kwnames
[] = {
21301 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
21304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
21306 if (!SWIG_IsOK(res1
)) {
21307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
21309 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
21311 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21312 if (!SWIG_IsOK(ecode2
)) {
21313 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyWindow" "', expected argument " "2"" of type '" "int""'");
21315 arg2
= static_cast< int >(val2
);
21320 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
21326 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
21330 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
21331 if (!SWIG_IsOK(ecode5
)) {
21332 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyWindow" "', expected argument " "5"" of type '" "long""'");
21334 arg5
= static_cast< long >(val5
);
21338 arg6
= wxString_in_helper(obj5
);
21339 if (arg6
== NULL
) SWIG_fail
;
21344 if (!wxPyCheckForApp()) SWIG_fail
;
21345 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21346 result
= (wxPyWindow
*)new wxPyWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
21347 wxPyEndAllowThreads(__tstate
);
21348 if (PyErr_Occurred()) SWIG_fail
;
21350 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_NEW
| 0 );
21365 SWIGINTERN PyObject
*_wrap_new_PrePyWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21366 PyObject
*resultobj
= 0;
21367 wxPyWindow
*result
= 0 ;
21369 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyWindow",0,0,0)) SWIG_fail
;
21371 if (!wxPyCheckForApp()) SWIG_fail
;
21372 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21373 result
= (wxPyWindow
*)new wxPyWindow();
21374 wxPyEndAllowThreads(__tstate
);
21375 if (PyErr_Occurred()) SWIG_fail
;
21377 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyWindow
, SWIG_POINTER_OWN
| 0 );
21384 SWIGINTERN PyObject
*_wrap_PyWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21385 PyObject
*resultobj
= 0;
21386 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21387 PyObject
*arg2
= (PyObject
*) 0 ;
21388 PyObject
*arg3
= (PyObject
*) 0 ;
21391 PyObject
* obj0
= 0 ;
21392 PyObject
* obj1
= 0 ;
21393 PyObject
* obj2
= 0 ;
21394 char * kwnames
[] = {
21395 (char *) "self",(char *) "self",(char *) "_class", NULL
21398 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21399 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21400 if (!SWIG_IsOK(res1
)) {
21401 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21403 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21407 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21408 (arg1
)->_setCallbackInfo(arg2
,arg3
);
21409 wxPyEndAllowThreads(__tstate
);
21410 if (PyErr_Occurred()) SWIG_fail
;
21412 resultobj
= SWIG_Py_Void();
21419 SWIGINTERN PyObject
*_wrap_PyWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21420 PyObject
*resultobj
= 0;
21421 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21426 PyObject
* obj0
= 0 ;
21427 PyObject
* obj1
= 0 ;
21428 char * kwnames
[] = {
21429 (char *) "self",(char *) "size", NULL
21432 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21433 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21434 if (!SWIG_IsOK(res1
)) {
21435 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21437 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21440 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
21443 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21444 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
21445 wxPyEndAllowThreads(__tstate
);
21446 if (PyErr_Occurred()) SWIG_fail
;
21448 resultobj
= SWIG_Py_Void();
21455 SWIGINTERN PyObject
*_wrap_PyWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21456 PyObject
*resultobj
= 0;
21457 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21458 wxDC
*arg2
= (wxDC
*) 0 ;
21464 PyObject
* obj0
= 0 ;
21465 PyObject
* obj1
= 0 ;
21466 char * kwnames
[] = {
21467 (char *) "self",(char *) "dc", NULL
21470 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
21471 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21472 if (!SWIG_IsOK(res1
)) {
21473 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21475 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21476 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
21477 if (!SWIG_IsOK(res2
)) {
21478 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
21480 arg2
= reinterpret_cast< wxDC
* >(argp2
);
21482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21483 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
21484 wxPyEndAllowThreads(__tstate
);
21485 if (PyErr_Occurred()) SWIG_fail
;
21488 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
21496 SWIGINTERN PyObject
*_wrap_PyWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21497 PyObject
*resultobj
= 0;
21498 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21513 PyObject
* obj0
= 0 ;
21514 PyObject
* obj1
= 0 ;
21515 PyObject
* obj2
= 0 ;
21516 PyObject
* obj3
= 0 ;
21517 PyObject
* obj4
= 0 ;
21518 char * kwnames
[] = {
21519 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
21522 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
21523 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21524 if (!SWIG_IsOK(res1
)) {
21525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21527 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21528 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21529 if (!SWIG_IsOK(ecode2
)) {
21530 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
21532 arg2
= static_cast< int >(val2
);
21533 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21534 if (!SWIG_IsOK(ecode3
)) {
21535 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
21537 arg3
= static_cast< int >(val3
);
21538 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21539 if (!SWIG_IsOK(ecode4
)) {
21540 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
21542 arg4
= static_cast< int >(val4
);
21543 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21544 if (!SWIG_IsOK(ecode5
)) {
21545 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
21547 arg5
= static_cast< int >(val5
);
21549 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21550 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
21551 wxPyEndAllowThreads(__tstate
);
21552 if (PyErr_Occurred()) SWIG_fail
;
21554 resultobj
= SWIG_Py_Void();
21561 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21562 PyObject
*resultobj
= 0;
21563 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21568 int arg6
= (int) wxSIZE_AUTO
;
21581 PyObject
* obj0
= 0 ;
21582 PyObject
* obj1
= 0 ;
21583 PyObject
* obj2
= 0 ;
21584 PyObject
* obj3
= 0 ;
21585 PyObject
* obj4
= 0 ;
21586 PyObject
* obj5
= 0 ;
21587 char * kwnames
[] = {
21588 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
21591 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
21592 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21593 if (!SWIG_IsOK(res1
)) {
21594 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21596 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21597 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21598 if (!SWIG_IsOK(ecode2
)) {
21599 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
21601 arg2
= static_cast< int >(val2
);
21602 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21603 if (!SWIG_IsOK(ecode3
)) {
21604 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
21606 arg3
= static_cast< int >(val3
);
21607 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
21608 if (!SWIG_IsOK(ecode4
)) {
21609 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
21611 arg4
= static_cast< int >(val4
);
21612 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
21613 if (!SWIG_IsOK(ecode5
)) {
21614 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
21616 arg5
= static_cast< int >(val5
);
21618 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
21619 if (!SWIG_IsOK(ecode6
)) {
21620 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
21622 arg6
= static_cast< int >(val6
);
21625 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21626 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
21627 wxPyEndAllowThreads(__tstate
);
21628 if (PyErr_Occurred()) SWIG_fail
;
21630 resultobj
= SWIG_Py_Void();
21637 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21638 PyObject
*resultobj
= 0;
21639 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21648 PyObject
* obj0
= 0 ;
21649 PyObject
* obj1
= 0 ;
21650 PyObject
* obj2
= 0 ;
21651 char * kwnames
[] = {
21652 (char *) "self",(char *) "width",(char *) "height", NULL
21655 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21656 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21657 if (!SWIG_IsOK(res1
)) {
21658 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21660 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21661 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21662 if (!SWIG_IsOK(ecode2
)) {
21663 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
21665 arg2
= static_cast< int >(val2
);
21666 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21667 if (!SWIG_IsOK(ecode3
)) {
21668 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
21670 arg3
= static_cast< int >(val3
);
21672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21673 (arg1
)->DoSetClientSize(arg2
,arg3
);
21674 wxPyEndAllowThreads(__tstate
);
21675 if (PyErr_Occurred()) SWIG_fail
;
21677 resultobj
= SWIG_Py_Void();
21684 SWIGINTERN PyObject
*_wrap_PyWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21685 PyObject
*resultobj
= 0;
21686 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21695 PyObject
* obj0
= 0 ;
21696 PyObject
* obj1
= 0 ;
21697 PyObject
* obj2
= 0 ;
21698 char * kwnames
[] = {
21699 (char *) "self",(char *) "x",(char *) "y", NULL
21702 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
21703 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21704 if (!SWIG_IsOK(res1
)) {
21705 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21707 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21708 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
21709 if (!SWIG_IsOK(ecode2
)) {
21710 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
21712 arg2
= static_cast< int >(val2
);
21713 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
21714 if (!SWIG_IsOK(ecode3
)) {
21715 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
21717 arg3
= static_cast< int >(val3
);
21719 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21720 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
21721 wxPyEndAllowThreads(__tstate
);
21722 if (PyErr_Occurred()) SWIG_fail
;
21724 resultobj
= SWIG_Py_Void();
21731 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21732 PyObject
*resultobj
= 0;
21733 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21734 int *arg2
= (int *) 0 ;
21735 int *arg3
= (int *) 0 ;
21739 int res2
= SWIG_TMPOBJ
;
21741 int res3
= SWIG_TMPOBJ
;
21742 PyObject
*swig_obj
[1] ;
21746 if (!args
) SWIG_fail
;
21747 swig_obj
[0] = args
;
21748 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21749 if (!SWIG_IsOK(res1
)) {
21750 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21752 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21755 ((wxPyWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
21756 wxPyEndAllowThreads(__tstate
);
21757 if (PyErr_Occurred()) SWIG_fail
;
21759 resultobj
= SWIG_Py_Void();
21760 if (SWIG_IsTmpObj(res2
)) {
21761 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21763 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21764 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21766 if (SWIG_IsTmpObj(res3
)) {
21767 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21769 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21770 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21778 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21779 PyObject
*resultobj
= 0;
21780 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21781 int *arg2
= (int *) 0 ;
21782 int *arg3
= (int *) 0 ;
21786 int res2
= SWIG_TMPOBJ
;
21788 int res3
= SWIG_TMPOBJ
;
21789 PyObject
*swig_obj
[1] ;
21793 if (!args
) SWIG_fail
;
21794 swig_obj
[0] = args
;
21795 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21796 if (!SWIG_IsOK(res1
)) {
21797 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21799 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21802 ((wxPyWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
21803 wxPyEndAllowThreads(__tstate
);
21804 if (PyErr_Occurred()) SWIG_fail
;
21806 resultobj
= SWIG_Py_Void();
21807 if (SWIG_IsTmpObj(res2
)) {
21808 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21810 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21811 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21813 if (SWIG_IsTmpObj(res3
)) {
21814 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21816 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21817 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21825 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21826 PyObject
*resultobj
= 0;
21827 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21828 int *arg2
= (int *) 0 ;
21829 int *arg3
= (int *) 0 ;
21833 int res2
= SWIG_TMPOBJ
;
21835 int res3
= SWIG_TMPOBJ
;
21836 PyObject
*swig_obj
[1] ;
21840 if (!args
) SWIG_fail
;
21841 swig_obj
[0] = args
;
21842 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21843 if (!SWIG_IsOK(res1
)) {
21844 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21846 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21848 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21849 ((wxPyWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
21850 wxPyEndAllowThreads(__tstate
);
21851 if (PyErr_Occurred()) SWIG_fail
;
21853 resultobj
= SWIG_Py_Void();
21854 if (SWIG_IsTmpObj(res2
)) {
21855 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
21857 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21858 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
21860 if (SWIG_IsTmpObj(res3
)) {
21861 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
21863 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
21864 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
21872 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21873 PyObject
*resultobj
= 0;
21874 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21878 PyObject
*swig_obj
[1] ;
21880 if (!args
) SWIG_fail
;
21881 swig_obj
[0] = args
;
21882 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21883 if (!SWIG_IsOK(res1
)) {
21884 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21886 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21888 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21889 result
= ((wxPyWindow
const *)arg1
)->DoGetVirtualSize();
21890 wxPyEndAllowThreads(__tstate
);
21891 if (PyErr_Occurred()) SWIG_fail
;
21893 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21900 SWIGINTERN PyObject
*_wrap_PyWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21901 PyObject
*resultobj
= 0;
21902 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21906 PyObject
*swig_obj
[1] ;
21908 if (!args
) SWIG_fail
;
21909 swig_obj
[0] = args
;
21910 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21911 if (!SWIG_IsOK(res1
)) {
21912 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyWindow const *""'");
21914 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21916 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21917 result
= ((wxPyWindow
const *)arg1
)->DoGetBestSize();
21918 wxPyEndAllowThreads(__tstate
);
21919 if (PyErr_Occurred()) SWIG_fail
;
21921 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
21928 SWIGINTERN PyObject
*_wrap_PyWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21929 PyObject
*resultobj
= 0;
21930 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21931 SwigValueWrapper
<wxVisualAttributes
> result
;
21934 PyObject
*swig_obj
[1] ;
21936 if (!args
) SWIG_fail
;
21937 swig_obj
[0] = args
;
21938 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21939 if (!SWIG_IsOK(res1
)) {
21940 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21942 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21944 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21945 result
= (arg1
)->GetDefaultAttributes();
21946 wxPyEndAllowThreads(__tstate
);
21947 if (PyErr_Occurred()) SWIG_fail
;
21949 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
21956 SWIGINTERN PyObject
*_wrap_PyWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21957 PyObject
*resultobj
= 0;
21958 wxPyWindow
*arg1
= (wxPyWindow
*) 0 ;
21961 PyObject
*swig_obj
[1] ;
21963 if (!args
) SWIG_fail
;
21964 swig_obj
[0] = args
;
21965 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyWindow
, 0 | 0 );
21966 if (!SWIG_IsOK(res1
)) {
21967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyWindow *""'");
21969 arg1
= reinterpret_cast< wxPyWindow
* >(argp1
);
21971 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
21972 (arg1
)->OnInternalIdle();
21973 wxPyEndAllowThreads(__tstate
);
21974 if (PyErr_Occurred()) SWIG_fail
;
21976 resultobj
= SWIG_Py_Void();
21983 SWIGINTERN PyObject
*PyWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21985 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
21986 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyWindow
, SWIG_NewClientData(obj
));
21987 return SWIG_Py_Void();
21990 SWIGINTERN PyObject
*PyWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
21991 return SWIG_Python_InitShadowInstance(args
);
21994 SWIGINTERN PyObject
*_wrap_new_PyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
21995 PyObject
*resultobj
= 0;
21996 wxWindow
*arg1
= (wxWindow
*) 0 ;
21997 int arg2
= (int) (int)-1 ;
21998 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
21999 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22000 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22001 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22002 long arg5
= (long) 0 ;
22003 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22004 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22005 wxPyPanel
*result
= 0 ;
22014 bool temp6
= false ;
22015 PyObject
* obj0
= 0 ;
22016 PyObject
* obj1
= 0 ;
22017 PyObject
* obj2
= 0 ;
22018 PyObject
* obj3
= 0 ;
22019 PyObject
* obj4
= 0 ;
22020 PyObject
* obj5
= 0 ;
22021 char * kwnames
[] = {
22022 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22025 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyPanel",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22026 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22027 if (!SWIG_IsOK(res1
)) {
22028 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPanel" "', expected argument " "1"" of type '" "wxWindow *""'");
22030 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22032 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22033 if (!SWIG_IsOK(ecode2
)) {
22034 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPanel" "', expected argument " "2"" of type '" "int""'");
22036 arg2
= static_cast< int >(val2
);
22041 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22047 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22051 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22052 if (!SWIG_IsOK(ecode5
)) {
22053 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyPanel" "', expected argument " "5"" of type '" "long""'");
22055 arg5
= static_cast< long >(val5
);
22059 arg6
= wxString_in_helper(obj5
);
22060 if (arg6
== NULL
) SWIG_fail
;
22065 if (!wxPyCheckForApp()) SWIG_fail
;
22066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22067 result
= (wxPyPanel
*)new wxPyPanel(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22068 wxPyEndAllowThreads(__tstate
);
22069 if (PyErr_Occurred()) SWIG_fail
;
22071 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_NEW
| 0 );
22086 SWIGINTERN PyObject
*_wrap_new_PrePyPanel(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22087 PyObject
*resultobj
= 0;
22088 wxPyPanel
*result
= 0 ;
22090 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyPanel",0,0,0)) SWIG_fail
;
22092 if (!wxPyCheckForApp()) SWIG_fail
;
22093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22094 result
= (wxPyPanel
*)new wxPyPanel();
22095 wxPyEndAllowThreads(__tstate
);
22096 if (PyErr_Occurred()) SWIG_fail
;
22098 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPanel
, SWIG_POINTER_OWN
| 0 );
22105 SWIGINTERN PyObject
*_wrap_PyPanel__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22106 PyObject
*resultobj
= 0;
22107 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22108 PyObject
*arg2
= (PyObject
*) 0 ;
22109 PyObject
*arg3
= (PyObject
*) 0 ;
22112 PyObject
* obj0
= 0 ;
22113 PyObject
* obj1
= 0 ;
22114 PyObject
* obj2
= 0 ;
22115 char * kwnames
[] = {
22116 (char *) "self",(char *) "self",(char *) "_class", NULL
22119 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22120 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22121 if (!SWIG_IsOK(res1
)) {
22122 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22124 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22129 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22130 wxPyEndAllowThreads(__tstate
);
22131 if (PyErr_Occurred()) SWIG_fail
;
22133 resultobj
= SWIG_Py_Void();
22140 SWIGINTERN PyObject
*_wrap_PyPanel_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22141 PyObject
*resultobj
= 0;
22142 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22147 PyObject
* obj0
= 0 ;
22148 PyObject
* obj1
= 0 ;
22149 char * kwnames
[] = {
22150 (char *) "self",(char *) "size", NULL
22153 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22154 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22155 if (!SWIG_IsOK(res1
)) {
22156 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_SetBestSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22158 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22161 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22164 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22165 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22166 wxPyEndAllowThreads(__tstate
);
22167 if (PyErr_Occurred()) SWIG_fail
;
22169 resultobj
= SWIG_Py_Void();
22176 SWIGINTERN PyObject
*_wrap_PyPanel_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22177 PyObject
*resultobj
= 0;
22178 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22179 wxDC
*arg2
= (wxDC
*) 0 ;
22185 PyObject
* obj0
= 0 ;
22186 PyObject
* obj1
= 0 ;
22187 char * kwnames
[] = {
22188 (char *) "self",(char *) "dc", NULL
22191 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPanel_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22192 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22193 if (!SWIG_IsOK(res1
)) {
22194 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22196 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22197 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22198 if (!SWIG_IsOK(res2
)) {
22199 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPanel_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22201 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22203 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22204 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22205 wxPyEndAllowThreads(__tstate
);
22206 if (PyErr_Occurred()) SWIG_fail
;
22209 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22217 SWIGINTERN PyObject
*_wrap_PyPanel_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22218 PyObject
*resultobj
= 0;
22219 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22234 PyObject
* obj0
= 0 ;
22235 PyObject
* obj1
= 0 ;
22236 PyObject
* obj2
= 0 ;
22237 PyObject
* obj3
= 0 ;
22238 PyObject
* obj4
= 0 ;
22239 char * kwnames
[] = {
22240 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22243 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyPanel_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22244 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22245 if (!SWIG_IsOK(res1
)) {
22246 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22248 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22249 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22250 if (!SWIG_IsOK(ecode2
)) {
22251 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22253 arg2
= static_cast< int >(val2
);
22254 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22255 if (!SWIG_IsOK(ecode3
)) {
22256 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22258 arg3
= static_cast< int >(val3
);
22259 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22260 if (!SWIG_IsOK(ecode4
)) {
22261 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22263 arg4
= static_cast< int >(val4
);
22264 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22265 if (!SWIG_IsOK(ecode5
)) {
22266 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22268 arg5
= static_cast< int >(val5
);
22270 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22271 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22272 wxPyEndAllowThreads(__tstate
);
22273 if (PyErr_Occurred()) SWIG_fail
;
22275 resultobj
= SWIG_Py_Void();
22282 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22283 PyObject
*resultobj
= 0;
22284 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22289 int arg6
= (int) wxSIZE_AUTO
;
22302 PyObject
* obj0
= 0 ;
22303 PyObject
* obj1
= 0 ;
22304 PyObject
* obj2
= 0 ;
22305 PyObject
* obj3
= 0 ;
22306 PyObject
* obj4
= 0 ;
22307 PyObject
* obj5
= 0 ;
22308 char * kwnames
[] = {
22309 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
22312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyPanel_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22314 if (!SWIG_IsOK(res1
)) {
22315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22317 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22318 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22319 if (!SWIG_IsOK(ecode2
)) {
22320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetSize" "', expected argument " "2"" of type '" "int""'");
22322 arg2
= static_cast< int >(val2
);
22323 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22324 if (!SWIG_IsOK(ecode3
)) {
22325 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetSize" "', expected argument " "3"" of type '" "int""'");
22327 arg3
= static_cast< int >(val3
);
22328 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22329 if (!SWIG_IsOK(ecode4
)) {
22330 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyPanel_DoSetSize" "', expected argument " "4"" of type '" "int""'");
22332 arg4
= static_cast< int >(val4
);
22333 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22334 if (!SWIG_IsOK(ecode5
)) {
22335 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyPanel_DoSetSize" "', expected argument " "5"" of type '" "int""'");
22337 arg5
= static_cast< int >(val5
);
22339 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
22340 if (!SWIG_IsOK(ecode6
)) {
22341 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyPanel_DoSetSize" "', expected argument " "6"" of type '" "int""'");
22343 arg6
= static_cast< int >(val6
);
22346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22347 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
22348 wxPyEndAllowThreads(__tstate
);
22349 if (PyErr_Occurred()) SWIG_fail
;
22351 resultobj
= SWIG_Py_Void();
22358 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22359 PyObject
*resultobj
= 0;
22360 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22369 PyObject
* obj0
= 0 ;
22370 PyObject
* obj1
= 0 ;
22371 PyObject
* obj2
= 0 ;
22372 char * kwnames
[] = {
22373 (char *) "self",(char *) "width",(char *) "height", NULL
22376 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22377 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22378 if (!SWIG_IsOK(res1
)) {
22379 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22381 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22382 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22383 if (!SWIG_IsOK(ecode2
)) {
22384 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
22386 arg2
= static_cast< int >(val2
);
22387 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22388 if (!SWIG_IsOK(ecode3
)) {
22389 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
22391 arg3
= static_cast< int >(val3
);
22393 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22394 (arg1
)->DoSetClientSize(arg2
,arg3
);
22395 wxPyEndAllowThreads(__tstate
);
22396 if (PyErr_Occurred()) SWIG_fail
;
22398 resultobj
= SWIG_Py_Void();
22405 SWIGINTERN PyObject
*_wrap_PyPanel_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22406 PyObject
*resultobj
= 0;
22407 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22416 PyObject
* obj0
= 0 ;
22417 PyObject
* obj1
= 0 ;
22418 PyObject
* obj2
= 0 ;
22419 char * kwnames
[] = {
22420 (char *) "self",(char *) "x",(char *) "y", NULL
22423 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPanel_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22424 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22425 if (!SWIG_IsOK(res1
)) {
22426 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22428 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22429 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22430 if (!SWIG_IsOK(ecode2
)) {
22431 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
22433 arg2
= static_cast< int >(val2
);
22434 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22435 if (!SWIG_IsOK(ecode3
)) {
22436 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyPanel_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
22438 arg3
= static_cast< int >(val3
);
22440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22441 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
22442 wxPyEndAllowThreads(__tstate
);
22443 if (PyErr_Occurred()) SWIG_fail
;
22445 resultobj
= SWIG_Py_Void();
22452 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22453 PyObject
*resultobj
= 0;
22454 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22455 int *arg2
= (int *) 0 ;
22456 int *arg3
= (int *) 0 ;
22460 int res2
= SWIG_TMPOBJ
;
22462 int res3
= SWIG_TMPOBJ
;
22463 PyObject
*swig_obj
[1] ;
22467 if (!args
) SWIG_fail
;
22468 swig_obj
[0] = args
;
22469 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22470 if (!SWIG_IsOK(res1
)) {
22471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22473 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22475 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22476 ((wxPyPanel
const *)arg1
)->DoGetSize(arg2
,arg3
);
22477 wxPyEndAllowThreads(__tstate
);
22478 if (PyErr_Occurred()) SWIG_fail
;
22480 resultobj
= SWIG_Py_Void();
22481 if (SWIG_IsTmpObj(res2
)) {
22482 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22484 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22485 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22487 if (SWIG_IsTmpObj(res3
)) {
22488 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22490 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22491 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22499 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22500 PyObject
*resultobj
= 0;
22501 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22502 int *arg2
= (int *) 0 ;
22503 int *arg3
= (int *) 0 ;
22507 int res2
= SWIG_TMPOBJ
;
22509 int res3
= SWIG_TMPOBJ
;
22510 PyObject
*swig_obj
[1] ;
22514 if (!args
) SWIG_fail
;
22515 swig_obj
[0] = args
;
22516 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22517 if (!SWIG_IsOK(res1
)) {
22518 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22520 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22522 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22523 ((wxPyPanel
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
22524 wxPyEndAllowThreads(__tstate
);
22525 if (PyErr_Occurred()) SWIG_fail
;
22527 resultobj
= SWIG_Py_Void();
22528 if (SWIG_IsTmpObj(res2
)) {
22529 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22531 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22532 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22534 if (SWIG_IsTmpObj(res3
)) {
22535 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22537 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22538 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22546 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22547 PyObject
*resultobj
= 0;
22548 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22549 int *arg2
= (int *) 0 ;
22550 int *arg3
= (int *) 0 ;
22554 int res2
= SWIG_TMPOBJ
;
22556 int res3
= SWIG_TMPOBJ
;
22557 PyObject
*swig_obj
[1] ;
22561 if (!args
) SWIG_fail
;
22562 swig_obj
[0] = args
;
22563 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22564 if (!SWIG_IsOK(res1
)) {
22565 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetPosition" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22567 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22569 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22570 ((wxPyPanel
const *)arg1
)->DoGetPosition(arg2
,arg3
);
22571 wxPyEndAllowThreads(__tstate
);
22572 if (PyErr_Occurred()) SWIG_fail
;
22574 resultobj
= SWIG_Py_Void();
22575 if (SWIG_IsTmpObj(res2
)) {
22576 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
22578 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22579 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
22581 if (SWIG_IsTmpObj(res3
)) {
22582 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
22584 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
22585 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
22593 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22594 PyObject
*resultobj
= 0;
22595 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22599 PyObject
*swig_obj
[1] ;
22601 if (!args
) SWIG_fail
;
22602 swig_obj
[0] = args
;
22603 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22604 if (!SWIG_IsOK(res1
)) {
22605 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22607 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22609 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22610 result
= ((wxPyPanel
const *)arg1
)->DoGetVirtualSize();
22611 wxPyEndAllowThreads(__tstate
);
22612 if (PyErr_Occurred()) SWIG_fail
;
22614 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22621 SWIGINTERN PyObject
*_wrap_PyPanel_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22622 PyObject
*resultobj
= 0;
22623 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22627 PyObject
*swig_obj
[1] ;
22629 if (!args
) SWIG_fail
;
22630 swig_obj
[0] = args
;
22631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22632 if (!SWIG_IsOK(res1
)) {
22633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyPanel const *""'");
22635 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22638 result
= ((wxPyPanel
const *)arg1
)->DoGetBestSize();
22639 wxPyEndAllowThreads(__tstate
);
22640 if (PyErr_Occurred()) SWIG_fail
;
22642 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
22649 SWIGINTERN PyObject
*_wrap_PyPanel_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22650 PyObject
*resultobj
= 0;
22651 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22652 SwigValueWrapper
<wxVisualAttributes
> result
;
22655 PyObject
*swig_obj
[1] ;
22657 if (!args
) SWIG_fail
;
22658 swig_obj
[0] = args
;
22659 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22660 if (!SWIG_IsOK(res1
)) {
22661 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22663 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22665 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22666 result
= (arg1
)->GetDefaultAttributes();
22667 wxPyEndAllowThreads(__tstate
);
22668 if (PyErr_Occurred()) SWIG_fail
;
22670 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
22677 SWIGINTERN PyObject
*_wrap_PyPanel_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22678 PyObject
*resultobj
= 0;
22679 wxPyPanel
*arg1
= (wxPyPanel
*) 0 ;
22682 PyObject
*swig_obj
[1] ;
22684 if (!args
) SWIG_fail
;
22685 swig_obj
[0] = args
;
22686 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPanel
, 0 | 0 );
22687 if (!SWIG_IsOK(res1
)) {
22688 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPanel_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyPanel *""'");
22690 arg1
= reinterpret_cast< wxPyPanel
* >(argp1
);
22692 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22693 (arg1
)->OnInternalIdle();
22694 wxPyEndAllowThreads(__tstate
);
22695 if (PyErr_Occurred()) SWIG_fail
;
22697 resultobj
= SWIG_Py_Void();
22704 SWIGINTERN PyObject
*PyPanel_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22706 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
22707 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPanel
, SWIG_NewClientData(obj
));
22708 return SWIG_Py_Void();
22711 SWIGINTERN PyObject
*PyPanel_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22712 return SWIG_Python_InitShadowInstance(args
);
22715 SWIGINTERN PyObject
*_wrap_new_PyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22716 PyObject
*resultobj
= 0;
22717 wxWindow
*arg1
= (wxWindow
*) 0 ;
22718 int arg2
= (int) (int)-1 ;
22719 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
22720 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
22721 wxSize
const &arg4_defvalue
= wxDefaultSize
;
22722 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
22723 long arg5
= (long) 0 ;
22724 wxString
const &arg6_defvalue
= wxPyPanelNameStr
;
22725 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
22726 wxPyScrolledWindow
*result
= 0 ;
22735 bool temp6
= false ;
22736 PyObject
* obj0
= 0 ;
22737 PyObject
* obj1
= 0 ;
22738 PyObject
* obj2
= 0 ;
22739 PyObject
* obj3
= 0 ;
22740 PyObject
* obj4
= 0 ;
22741 PyObject
* obj5
= 0 ;
22742 char * kwnames
[] = {
22743 (char *) "parent",(char *) "id",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
22746 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|OOOOO:new_PyScrolledWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
22747 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
22748 if (!SWIG_IsOK(res1
)) {
22749 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyScrolledWindow" "', expected argument " "1"" of type '" "wxWindow *""'");
22751 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
22753 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22754 if (!SWIG_IsOK(ecode2
)) {
22755 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyScrolledWindow" "', expected argument " "2"" of type '" "int""'");
22757 arg2
= static_cast< int >(val2
);
22762 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
22768 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
22772 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
22773 if (!SWIG_IsOK(ecode5
)) {
22774 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PyScrolledWindow" "', expected argument " "5"" of type '" "long""'");
22776 arg5
= static_cast< long >(val5
);
22780 arg6
= wxString_in_helper(obj5
);
22781 if (arg6
== NULL
) SWIG_fail
;
22786 if (!wxPyCheckForApp()) SWIG_fail
;
22787 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22788 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
22789 wxPyEndAllowThreads(__tstate
);
22790 if (PyErr_Occurred()) SWIG_fail
;
22792 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_NEW
| 0 );
22807 SWIGINTERN PyObject
*_wrap_new_PrePyScrolledWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
22808 PyObject
*resultobj
= 0;
22809 wxPyScrolledWindow
*result
= 0 ;
22811 if (!SWIG_Python_UnpackTuple(args
,"new_PrePyScrolledWindow",0,0,0)) SWIG_fail
;
22813 if (!wxPyCheckForApp()) SWIG_fail
;
22814 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22815 result
= (wxPyScrolledWindow
*)new wxPyScrolledWindow();
22816 wxPyEndAllowThreads(__tstate
);
22817 if (PyErr_Occurred()) SWIG_fail
;
22819 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyScrolledWindow
, SWIG_POINTER_OWN
| 0 );
22826 SWIGINTERN PyObject
*_wrap_PyScrolledWindow__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22827 PyObject
*resultobj
= 0;
22828 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22829 PyObject
*arg2
= (PyObject
*) 0 ;
22830 PyObject
*arg3
= (PyObject
*) 0 ;
22833 PyObject
* obj0
= 0 ;
22834 PyObject
* obj1
= 0 ;
22835 PyObject
* obj2
= 0 ;
22836 char * kwnames
[] = {
22837 (char *) "self",(char *) "self",(char *) "_class", NULL
22840 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
22841 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22842 if (!SWIG_IsOK(res1
)) {
22843 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22845 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22849 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22850 (arg1
)->_setCallbackInfo(arg2
,arg3
);
22851 wxPyEndAllowThreads(__tstate
);
22852 if (PyErr_Occurred()) SWIG_fail
;
22854 resultobj
= SWIG_Py_Void();
22861 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_SetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22862 PyObject
*resultobj
= 0;
22863 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22868 PyObject
* obj0
= 0 ;
22869 PyObject
* obj1
= 0 ;
22870 char * kwnames
[] = {
22871 (char *) "self",(char *) "size", NULL
22874 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_SetBestSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22875 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22876 if (!SWIG_IsOK(res1
)) {
22877 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_SetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22879 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22882 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
22885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22886 (arg1
)->SetBestSize((wxSize
const &)*arg2
);
22887 wxPyEndAllowThreads(__tstate
);
22888 if (PyErr_Occurred()) SWIG_fail
;
22890 resultobj
= SWIG_Py_Void();
22897 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoEraseBackground(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22898 PyObject
*resultobj
= 0;
22899 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22900 wxDC
*arg2
= (wxDC
*) 0 ;
22906 PyObject
* obj0
= 0 ;
22907 PyObject
* obj1
= 0 ;
22908 char * kwnames
[] = {
22909 (char *) "self",(char *) "dc", NULL
22912 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyScrolledWindow_DoEraseBackground",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
22913 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22914 if (!SWIG_IsOK(res1
)) {
22915 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22917 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22918 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
22919 if (!SWIG_IsOK(res2
)) {
22920 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyScrolledWindow_DoEraseBackground" "', expected argument " "2"" of type '" "wxDC *""'");
22922 arg2
= reinterpret_cast< wxDC
* >(argp2
);
22924 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22925 result
= (bool)(arg1
)->DoEraseBackground(arg2
);
22926 wxPyEndAllowThreads(__tstate
);
22927 if (PyErr_Occurred()) SWIG_fail
;
22930 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
22938 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoMoveWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
22939 PyObject
*resultobj
= 0;
22940 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
22955 PyObject
* obj0
= 0 ;
22956 PyObject
* obj1
= 0 ;
22957 PyObject
* obj2
= 0 ;
22958 PyObject
* obj3
= 0 ;
22959 PyObject
* obj4
= 0 ;
22960 char * kwnames
[] = {
22961 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height", NULL
22964 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO:PyScrolledWindow_DoMoveWindow",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
)) SWIG_fail
;
22965 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
22966 if (!SWIG_IsOK(res1
)) {
22967 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
22969 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
22970 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
22971 if (!SWIG_IsOK(ecode2
)) {
22972 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "2"" of type '" "int""'");
22974 arg2
= static_cast< int >(val2
);
22975 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
22976 if (!SWIG_IsOK(ecode3
)) {
22977 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "3"" of type '" "int""'");
22979 arg3
= static_cast< int >(val3
);
22980 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
22981 if (!SWIG_IsOK(ecode4
)) {
22982 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "4"" of type '" "int""'");
22984 arg4
= static_cast< int >(val4
);
22985 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
22986 if (!SWIG_IsOK(ecode5
)) {
22987 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoMoveWindow" "', expected argument " "5"" of type '" "int""'");
22989 arg5
= static_cast< int >(val5
);
22991 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
22992 (arg1
)->DoMoveWindow(arg2
,arg3
,arg4
,arg5
);
22993 wxPyEndAllowThreads(__tstate
);
22994 if (PyErr_Occurred()) SWIG_fail
;
22996 resultobj
= SWIG_Py_Void();
23003 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23004 PyObject
*resultobj
= 0;
23005 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23010 int arg6
= (int) wxSIZE_AUTO
;
23023 PyObject
* obj0
= 0 ;
23024 PyObject
* obj1
= 0 ;
23025 PyObject
* obj2
= 0 ;
23026 PyObject
* obj3
= 0 ;
23027 PyObject
* obj4
= 0 ;
23028 PyObject
* obj5
= 0 ;
23029 char * kwnames
[] = {
23030 (char *) "self",(char *) "x",(char *) "y",(char *) "width",(char *) "height",(char *) "sizeFlags", NULL
23033 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOOO|O:PyScrolledWindow_DoSetSize",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
23034 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23035 if (!SWIG_IsOK(res1
)) {
23036 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23038 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23039 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23040 if (!SWIG_IsOK(ecode2
)) {
23041 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "2"" of type '" "int""'");
23043 arg2
= static_cast< int >(val2
);
23044 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23045 if (!SWIG_IsOK(ecode3
)) {
23046 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "3"" of type '" "int""'");
23048 arg3
= static_cast< int >(val3
);
23049 ecode4
= SWIG_AsVal_int(obj3
, &val4
);
23050 if (!SWIG_IsOK(ecode4
)) {
23051 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "4"" of type '" "int""'");
23053 arg4
= static_cast< int >(val4
);
23054 ecode5
= SWIG_AsVal_int(obj4
, &val5
);
23055 if (!SWIG_IsOK(ecode5
)) {
23056 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "5"" of type '" "int""'");
23058 arg5
= static_cast< int >(val5
);
23060 ecode6
= SWIG_AsVal_int(obj5
, &val6
);
23061 if (!SWIG_IsOK(ecode6
)) {
23062 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "PyScrolledWindow_DoSetSize" "', expected argument " "6"" of type '" "int""'");
23064 arg6
= static_cast< int >(val6
);
23067 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23068 (arg1
)->DoSetSize(arg2
,arg3
,arg4
,arg5
,arg6
);
23069 wxPyEndAllowThreads(__tstate
);
23070 if (PyErr_Occurred()) SWIG_fail
;
23072 resultobj
= SWIG_Py_Void();
23079 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23080 PyObject
*resultobj
= 0;
23081 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23090 PyObject
* obj0
= 0 ;
23091 PyObject
* obj1
= 0 ;
23092 PyObject
* obj2
= 0 ;
23093 char * kwnames
[] = {
23094 (char *) "self",(char *) "width",(char *) "height", NULL
23097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetClientSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23099 if (!SWIG_IsOK(res1
)) {
23100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23102 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23103 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23104 if (!SWIG_IsOK(ecode2
)) {
23105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "2"" of type '" "int""'");
23107 arg2
= static_cast< int >(val2
);
23108 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23109 if (!SWIG_IsOK(ecode3
)) {
23110 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetClientSize" "', expected argument " "3"" of type '" "int""'");
23112 arg3
= static_cast< int >(val3
);
23114 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23115 (arg1
)->DoSetClientSize(arg2
,arg3
);
23116 wxPyEndAllowThreads(__tstate
);
23117 if (PyErr_Occurred()) SWIG_fail
;
23119 resultobj
= SWIG_Py_Void();
23126 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoSetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23127 PyObject
*resultobj
= 0;
23128 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23137 PyObject
* obj0
= 0 ;
23138 PyObject
* obj1
= 0 ;
23139 PyObject
* obj2
= 0 ;
23140 char * kwnames
[] = {
23141 (char *) "self",(char *) "x",(char *) "y", NULL
23144 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyScrolledWindow_DoSetVirtualSize",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
23145 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23146 if (!SWIG_IsOK(res1
)) {
23147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23149 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23150 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23151 if (!SWIG_IsOK(ecode2
)) {
23152 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "2"" of type '" "int""'");
23154 arg2
= static_cast< int >(val2
);
23155 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
23156 if (!SWIG_IsOK(ecode3
)) {
23157 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "PyScrolledWindow_DoSetVirtualSize" "', expected argument " "3"" of type '" "int""'");
23159 arg3
= static_cast< int >(val3
);
23161 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23162 (arg1
)->DoSetVirtualSize(arg2
,arg3
);
23163 wxPyEndAllowThreads(__tstate
);
23164 if (PyErr_Occurred()) SWIG_fail
;
23166 resultobj
= SWIG_Py_Void();
23173 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23174 PyObject
*resultobj
= 0;
23175 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23176 int *arg2
= (int *) 0 ;
23177 int *arg3
= (int *) 0 ;
23181 int res2
= SWIG_TMPOBJ
;
23183 int res3
= SWIG_TMPOBJ
;
23184 PyObject
*swig_obj
[1] ;
23188 if (!args
) SWIG_fail
;
23189 swig_obj
[0] = args
;
23190 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23191 if (!SWIG_IsOK(res1
)) {
23192 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23194 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23196 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23197 ((wxPyScrolledWindow
const *)arg1
)->DoGetSize(arg2
,arg3
);
23198 wxPyEndAllowThreads(__tstate
);
23199 if (PyErr_Occurred()) SWIG_fail
;
23201 resultobj
= SWIG_Py_Void();
23202 if (SWIG_IsTmpObj(res2
)) {
23203 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23205 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23206 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23208 if (SWIG_IsTmpObj(res3
)) {
23209 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23211 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23212 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23220 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetClientSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23221 PyObject
*resultobj
= 0;
23222 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23223 int *arg2
= (int *) 0 ;
23224 int *arg3
= (int *) 0 ;
23228 int res2
= SWIG_TMPOBJ
;
23230 int res3
= SWIG_TMPOBJ
;
23231 PyObject
*swig_obj
[1] ;
23235 if (!args
) SWIG_fail
;
23236 swig_obj
[0] = args
;
23237 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23238 if (!SWIG_IsOK(res1
)) {
23239 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetClientSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23241 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23243 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23244 ((wxPyScrolledWindow
const *)arg1
)->DoGetClientSize(arg2
,arg3
);
23245 wxPyEndAllowThreads(__tstate
);
23246 if (PyErr_Occurred()) SWIG_fail
;
23248 resultobj
= SWIG_Py_Void();
23249 if (SWIG_IsTmpObj(res2
)) {
23250 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23252 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23253 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23255 if (SWIG_IsTmpObj(res3
)) {
23256 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23258 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23259 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23267 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetPosition(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23268 PyObject
*resultobj
= 0;
23269 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23270 int *arg2
= (int *) 0 ;
23271 int *arg3
= (int *) 0 ;
23275 int res2
= SWIG_TMPOBJ
;
23277 int res3
= SWIG_TMPOBJ
;
23278 PyObject
*swig_obj
[1] ;
23282 if (!args
) SWIG_fail
;
23283 swig_obj
[0] = args
;
23284 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23285 if (!SWIG_IsOK(res1
)) {
23286 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetPosition" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23288 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23290 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23291 ((wxPyScrolledWindow
const *)arg1
)->DoGetPosition(arg2
,arg3
);
23292 wxPyEndAllowThreads(__tstate
);
23293 if (PyErr_Occurred()) SWIG_fail
;
23295 resultobj
= SWIG_Py_Void();
23296 if (SWIG_IsTmpObj(res2
)) {
23297 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
23299 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23300 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
23302 if (SWIG_IsTmpObj(res3
)) {
23303 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
23305 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
23306 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
23314 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetVirtualSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23315 PyObject
*resultobj
= 0;
23316 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23320 PyObject
*swig_obj
[1] ;
23322 if (!args
) SWIG_fail
;
23323 swig_obj
[0] = args
;
23324 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23325 if (!SWIG_IsOK(res1
)) {
23326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetVirtualSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23328 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23330 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23331 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetVirtualSize();
23332 wxPyEndAllowThreads(__tstate
);
23333 if (PyErr_Occurred()) SWIG_fail
;
23335 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23342 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_DoGetBestSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23343 PyObject
*resultobj
= 0;
23344 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23348 PyObject
*swig_obj
[1] ;
23350 if (!args
) SWIG_fail
;
23351 swig_obj
[0] = args
;
23352 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23353 if (!SWIG_IsOK(res1
)) {
23354 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_DoGetBestSize" "', expected argument " "1"" of type '" "wxPyScrolledWindow const *""'");
23356 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23359 result
= ((wxPyScrolledWindow
const *)arg1
)->DoGetBestSize();
23360 wxPyEndAllowThreads(__tstate
);
23361 if (PyErr_Occurred()) SWIG_fail
;
23363 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
23370 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_GetDefaultAttributes(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23371 PyObject
*resultobj
= 0;
23372 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23373 SwigValueWrapper
<wxVisualAttributes
> result
;
23376 PyObject
*swig_obj
[1] ;
23378 if (!args
) SWIG_fail
;
23379 swig_obj
[0] = args
;
23380 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23381 if (!SWIG_IsOK(res1
)) {
23382 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_GetDefaultAttributes" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23384 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23386 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23387 result
= (arg1
)->GetDefaultAttributes();
23388 wxPyEndAllowThreads(__tstate
);
23389 if (PyErr_Occurred()) SWIG_fail
;
23391 resultobj
= SWIG_NewPointerObj((new wxVisualAttributes(static_cast< const wxVisualAttributes
& >(result
))), SWIGTYPE_p_wxVisualAttributes
, SWIG_POINTER_OWN
| 0 );
23398 SWIGINTERN PyObject
*_wrap_PyScrolledWindow_OnInternalIdle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23399 PyObject
*resultobj
= 0;
23400 wxPyScrolledWindow
*arg1
= (wxPyScrolledWindow
*) 0 ;
23403 PyObject
*swig_obj
[1] ;
23405 if (!args
) SWIG_fail
;
23406 swig_obj
[0] = args
;
23407 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyScrolledWindow
, 0 | 0 );
23408 if (!SWIG_IsOK(res1
)) {
23409 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyScrolledWindow_OnInternalIdle" "', expected argument " "1"" of type '" "wxPyScrolledWindow *""'");
23411 arg1
= reinterpret_cast< wxPyScrolledWindow
* >(argp1
);
23413 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23414 (arg1
)->OnInternalIdle();
23415 wxPyEndAllowThreads(__tstate
);
23416 if (PyErr_Occurred()) SWIG_fail
;
23418 resultobj
= SWIG_Py_Void();
23425 SWIGINTERN PyObject
*PyScrolledWindow_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23427 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
23428 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyScrolledWindow
, SWIG_NewClientData(obj
));
23429 return SWIG_Py_Void();
23432 SWIGINTERN PyObject
*PyScrolledWindow_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23433 return SWIG_Python_InitShadowInstance(args
);
23436 SWIGINTERN
int PrintoutTitleStr_set(PyObject
*) {
23437 SWIG_Error(SWIG_AttributeError
,"Variable PrintoutTitleStr is read-only.");
23442 SWIGINTERN PyObject
*PrintoutTitleStr_get(void) {
23443 PyObject
*pyobj
= 0;
23447 pyobj
= PyUnicode_FromWideChar((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23449 pyobj
= PyString_FromStringAndSize((&wxPyPrintoutTitleStr
)->c_str(), (&wxPyPrintoutTitleStr
)->Len());
23456 SWIGINTERN
int PreviewCanvasNameStr_set(PyObject
*) {
23457 SWIG_Error(SWIG_AttributeError
,"Variable PreviewCanvasNameStr is read-only.");
23462 SWIGINTERN PyObject
*PreviewCanvasNameStr_get(void) {
23463 PyObject
*pyobj
= 0;
23467 pyobj
= PyUnicode_FromWideChar((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23469 pyobj
= PyString_FromStringAndSize((&wxPyPreviewCanvasNameStr
)->c_str(), (&wxPyPreviewCanvasNameStr
)->Len());
23476 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
23477 PyObject
*resultobj
= 0;
23478 wxPrintData
*result
= 0 ;
23480 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
23482 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23483 result
= (wxPrintData
*)new wxPrintData();
23484 wxPyEndAllowThreads(__tstate
);
23485 if (PyErr_Occurred()) SWIG_fail
;
23487 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23494 SWIGINTERN PyObject
*_wrap_new_PrintData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
23495 PyObject
*resultobj
= 0;
23496 wxPrintData
*arg1
= 0 ;
23497 wxPrintData
*result
= 0 ;
23501 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
23502 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
23503 if (!SWIG_IsOK(res1
)) {
23504 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23507 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
23509 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23511 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23512 result
= (wxPrintData
*)new wxPrintData((wxPrintData
const &)*arg1
);
23513 wxPyEndAllowThreads(__tstate
);
23514 if (PyErr_Occurred()) SWIG_fail
;
23516 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, SWIG_POINTER_NEW
| 0 );
23523 SWIGINTERN PyObject
*_wrap_new_PrintData(PyObject
*self
, PyObject
*args
) {
23527 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintData",0,1,argv
))) SWIG_fail
;
23530 return _wrap_new_PrintData__SWIG_0(self
, argc
, argv
);
23533 return _wrap_new_PrintData__SWIG_1(self
, argc
, argv
);
23537 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintData'");
23542 SWIGINTERN PyObject
*_wrap_delete_PrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23543 PyObject
*resultobj
= 0;
23544 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23547 PyObject
*swig_obj
[1] ;
23549 if (!args
) SWIG_fail
;
23550 swig_obj
[0] = args
;
23551 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, SWIG_POINTER_DISOWN
| 0 );
23552 if (!SWIG_IsOK(res1
)) {
23553 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintData" "', expected argument " "1"" of type '" "wxPrintData *""'");
23555 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23560 wxPyEndAllowThreads(__tstate
);
23561 if (PyErr_Occurred()) SWIG_fail
;
23563 resultobj
= SWIG_Py_Void();
23570 SWIGINTERN PyObject
*_wrap_PrintData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23571 PyObject
*resultobj
= 0;
23572 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23576 PyObject
*swig_obj
[1] ;
23578 if (!args
) SWIG_fail
;
23579 swig_obj
[0] = args
;
23580 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23581 if (!SWIG_IsOK(res1
)) {
23582 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23584 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23586 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23587 result
= (int)(arg1
)->GetNoCopies();
23588 wxPyEndAllowThreads(__tstate
);
23589 if (PyErr_Occurred()) SWIG_fail
;
23591 resultobj
= SWIG_From_int(static_cast< int >(result
));
23598 SWIGINTERN PyObject
*_wrap_PrintData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23599 PyObject
*resultobj
= 0;
23600 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23604 PyObject
*swig_obj
[1] ;
23606 if (!args
) SWIG_fail
;
23607 swig_obj
[0] = args
;
23608 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23609 if (!SWIG_IsOK(res1
)) {
23610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23612 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23614 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23615 result
= (bool)(arg1
)->GetCollate();
23616 wxPyEndAllowThreads(__tstate
);
23617 if (PyErr_Occurred()) SWIG_fail
;
23620 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23628 SWIGINTERN PyObject
*_wrap_PrintData_GetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23629 PyObject
*resultobj
= 0;
23630 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23634 PyObject
*swig_obj
[1] ;
23636 if (!args
) SWIG_fail
;
23637 swig_obj
[0] = args
;
23638 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23639 if (!SWIG_IsOK(res1
)) {
23640 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
23642 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23644 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23645 result
= (int)(arg1
)->GetOrientation();
23646 wxPyEndAllowThreads(__tstate
);
23647 if (PyErr_Occurred()) SWIG_fail
;
23649 resultobj
= SWIG_From_int(static_cast< int >(result
));
23656 SWIGINTERN PyObject
*_wrap_PrintData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23657 PyObject
*resultobj
= 0;
23658 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23662 PyObject
*swig_obj
[1] ;
23664 if (!args
) SWIG_fail
;
23665 swig_obj
[0] = args
;
23666 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23667 if (!SWIG_IsOK(res1
)) {
23668 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_Ok" "', expected argument " "1"" of type '" "wxPrintData *""'");
23670 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23672 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23673 result
= (bool)(arg1
)->Ok();
23674 wxPyEndAllowThreads(__tstate
);
23675 if (PyErr_Occurred()) SWIG_fail
;
23678 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23686 SWIGINTERN PyObject
*_wrap_PrintData_GetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23687 PyObject
*resultobj
= 0;
23688 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23689 wxString
*result
= 0 ;
23692 PyObject
*swig_obj
[1] ;
23694 if (!args
) SWIG_fail
;
23695 swig_obj
[0] = args
;
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 '" "PrintData_GetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
23700 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23702 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23704 wxString
const &_result_ref
= (arg1
)->GetPrinterName();
23705 result
= (wxString
*) &_result_ref
;
23707 wxPyEndAllowThreads(__tstate
);
23708 if (PyErr_Occurred()) SWIG_fail
;
23712 resultobj
= PyUnicode_FromWideChar(result
->c_str(), result
->Len());
23714 resultobj
= PyString_FromStringAndSize(result
->c_str(), result
->Len());
23723 SWIGINTERN PyObject
*_wrap_PrintData_GetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23724 PyObject
*resultobj
= 0;
23725 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23729 PyObject
*swig_obj
[1] ;
23731 if (!args
) SWIG_fail
;
23732 swig_obj
[0] = args
;
23733 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23734 if (!SWIG_IsOK(res1
)) {
23735 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
23737 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23739 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23740 result
= (bool)(arg1
)->GetColour();
23741 wxPyEndAllowThreads(__tstate
);
23742 if (PyErr_Occurred()) SWIG_fail
;
23745 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
23753 SWIGINTERN PyObject
*_wrap_PrintData_GetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23754 PyObject
*resultobj
= 0;
23755 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23756 wxDuplexMode result
;
23759 PyObject
*swig_obj
[1] ;
23761 if (!args
) SWIG_fail
;
23762 swig_obj
[0] = args
;
23763 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23764 if (!SWIG_IsOK(res1
)) {
23765 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
23767 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23769 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23770 result
= (wxDuplexMode
)(arg1
)->GetDuplex();
23771 wxPyEndAllowThreads(__tstate
);
23772 if (PyErr_Occurred()) SWIG_fail
;
23774 resultobj
= SWIG_From_int(static_cast< int >(result
));
23781 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23782 PyObject
*resultobj
= 0;
23783 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23784 wxPaperSize result
;
23787 PyObject
*swig_obj
[1] ;
23789 if (!args
) SWIG_fail
;
23790 swig_obj
[0] = args
;
23791 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23792 if (!SWIG_IsOK(res1
)) {
23793 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
23795 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23797 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23798 result
= (wxPaperSize
)(arg1
)->GetPaperId();
23799 wxPyEndAllowThreads(__tstate
);
23800 if (PyErr_Occurred()) SWIG_fail
;
23802 resultobj
= SWIG_From_int(static_cast< int >(result
));
23809 SWIGINTERN PyObject
*_wrap_PrintData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23810 PyObject
*resultobj
= 0;
23811 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23812 wxSize
*result
= 0 ;
23815 PyObject
*swig_obj
[1] ;
23817 if (!args
) SWIG_fail
;
23818 swig_obj
[0] = args
;
23819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23820 if (!SWIG_IsOK(res1
)) {
23821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
23823 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23827 wxSize
const &_result_ref
= (arg1
)->GetPaperSize();
23828 result
= (wxSize
*) &_result_ref
;
23830 wxPyEndAllowThreads(__tstate
);
23831 if (PyErr_Occurred()) SWIG_fail
;
23833 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxSize
, 0 | 0 );
23840 SWIGINTERN PyObject
*_wrap_PrintData_GetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23841 PyObject
*resultobj
= 0;
23842 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23846 PyObject
*swig_obj
[1] ;
23848 if (!args
) SWIG_fail
;
23849 swig_obj
[0] = args
;
23850 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23851 if (!SWIG_IsOK(res1
)) {
23852 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
23854 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23856 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23857 result
= (int)(arg1
)->GetQuality();
23858 wxPyEndAllowThreads(__tstate
);
23859 if (PyErr_Occurred()) SWIG_fail
;
23861 resultobj
= SWIG_From_int(static_cast< int >(result
));
23868 SWIGINTERN PyObject
*_wrap_PrintData_GetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23869 PyObject
*resultobj
= 0;
23870 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23874 PyObject
*swig_obj
[1] ;
23876 if (!args
) SWIG_fail
;
23877 swig_obj
[0] = args
;
23878 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23879 if (!SWIG_IsOK(res1
)) {
23880 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
23882 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23884 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23885 result
= (wxPrintBin
)(arg1
)->GetBin();
23886 wxPyEndAllowThreads(__tstate
);
23887 if (PyErr_Occurred()) SWIG_fail
;
23889 resultobj
= SWIG_From_int(static_cast< int >(result
));
23896 SWIGINTERN PyObject
*_wrap_PrintData_GetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
23897 PyObject
*resultobj
= 0;
23898 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23899 wxPrintMode result
;
23902 PyObject
*swig_obj
[1] ;
23904 if (!args
) SWIG_fail
;
23905 swig_obj
[0] = args
;
23906 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23907 if (!SWIG_IsOK(res1
)) {
23908 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrintMode" "', expected argument " "1"" of type '" "wxPrintData const *""'");
23910 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23912 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23913 result
= (wxPrintMode
)((wxPrintData
const *)arg1
)->GetPrintMode();
23914 wxPyEndAllowThreads(__tstate
);
23915 if (PyErr_Occurred()) SWIG_fail
;
23917 resultobj
= SWIG_From_int(static_cast< int >(result
));
23924 SWIGINTERN PyObject
*_wrap_PrintData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23925 PyObject
*resultobj
= 0;
23926 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23932 PyObject
* obj0
= 0 ;
23933 PyObject
* obj1
= 0 ;
23934 char * kwnames
[] = {
23935 (char *) "self",(char *) "v", NULL
23938 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23939 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23940 if (!SWIG_IsOK(res1
)) {
23941 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintData *""'");
23943 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23944 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
23945 if (!SWIG_IsOK(ecode2
)) {
23946 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
23948 arg2
= static_cast< int >(val2
);
23950 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23951 (arg1
)->SetNoCopies(arg2
);
23952 wxPyEndAllowThreads(__tstate
);
23953 if (PyErr_Occurred()) SWIG_fail
;
23955 resultobj
= SWIG_Py_Void();
23962 SWIGINTERN PyObject
*_wrap_PrintData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
23963 PyObject
*resultobj
= 0;
23964 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
23970 PyObject
* obj0
= 0 ;
23971 PyObject
* obj1
= 0 ;
23972 char * kwnames
[] = {
23973 (char *) "self",(char *) "flag", NULL
23976 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
23977 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
23978 if (!SWIG_IsOK(res1
)) {
23979 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetCollate" "', expected argument " "1"" of type '" "wxPrintData *""'");
23981 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
23982 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
23983 if (!SWIG_IsOK(ecode2
)) {
23984 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
23986 arg2
= static_cast< bool >(val2
);
23988 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
23989 (arg1
)->SetCollate(arg2
);
23990 wxPyEndAllowThreads(__tstate
);
23991 if (PyErr_Occurred()) SWIG_fail
;
23993 resultobj
= SWIG_Py_Void();
24000 SWIGINTERN PyObject
*_wrap_PrintData_SetOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24001 PyObject
*resultobj
= 0;
24002 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24008 PyObject
* obj0
= 0 ;
24009 PyObject
* obj1
= 0 ;
24010 char * kwnames
[] = {
24011 (char *) "self",(char *) "orient", NULL
24014 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24015 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24016 if (!SWIG_IsOK(res1
)) {
24017 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetOrientation" "', expected argument " "1"" of type '" "wxPrintData *""'");
24019 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24020 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24021 if (!SWIG_IsOK(ecode2
)) {
24022 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetOrientation" "', expected argument " "2"" of type '" "int""'");
24024 arg2
= static_cast< int >(val2
);
24026 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24027 (arg1
)->SetOrientation(arg2
);
24028 wxPyEndAllowThreads(__tstate
);
24029 if (PyErr_Occurred()) SWIG_fail
;
24031 resultobj
= SWIG_Py_Void();
24038 SWIGINTERN PyObject
*_wrap_PrintData_SetPrinterName(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24039 PyObject
*resultobj
= 0;
24040 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24041 wxString
*arg2
= 0 ;
24044 bool temp2
= false ;
24045 PyObject
* obj0
= 0 ;
24046 PyObject
* obj1
= 0 ;
24047 char * kwnames
[] = {
24048 (char *) "self",(char *) "name", NULL
24051 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrinterName",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24052 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24053 if (!SWIG_IsOK(res1
)) {
24054 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrinterName" "', expected argument " "1"" of type '" "wxPrintData *""'");
24056 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24058 arg2
= wxString_in_helper(obj1
);
24059 if (arg2
== NULL
) SWIG_fail
;
24063 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24064 (arg1
)->SetPrinterName((wxString
const &)*arg2
);
24065 wxPyEndAllowThreads(__tstate
);
24066 if (PyErr_Occurred()) SWIG_fail
;
24068 resultobj
= SWIG_Py_Void();
24083 SWIGINTERN PyObject
*_wrap_PrintData_SetColour(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24084 PyObject
*resultobj
= 0;
24085 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24091 PyObject
* obj0
= 0 ;
24092 PyObject
* obj1
= 0 ;
24093 char * kwnames
[] = {
24094 (char *) "self",(char *) "colour", NULL
24097 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetColour",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24098 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24099 if (!SWIG_IsOK(res1
)) {
24100 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetColour" "', expected argument " "1"" of type '" "wxPrintData *""'");
24102 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24103 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24104 if (!SWIG_IsOK(ecode2
)) {
24105 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetColour" "', expected argument " "2"" of type '" "bool""'");
24107 arg2
= static_cast< bool >(val2
);
24109 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24110 (arg1
)->SetColour(arg2
);
24111 wxPyEndAllowThreads(__tstate
);
24112 if (PyErr_Occurred()) SWIG_fail
;
24114 resultobj
= SWIG_Py_Void();
24121 SWIGINTERN PyObject
*_wrap_PrintData_SetDuplex(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24122 PyObject
*resultobj
= 0;
24123 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24124 wxDuplexMode arg2
;
24129 PyObject
* obj0
= 0 ;
24130 PyObject
* obj1
= 0 ;
24131 char * kwnames
[] = {
24132 (char *) "self",(char *) "duplex", NULL
24135 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetDuplex",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24136 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24137 if (!SWIG_IsOK(res1
)) {
24138 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetDuplex" "', expected argument " "1"" of type '" "wxPrintData *""'");
24140 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24141 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24142 if (!SWIG_IsOK(ecode2
)) {
24143 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetDuplex" "', expected argument " "2"" of type '" "wxDuplexMode""'");
24145 arg2
= static_cast< wxDuplexMode
>(val2
);
24147 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24148 (arg1
)->SetDuplex(arg2
);
24149 wxPyEndAllowThreads(__tstate
);
24150 if (PyErr_Occurred()) SWIG_fail
;
24152 resultobj
= SWIG_Py_Void();
24159 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24160 PyObject
*resultobj
= 0;
24161 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24167 PyObject
* obj0
= 0 ;
24168 PyObject
* obj1
= 0 ;
24169 char * kwnames
[] = {
24170 (char *) "self",(char *) "sizeId", NULL
24173 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24174 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24175 if (!SWIG_IsOK(res1
)) {
24176 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperId" "', expected argument " "1"" of type '" "wxPrintData *""'");
24178 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24179 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24180 if (!SWIG_IsOK(ecode2
)) {
24181 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
24183 arg2
= static_cast< wxPaperSize
>(val2
);
24185 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24186 (arg1
)->SetPaperId(arg2
);
24187 wxPyEndAllowThreads(__tstate
);
24188 if (PyErr_Occurred()) SWIG_fail
;
24190 resultobj
= SWIG_Py_Void();
24197 SWIGINTERN PyObject
*_wrap_PrintData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24198 PyObject
*resultobj
= 0;
24199 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24204 PyObject
* obj0
= 0 ;
24205 PyObject
* obj1
= 0 ;
24206 char * kwnames
[] = {
24207 (char *) "self",(char *) "sz", NULL
24210 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24211 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24212 if (!SWIG_IsOK(res1
)) {
24213 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPaperSize" "', expected argument " "1"" of type '" "wxPrintData *""'");
24215 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24218 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
24221 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24222 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
24223 wxPyEndAllowThreads(__tstate
);
24224 if (PyErr_Occurred()) SWIG_fail
;
24226 resultobj
= SWIG_Py_Void();
24233 SWIGINTERN PyObject
*_wrap_PrintData_SetQuality(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24234 PyObject
*resultobj
= 0;
24235 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24241 PyObject
* obj0
= 0 ;
24242 PyObject
* obj1
= 0 ;
24243 char * kwnames
[] = {
24244 (char *) "self",(char *) "quality", NULL
24247 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetQuality",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24248 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24249 if (!SWIG_IsOK(res1
)) {
24250 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetQuality" "', expected argument " "1"" of type '" "wxPrintData *""'");
24252 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24253 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24254 if (!SWIG_IsOK(ecode2
)) {
24255 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetQuality" "', expected argument " "2"" of type '" "int""'");
24257 arg2
= static_cast< int >(val2
);
24259 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24260 (arg1
)->SetQuality(arg2
);
24261 wxPyEndAllowThreads(__tstate
);
24262 if (PyErr_Occurred()) SWIG_fail
;
24264 resultobj
= SWIG_Py_Void();
24271 SWIGINTERN PyObject
*_wrap_PrintData_SetBin(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24272 PyObject
*resultobj
= 0;
24273 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24279 PyObject
* obj0
= 0 ;
24280 PyObject
* obj1
= 0 ;
24281 char * kwnames
[] = {
24282 (char *) "self",(char *) "bin", NULL
24285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetBin",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24287 if (!SWIG_IsOK(res1
)) {
24288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetBin" "', expected argument " "1"" of type '" "wxPrintData *""'");
24290 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24291 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24292 if (!SWIG_IsOK(ecode2
)) {
24293 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetBin" "', expected argument " "2"" of type '" "wxPrintBin""'");
24295 arg2
= static_cast< wxPrintBin
>(val2
);
24297 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24298 (arg1
)->SetBin(arg2
);
24299 wxPyEndAllowThreads(__tstate
);
24300 if (PyErr_Occurred()) SWIG_fail
;
24302 resultobj
= SWIG_Py_Void();
24309 SWIGINTERN PyObject
*_wrap_PrintData_SetPrintMode(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24310 PyObject
*resultobj
= 0;
24311 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24317 PyObject
* obj0
= 0 ;
24318 PyObject
* obj1
= 0 ;
24319 char * kwnames
[] = {
24320 (char *) "self",(char *) "printMode", NULL
24323 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrintMode",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24324 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24325 if (!SWIG_IsOK(res1
)) {
24326 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrintMode" "', expected argument " "1"" of type '" "wxPrintData *""'");
24328 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24329 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
24330 if (!SWIG_IsOK(ecode2
)) {
24331 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintData_SetPrintMode" "', expected argument " "2"" of type '" "wxPrintMode""'");
24333 arg2
= static_cast< wxPrintMode
>(val2
);
24335 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24336 (arg1
)->SetPrintMode(arg2
);
24337 wxPyEndAllowThreads(__tstate
);
24338 if (PyErr_Occurred()) SWIG_fail
;
24340 resultobj
= SWIG_Py_Void();
24347 SWIGINTERN PyObject
*_wrap_PrintData_GetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24348 PyObject
*resultobj
= 0;
24349 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24353 PyObject
*swig_obj
[1] ;
24355 if (!args
) SWIG_fail
;
24356 swig_obj
[0] = args
;
24357 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24358 if (!SWIG_IsOK(res1
)) {
24359 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetFilename" "', expected argument " "1"" of type '" "wxPrintData const *""'");
24361 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24363 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24364 result
= ((wxPrintData
const *)arg1
)->GetFilename();
24365 wxPyEndAllowThreads(__tstate
);
24366 if (PyErr_Occurred()) SWIG_fail
;
24370 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
24372 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
24381 SWIGINTERN PyObject
*_wrap_PrintData_SetFilename(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24382 PyObject
*resultobj
= 0;
24383 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24384 wxString
*arg2
= 0 ;
24387 bool temp2
= false ;
24388 PyObject
* obj0
= 0 ;
24389 PyObject
* obj1
= 0 ;
24390 char * kwnames
[] = {
24391 (char *) "self",(char *) "filename", NULL
24394 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetFilename",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24395 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24396 if (!SWIG_IsOK(res1
)) {
24397 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetFilename" "', expected argument " "1"" of type '" "wxPrintData *""'");
24399 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24401 arg2
= wxString_in_helper(obj1
);
24402 if (arg2
== NULL
) SWIG_fail
;
24406 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24407 (arg1
)->SetFilename((wxString
const &)*arg2
);
24408 wxPyEndAllowThreads(__tstate
);
24409 if (PyErr_Occurred()) SWIG_fail
;
24411 resultobj
= SWIG_Py_Void();
24426 SWIGINTERN PyObject
*_wrap_PrintData_GetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24427 PyObject
*resultobj
= 0;
24428 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24429 PyObject
*result
= 0 ;
24432 PyObject
*swig_obj
[1] ;
24434 if (!args
) SWIG_fail
;
24435 swig_obj
[0] = args
;
24436 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24437 if (!SWIG_IsOK(res1
)) {
24438 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_GetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24440 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24442 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24443 result
= (PyObject
*)wxPrintData_GetPrivData(arg1
);
24444 wxPyEndAllowThreads(__tstate
);
24445 if (PyErr_Occurred()) SWIG_fail
;
24447 resultobj
= result
;
24454 SWIGINTERN PyObject
*_wrap_PrintData_SetPrivData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24455 PyObject
*resultobj
= 0;
24456 wxPrintData
*arg1
= (wxPrintData
*) 0 ;
24457 PyObject
*arg2
= (PyObject
*) 0 ;
24460 PyObject
* obj0
= 0 ;
24461 PyObject
* obj1
= 0 ;
24462 char * kwnames
[] = {
24463 (char *) "self",(char *) "data", NULL
24466 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintData_SetPrivData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24467 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
24468 if (!SWIG_IsOK(res1
)) {
24469 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintData_SetPrivData" "', expected argument " "1"" of type '" "wxPrintData *""'");
24471 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24474 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24475 wxPrintData_SetPrivData(arg1
,arg2
);
24476 wxPyEndAllowThreads(__tstate
);
24477 if (PyErr_Occurred()) SWIG_fail
;
24479 resultobj
= SWIG_Py_Void();
24486 SWIGINTERN PyObject
*PrintData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24488 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
24489 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintData
, SWIG_NewClientData(obj
));
24490 return SWIG_Py_Void();
24493 SWIGINTERN PyObject
*PrintData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24494 return SWIG_Python_InitShadowInstance(args
);
24497 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
24498 PyObject
*resultobj
= 0;
24499 wxPageSetupDialogData
*result
= 0 ;
24501 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
24503 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24504 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData();
24505 wxPyEndAllowThreads(__tstate
);
24506 if (PyErr_Occurred()) SWIG_fail
;
24508 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24515 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24516 PyObject
*resultobj
= 0;
24517 wxPageSetupDialogData
*arg1
= 0 ;
24518 wxPageSetupDialogData
*result
= 0 ;
24522 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24523 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0);
24524 if (!SWIG_IsOK(res1
)) {
24525 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24528 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData const &""'");
24530 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24532 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24533 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPageSetupDialogData
const &)*arg1
);
24534 wxPyEndAllowThreads(__tstate
);
24535 if (PyErr_Occurred()) SWIG_fail
;
24537 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24544 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
24545 PyObject
*resultobj
= 0;
24546 wxPrintData
*arg1
= 0 ;
24547 wxPageSetupDialogData
*result
= 0 ;
24551 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
24552 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
24553 if (!SWIG_IsOK(res1
)) {
24554 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24557 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
24559 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
24561 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24562 result
= (wxPageSetupDialogData
*)new wxPageSetupDialogData((wxPrintData
const &)*arg1
);
24563 wxPyEndAllowThreads(__tstate
);
24564 if (PyErr_Occurred()) SWIG_fail
;
24566 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_NEW
| 0 );
24573 SWIGINTERN PyObject
*_wrap_new_PageSetupDialogData(PyObject
*self
, PyObject
*args
) {
24577 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PageSetupDialogData",0,1,argv
))) SWIG_fail
;
24580 return _wrap_new_PageSetupDialogData__SWIG_0(self
, argc
, argv
);
24585 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPageSetupDialogData
, 0);
24586 _v
= SWIG_CheckState(res
);
24588 if (!_v
) goto check_2
;
24589 return _wrap_new_PageSetupDialogData__SWIG_1(self
, argc
, argv
);
24594 return _wrap_new_PageSetupDialogData__SWIG_2(self
, argc
, argv
);
24598 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PageSetupDialogData'");
24603 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24604 PyObject
*resultobj
= 0;
24605 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24608 PyObject
*swig_obj
[1] ;
24610 if (!args
) SWIG_fail
;
24611 swig_obj
[0] = args
;
24612 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, SWIG_POINTER_DISOWN
| 0 );
24613 if (!SWIG_IsOK(res1
)) {
24614 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24616 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24618 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24621 wxPyEndAllowThreads(__tstate
);
24622 if (PyErr_Occurred()) SWIG_fail
;
24624 resultobj
= SWIG_Py_Void();
24631 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24632 PyObject
*resultobj
= 0;
24633 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24639 PyObject
* obj0
= 0 ;
24640 PyObject
* obj1
= 0 ;
24641 char * kwnames
[] = {
24642 (char *) "self",(char *) "flag", NULL
24645 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24646 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24647 if (!SWIG_IsOK(res1
)) {
24648 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24650 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24651 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24652 if (!SWIG_IsOK(ecode2
)) {
24653 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
24655 arg2
= static_cast< bool >(val2
);
24657 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24658 (arg1
)->EnableHelp(arg2
);
24659 wxPyEndAllowThreads(__tstate
);
24660 if (PyErr_Occurred()) SWIG_fail
;
24662 resultobj
= SWIG_Py_Void();
24669 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24670 PyObject
*resultobj
= 0;
24671 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24677 PyObject
* obj0
= 0 ;
24678 PyObject
* obj1
= 0 ;
24679 char * kwnames
[] = {
24680 (char *) "self",(char *) "flag", NULL
24683 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24684 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24685 if (!SWIG_IsOK(res1
)) {
24686 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24688 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24689 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24690 if (!SWIG_IsOK(ecode2
)) {
24691 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableMargins" "', expected argument " "2"" of type '" "bool""'");
24693 arg2
= static_cast< bool >(val2
);
24695 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24696 (arg1
)->EnableMargins(arg2
);
24697 wxPyEndAllowThreads(__tstate
);
24698 if (PyErr_Occurred()) SWIG_fail
;
24700 resultobj
= SWIG_Py_Void();
24707 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24708 PyObject
*resultobj
= 0;
24709 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24715 PyObject
* obj0
= 0 ;
24716 PyObject
* obj1
= 0 ;
24717 char * kwnames
[] = {
24718 (char *) "self",(char *) "flag", NULL
24721 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnableOrientation",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24722 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24723 if (!SWIG_IsOK(res1
)) {
24724 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24726 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24727 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24728 if (!SWIG_IsOK(ecode2
)) {
24729 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnableOrientation" "', expected argument " "2"" of type '" "bool""'");
24731 arg2
= static_cast< bool >(val2
);
24733 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24734 (arg1
)->EnableOrientation(arg2
);
24735 wxPyEndAllowThreads(__tstate
);
24736 if (PyErr_Occurred()) SWIG_fail
;
24738 resultobj
= SWIG_Py_Void();
24745 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24746 PyObject
*resultobj
= 0;
24747 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24753 PyObject
* obj0
= 0 ;
24754 PyObject
* obj1
= 0 ;
24755 char * kwnames
[] = {
24756 (char *) "self",(char *) "flag", NULL
24759 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePaper",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24760 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24761 if (!SWIG_IsOK(res1
)) {
24762 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24764 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24765 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24766 if (!SWIG_IsOK(ecode2
)) {
24767 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePaper" "', expected argument " "2"" of type '" "bool""'");
24769 arg2
= static_cast< bool >(val2
);
24771 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24772 (arg1
)->EnablePaper(arg2
);
24773 wxPyEndAllowThreads(__tstate
);
24774 if (PyErr_Occurred()) SWIG_fail
;
24776 resultobj
= SWIG_Py_Void();
24783 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_EnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
24784 PyObject
*resultobj
= 0;
24785 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24791 PyObject
* obj0
= 0 ;
24792 PyObject
* obj1
= 0 ;
24793 char * kwnames
[] = {
24794 (char *) "self",(char *) "flag", NULL
24797 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_EnablePrinter",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
24798 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24799 if (!SWIG_IsOK(res1
)) {
24800 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24802 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24803 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
24804 if (!SWIG_IsOK(ecode2
)) {
24805 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_EnablePrinter" "', expected argument " "2"" of type '" "bool""'");
24807 arg2
= static_cast< bool >(val2
);
24809 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24810 (arg1
)->EnablePrinter(arg2
);
24811 wxPyEndAllowThreads(__tstate
);
24812 if (PyErr_Occurred()) SWIG_fail
;
24814 resultobj
= SWIG_Py_Void();
24821 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24822 PyObject
*resultobj
= 0;
24823 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24827 PyObject
*swig_obj
[1] ;
24829 if (!args
) SWIG_fail
;
24830 swig_obj
[0] = args
;
24831 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24832 if (!SWIG_IsOK(res1
)) {
24833 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24835 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24838 result
= (bool)(arg1
)->GetDefaultMinMargins();
24839 wxPyEndAllowThreads(__tstate
);
24840 if (PyErr_Occurred()) SWIG_fail
;
24843 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24851 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24852 PyObject
*resultobj
= 0;
24853 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24857 PyObject
*swig_obj
[1] ;
24859 if (!args
) SWIG_fail
;
24860 swig_obj
[0] = args
;
24861 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24862 if (!SWIG_IsOK(res1
)) {
24863 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24865 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24867 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24868 result
= (bool)(arg1
)->GetEnableMargins();
24869 wxPyEndAllowThreads(__tstate
);
24870 if (PyErr_Occurred()) SWIG_fail
;
24873 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24881 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableOrientation(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24882 PyObject
*resultobj
= 0;
24883 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24887 PyObject
*swig_obj
[1] ;
24889 if (!args
) SWIG_fail
;
24890 swig_obj
[0] = args
;
24891 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24892 if (!SWIG_IsOK(res1
)) {
24893 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableOrientation" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24895 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24897 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24898 result
= (bool)(arg1
)->GetEnableOrientation();
24899 wxPyEndAllowThreads(__tstate
);
24900 if (PyErr_Occurred()) SWIG_fail
;
24903 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24911 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePaper(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24912 PyObject
*resultobj
= 0;
24913 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24917 PyObject
*swig_obj
[1] ;
24919 if (!args
) SWIG_fail
;
24920 swig_obj
[0] = args
;
24921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24922 if (!SWIG_IsOK(res1
)) {
24923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePaper" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24925 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24928 result
= (bool)(arg1
)->GetEnablePaper();
24929 wxPyEndAllowThreads(__tstate
);
24930 if (PyErr_Occurred()) SWIG_fail
;
24933 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24941 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnablePrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24942 PyObject
*resultobj
= 0;
24943 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24947 PyObject
*swig_obj
[1] ;
24949 if (!args
) SWIG_fail
;
24950 swig_obj
[0] = args
;
24951 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24952 if (!SWIG_IsOK(res1
)) {
24953 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnablePrinter" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24955 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24957 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24958 result
= (bool)(arg1
)->GetEnablePrinter();
24959 wxPyEndAllowThreads(__tstate
);
24960 if (PyErr_Occurred()) SWIG_fail
;
24963 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
24971 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
24972 PyObject
*resultobj
= 0;
24973 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
24977 PyObject
*swig_obj
[1] ;
24979 if (!args
) SWIG_fail
;
24980 swig_obj
[0] = args
;
24981 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
24982 if (!SWIG_IsOK(res1
)) {
24983 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
24985 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
24987 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
24988 result
= (bool)(arg1
)->GetEnableHelp();
24989 wxPyEndAllowThreads(__tstate
);
24990 if (PyErr_Occurred()) SWIG_fail
;
24993 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25001 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25002 PyObject
*resultobj
= 0;
25003 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25007 PyObject
*swig_obj
[1] ;
25009 if (!args
) SWIG_fail
;
25010 swig_obj
[0] = args
;
25011 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25012 if (!SWIG_IsOK(res1
)) {
25013 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25015 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25017 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25018 result
= (bool)(arg1
)->GetDefaultInfo();
25019 wxPyEndAllowThreads(__tstate
);
25020 if (PyErr_Occurred()) SWIG_fail
;
25023 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25031 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25032 PyObject
*resultobj
= 0;
25033 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25037 PyObject
*swig_obj
[1] ;
25039 if (!args
) SWIG_fail
;
25040 swig_obj
[0] = args
;
25041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25042 if (!SWIG_IsOK(res1
)) {
25043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25045 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25048 result
= (arg1
)->GetMarginTopLeft();
25049 wxPyEndAllowThreads(__tstate
);
25050 if (PyErr_Occurred()) SWIG_fail
;
25052 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25059 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25060 PyObject
*resultobj
= 0;
25061 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25065 PyObject
*swig_obj
[1] ;
25067 if (!args
) SWIG_fail
;
25068 swig_obj
[0] = args
;
25069 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25070 if (!SWIG_IsOK(res1
)) {
25071 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25073 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25075 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25076 result
= (arg1
)->GetMarginBottomRight();
25077 wxPyEndAllowThreads(__tstate
);
25078 if (PyErr_Occurred()) SWIG_fail
;
25080 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25087 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25088 PyObject
*resultobj
= 0;
25089 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25093 PyObject
*swig_obj
[1] ;
25095 if (!args
) SWIG_fail
;
25096 swig_obj
[0] = args
;
25097 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25098 if (!SWIG_IsOK(res1
)) {
25099 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25101 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25103 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25104 result
= (arg1
)->GetMinMarginTopLeft();
25105 wxPyEndAllowThreads(__tstate
);
25106 if (PyErr_Occurred()) SWIG_fail
;
25108 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25115 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25116 PyObject
*resultobj
= 0;
25117 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25121 PyObject
*swig_obj
[1] ;
25123 if (!args
) SWIG_fail
;
25124 swig_obj
[0] = args
;
25125 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25126 if (!SWIG_IsOK(res1
)) {
25127 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25129 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25131 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25132 result
= (arg1
)->GetMinMarginBottomRight();
25133 wxPyEndAllowThreads(__tstate
);
25134 if (PyErr_Occurred()) SWIG_fail
;
25136 resultobj
= SWIG_NewPointerObj((new wxPoint(static_cast< const wxPoint
& >(result
))), SWIGTYPE_p_wxPoint
, SWIG_POINTER_OWN
| 0 );
25143 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25144 PyObject
*resultobj
= 0;
25145 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25146 wxPaperSize result
;
25149 PyObject
*swig_obj
[1] ;
25151 if (!args
) SWIG_fail
;
25152 swig_obj
[0] = args
;
25153 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25154 if (!SWIG_IsOK(res1
)) {
25155 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25157 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25159 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25160 result
= (wxPaperSize
)(arg1
)->GetPaperId();
25161 wxPyEndAllowThreads(__tstate
);
25162 if (PyErr_Occurred()) SWIG_fail
;
25164 resultobj
= SWIG_From_int(static_cast< int >(result
));
25171 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25172 PyObject
*resultobj
= 0;
25173 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25177 PyObject
*swig_obj
[1] ;
25179 if (!args
) SWIG_fail
;
25180 swig_obj
[0] = args
;
25181 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25182 if (!SWIG_IsOK(res1
)) {
25183 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25185 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25187 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25188 result
= (arg1
)->GetPaperSize();
25189 wxPyEndAllowThreads(__tstate
);
25190 if (PyErr_Occurred()) SWIG_fail
;
25192 resultobj
= SWIG_NewPointerObj((new wxSize(static_cast< const wxSize
& >(result
))), SWIGTYPE_p_wxSize
, SWIG_POINTER_OWN
| 0 );
25199 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25200 PyObject
*resultobj
= 0;
25201 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25202 wxPrintData
*result
= 0 ;
25205 PyObject
*swig_obj
[1] ;
25207 if (!args
) SWIG_fail
;
25208 swig_obj
[0] = args
;
25209 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25210 if (!SWIG_IsOK(res1
)) {
25211 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25213 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25215 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25217 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
25218 result
= (wxPrintData
*) &_result_ref
;
25220 wxPyEndAllowThreads(__tstate
);
25221 if (PyErr_Occurred()) SWIG_fail
;
25223 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
25230 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25231 PyObject
*resultobj
= 0;
25232 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25236 PyObject
*swig_obj
[1] ;
25238 if (!args
) SWIG_fail
;
25239 swig_obj
[0] = args
;
25240 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25241 if (!SWIG_IsOK(res1
)) {
25242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_Ok" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25244 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25247 result
= (bool)(arg1
)->Ok();
25248 wxPyEndAllowThreads(__tstate
);
25249 if (PyErr_Occurred()) SWIG_fail
;
25252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
25260 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25261 PyObject
*resultobj
= 0;
25262 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25268 PyObject
* obj0
= 0 ;
25269 PyObject
* obj1
= 0 ;
25270 char * kwnames
[] = {
25271 (char *) "self",(char *) "flag", NULL
25274 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultInfo",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25275 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25276 if (!SWIG_IsOK(res1
)) {
25277 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25279 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25280 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25281 if (!SWIG_IsOK(ecode2
)) {
25282 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultInfo" "', expected argument " "2"" of type '" "bool""'");
25284 arg2
= static_cast< bool >(val2
);
25286 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25287 (arg1
)->SetDefaultInfo(arg2
);
25288 wxPyEndAllowThreads(__tstate
);
25289 if (PyErr_Occurred()) SWIG_fail
;
25291 resultobj
= SWIG_Py_Void();
25298 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetDefaultMinMargins(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25299 PyObject
*resultobj
= 0;
25300 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25306 PyObject
* obj0
= 0 ;
25307 PyObject
* obj1
= 0 ;
25308 char * kwnames
[] = {
25309 (char *) "self",(char *) "flag", NULL
25312 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetDefaultMinMargins",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25313 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25314 if (!SWIG_IsOK(res1
)) {
25315 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25317 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25318 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
25319 if (!SWIG_IsOK(ecode2
)) {
25320 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetDefaultMinMargins" "', expected argument " "2"" of type '" "bool""'");
25322 arg2
= static_cast< bool >(val2
);
25324 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25325 (arg1
)->SetDefaultMinMargins(arg2
);
25326 wxPyEndAllowThreads(__tstate
);
25327 if (PyErr_Occurred()) SWIG_fail
;
25329 resultobj
= SWIG_Py_Void();
25336 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25337 PyObject
*resultobj
= 0;
25338 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25339 wxPoint
*arg2
= 0 ;
25343 PyObject
* obj0
= 0 ;
25344 PyObject
* obj1
= 0 ;
25345 char * kwnames
[] = {
25346 (char *) "self",(char *) "pt", NULL
25349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25351 if (!SWIG_IsOK(res1
)) {
25352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25354 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25357 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25360 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25361 (arg1
)->SetMarginTopLeft((wxPoint
const &)*arg2
);
25362 wxPyEndAllowThreads(__tstate
);
25363 if (PyErr_Occurred()) SWIG_fail
;
25365 resultobj
= SWIG_Py_Void();
25372 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25373 PyObject
*resultobj
= 0;
25374 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25375 wxPoint
*arg2
= 0 ;
25379 PyObject
* obj0
= 0 ;
25380 PyObject
* obj1
= 0 ;
25381 char * kwnames
[] = {
25382 (char *) "self",(char *) "pt", NULL
25385 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25386 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25387 if (!SWIG_IsOK(res1
)) {
25388 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25390 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25393 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25397 (arg1
)->SetMarginBottomRight((wxPoint
const &)*arg2
);
25398 wxPyEndAllowThreads(__tstate
);
25399 if (PyErr_Occurred()) SWIG_fail
;
25401 resultobj
= SWIG_Py_Void();
25408 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginTopLeft(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25409 PyObject
*resultobj
= 0;
25410 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25411 wxPoint
*arg2
= 0 ;
25415 PyObject
* obj0
= 0 ;
25416 PyObject
* obj1
= 0 ;
25417 char * kwnames
[] = {
25418 (char *) "self",(char *) "pt", NULL
25421 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginTopLeft",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25422 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25423 if (!SWIG_IsOK(res1
)) {
25424 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginTopLeft" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25426 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25429 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25432 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25433 (arg1
)->SetMinMarginTopLeft((wxPoint
const &)*arg2
);
25434 wxPyEndAllowThreads(__tstate
);
25435 if (PyErr_Occurred()) SWIG_fail
;
25437 resultobj
= SWIG_Py_Void();
25444 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetMinMarginBottomRight(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25445 PyObject
*resultobj
= 0;
25446 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25447 wxPoint
*arg2
= 0 ;
25451 PyObject
* obj0
= 0 ;
25452 PyObject
* obj1
= 0 ;
25453 char * kwnames
[] = {
25454 (char *) "self",(char *) "pt", NULL
25457 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetMinMarginBottomRight",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25458 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25459 if (!SWIG_IsOK(res1
)) {
25460 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetMinMarginBottomRight" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25462 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25465 if ( ! wxPoint_helper(obj1
, &arg2
)) SWIG_fail
;
25468 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25469 (arg1
)->SetMinMarginBottomRight((wxPoint
const &)*arg2
);
25470 wxPyEndAllowThreads(__tstate
);
25471 if (PyErr_Occurred()) SWIG_fail
;
25473 resultobj
= SWIG_Py_Void();
25480 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25481 PyObject
*resultobj
= 0;
25482 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25488 PyObject
* obj0
= 0 ;
25489 PyObject
* obj1
= 0 ;
25490 char * kwnames
[] = {
25491 (char *) "self",(char *) "id", NULL
25494 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperId",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25495 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25496 if (!SWIG_IsOK(res1
)) {
25497 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25499 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25500 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
25501 if (!SWIG_IsOK(ecode2
)) {
25502 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PageSetupDialogData_SetPaperId" "', expected argument " "2"" of type '" "wxPaperSize""'");
25504 arg2
= static_cast< wxPaperSize
>(val2
);
25506 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25507 (arg1
)->SetPaperId(arg2
);
25508 wxPyEndAllowThreads(__tstate
);
25509 if (PyErr_Occurred()) SWIG_fail
;
25511 resultobj
= SWIG_Py_Void();
25518 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25519 PyObject
*resultobj
= 0;
25520 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25525 PyObject
* obj0
= 0 ;
25526 PyObject
* obj1
= 0 ;
25527 char * kwnames
[] = {
25528 (char *) "self",(char *) "size", NULL
25531 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPaperSize",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25532 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25533 if (!SWIG_IsOK(res1
)) {
25534 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25536 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25539 if ( ! wxSize_helper(obj1
, &arg2
)) SWIG_fail
;
25542 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25543 (arg1
)->SetPaperSize((wxSize
const &)*arg2
);
25544 wxPyEndAllowThreads(__tstate
);
25545 if (PyErr_Occurred()) SWIG_fail
;
25547 resultobj
= SWIG_Py_Void();
25554 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25555 PyObject
*resultobj
= 0;
25556 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25557 wxPrintData
*arg2
= 0 ;
25562 PyObject
* obj0
= 0 ;
25563 PyObject
* obj1
= 0 ;
25564 char * kwnames
[] = {
25565 (char *) "self",(char *) "printData", NULL
25568 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PageSetupDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25569 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25570 if (!SWIG_IsOK(res1
)) {
25571 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25573 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25574 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25575 if (!SWIG_IsOK(res2
)) {
25576 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25579 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PageSetupDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
25581 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
25583 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25584 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
25585 wxPyEndAllowThreads(__tstate
);
25586 if (PyErr_Occurred()) SWIG_fail
;
25588 resultobj
= SWIG_Py_Void();
25595 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculateIdFromPaperSize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25596 PyObject
*resultobj
= 0;
25597 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25600 PyObject
*swig_obj
[1] ;
25602 if (!args
) SWIG_fail
;
25603 swig_obj
[0] = args
;
25604 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25605 if (!SWIG_IsOK(res1
)) {
25606 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculateIdFromPaperSize" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25608 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25610 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25611 (arg1
)->CalculateIdFromPaperSize();
25612 wxPyEndAllowThreads(__tstate
);
25613 if (PyErr_Occurred()) SWIG_fail
;
25615 resultobj
= SWIG_Py_Void();
25622 SWIGINTERN PyObject
*_wrap_PageSetupDialogData_CalculatePaperSizeFromId(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25623 PyObject
*resultobj
= 0;
25624 wxPageSetupDialogData
*arg1
= (wxPageSetupDialogData
*) 0 ;
25627 PyObject
*swig_obj
[1] ;
25629 if (!args
) SWIG_fail
;
25630 swig_obj
[0] = args
;
25631 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25632 if (!SWIG_IsOK(res1
)) {
25633 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialogData_CalculatePaperSizeFromId" "', expected argument " "1"" of type '" "wxPageSetupDialogData *""'");
25635 arg1
= reinterpret_cast< wxPageSetupDialogData
* >(argp1
);
25637 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25638 (arg1
)->CalculatePaperSizeFromId();
25639 wxPyEndAllowThreads(__tstate
);
25640 if (PyErr_Occurred()) SWIG_fail
;
25642 resultobj
= SWIG_Py_Void();
25649 SWIGINTERN PyObject
*PageSetupDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25651 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25652 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialogData
, SWIG_NewClientData(obj
));
25653 return SWIG_Py_Void();
25656 SWIGINTERN PyObject
*PageSetupDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25657 return SWIG_Python_InitShadowInstance(args
);
25660 SWIGINTERN PyObject
*_wrap_new_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
25661 PyObject
*resultobj
= 0;
25662 wxWindow
*arg1
= (wxWindow
*) 0 ;
25663 wxPageSetupDialogData
*arg2
= (wxPageSetupDialogData
*) NULL
;
25664 wxPageSetupDialog
*result
= 0 ;
25669 PyObject
* obj0
= 0 ;
25670 PyObject
* obj1
= 0 ;
25671 char * kwnames
[] = {
25672 (char *) "parent",(char *) "data", NULL
25675 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PageSetupDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
25676 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
25677 if (!SWIG_IsOK(res1
)) {
25678 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PageSetupDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
25680 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
25682 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25683 if (!SWIG_IsOK(res2
)) {
25684 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PageSetupDialog" "', expected argument " "2"" of type '" "wxPageSetupDialogData *""'");
25686 arg2
= reinterpret_cast< wxPageSetupDialogData
* >(argp2
);
25689 if (!wxPyCheckForApp()) SWIG_fail
;
25690 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25691 result
= (wxPageSetupDialog
*)new wxPageSetupDialog(arg1
,arg2
);
25692 wxPyEndAllowThreads(__tstate
);
25693 if (PyErr_Occurred()) SWIG_fail
;
25695 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_NEW
| 0 );
25702 SWIGINTERN PyObject
*_wrap_delete_PageSetupDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25703 PyObject
*resultobj
= 0;
25704 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25707 PyObject
*swig_obj
[1] ;
25709 if (!args
) SWIG_fail
;
25710 swig_obj
[0] = args
;
25711 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, SWIG_POINTER_DISOWN
| 0 );
25712 if (!SWIG_IsOK(res1
)) {
25713 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PageSetupDialog" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25715 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25717 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25720 wxPyEndAllowThreads(__tstate
);
25721 if (PyErr_Occurred()) SWIG_fail
;
25723 resultobj
= SWIG_Py_Void();
25730 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25731 PyObject
*resultobj
= 0;
25732 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25733 wxPageSetupDialogData
*result
= 0 ;
25736 PyObject
*swig_obj
[1] ;
25738 if (!args
) SWIG_fail
;
25739 swig_obj
[0] = args
;
25740 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25741 if (!SWIG_IsOK(res1
)) {
25742 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25744 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25746 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25748 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupData();
25749 result
= (wxPageSetupDialogData
*) &_result_ref
;
25751 wxPyEndAllowThreads(__tstate
);
25752 if (PyErr_Occurred()) SWIG_fail
;
25754 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25761 SWIGINTERN PyObject
*_wrap_PageSetupDialog_GetPageSetupDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25762 PyObject
*resultobj
= 0;
25763 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25764 wxPageSetupDialogData
*result
= 0 ;
25767 PyObject
*swig_obj
[1] ;
25769 if (!args
) SWIG_fail
;
25770 swig_obj
[0] = args
;
25771 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25772 if (!SWIG_IsOK(res1
)) {
25773 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_GetPageSetupDialogData" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25775 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25777 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25779 wxPageSetupDialogData
&_result_ref
= (arg1
)->GetPageSetupDialogData();
25780 result
= (wxPageSetupDialogData
*) &_result_ref
;
25782 wxPyEndAllowThreads(__tstate
);
25783 if (PyErr_Occurred()) SWIG_fail
;
25785 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPageSetupDialogData
, 0 | 0 );
25792 SWIGINTERN PyObject
*_wrap_PageSetupDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25793 PyObject
*resultobj
= 0;
25794 wxPageSetupDialog
*arg1
= (wxPageSetupDialog
*) 0 ;
25798 PyObject
*swig_obj
[1] ;
25800 if (!args
) SWIG_fail
;
25801 swig_obj
[0] = args
;
25802 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPageSetupDialog
, 0 | 0 );
25803 if (!SWIG_IsOK(res1
)) {
25804 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PageSetupDialog_ShowModal" "', expected argument " "1"" of type '" "wxPageSetupDialog *""'");
25806 arg1
= reinterpret_cast< wxPageSetupDialog
* >(argp1
);
25808 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25809 result
= (int)(arg1
)->ShowModal();
25810 wxPyEndAllowThreads(__tstate
);
25811 if (PyErr_Occurred()) SWIG_fail
;
25813 resultobj
= SWIG_From_int(static_cast< int >(result
));
25820 SWIGINTERN PyObject
*PageSetupDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25822 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
25823 SWIG_TypeNewClientData(SWIGTYPE_p_wxPageSetupDialog
, SWIG_NewClientData(obj
));
25824 return SWIG_Py_Void();
25827 SWIGINTERN PyObject
*PageSetupDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25828 return SWIG_Python_InitShadowInstance(args
);
25831 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**SWIGUNUSEDPARM(swig_obj
)) {
25832 PyObject
*resultobj
= 0;
25833 wxPrintDialogData
*result
= 0 ;
25835 if ((nobjs
< 0) || (nobjs
> 0)) SWIG_fail
;
25837 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25838 result
= (wxPrintDialogData
*)new wxPrintDialogData();
25839 wxPyEndAllowThreads(__tstate
);
25840 if (PyErr_Occurred()) SWIG_fail
;
25842 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25849 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25850 PyObject
*resultobj
= 0;
25851 wxPrintData
*arg1
= 0 ;
25852 wxPrintDialogData
*result
= 0 ;
25856 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25857 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintData
, 0 | 0);
25858 if (!SWIG_IsOK(res1
)) {
25859 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25862 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintData const &""'");
25864 arg1
= reinterpret_cast< wxPrintData
* >(argp1
);
25866 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25867 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintData
const &)*arg1
);
25868 wxPyEndAllowThreads(__tstate
);
25869 if (PyErr_Occurred()) SWIG_fail
;
25871 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25878 SWIGINTERN PyObject
*_wrap_new_PrintDialogData__SWIG_2(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
25879 PyObject
*resultobj
= 0;
25880 wxPrintDialogData
*arg1
= 0 ;
25881 wxPrintDialogData
*result
= 0 ;
25885 if ((nobjs
< 1) || (nobjs
> 1)) SWIG_fail
;
25886 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
, SWIGTYPE_p_wxPrintDialogData
, 0 | 0);
25887 if (!SWIG_IsOK(res1
)) {
25888 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25891 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "new_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData const &""'");
25893 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25896 result
= (wxPrintDialogData
*)new wxPrintDialogData((wxPrintDialogData
const &)*arg1
);
25897 wxPyEndAllowThreads(__tstate
);
25898 if (PyErr_Occurred()) SWIG_fail
;
25900 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_NEW
| 0 );
25907 SWIGINTERN PyObject
*_wrap_new_PrintDialogData(PyObject
*self
, PyObject
*args
) {
25911 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintDialogData",0,1,argv
))) SWIG_fail
;
25914 return _wrap_new_PrintDialogData__SWIG_0(self
, argc
, argv
);
25919 int res
= SWIG_ConvertPtr(argv
[0], 0, SWIGTYPE_p_wxPrintData
, 0);
25920 _v
= SWIG_CheckState(res
);
25922 if (!_v
) goto check_2
;
25923 return _wrap_new_PrintDialogData__SWIG_1(self
, argc
, argv
);
25928 return _wrap_new_PrintDialogData__SWIG_2(self
, argc
, argv
);
25932 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintDialogData'");
25937 SWIGINTERN PyObject
*_wrap_delete_PrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25938 PyObject
*resultobj
= 0;
25939 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25942 PyObject
*swig_obj
[1] ;
25944 if (!args
) SWIG_fail
;
25945 swig_obj
[0] = args
;
25946 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, SWIG_POINTER_DISOWN
| 0 );
25947 if (!SWIG_IsOK(res1
)) {
25948 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
25950 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25952 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25955 wxPyEndAllowThreads(__tstate
);
25956 if (PyErr_Occurred()) SWIG_fail
;
25958 resultobj
= SWIG_Py_Void();
25965 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25966 PyObject
*resultobj
= 0;
25967 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25971 PyObject
*swig_obj
[1] ;
25973 if (!args
) SWIG_fail
;
25974 swig_obj
[0] = args
;
25975 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
25976 if (!SWIG_IsOK(res1
)) {
25977 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
25979 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
25981 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
25982 result
= (int)((wxPrintDialogData
const *)arg1
)->GetFromPage();
25983 wxPyEndAllowThreads(__tstate
);
25984 if (PyErr_Occurred()) SWIG_fail
;
25986 resultobj
= SWIG_From_int(static_cast< int >(result
));
25993 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
25994 PyObject
*resultobj
= 0;
25995 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
25999 PyObject
*swig_obj
[1] ;
26001 if (!args
) SWIG_fail
;
26002 swig_obj
[0] = args
;
26003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26004 if (!SWIG_IsOK(res1
)) {
26005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26007 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26010 result
= (int)((wxPrintDialogData
const *)arg1
)->GetToPage();
26011 wxPyEndAllowThreads(__tstate
);
26012 if (PyErr_Occurred()) SWIG_fail
;
26014 resultobj
= SWIG_From_int(static_cast< int >(result
));
26021 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26022 PyObject
*resultobj
= 0;
26023 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26027 PyObject
*swig_obj
[1] ;
26029 if (!args
) SWIG_fail
;
26030 swig_obj
[0] = args
;
26031 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26032 if (!SWIG_IsOK(res1
)) {
26033 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26035 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26037 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26038 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMinPage();
26039 wxPyEndAllowThreads(__tstate
);
26040 if (PyErr_Occurred()) SWIG_fail
;
26042 resultobj
= SWIG_From_int(static_cast< int >(result
));
26049 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26050 PyObject
*resultobj
= 0;
26051 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26055 PyObject
*swig_obj
[1] ;
26057 if (!args
) SWIG_fail
;
26058 swig_obj
[0] = args
;
26059 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26060 if (!SWIG_IsOK(res1
)) {
26061 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26063 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26065 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26066 result
= (int)((wxPrintDialogData
const *)arg1
)->GetMaxPage();
26067 wxPyEndAllowThreads(__tstate
);
26068 if (PyErr_Occurred()) SWIG_fail
;
26070 resultobj
= SWIG_From_int(static_cast< int >(result
));
26077 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26078 PyObject
*resultobj
= 0;
26079 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26083 PyObject
*swig_obj
[1] ;
26085 if (!args
) SWIG_fail
;
26086 swig_obj
[0] = args
;
26087 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26088 if (!SWIG_IsOK(res1
)) {
26089 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26091 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26093 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26094 result
= (int)((wxPrintDialogData
const *)arg1
)->GetNoCopies();
26095 wxPyEndAllowThreads(__tstate
);
26096 if (PyErr_Occurred()) SWIG_fail
;
26098 resultobj
= SWIG_From_int(static_cast< int >(result
));
26105 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26106 PyObject
*resultobj
= 0;
26107 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26111 PyObject
*swig_obj
[1] ;
26113 if (!args
) SWIG_fail
;
26114 swig_obj
[0] = args
;
26115 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26116 if (!SWIG_IsOK(res1
)) {
26117 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26119 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26121 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26122 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetAllPages();
26123 wxPyEndAllowThreads(__tstate
);
26124 if (PyErr_Occurred()) SWIG_fail
;
26127 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26135 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26136 PyObject
*resultobj
= 0;
26137 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26141 PyObject
*swig_obj
[1] ;
26143 if (!args
) SWIG_fail
;
26144 swig_obj
[0] = args
;
26145 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26146 if (!SWIG_IsOK(res1
)) {
26147 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26149 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26151 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26152 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetSelection();
26153 wxPyEndAllowThreads(__tstate
);
26154 if (PyErr_Occurred()) SWIG_fail
;
26157 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26165 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26166 PyObject
*resultobj
= 0;
26167 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26171 PyObject
*swig_obj
[1] ;
26173 if (!args
) SWIG_fail
;
26174 swig_obj
[0] = args
;
26175 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26176 if (!SWIG_IsOK(res1
)) {
26177 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26179 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26181 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26182 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetCollate();
26183 wxPyEndAllowThreads(__tstate
);
26184 if (PyErr_Occurred()) SWIG_fail
;
26187 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26195 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26196 PyObject
*resultobj
= 0;
26197 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26201 PyObject
*swig_obj
[1] ;
26203 if (!args
) SWIG_fail
;
26204 swig_obj
[0] = args
;
26205 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26206 if (!SWIG_IsOK(res1
)) {
26207 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26209 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26211 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26212 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetPrintToFile();
26213 wxPyEndAllowThreads(__tstate
);
26214 if (PyErr_Occurred()) SWIG_fail
;
26217 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26225 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetFromPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26226 PyObject
*resultobj
= 0;
26227 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26233 PyObject
* obj0
= 0 ;
26234 PyObject
* obj1
= 0 ;
26235 char * kwnames
[] = {
26236 (char *) "self",(char *) "v", NULL
26239 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetFromPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26240 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26241 if (!SWIG_IsOK(res1
)) {
26242 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26244 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26245 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26246 if (!SWIG_IsOK(ecode2
)) {
26247 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetFromPage" "', expected argument " "2"" of type '" "int""'");
26249 arg2
= static_cast< int >(val2
);
26251 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26252 (arg1
)->SetFromPage(arg2
);
26253 wxPyEndAllowThreads(__tstate
);
26254 if (PyErr_Occurred()) SWIG_fail
;
26256 resultobj
= SWIG_Py_Void();
26263 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetToPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26264 PyObject
*resultobj
= 0;
26265 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26271 PyObject
* obj0
= 0 ;
26272 PyObject
* obj1
= 0 ;
26273 char * kwnames
[] = {
26274 (char *) "self",(char *) "v", NULL
26277 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetToPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26278 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26279 if (!SWIG_IsOK(res1
)) {
26280 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26282 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26283 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26284 if (!SWIG_IsOK(ecode2
)) {
26285 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetToPage" "', expected argument " "2"" of type '" "int""'");
26287 arg2
= static_cast< int >(val2
);
26289 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26290 (arg1
)->SetToPage(arg2
);
26291 wxPyEndAllowThreads(__tstate
);
26292 if (PyErr_Occurred()) SWIG_fail
;
26294 resultobj
= SWIG_Py_Void();
26301 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26302 PyObject
*resultobj
= 0;
26303 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26309 PyObject
* obj0
= 0 ;
26310 PyObject
* obj1
= 0 ;
26311 char * kwnames
[] = {
26312 (char *) "self",(char *) "v", NULL
26315 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMinPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26316 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26317 if (!SWIG_IsOK(res1
)) {
26318 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26320 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26321 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26322 if (!SWIG_IsOK(ecode2
)) {
26323 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMinPage" "', expected argument " "2"" of type '" "int""'");
26325 arg2
= static_cast< int >(val2
);
26327 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26328 (arg1
)->SetMinPage(arg2
);
26329 wxPyEndAllowThreads(__tstate
);
26330 if (PyErr_Occurred()) SWIG_fail
;
26332 resultobj
= SWIG_Py_Void();
26339 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26340 PyObject
*resultobj
= 0;
26341 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26347 PyObject
* obj0
= 0 ;
26348 PyObject
* obj1
= 0 ;
26349 char * kwnames
[] = {
26350 (char *) "self",(char *) "v", NULL
26353 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetMaxPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26354 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26355 if (!SWIG_IsOK(res1
)) {
26356 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26358 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26359 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26360 if (!SWIG_IsOK(ecode2
)) {
26361 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetMaxPage" "', expected argument " "2"" of type '" "int""'");
26363 arg2
= static_cast< int >(val2
);
26365 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26366 (arg1
)->SetMaxPage(arg2
);
26367 wxPyEndAllowThreads(__tstate
);
26368 if (PyErr_Occurred()) SWIG_fail
;
26370 resultobj
= SWIG_Py_Void();
26377 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetNoCopies(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26378 PyObject
*resultobj
= 0;
26379 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26385 PyObject
* obj0
= 0 ;
26386 PyObject
* obj1
= 0 ;
26387 char * kwnames
[] = {
26388 (char *) "self",(char *) "v", NULL
26391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetNoCopies",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26393 if (!SWIG_IsOK(res1
)) {
26394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26396 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26397 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
26398 if (!SWIG_IsOK(ecode2
)) {
26399 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetNoCopies" "', expected argument " "2"" of type '" "int""'");
26401 arg2
= static_cast< int >(val2
);
26403 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26404 (arg1
)->SetNoCopies(arg2
);
26405 wxPyEndAllowThreads(__tstate
);
26406 if (PyErr_Occurred()) SWIG_fail
;
26408 resultobj
= SWIG_Py_Void();
26415 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetAllPages(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26416 PyObject
*resultobj
= 0;
26417 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26423 PyObject
* obj0
= 0 ;
26424 PyObject
* obj1
= 0 ;
26425 char * kwnames
[] = {
26426 (char *) "self",(char *) "flag", NULL
26429 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetAllPages",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26430 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26431 if (!SWIG_IsOK(res1
)) {
26432 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26434 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26435 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26436 if (!SWIG_IsOK(ecode2
)) {
26437 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetAllPages" "', expected argument " "2"" of type '" "bool""'");
26439 arg2
= static_cast< bool >(val2
);
26441 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26442 (arg1
)->SetAllPages(arg2
);
26443 wxPyEndAllowThreads(__tstate
);
26444 if (PyErr_Occurred()) SWIG_fail
;
26446 resultobj
= SWIG_Py_Void();
26453 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26454 PyObject
*resultobj
= 0;
26455 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26461 PyObject
* obj0
= 0 ;
26462 PyObject
* obj1
= 0 ;
26463 char * kwnames
[] = {
26464 (char *) "self",(char *) "flag", NULL
26467 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26468 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26469 if (!SWIG_IsOK(res1
)) {
26470 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26472 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26473 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26474 if (!SWIG_IsOK(ecode2
)) {
26475 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetSelection" "', expected argument " "2"" of type '" "bool""'");
26477 arg2
= static_cast< bool >(val2
);
26479 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26480 (arg1
)->SetSelection(arg2
);
26481 wxPyEndAllowThreads(__tstate
);
26482 if (PyErr_Occurred()) SWIG_fail
;
26484 resultobj
= SWIG_Py_Void();
26491 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetCollate(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26492 PyObject
*resultobj
= 0;
26493 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26499 PyObject
* obj0
= 0 ;
26500 PyObject
* obj1
= 0 ;
26501 char * kwnames
[] = {
26502 (char *) "self",(char *) "flag", NULL
26505 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetCollate",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26506 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26507 if (!SWIG_IsOK(res1
)) {
26508 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26510 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26511 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26512 if (!SWIG_IsOK(ecode2
)) {
26513 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetCollate" "', expected argument " "2"" of type '" "bool""'");
26515 arg2
= static_cast< bool >(val2
);
26517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26518 (arg1
)->SetCollate(arg2
);
26519 wxPyEndAllowThreads(__tstate
);
26520 if (PyErr_Occurred()) SWIG_fail
;
26522 resultobj
= SWIG_Py_Void();
26529 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26530 PyObject
*resultobj
= 0;
26531 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26537 PyObject
* obj0
= 0 ;
26538 PyObject
* obj1
= 0 ;
26539 char * kwnames
[] = {
26540 (char *) "self",(char *) "flag", NULL
26543 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26544 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26545 if (!SWIG_IsOK(res1
)) {
26546 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26548 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26549 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26550 if (!SWIG_IsOK(ecode2
)) {
26551 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_SetPrintToFile" "', expected argument " "2"" of type '" "bool""'");
26553 arg2
= static_cast< bool >(val2
);
26555 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26556 (arg1
)->SetPrintToFile(arg2
);
26557 wxPyEndAllowThreads(__tstate
);
26558 if (PyErr_Occurred()) SWIG_fail
;
26560 resultobj
= SWIG_Py_Void();
26567 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26568 PyObject
*resultobj
= 0;
26569 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26575 PyObject
* obj0
= 0 ;
26576 PyObject
* obj1
= 0 ;
26577 char * kwnames
[] = {
26578 (char *) "self",(char *) "flag", NULL
26581 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePrintToFile",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26582 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26583 if (!SWIG_IsOK(res1
)) {
26584 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26586 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26587 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26588 if (!SWIG_IsOK(ecode2
)) {
26589 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePrintToFile" "', expected argument " "2"" of type '" "bool""'");
26591 arg2
= static_cast< bool >(val2
);
26593 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26594 (arg1
)->EnablePrintToFile(arg2
);
26595 wxPyEndAllowThreads(__tstate
);
26596 if (PyErr_Occurred()) SWIG_fail
;
26598 resultobj
= SWIG_Py_Void();
26605 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26606 PyObject
*resultobj
= 0;
26607 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26613 PyObject
* obj0
= 0 ;
26614 PyObject
* obj1
= 0 ;
26615 char * kwnames
[] = {
26616 (char *) "self",(char *) "flag", NULL
26619 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableSelection",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26620 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26621 if (!SWIG_IsOK(res1
)) {
26622 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26624 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26625 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26626 if (!SWIG_IsOK(ecode2
)) {
26627 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableSelection" "', expected argument " "2"" of type '" "bool""'");
26629 arg2
= static_cast< bool >(val2
);
26631 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26632 (arg1
)->EnableSelection(arg2
);
26633 wxPyEndAllowThreads(__tstate
);
26634 if (PyErr_Occurred()) SWIG_fail
;
26636 resultobj
= SWIG_Py_Void();
26643 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26644 PyObject
*resultobj
= 0;
26645 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26651 PyObject
* obj0
= 0 ;
26652 PyObject
* obj1
= 0 ;
26653 char * kwnames
[] = {
26654 (char *) "self",(char *) "flag", NULL
26657 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnablePageNumbers",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26658 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26659 if (!SWIG_IsOK(res1
)) {
26660 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26662 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26663 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26664 if (!SWIG_IsOK(ecode2
)) {
26665 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnablePageNumbers" "', expected argument " "2"" of type '" "bool""'");
26667 arg2
= static_cast< bool >(val2
);
26669 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26670 (arg1
)->EnablePageNumbers(arg2
);
26671 wxPyEndAllowThreads(__tstate
);
26672 if (PyErr_Occurred()) SWIG_fail
;
26674 resultobj
= SWIG_Py_Void();
26681 SWIGINTERN PyObject
*_wrap_PrintDialogData_EnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26682 PyObject
*resultobj
= 0;
26683 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26689 PyObject
* obj0
= 0 ;
26690 PyObject
* obj1
= 0 ;
26691 char * kwnames
[] = {
26692 (char *) "self",(char *) "flag", NULL
26695 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_EnableHelp",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26696 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26697 if (!SWIG_IsOK(res1
)) {
26698 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26700 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26701 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
26702 if (!SWIG_IsOK(ecode2
)) {
26703 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintDialogData_EnableHelp" "', expected argument " "2"" of type '" "bool""'");
26705 arg2
= static_cast< bool >(val2
);
26707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26708 (arg1
)->EnableHelp(arg2
);
26709 wxPyEndAllowThreads(__tstate
);
26710 if (PyErr_Occurred()) SWIG_fail
;
26712 resultobj
= SWIG_Py_Void();
26719 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePrintToFile(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26720 PyObject
*resultobj
= 0;
26721 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26725 PyObject
*swig_obj
[1] ;
26727 if (!args
) SWIG_fail
;
26728 swig_obj
[0] = args
;
26729 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26730 if (!SWIG_IsOK(res1
)) {
26731 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePrintToFile" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26733 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26735 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26736 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePrintToFile();
26737 wxPyEndAllowThreads(__tstate
);
26738 if (PyErr_Occurred()) SWIG_fail
;
26741 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26749 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableSelection(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26750 PyObject
*resultobj
= 0;
26751 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26755 PyObject
*swig_obj
[1] ;
26757 if (!args
) SWIG_fail
;
26758 swig_obj
[0] = args
;
26759 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26760 if (!SWIG_IsOK(res1
)) {
26761 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableSelection" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26763 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26765 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26766 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableSelection();
26767 wxPyEndAllowThreads(__tstate
);
26768 if (PyErr_Occurred()) SWIG_fail
;
26771 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26779 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnablePageNumbers(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26780 PyObject
*resultobj
= 0;
26781 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26785 PyObject
*swig_obj
[1] ;
26787 if (!args
) SWIG_fail
;
26788 swig_obj
[0] = args
;
26789 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26790 if (!SWIG_IsOK(res1
)) {
26791 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnablePageNumbers" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26793 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26795 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26796 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnablePageNumbers();
26797 wxPyEndAllowThreads(__tstate
);
26798 if (PyErr_Occurred()) SWIG_fail
;
26801 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26809 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetEnableHelp(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26810 PyObject
*resultobj
= 0;
26811 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26815 PyObject
*swig_obj
[1] ;
26817 if (!args
) SWIG_fail
;
26818 swig_obj
[0] = args
;
26819 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26820 if (!SWIG_IsOK(res1
)) {
26821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetEnableHelp" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26823 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26825 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26826 result
= (bool)((wxPrintDialogData
const *)arg1
)->GetEnableHelp();
26827 wxPyEndAllowThreads(__tstate
);
26828 if (PyErr_Occurred()) SWIG_fail
;
26831 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26839 SWIGINTERN PyObject
*_wrap_PrintDialogData_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26840 PyObject
*resultobj
= 0;
26841 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26845 PyObject
*swig_obj
[1] ;
26847 if (!args
) SWIG_fail
;
26848 swig_obj
[0] = args
;
26849 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26850 if (!SWIG_IsOK(res1
)) {
26851 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_Ok" "', expected argument " "1"" of type '" "wxPrintDialogData const *""'");
26853 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26855 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26856 result
= (bool)((wxPrintDialogData
const *)arg1
)->Ok();
26857 wxPyEndAllowThreads(__tstate
);
26858 if (PyErr_Occurred()) SWIG_fail
;
26861 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
26869 SWIGINTERN PyObject
*_wrap_PrintDialogData_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26870 PyObject
*resultobj
= 0;
26871 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26872 wxPrintData
*result
= 0 ;
26875 PyObject
*swig_obj
[1] ;
26877 if (!args
) SWIG_fail
;
26878 swig_obj
[0] = args
;
26879 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26880 if (!SWIG_IsOK(res1
)) {
26881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26883 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26885 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26887 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
26888 result
= (wxPrintData
*) &_result_ref
;
26890 wxPyEndAllowThreads(__tstate
);
26891 if (PyErr_Occurred()) SWIG_fail
;
26893 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
26900 SWIGINTERN PyObject
*_wrap_PrintDialogData_SetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26901 PyObject
*resultobj
= 0;
26902 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) 0 ;
26903 wxPrintData
*arg2
= 0 ;
26908 PyObject
* obj0
= 0 ;
26909 PyObject
* obj1
= 0 ;
26910 char * kwnames
[] = {
26911 (char *) "self",(char *) "printData", NULL
26914 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintDialogData_SetPrintData",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26915 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26916 if (!SWIG_IsOK(res1
)) {
26917 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
26919 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
26920 res2
= SWIG_ConvertPtr(obj1
, &argp2
, SWIGTYPE_p_wxPrintData
, 0 | 0);
26921 if (!SWIG_IsOK(res2
)) {
26922 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26925 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintDialogData_SetPrintData" "', expected argument " "2"" of type '" "wxPrintData const &""'");
26927 arg2
= reinterpret_cast< wxPrintData
* >(argp2
);
26929 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26930 (arg1
)->SetPrintData((wxPrintData
const &)*arg2
);
26931 wxPyEndAllowThreads(__tstate
);
26932 if (PyErr_Occurred()) SWIG_fail
;
26934 resultobj
= SWIG_Py_Void();
26941 SWIGINTERN PyObject
*PrintDialogData_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26943 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
26944 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialogData
, SWIG_NewClientData(obj
));
26945 return SWIG_Py_Void();
26948 SWIGINTERN PyObject
*PrintDialogData_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26949 return SWIG_Python_InitShadowInstance(args
);
26952 SWIGINTERN PyObject
*_wrap_new_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
26953 PyObject
*resultobj
= 0;
26954 wxWindow
*arg1
= (wxWindow
*) 0 ;
26955 wxPrintDialogData
*arg2
= (wxPrintDialogData
*) NULL
;
26956 wxPrintDialog
*result
= 0 ;
26961 PyObject
* obj0
= 0 ;
26962 PyObject
* obj1
= 0 ;
26963 char * kwnames
[] = {
26964 (char *) "parent",(char *) "data", NULL
26967 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"O|O:new_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
26968 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxWindow
, 0 | 0 );
26969 if (!SWIG_IsOK(res1
)) {
26970 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintDialog" "', expected argument " "1"" of type '" "wxWindow *""'");
26972 arg1
= reinterpret_cast< wxWindow
* >(argp1
);
26974 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
26975 if (!SWIG_IsOK(res2
)) {
26976 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintDialog" "', expected argument " "2"" of type '" "wxPrintDialogData *""'");
26978 arg2
= reinterpret_cast< wxPrintDialogData
* >(argp2
);
26981 if (!wxPyCheckForApp()) SWIG_fail
;
26982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
26983 result
= (wxPrintDialog
*)new wxPrintDialog(arg1
,arg2
);
26984 wxPyEndAllowThreads(__tstate
);
26985 if (PyErr_Occurred()) SWIG_fail
;
26987 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_NEW
| 0 );
26994 SWIGINTERN PyObject
*_wrap_delete_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
26995 PyObject
*resultobj
= 0;
26996 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
26999 PyObject
*swig_obj
[1] ;
27001 if (!args
) SWIG_fail
;
27002 swig_obj
[0] = args
;
27003 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, SWIG_POINTER_DISOWN
| 0 );
27004 if (!SWIG_IsOK(res1
)) {
27005 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintDialog" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27007 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27009 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27012 wxPyEndAllowThreads(__tstate
);
27013 if (PyErr_Occurred()) SWIG_fail
;
27015 resultobj
= SWIG_Py_Void();
27022 SWIGINTERN PyObject
*_wrap_PrintDialog_ShowModal(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27023 PyObject
*resultobj
= 0;
27024 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27028 PyObject
*swig_obj
[1] ;
27030 if (!args
) SWIG_fail
;
27031 swig_obj
[0] = args
;
27032 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27033 if (!SWIG_IsOK(res1
)) {
27034 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_ShowModal" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27036 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27038 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27039 result
= (int)(arg1
)->ShowModal();
27040 wxPyEndAllowThreads(__tstate
);
27041 if (PyErr_Occurred()) SWIG_fail
;
27043 resultobj
= SWIG_From_int(static_cast< int >(result
));
27050 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27051 PyObject
*resultobj
= 0;
27052 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27053 wxPrintDialogData
*result
= 0 ;
27056 PyObject
*swig_obj
[1] ;
27058 if (!args
) SWIG_fail
;
27059 swig_obj
[0] = args
;
27060 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27061 if (!SWIG_IsOK(res1
)) {
27062 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27064 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27066 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27068 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
27069 result
= (wxPrintDialogData
*) &_result_ref
;
27071 wxPyEndAllowThreads(__tstate
);
27072 if (PyErr_Occurred()) SWIG_fail
;
27074 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27081 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27082 PyObject
*resultobj
= 0;
27083 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27084 wxPrintData
*result
= 0 ;
27087 PyObject
*swig_obj
[1] ;
27089 if (!args
) SWIG_fail
;
27090 swig_obj
[0] = args
;
27091 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27092 if (!SWIG_IsOK(res1
)) {
27093 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintData" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27095 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27097 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27099 wxPrintData
&_result_ref
= (arg1
)->GetPrintData();
27100 result
= (wxPrintData
*) &_result_ref
;
27102 wxPyEndAllowThreads(__tstate
);
27103 if (PyErr_Occurred()) SWIG_fail
;
27105 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintData
, 0 | 0 );
27112 SWIGINTERN PyObject
*_wrap_PrintDialog_GetPrintDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27113 PyObject
*resultobj
= 0;
27114 wxPrintDialog
*arg1
= (wxPrintDialog
*) 0 ;
27118 PyObject
*swig_obj
[1] ;
27120 if (!args
) SWIG_fail
;
27121 swig_obj
[0] = args
;
27122 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintDialog
, 0 | 0 );
27123 if (!SWIG_IsOK(res1
)) {
27124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintDialog_GetPrintDC" "', expected argument " "1"" of type '" "wxPrintDialog *""'");
27126 arg1
= reinterpret_cast< wxPrintDialog
* >(argp1
);
27128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27129 result
= (wxDC
*)(arg1
)->GetPrintDC();
27130 wxPyEndAllowThreads(__tstate
);
27131 if (PyErr_Occurred()) SWIG_fail
;
27134 resultobj
= wxPyMake_wxObject(result
, (bool)SWIG_POINTER_OWN
);
27142 SWIGINTERN PyObject
*PrintDialog_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27144 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27145 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintDialog
, SWIG_NewClientData(obj
));
27146 return SWIG_Py_Void();
27149 SWIGINTERN PyObject
*PrintDialog_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27150 return SWIG_Python_InitShadowInstance(args
);
27153 SWIGINTERN PyObject
*_wrap_new_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27154 PyObject
*resultobj
= 0;
27155 wxPrintDialogData
*arg1
= (wxPrintDialogData
*) NULL
;
27156 wxPrinter
*result
= 0 ;
27159 PyObject
* obj0
= 0 ;
27160 char * kwnames
[] = {
27161 (char *) "data", NULL
27164 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printer",kwnames
,&obj0
)) SWIG_fail
;
27166 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27167 if (!SWIG_IsOK(res1
)) {
27168 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_Printer" "', expected argument " "1"" of type '" "wxPrintDialogData *""'");
27170 arg1
= reinterpret_cast< wxPrintDialogData
* >(argp1
);
27173 if (!wxPyCheckForApp()) SWIG_fail
;
27174 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27175 result
= (wxPrinter
*)new wxPrinter(arg1
);
27176 wxPyEndAllowThreads(__tstate
);
27177 if (PyErr_Occurred()) SWIG_fail
;
27179 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrinter
, SWIG_POINTER_NEW
| 0 );
27186 SWIGINTERN PyObject
*_wrap_delete_Printer(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27187 PyObject
*resultobj
= 0;
27188 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27191 PyObject
*swig_obj
[1] ;
27193 if (!args
) SWIG_fail
;
27194 swig_obj
[0] = args
;
27195 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, SWIG_POINTER_DISOWN
| 0 );
27196 if (!SWIG_IsOK(res1
)) {
27197 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printer" "', expected argument " "1"" of type '" "wxPrinter *""'");
27199 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27201 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27204 wxPyEndAllowThreads(__tstate
);
27205 if (PyErr_Occurred()) SWIG_fail
;
27207 resultobj
= SWIG_Py_Void();
27214 SWIGINTERN PyObject
*_wrap_Printer_CreateAbortWindow(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27215 PyObject
*resultobj
= 0;
27216 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27217 wxWindow
*arg2
= (wxWindow
*) 0 ;
27218 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27219 wxWindow
*result
= 0 ;
27226 PyObject
* obj0
= 0 ;
27227 PyObject
* obj1
= 0 ;
27228 PyObject
* obj2
= 0 ;
27229 char * kwnames
[] = {
27230 (char *) "self",(char *) "parent",(char *) "printout", NULL
27233 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printer_CreateAbortWindow",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27234 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27235 if (!SWIG_IsOK(res1
)) {
27236 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "1"" of type '" "wxPrinter *""'");
27238 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27239 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27240 if (!SWIG_IsOK(res2
)) {
27241 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "2"" of type '" "wxWindow *""'");
27243 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27244 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27245 if (!SWIG_IsOK(res3
)) {
27246 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_CreateAbortWindow" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27248 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27250 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27251 result
= (wxWindow
*)(arg1
)->CreateAbortWindow(arg2
,arg3
);
27252 wxPyEndAllowThreads(__tstate
);
27253 if (PyErr_Occurred()) SWIG_fail
;
27256 resultobj
= wxPyMake_wxObject(result
, 0);
27264 SWIGINTERN PyObject
*_wrap_Printer_ReportError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27265 PyObject
*resultobj
= 0;
27266 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27267 wxWindow
*arg2
= (wxWindow
*) 0 ;
27268 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27269 wxString
*arg4
= 0 ;
27276 bool temp4
= false ;
27277 PyObject
* obj0
= 0 ;
27278 PyObject
* obj1
= 0 ;
27279 PyObject
* obj2
= 0 ;
27280 PyObject
* obj3
= 0 ;
27281 char * kwnames
[] = {
27282 (char *) "self",(char *) "parent",(char *) "printout",(char *) "message", NULL
27285 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOOO:Printer_ReportError",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27286 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27287 if (!SWIG_IsOK(res1
)) {
27288 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_ReportError" "', expected argument " "1"" of type '" "wxPrinter *""'");
27290 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27291 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27292 if (!SWIG_IsOK(res2
)) {
27293 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_ReportError" "', expected argument " "2"" of type '" "wxWindow *""'");
27295 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27296 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27297 if (!SWIG_IsOK(res3
)) {
27298 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_ReportError" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27300 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27302 arg4
= wxString_in_helper(obj3
);
27303 if (arg4
== NULL
) SWIG_fail
;
27307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27308 (arg1
)->ReportError(arg2
,arg3
,(wxString
const &)*arg4
);
27309 wxPyEndAllowThreads(__tstate
);
27310 if (PyErr_Occurred()) SWIG_fail
;
27312 resultobj
= SWIG_Py_Void();
27327 SWIGINTERN PyObject
*_wrap_Printer_Setup(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27328 PyObject
*resultobj
= 0;
27329 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27330 wxWindow
*arg2
= (wxWindow
*) 0 ;
27336 PyObject
* obj0
= 0 ;
27337 PyObject
* obj1
= 0 ;
27338 char * kwnames
[] = {
27339 (char *) "self",(char *) "parent", NULL
27342 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_Setup",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27343 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27344 if (!SWIG_IsOK(res1
)) {
27345 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Setup" "', expected argument " "1"" of type '" "wxPrinter *""'");
27347 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27348 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27349 if (!SWIG_IsOK(res2
)) {
27350 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Setup" "', expected argument " "2"" of type '" "wxWindow *""'");
27352 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27354 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27355 result
= (bool)(arg1
)->Setup(arg2
);
27356 wxPyEndAllowThreads(__tstate
);
27357 if (PyErr_Occurred()) SWIG_fail
;
27360 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27368 SWIGINTERN PyObject
*_wrap_Printer_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27369 PyObject
*resultobj
= 0;
27370 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27371 wxWindow
*arg2
= (wxWindow
*) 0 ;
27372 wxPyPrintout
*arg3
= (wxPyPrintout
*) 0 ;
27373 bool arg4
= (bool) true ;
27383 PyObject
* obj0
= 0 ;
27384 PyObject
* obj1
= 0 ;
27385 PyObject
* obj2
= 0 ;
27386 PyObject
* obj3
= 0 ;
27387 char * kwnames
[] = {
27388 (char *) "self",(char *) "parent",(char *) "printout",(char *) "prompt", NULL
27391 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|O:Printer_Print",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
)) SWIG_fail
;
27392 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27393 if (!SWIG_IsOK(res1
)) {
27394 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_Print" "', expected argument " "1"" of type '" "wxPrinter *""'");
27396 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27397 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27398 if (!SWIG_IsOK(res2
)) {
27399 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_Print" "', expected argument " "2"" of type '" "wxWindow *""'");
27401 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27402 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27403 if (!SWIG_IsOK(res3
)) {
27404 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "Printer_Print" "', expected argument " "3"" of type '" "wxPyPrintout *""'");
27406 arg3
= reinterpret_cast< wxPyPrintout
* >(argp3
);
27408 ecode4
= SWIG_AsVal_bool(obj3
, &val4
);
27409 if (!SWIG_IsOK(ecode4
)) {
27410 SWIG_exception_fail(SWIG_ArgError(ecode4
), "in method '" "Printer_Print" "', expected argument " "4"" of type '" "bool""'");
27412 arg4
= static_cast< bool >(val4
);
27415 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27416 result
= (bool)(arg1
)->Print(arg2
,arg3
,arg4
);
27417 wxPyEndAllowThreads(__tstate
);
27418 if (PyErr_Occurred()) SWIG_fail
;
27421 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27429 SWIGINTERN PyObject
*_wrap_Printer_PrintDialog(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27430 PyObject
*resultobj
= 0;
27431 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27432 wxWindow
*arg2
= (wxWindow
*) 0 ;
27438 PyObject
* obj0
= 0 ;
27439 PyObject
* obj1
= 0 ;
27440 char * kwnames
[] = {
27441 (char *) "self",(char *) "parent", NULL
27444 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printer_PrintDialog",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27445 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27446 if (!SWIG_IsOK(res1
)) {
27447 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_PrintDialog" "', expected argument " "1"" of type '" "wxPrinter *""'");
27449 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27450 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
27451 if (!SWIG_IsOK(res2
)) {
27452 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printer_PrintDialog" "', expected argument " "2"" of type '" "wxWindow *""'");
27454 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
27456 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27457 result
= (wxDC
*)(arg1
)->PrintDialog(arg2
);
27458 wxPyEndAllowThreads(__tstate
);
27459 if (PyErr_Occurred()) SWIG_fail
;
27462 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27470 SWIGINTERN PyObject
*_wrap_Printer_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27471 PyObject
*resultobj
= 0;
27472 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27473 wxPrintDialogData
*result
= 0 ;
27476 PyObject
*swig_obj
[1] ;
27478 if (!args
) SWIG_fail
;
27479 swig_obj
[0] = args
;
27480 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27481 if (!SWIG_IsOK(res1
)) {
27482 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrinter const *""'");
27484 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27486 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27488 wxPrintDialogData
&_result_ref
= ((wxPrinter
const *)arg1
)->GetPrintDialogData();
27489 result
= (wxPrintDialogData
*) &_result_ref
;
27491 wxPyEndAllowThreads(__tstate
);
27492 if (PyErr_Occurred()) SWIG_fail
;
27494 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
27501 SWIGINTERN PyObject
*_wrap_Printer_GetAbort(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27502 PyObject
*resultobj
= 0;
27503 wxPrinter
*arg1
= (wxPrinter
*) 0 ;
27507 PyObject
*swig_obj
[1] ;
27509 if (!args
) SWIG_fail
;
27510 swig_obj
[0] = args
;
27511 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrinter
, 0 | 0 );
27512 if (!SWIG_IsOK(res1
)) {
27513 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printer_GetAbort" "', expected argument " "1"" of type '" "wxPrinter *""'");
27515 arg1
= reinterpret_cast< wxPrinter
* >(argp1
);
27517 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27518 result
= (bool)(arg1
)->GetAbort();
27519 wxPyEndAllowThreads(__tstate
);
27520 if (PyErr_Occurred()) SWIG_fail
;
27523 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
27531 SWIGINTERN PyObject
*_wrap_Printer_GetLastError(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27532 PyObject
*resultobj
= 0;
27533 wxPrinterError result
;
27535 if (!SWIG_Python_UnpackTuple(args
,"Printer_GetLastError",0,0,0)) SWIG_fail
;
27537 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27538 result
= (wxPrinterError
)wxPrinter::GetLastError();
27539 wxPyEndAllowThreads(__tstate
);
27540 if (PyErr_Occurred()) SWIG_fail
;
27542 resultobj
= SWIG_From_int(static_cast< int >(result
));
27549 SWIGINTERN PyObject
*Printer_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27551 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
27552 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrinter
, SWIG_NewClientData(obj
));
27553 return SWIG_Py_Void();
27556 SWIGINTERN PyObject
*Printer_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27557 return SWIG_Python_InitShadowInstance(args
);
27560 SWIGINTERN PyObject
*_wrap_new_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27561 PyObject
*resultobj
= 0;
27562 wxString
const &arg1_defvalue
= wxPyPrintoutTitleStr
;
27563 wxString
*arg1
= (wxString
*) &arg1_defvalue
;
27564 wxPyPrintout
*result
= 0 ;
27565 bool temp1
= false ;
27566 PyObject
* obj0
= 0 ;
27567 char * kwnames
[] = {
27568 (char *) "title", NULL
27571 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"|O:new_Printout",kwnames
,&obj0
)) SWIG_fail
;
27574 arg1
= wxString_in_helper(obj0
);
27575 if (arg1
== NULL
) SWIG_fail
;
27580 if (!wxPyCheckForApp()) SWIG_fail
;
27581 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27582 result
= (wxPyPrintout
*)new wxPyPrintout((wxString
const &)*arg1
);
27583 wxPyEndAllowThreads(__tstate
);
27584 if (PyErr_Occurred()) SWIG_fail
;
27586 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_NEW
| 0 );
27601 SWIGINTERN PyObject
*_wrap_delete_Printout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27602 PyObject
*resultobj
= 0;
27603 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27606 PyObject
*swig_obj
[1] ;
27608 if (!args
) SWIG_fail
;
27609 swig_obj
[0] = args
;
27610 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
27611 if (!SWIG_IsOK(res1
)) {
27612 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_Printout" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27614 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27616 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27619 wxPyEndAllowThreads(__tstate
);
27620 if (PyErr_Occurred()) SWIG_fail
;
27622 resultobj
= SWIG_Py_Void();
27629 SWIGINTERN PyObject
*_wrap_Printout__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27630 PyObject
*resultobj
= 0;
27631 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27632 PyObject
*arg2
= (PyObject
*) 0 ;
27633 PyObject
*arg3
= (PyObject
*) 0 ;
27636 PyObject
* obj0
= 0 ;
27637 PyObject
* obj1
= 0 ;
27638 PyObject
* obj2
= 0 ;
27639 char * kwnames
[] = {
27640 (char *) "self",(char *) "self",(char *) "_class", NULL
27643 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27644 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27645 if (!SWIG_IsOK(res1
)) {
27646 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27648 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27652 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27653 (arg1
)->_setCallbackInfo(arg2
,arg3
);
27654 wxPyEndAllowThreads(__tstate
);
27655 if (PyErr_Occurred()) SWIG_fail
;
27657 resultobj
= SWIG_Py_Void();
27664 SWIGINTERN PyObject
*_wrap_Printout_GetTitle(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27665 PyObject
*resultobj
= 0;
27666 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27670 PyObject
*swig_obj
[1] ;
27672 if (!args
) SWIG_fail
;
27673 swig_obj
[0] = args
;
27674 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27675 if (!SWIG_IsOK(res1
)) {
27676 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetTitle" "', expected argument " "1"" of type '" "wxPyPrintout const *""'");
27678 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27681 result
= ((wxPyPrintout
const *)arg1
)->GetTitle();
27682 wxPyEndAllowThreads(__tstate
);
27683 if (PyErr_Occurred()) SWIG_fail
;
27687 resultobj
= PyUnicode_FromWideChar((&result
)->c_str(), (&result
)->Len());
27689 resultobj
= PyString_FromStringAndSize((&result
)->c_str(), (&result
)->Len());
27698 SWIGINTERN PyObject
*_wrap_Printout_GetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27699 PyObject
*resultobj
= 0;
27700 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27704 PyObject
*swig_obj
[1] ;
27706 if (!args
) SWIG_fail
;
27707 swig_obj
[0] = args
;
27708 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27709 if (!SWIG_IsOK(res1
)) {
27710 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27712 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27714 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27715 result
= (wxDC
*)(arg1
)->GetDC();
27716 wxPyEndAllowThreads(__tstate
);
27717 if (PyErr_Occurred()) SWIG_fail
;
27720 resultobj
= wxPyMake_wxObject(result
, (bool)0);
27728 SWIGINTERN PyObject
*_wrap_Printout_SetDC(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27729 PyObject
*resultobj
= 0;
27730 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27731 wxDC
*arg2
= (wxDC
*) 0 ;
27736 PyObject
* obj0
= 0 ;
27737 PyObject
* obj1
= 0 ;
27738 char * kwnames
[] = {
27739 (char *) "self",(char *) "dc", NULL
27742 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetDC",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
27743 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27744 if (!SWIG_IsOK(res1
)) {
27745 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetDC" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27747 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27748 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxDC
, 0 | 0 );
27749 if (!SWIG_IsOK(res2
)) {
27750 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "Printout_SetDC" "', expected argument " "2"" of type '" "wxDC *""'");
27752 arg2
= reinterpret_cast< wxDC
* >(argp2
);
27754 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27755 (arg1
)->SetDC(arg2
);
27756 wxPyEndAllowThreads(__tstate
);
27757 if (PyErr_Occurred()) SWIG_fail
;
27759 resultobj
= SWIG_Py_Void();
27766 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27767 PyObject
*resultobj
= 0;
27768 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27777 PyObject
* obj0
= 0 ;
27778 PyObject
* obj1
= 0 ;
27779 PyObject
* obj2
= 0 ;
27780 char * kwnames
[] = {
27781 (char *) "self",(char *) "w",(char *) "h", NULL
27784 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizePixels",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27785 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27786 if (!SWIG_IsOK(res1
)) {
27787 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27789 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27790 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27791 if (!SWIG_IsOK(ecode2
)) {
27792 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "2"" of type '" "int""'");
27794 arg2
= static_cast< int >(val2
);
27795 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27796 if (!SWIG_IsOK(ecode3
)) {
27797 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizePixels" "', expected argument " "3"" of type '" "int""'");
27799 arg3
= static_cast< int >(val3
);
27801 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27802 (arg1
)->SetPageSizePixels(arg2
,arg3
);
27803 wxPyEndAllowThreads(__tstate
);
27804 if (PyErr_Occurred()) SWIG_fail
;
27806 resultobj
= SWIG_Py_Void();
27813 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizePixels(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27814 PyObject
*resultobj
= 0;
27815 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27816 int *arg2
= (int *) 0 ;
27817 int *arg3
= (int *) 0 ;
27821 int res2
= SWIG_TMPOBJ
;
27823 int res3
= SWIG_TMPOBJ
;
27824 PyObject
*swig_obj
[1] ;
27828 if (!args
) SWIG_fail
;
27829 swig_obj
[0] = args
;
27830 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27831 if (!SWIG_IsOK(res1
)) {
27832 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizePixels" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27834 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27836 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27837 (arg1
)->GetPageSizePixels(arg2
,arg3
);
27838 wxPyEndAllowThreads(__tstate
);
27839 if (PyErr_Occurred()) SWIG_fail
;
27841 resultobj
= SWIG_Py_Void();
27842 if (SWIG_IsTmpObj(res2
)) {
27843 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27845 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27846 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27848 if (SWIG_IsTmpObj(res3
)) {
27849 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27851 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27852 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27860 SWIGINTERN PyObject
*_wrap_Printout_SetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27861 PyObject
*resultobj
= 0;
27862 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27871 PyObject
* obj0
= 0 ;
27872 PyObject
* obj1
= 0 ;
27873 PyObject
* obj2
= 0 ;
27874 char * kwnames
[] = {
27875 (char *) "self",(char *) "w",(char *) "h", NULL
27878 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPageSizeMM",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27879 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27880 if (!SWIG_IsOK(res1
)) {
27881 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27883 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27884 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27885 if (!SWIG_IsOK(ecode2
)) {
27886 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "2"" of type '" "int""'");
27888 arg2
= static_cast< int >(val2
);
27889 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27890 if (!SWIG_IsOK(ecode3
)) {
27891 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPageSizeMM" "', expected argument " "3"" of type '" "int""'");
27893 arg3
= static_cast< int >(val3
);
27895 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27896 (arg1
)->SetPageSizeMM(arg2
,arg3
);
27897 wxPyEndAllowThreads(__tstate
);
27898 if (PyErr_Occurred()) SWIG_fail
;
27900 resultobj
= SWIG_Py_Void();
27907 SWIGINTERN PyObject
*_wrap_Printout_GetPageSizeMM(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
27908 PyObject
*resultobj
= 0;
27909 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27910 int *arg2
= (int *) 0 ;
27911 int *arg3
= (int *) 0 ;
27915 int res2
= SWIG_TMPOBJ
;
27917 int res3
= SWIG_TMPOBJ
;
27918 PyObject
*swig_obj
[1] ;
27922 if (!args
) SWIG_fail
;
27923 swig_obj
[0] = args
;
27924 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27925 if (!SWIG_IsOK(res1
)) {
27926 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageSizeMM" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27928 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27930 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27931 (arg1
)->GetPageSizeMM(arg2
,arg3
);
27932 wxPyEndAllowThreads(__tstate
);
27933 if (PyErr_Occurred()) SWIG_fail
;
27935 resultobj
= SWIG_Py_Void();
27936 if (SWIG_IsTmpObj(res2
)) {
27937 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
27939 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27940 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
27942 if (SWIG_IsTmpObj(res3
)) {
27943 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
27945 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
27946 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
27954 SWIGINTERN PyObject
*_wrap_Printout_SetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
27955 PyObject
*resultobj
= 0;
27956 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
27965 PyObject
* obj0
= 0 ;
27966 PyObject
* obj1
= 0 ;
27967 PyObject
* obj2
= 0 ;
27968 char * kwnames
[] = {
27969 (char *) "self",(char *) "x",(char *) "y", NULL
27972 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIScreen",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
27973 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
27974 if (!SWIG_IsOK(res1
)) {
27975 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
27977 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
27978 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
27979 if (!SWIG_IsOK(ecode2
)) {
27980 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIScreen" "', expected argument " "2"" of type '" "int""'");
27982 arg2
= static_cast< int >(val2
);
27983 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
27984 if (!SWIG_IsOK(ecode3
)) {
27985 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIScreen" "', expected argument " "3"" of type '" "int""'");
27987 arg3
= static_cast< int >(val3
);
27989 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
27990 (arg1
)->SetPPIScreen(arg2
,arg3
);
27991 wxPyEndAllowThreads(__tstate
);
27992 if (PyErr_Occurred()) SWIG_fail
;
27994 resultobj
= SWIG_Py_Void();
28001 SWIGINTERN PyObject
*_wrap_Printout_GetPPIScreen(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28002 PyObject
*resultobj
= 0;
28003 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28004 int *arg2
= (int *) 0 ;
28005 int *arg3
= (int *) 0 ;
28009 int res2
= SWIG_TMPOBJ
;
28011 int res3
= SWIG_TMPOBJ
;
28012 PyObject
*swig_obj
[1] ;
28016 if (!args
) SWIG_fail
;
28017 swig_obj
[0] = args
;
28018 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28019 if (!SWIG_IsOK(res1
)) {
28020 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIScreen" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28022 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28024 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28025 (arg1
)->GetPPIScreen(arg2
,arg3
);
28026 wxPyEndAllowThreads(__tstate
);
28027 if (PyErr_Occurred()) SWIG_fail
;
28029 resultobj
= SWIG_Py_Void();
28030 if (SWIG_IsTmpObj(res2
)) {
28031 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28033 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28034 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28036 if (SWIG_IsTmpObj(res3
)) {
28037 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28039 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28040 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28048 SWIGINTERN PyObject
*_wrap_Printout_SetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28049 PyObject
*resultobj
= 0;
28050 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28059 PyObject
* obj0
= 0 ;
28060 PyObject
* obj1
= 0 ;
28061 PyObject
* obj2
= 0 ;
28062 char * kwnames
[] = {
28063 (char *) "self",(char *) "x",(char *) "y", NULL
28066 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_SetPPIPrinter",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28067 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28068 if (!SWIG_IsOK(res1
)) {
28069 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28071 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28072 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28073 if (!SWIG_IsOK(ecode2
)) {
28074 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "2"" of type '" "int""'");
28076 arg2
= static_cast< int >(val2
);
28077 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28078 if (!SWIG_IsOK(ecode3
)) {
28079 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_SetPPIPrinter" "', expected argument " "3"" of type '" "int""'");
28081 arg3
= static_cast< int >(val3
);
28083 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28084 (arg1
)->SetPPIPrinter(arg2
,arg3
);
28085 wxPyEndAllowThreads(__tstate
);
28086 if (PyErr_Occurred()) SWIG_fail
;
28088 resultobj
= SWIG_Py_Void();
28095 SWIGINTERN PyObject
*_wrap_Printout_GetPPIPrinter(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28096 PyObject
*resultobj
= 0;
28097 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28098 int *arg2
= (int *) 0 ;
28099 int *arg3
= (int *) 0 ;
28103 int res2
= SWIG_TMPOBJ
;
28105 int res3
= SWIG_TMPOBJ
;
28106 PyObject
*swig_obj
[1] ;
28110 if (!args
) SWIG_fail
;
28111 swig_obj
[0] = args
;
28112 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28113 if (!SWIG_IsOK(res1
)) {
28114 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPPIPrinter" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28116 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28118 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28119 (arg1
)->GetPPIPrinter(arg2
,arg3
);
28120 wxPyEndAllowThreads(__tstate
);
28121 if (PyErr_Occurred()) SWIG_fail
;
28123 resultobj
= SWIG_Py_Void();
28124 if (SWIG_IsTmpObj(res2
)) {
28125 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28127 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28128 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28130 if (SWIG_IsTmpObj(res3
)) {
28131 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28133 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28134 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28142 SWIGINTERN PyObject
*_wrap_Printout_IsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28143 PyObject
*resultobj
= 0;
28144 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28148 PyObject
*swig_obj
[1] ;
28150 if (!args
) SWIG_fail
;
28151 swig_obj
[0] = args
;
28152 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28153 if (!SWIG_IsOK(res1
)) {
28154 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_IsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28156 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28158 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28159 result
= (bool)(arg1
)->IsPreview();
28160 wxPyEndAllowThreads(__tstate
);
28161 if (PyErr_Occurred()) SWIG_fail
;
28164 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28172 SWIGINTERN PyObject
*_wrap_Printout_SetIsPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28173 PyObject
*resultobj
= 0;
28174 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28180 PyObject
* obj0
= 0 ;
28181 PyObject
* obj1
= 0 ;
28182 char * kwnames
[] = {
28183 (char *) "self",(char *) "p", NULL
28186 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_SetIsPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28187 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28188 if (!SWIG_IsOK(res1
)) {
28189 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_SetIsPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28191 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28192 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
28193 if (!SWIG_IsOK(ecode2
)) {
28194 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_SetIsPreview" "', expected argument " "2"" of type '" "bool""'");
28196 arg2
= static_cast< bool >(val2
);
28198 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28199 (arg1
)->SetIsPreview(arg2
);
28200 wxPyEndAllowThreads(__tstate
);
28201 if (PyErr_Occurred()) SWIG_fail
;
28203 resultobj
= SWIG_Py_Void();
28210 SWIGINTERN PyObject
*_wrap_Printout_OnBeginDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28211 PyObject
*resultobj
= 0;
28212 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28222 PyObject
* obj0
= 0 ;
28223 PyObject
* obj1
= 0 ;
28224 PyObject
* obj2
= 0 ;
28225 char * kwnames
[] = {
28226 (char *) "self",(char *) "startPage",(char *) "endPage", NULL
28229 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:Printout_OnBeginDocument",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
28230 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28231 if (!SWIG_IsOK(res1
)) {
28232 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28234 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28235 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28236 if (!SWIG_IsOK(ecode2
)) {
28237 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_OnBeginDocument" "', expected argument " "2"" of type '" "int""'");
28239 arg2
= static_cast< int >(val2
);
28240 ecode3
= SWIG_AsVal_int(obj2
, &val3
);
28241 if (!SWIG_IsOK(ecode3
)) {
28242 SWIG_exception_fail(SWIG_ArgError(ecode3
), "in method '" "Printout_OnBeginDocument" "', expected argument " "3"" of type '" "int""'");
28244 arg3
= static_cast< int >(val3
);
28246 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28247 result
= (bool)(arg1
)->OnBeginDocument(arg2
,arg3
);
28248 wxPyEndAllowThreads(__tstate
);
28249 if (PyErr_Occurred()) SWIG_fail
;
28252 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28260 SWIGINTERN PyObject
*_wrap_Printout_OnEndDocument(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28261 PyObject
*resultobj
= 0;
28262 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28265 PyObject
*swig_obj
[1] ;
28267 if (!args
) SWIG_fail
;
28268 swig_obj
[0] = args
;
28269 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28270 if (!SWIG_IsOK(res1
)) {
28271 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndDocument" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28273 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28275 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28276 (arg1
)->OnEndDocument();
28277 wxPyEndAllowThreads(__tstate
);
28278 if (PyErr_Occurred()) SWIG_fail
;
28280 resultobj
= SWIG_Py_Void();
28287 SWIGINTERN PyObject
*_wrap_Printout_OnBeginPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28288 PyObject
*resultobj
= 0;
28289 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28292 PyObject
*swig_obj
[1] ;
28294 if (!args
) SWIG_fail
;
28295 swig_obj
[0] = args
;
28296 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28297 if (!SWIG_IsOK(res1
)) {
28298 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnBeginPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28300 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28302 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28303 (arg1
)->OnBeginPrinting();
28304 wxPyEndAllowThreads(__tstate
);
28305 if (PyErr_Occurred()) SWIG_fail
;
28307 resultobj
= SWIG_Py_Void();
28314 SWIGINTERN PyObject
*_wrap_Printout_OnEndPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28315 PyObject
*resultobj
= 0;
28316 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28319 PyObject
*swig_obj
[1] ;
28321 if (!args
) SWIG_fail
;
28322 swig_obj
[0] = args
;
28323 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28324 if (!SWIG_IsOK(res1
)) {
28325 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnEndPrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28327 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28329 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28330 (arg1
)->OnEndPrinting();
28331 wxPyEndAllowThreads(__tstate
);
28332 if (PyErr_Occurred()) SWIG_fail
;
28334 resultobj
= SWIG_Py_Void();
28341 SWIGINTERN PyObject
*_wrap_Printout_OnPreparePrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28342 PyObject
*resultobj
= 0;
28343 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28346 PyObject
*swig_obj
[1] ;
28348 if (!args
) SWIG_fail
;
28349 swig_obj
[0] = args
;
28350 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28351 if (!SWIG_IsOK(res1
)) {
28352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_OnPreparePrinting" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28354 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28356 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28357 (arg1
)->OnPreparePrinting();
28358 wxPyEndAllowThreads(__tstate
);
28359 if (PyErr_Occurred()) SWIG_fail
;
28361 resultobj
= SWIG_Py_Void();
28368 SWIGINTERN PyObject
*_wrap_Printout_HasPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28369 PyObject
*resultobj
= 0;
28370 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28377 PyObject
* obj0
= 0 ;
28378 PyObject
* obj1
= 0 ;
28379 char * kwnames
[] = {
28380 (char *) "self",(char *) "page", NULL
28383 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:Printout_HasPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28384 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28385 if (!SWIG_IsOK(res1
)) {
28386 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_HasPage" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28388 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28389 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28390 if (!SWIG_IsOK(ecode2
)) {
28391 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "Printout_HasPage" "', expected argument " "2"" of type '" "int""'");
28393 arg2
= static_cast< int >(val2
);
28395 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28396 result
= (bool)(arg1
)->HasPage(arg2
);
28397 wxPyEndAllowThreads(__tstate
);
28398 if (PyErr_Occurred()) SWIG_fail
;
28401 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
28409 SWIGINTERN PyObject
*_wrap_Printout_GetPageInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28410 PyObject
*resultobj
= 0;
28411 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
28412 int *arg2
= (int *) 0 ;
28413 int *arg3
= (int *) 0 ;
28414 int *arg4
= (int *) 0 ;
28415 int *arg5
= (int *) 0 ;
28419 int res2
= SWIG_TMPOBJ
;
28421 int res3
= SWIG_TMPOBJ
;
28423 int res4
= SWIG_TMPOBJ
;
28425 int res5
= SWIG_TMPOBJ
;
28426 PyObject
*swig_obj
[1] ;
28432 if (!args
) SWIG_fail
;
28433 swig_obj
[0] = args
;
28434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPrintout
, 0 | 0 );
28435 if (!SWIG_IsOK(res1
)) {
28436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "Printout_GetPageInfo" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
28438 arg1
= reinterpret_cast< wxPyPrintout
* >(argp1
);
28440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28441 (arg1
)->GetPageInfo(arg2
,arg3
,arg4
,arg5
);
28442 wxPyEndAllowThreads(__tstate
);
28443 if (PyErr_Occurred()) SWIG_fail
;
28445 resultobj
= SWIG_Py_Void();
28446 if (SWIG_IsTmpObj(res2
)) {
28447 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg2
)));
28449 int new_flags
= SWIG_IsNewObj(res2
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28450 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg2
), SWIGTYPE_p_int
, new_flags
));
28452 if (SWIG_IsTmpObj(res3
)) {
28453 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg3
)));
28455 int new_flags
= SWIG_IsNewObj(res3
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28456 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg3
), SWIGTYPE_p_int
, new_flags
));
28458 if (SWIG_IsTmpObj(res4
)) {
28459 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg4
)));
28461 int new_flags
= SWIG_IsNewObj(res4
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28462 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg4
), SWIGTYPE_p_int
, new_flags
));
28464 if (SWIG_IsTmpObj(res5
)) {
28465 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_From_int((*arg5
)));
28467 int new_flags
= SWIG_IsNewObj(res5
) ? (SWIG_POINTER_OWN
| 0 ) : 0 ;
28468 resultobj
= SWIG_Python_AppendOutput(resultobj
, SWIG_NewPointerObj((void*)(arg5
), SWIGTYPE_p_int
, new_flags
));
28476 SWIGINTERN PyObject
*Printout_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28478 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28479 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintout
, SWIG_NewClientData(obj
));
28480 return SWIG_Py_Void();
28483 SWIGINTERN PyObject
*Printout_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28484 return SWIG_Python_InitShadowInstance(args
);
28487 SWIGINTERN PyObject
*_wrap_new_PreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28488 PyObject
*resultobj
= 0;
28489 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28490 wxWindow
*arg2
= (wxWindow
*) 0 ;
28491 wxPoint
const &arg3_defvalue
= wxDefaultPosition
;
28492 wxPoint
*arg3
= (wxPoint
*) &arg3_defvalue
;
28493 wxSize
const &arg4_defvalue
= wxDefaultSize
;
28494 wxSize
*arg4
= (wxSize
*) &arg4_defvalue
;
28495 long arg5
= (long) 0 ;
28496 wxString
const &arg6_defvalue
= wxPyPreviewCanvasNameStr
;
28497 wxString
*arg6
= (wxString
*) &arg6_defvalue
;
28498 wxPreviewCanvas
*result
= 0 ;
28507 bool temp6
= false ;
28508 PyObject
* obj0
= 0 ;
28509 PyObject
* obj1
= 0 ;
28510 PyObject
* obj2
= 0 ;
28511 PyObject
* obj3
= 0 ;
28512 PyObject
* obj4
= 0 ;
28513 PyObject
* obj5
= 0 ;
28514 char * kwnames
[] = {
28515 (char *) "preview",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28518 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO|OOOO:new_PreviewCanvas",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
)) SWIG_fail
;
28519 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28520 if (!SWIG_IsOK(res1
)) {
28521 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28523 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28524 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28525 if (!SWIG_IsOK(res2
)) {
28526 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewCanvas" "', expected argument " "2"" of type '" "wxWindow *""'");
28528 arg2
= reinterpret_cast< wxWindow
* >(argp2
);
28532 if ( ! wxPoint_helper(obj2
, &arg3
)) SWIG_fail
;
28538 if ( ! wxSize_helper(obj3
, &arg4
)) SWIG_fail
;
28542 ecode5
= SWIG_AsVal_long(obj4
, &val5
);
28543 if (!SWIG_IsOK(ecode5
)) {
28544 SWIG_exception_fail(SWIG_ArgError(ecode5
), "in method '" "new_PreviewCanvas" "', expected argument " "5"" of type '" "long""'");
28546 arg5
= static_cast< long >(val5
);
28550 arg6
= wxString_in_helper(obj5
);
28551 if (arg6
== NULL
) SWIG_fail
;
28556 if (!wxPyCheckForApp()) SWIG_fail
;
28557 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28558 result
= (wxPreviewCanvas
*)new wxPreviewCanvas(arg1
,arg2
,(wxPoint
const &)*arg3
,(wxSize
const &)*arg4
,arg5
,(wxString
const &)*arg6
);
28559 wxPyEndAllowThreads(__tstate
);
28560 if (PyErr_Occurred()) SWIG_fail
;
28562 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, SWIG_POINTER_NEW
| 0 );
28577 SWIGINTERN PyObject
*PreviewCanvas_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28579 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28580 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewCanvas
, SWIG_NewClientData(obj
));
28581 return SWIG_Py_Void();
28584 SWIGINTERN PyObject
*PreviewCanvas_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28585 return SWIG_Python_InitShadowInstance(args
);
28588 SWIGINTERN PyObject
*_wrap_new_PreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28589 PyObject
*resultobj
= 0;
28590 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28591 wxFrame
*arg2
= (wxFrame
*) 0 ;
28592 wxString
*arg3
= 0 ;
28593 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28594 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28595 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28596 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28597 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
28598 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
28599 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28600 wxPreviewFrame
*result
= 0 ;
28604 bool temp3
= false ;
28609 bool temp7
= false ;
28610 PyObject
* obj0
= 0 ;
28611 PyObject
* obj1
= 0 ;
28612 PyObject
* obj2
= 0 ;
28613 PyObject
* obj3
= 0 ;
28614 PyObject
* obj4
= 0 ;
28615 PyObject
* obj5
= 0 ;
28616 PyObject
* obj6
= 0 ;
28617 char * kwnames
[] = {
28618 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28621 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28622 res1
= SWIG_ConvertPtr(obj0
, SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
28623 if (!SWIG_IsOK(res1
)) {
28624 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28626 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
28627 if (!SWIG_IsOK(res2
)) {
28628 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
28630 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
28632 arg3
= wxString_in_helper(obj2
);
28633 if (arg3
== NULL
) SWIG_fail
;
28639 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28645 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28649 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28650 if (!SWIG_IsOK(ecode6
)) {
28651 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewFrame" "', expected argument " "6"" of type '" "long""'");
28653 arg6
= static_cast< long >(val6
);
28657 arg7
= wxString_in_helper(obj6
);
28658 if (arg7
== NULL
) SWIG_fail
;
28663 if (!wxPyCheckForApp()) SWIG_fail
;
28664 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28665 result
= (wxPreviewFrame
*)new wxPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28666 wxPyEndAllowThreads(__tstate
);
28667 if (PyErr_Occurred()) SWIG_fail
;
28669 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewFrame
, SWIG_POINTER_NEW
| 0 );
28692 SWIGINTERN PyObject
*_wrap_PreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28693 PyObject
*resultobj
= 0;
28694 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28697 PyObject
*swig_obj
[1] ;
28699 if (!args
) SWIG_fail
;
28700 swig_obj
[0] = args
;
28701 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28702 if (!SWIG_IsOK(res1
)) {
28703 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28705 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28707 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28708 (arg1
)->Initialize();
28709 wxPyEndAllowThreads(__tstate
);
28710 if (PyErr_Occurred()) SWIG_fail
;
28712 resultobj
= SWIG_Py_Void();
28719 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28720 PyObject
*resultobj
= 0;
28721 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28724 PyObject
*swig_obj
[1] ;
28726 if (!args
) SWIG_fail
;
28727 swig_obj
[0] = args
;
28728 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28729 if (!SWIG_IsOK(res1
)) {
28730 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28732 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28734 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28735 (arg1
)->CreateControlBar();
28736 wxPyEndAllowThreads(__tstate
);
28737 if (PyErr_Occurred()) SWIG_fail
;
28739 resultobj
= SWIG_Py_Void();
28746 SWIGINTERN PyObject
*_wrap_PreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28747 PyObject
*resultobj
= 0;
28748 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28751 PyObject
*swig_obj
[1] ;
28753 if (!args
) SWIG_fail
;
28754 swig_obj
[0] = args
;
28755 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28756 if (!SWIG_IsOK(res1
)) {
28757 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPreviewFrame *""'");
28759 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28762 (arg1
)->CreateCanvas();
28763 wxPyEndAllowThreads(__tstate
);
28764 if (PyErr_Occurred()) SWIG_fail
;
28766 resultobj
= SWIG_Py_Void();
28773 SWIGINTERN PyObject
*_wrap_PreviewFrame_GetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28774 PyObject
*resultobj
= 0;
28775 wxPreviewFrame
*arg1
= (wxPreviewFrame
*) 0 ;
28776 wxPreviewControlBar
*result
= 0 ;
28779 PyObject
*swig_obj
[1] ;
28781 if (!args
) SWIG_fail
;
28782 swig_obj
[0] = args
;
28783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewFrame
, 0 | 0 );
28784 if (!SWIG_IsOK(res1
)) {
28785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewFrame_GetControlBar" "', expected argument " "1"" of type '" "wxPreviewFrame const *""'");
28787 arg1
= reinterpret_cast< wxPreviewFrame
* >(argp1
);
28789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28790 result
= (wxPreviewControlBar
*)((wxPreviewFrame
const *)arg1
)->GetControlBar();
28791 wxPyEndAllowThreads(__tstate
);
28792 if (PyErr_Occurred()) SWIG_fail
;
28794 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28801 SWIGINTERN PyObject
*PreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28803 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
28804 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewFrame
, SWIG_NewClientData(obj
));
28805 return SWIG_Py_Void();
28808 SWIGINTERN PyObject
*PreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28809 return SWIG_Python_InitShadowInstance(args
);
28812 SWIGINTERN PyObject
*_wrap_new_PreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28813 PyObject
*resultobj
= 0;
28814 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
28816 wxWindow
*arg3
= (wxWindow
*) 0 ;
28817 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
28818 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
28819 wxSize
const &arg5_defvalue
= wxDefaultSize
;
28820 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
28821 long arg6
= (long) wxTAB_TRAVERSAL
;
28822 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
28823 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
28824 wxPreviewControlBar
*result
= 0 ;
28835 bool temp7
= false ;
28836 PyObject
* obj0
= 0 ;
28837 PyObject
* obj1
= 0 ;
28838 PyObject
* obj2
= 0 ;
28839 PyObject
* obj3
= 0 ;
28840 PyObject
* obj4
= 0 ;
28841 PyObject
* obj5
= 0 ;
28842 PyObject
* obj6
= 0 ;
28843 char * kwnames
[] = {
28844 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
28847 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
28848 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
28849 if (!SWIG_IsOK(res1
)) {
28850 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
28852 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
28853 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
28854 if (!SWIG_IsOK(ecode2
)) {
28855 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PreviewControlBar" "', expected argument " "2"" of type '" "long""'");
28857 arg2
= static_cast< long >(val2
);
28858 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
28859 if (!SWIG_IsOK(res3
)) {
28860 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
28862 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
28866 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
28872 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
28876 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
28877 if (!SWIG_IsOK(ecode6
)) {
28878 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PreviewControlBar" "', expected argument " "6"" of type '" "long""'");
28880 arg6
= static_cast< long >(val6
);
28884 arg7
= wxString_in_helper(obj6
);
28885 if (arg7
== NULL
) SWIG_fail
;
28890 if (!wxPyCheckForApp()) SWIG_fail
;
28891 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28892 result
= (wxPreviewControlBar
*)new wxPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
28893 wxPyEndAllowThreads(__tstate
);
28894 if (PyErr_Occurred()) SWIG_fail
;
28896 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
28911 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28912 PyObject
*resultobj
= 0;
28913 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28917 PyObject
*swig_obj
[1] ;
28919 if (!args
) SWIG_fail
;
28920 swig_obj
[0] = args
;
28921 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28922 if (!SWIG_IsOK(res1
)) {
28923 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28925 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28927 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28928 result
= (int)(arg1
)->GetZoomControl();
28929 wxPyEndAllowThreads(__tstate
);
28930 if (PyErr_Occurred()) SWIG_fail
;
28932 resultobj
= SWIG_From_int(static_cast< int >(result
));
28939 SWIGINTERN PyObject
*_wrap_PreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
28940 PyObject
*resultobj
= 0;
28941 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28947 PyObject
* obj0
= 0 ;
28948 PyObject
* obj1
= 0 ;
28949 char * kwnames
[] = {
28950 (char *) "self",(char *) "zoom", NULL
28953 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
28954 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28955 if (!SWIG_IsOK(res1
)) {
28956 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28958 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28959 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
28960 if (!SWIG_IsOK(ecode2
)) {
28961 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
28963 arg2
= static_cast< int >(val2
);
28965 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28966 (arg1
)->SetZoomControl(arg2
);
28967 wxPyEndAllowThreads(__tstate
);
28968 if (PyErr_Occurred()) SWIG_fail
;
28970 resultobj
= SWIG_Py_Void();
28977 SWIGINTERN PyObject
*_wrap_PreviewControlBar_GetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
28978 PyObject
*resultobj
= 0;
28979 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
28980 wxPrintPreview
*result
= 0 ;
28983 PyObject
*swig_obj
[1] ;
28985 if (!args
) SWIG_fail
;
28986 swig_obj
[0] = args
;
28987 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
28988 if (!SWIG_IsOK(res1
)) {
28989 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_GetPrintPreview" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
28991 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
28993 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
28994 result
= (wxPrintPreview
*)(arg1
)->GetPrintPreview();
28995 wxPyEndAllowThreads(__tstate
);
28996 if (PyErr_Occurred()) SWIG_fail
;
28998 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29005 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnNext(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29006 PyObject
*resultobj
= 0;
29007 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29010 PyObject
*swig_obj
[1] ;
29012 if (!args
) SWIG_fail
;
29013 swig_obj
[0] = args
;
29014 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29015 if (!SWIG_IsOK(res1
)) {
29016 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnNext" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29018 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29020 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29022 wxPyEndAllowThreads(__tstate
);
29023 if (PyErr_Occurred()) SWIG_fail
;
29025 resultobj
= SWIG_Py_Void();
29032 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnPrevious(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29033 PyObject
*resultobj
= 0;
29034 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29037 PyObject
*swig_obj
[1] ;
29039 if (!args
) SWIG_fail
;
29040 swig_obj
[0] = args
;
29041 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29042 if (!SWIG_IsOK(res1
)) {
29043 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnPrevious" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29045 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29047 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29048 (arg1
)->OnPrevious();
29049 wxPyEndAllowThreads(__tstate
);
29050 if (PyErr_Occurred()) SWIG_fail
;
29052 resultobj
= SWIG_Py_Void();
29059 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnFirst(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29060 PyObject
*resultobj
= 0;
29061 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 0 ;
29064 PyObject
*swig_obj
[1] ;
29066 if (!args
) SWIG_fail
;
29067 swig_obj
[0] = args
;
29068 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
29069 if (!SWIG_IsOK(res1
)) {
29070 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnFirst" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29072 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29074 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29076 wxPyEndAllowThreads(__tstate
);
29077 if (PyErr_Occurred()) SWIG_fail
;
29079 resultobj
= SWIG_Py_Void();
29086 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnLast(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29087 PyObject
*resultobj
= 0;
29088 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
29096 if (!SWIG_IsOK(res1
)) {
29097 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnLast" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29099 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29101 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29103 wxPyEndAllowThreads(__tstate
);
29104 if (PyErr_Occurred()) SWIG_fail
;
29106 resultobj
= SWIG_Py_Void();
29113 SWIGINTERN PyObject
*_wrap_PreviewControlBar_OnGoto(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29114 PyObject
*resultobj
= 0;
29115 wxPreviewControlBar
*arg1
= (wxPreviewControlBar
*) 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_wxPreviewControlBar
, 0 | 0 );
29123 if (!SWIG_IsOK(res1
)) {
29124 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PreviewControlBar_OnGoto" "', expected argument " "1"" of type '" "wxPreviewControlBar *""'");
29126 arg1
= reinterpret_cast< wxPreviewControlBar
* >(argp1
);
29128 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29130 wxPyEndAllowThreads(__tstate
);
29131 if (PyErr_Occurred()) SWIG_fail
;
29133 resultobj
= SWIG_Py_Void();
29140 SWIGINTERN PyObject
*PreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29142 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
29143 SWIG_TypeNewClientData(SWIGTYPE_p_wxPreviewControlBar
, SWIG_NewClientData(obj
));
29144 return SWIG_Py_Void();
29147 SWIGINTERN PyObject
*PreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29148 return SWIG_Python_InitShadowInstance(args
);
29151 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29152 PyObject
*resultobj
= 0;
29153 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29154 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29155 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
29156 wxPrintPreview
*result
= 0 ;
29162 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
29163 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29164 if (!SWIG_IsOK(res1
)) {
29165 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29167 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29168 if (!SWIG_IsOK(res2
)) {
29169 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29172 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29173 if (!SWIG_IsOK(res3
)) {
29174 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
29176 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
29179 if (!wxPyCheckForApp()) SWIG_fail
;
29180 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29181 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29182 wxPyEndAllowThreads(__tstate
);
29183 if (PyErr_Occurred()) SWIG_fail
;
29185 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29192 SWIGINTERN PyObject
*_wrap_new_PrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
29193 PyObject
*resultobj
= 0;
29194 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
29195 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29196 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
29197 wxPrintPreview
*result
= 0 ;
29203 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
29204 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29205 if (!SWIG_IsOK(res1
)) {
29206 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
29208 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29209 if (!SWIG_IsOK(res2
)) {
29210 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29212 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
29213 if (!SWIG_IsOK(res3
)) {
29214 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
29216 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
29218 if (!wxPyCheckForApp()) SWIG_fail
;
29219 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29220 result
= (wxPrintPreview
*)new wxPrintPreview(arg1
,arg2
,arg3
);
29221 wxPyEndAllowThreads(__tstate
);
29222 if (PyErr_Occurred()) SWIG_fail
;
29224 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_NEW
| 0 );
29231 SWIGINTERN PyObject
*_wrap_new_PrintPreview(PyObject
*self
, PyObject
*args
) {
29235 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PrintPreview",0,3,argv
))) SWIG_fail
;
29237 if ((argc
>= 2) && (argc
<= 3)) {
29242 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
29243 _v
= SWIG_CheckState(res
);
29245 if (!_v
) goto check_1
;
29247 return _wrap_new_PrintPreview__SWIG_0(self
, argc
, argv
);
29252 return _wrap_new_PrintPreview__SWIG_1(self
, argc
, argv
);
29256 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PrintPreview'");
29261 SWIGINTERN PyObject
*_wrap_delete_PrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29262 PyObject
*resultobj
= 0;
29263 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29266 PyObject
*swig_obj
[1] ;
29268 if (!args
) SWIG_fail
;
29269 swig_obj
[0] = args
;
29270 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, SWIG_POINTER_DISOWN
| 0 );
29271 if (!SWIG_IsOK(res1
)) {
29272 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "delete_PrintPreview" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29274 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29276 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29279 wxPyEndAllowThreads(__tstate
);
29280 if (PyErr_Occurred()) SWIG_fail
;
29282 resultobj
= SWIG_Py_Void();
29289 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29290 PyObject
*resultobj
= 0;
29291 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29298 PyObject
* obj0
= 0 ;
29299 PyObject
* obj1
= 0 ;
29300 char * kwnames
[] = {
29301 (char *) "self",(char *) "pageNum", NULL
29304 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCurrentPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29305 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29306 if (!SWIG_IsOK(res1
)) {
29307 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29309 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29310 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29311 if (!SWIG_IsOK(ecode2
)) {
29312 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetCurrentPage" "', expected argument " "2"" of type '" "int""'");
29314 arg2
= static_cast< int >(val2
);
29316 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29317 result
= (bool)(arg1
)->SetCurrentPage(arg2
);
29318 wxPyEndAllowThreads(__tstate
);
29319 if (PyErr_Occurred()) SWIG_fail
;
29322 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29330 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCurrentPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29331 PyObject
*resultobj
= 0;
29332 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29336 PyObject
*swig_obj
[1] ;
29338 if (!args
) SWIG_fail
;
29339 swig_obj
[0] = args
;
29340 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29341 if (!SWIG_IsOK(res1
)) {
29342 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCurrentPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29344 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29346 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29347 result
= (int)(arg1
)->GetCurrentPage();
29348 wxPyEndAllowThreads(__tstate
);
29349 if (PyErr_Occurred()) SWIG_fail
;
29351 resultobj
= SWIG_From_int(static_cast< int >(result
));
29358 SWIGINTERN PyObject
*_wrap_PrintPreview_SetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29359 PyObject
*resultobj
= 0;
29360 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29361 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
29365 PyObject
* obj0
= 0 ;
29366 PyObject
* obj1
= 0 ;
29367 char * kwnames
[] = {
29368 (char *) "self",(char *) "printout", NULL
29371 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetPrintout",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29372 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29373 if (!SWIG_IsOK(res1
)) {
29374 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29376 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29377 res2
= SWIG_ConvertPtr(obj1
, SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
29378 if (!SWIG_IsOK(res2
)) {
29379 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetPrintout" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
29382 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29383 (arg1
)->SetPrintout(arg2
);
29384 wxPyEndAllowThreads(__tstate
);
29385 if (PyErr_Occurred()) SWIG_fail
;
29387 resultobj
= SWIG_Py_Void();
29394 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintout(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29395 PyObject
*resultobj
= 0;
29396 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29397 wxPyPrintout
*result
= 0 ;
29400 PyObject
*swig_obj
[1] ;
29402 if (!args
) SWIG_fail
;
29403 swig_obj
[0] = args
;
29404 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29405 if (!SWIG_IsOK(res1
)) {
29406 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintout" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29408 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29410 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29411 result
= (wxPyPrintout
*)(arg1
)->GetPrintout();
29412 wxPyEndAllowThreads(__tstate
);
29413 if (PyErr_Occurred()) SWIG_fail
;
29416 resultobj
= wxPyMake_wxObject(result
, 0);
29424 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintoutForPrinting(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29425 PyObject
*resultobj
= 0;
29426 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29427 wxPyPrintout
*result
= 0 ;
29430 PyObject
*swig_obj
[1] ;
29432 if (!args
) SWIG_fail
;
29433 swig_obj
[0] = args
;
29434 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29435 if (!SWIG_IsOK(res1
)) {
29436 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintoutForPrinting" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29438 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29440 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29441 result
= (wxPyPrintout
*)(arg1
)->GetPrintoutForPrinting();
29442 wxPyEndAllowThreads(__tstate
);
29443 if (PyErr_Occurred()) SWIG_fail
;
29446 resultobj
= wxPyMake_wxObject(result
, 0);
29454 SWIGINTERN PyObject
*_wrap_PrintPreview_SetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29455 PyObject
*resultobj
= 0;
29456 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29457 wxFrame
*arg2
= (wxFrame
*) 0 ;
29462 PyObject
* obj0
= 0 ;
29463 PyObject
* obj1
= 0 ;
29464 char * kwnames
[] = {
29465 (char *) "self",(char *) "frame", NULL
29468 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetFrame",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29469 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29470 if (!SWIG_IsOK(res1
)) {
29471 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29473 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29474 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
29475 if (!SWIG_IsOK(res2
)) {
29476 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
29478 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
29480 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29481 (arg1
)->SetFrame(arg2
);
29482 wxPyEndAllowThreads(__tstate
);
29483 if (PyErr_Occurred()) SWIG_fail
;
29485 resultobj
= SWIG_Py_Void();
29492 SWIGINTERN PyObject
*_wrap_PrintPreview_SetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29493 PyObject
*resultobj
= 0;
29494 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29495 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29500 PyObject
* obj0
= 0 ;
29501 PyObject
* obj1
= 0 ;
29502 char * kwnames
[] = {
29503 (char *) "self",(char *) "canvas", NULL
29506 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29507 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29508 if (!SWIG_IsOK(res1
)) {
29509 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29511 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29512 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29513 if (!SWIG_IsOK(res2
)) {
29514 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_SetCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29516 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29518 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29519 (arg1
)->SetCanvas(arg2
);
29520 wxPyEndAllowThreads(__tstate
);
29521 if (PyErr_Occurred()) SWIG_fail
;
29523 resultobj
= SWIG_Py_Void();
29530 SWIGINTERN PyObject
*_wrap_PrintPreview_GetFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29531 PyObject
*resultobj
= 0;
29532 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29533 wxFrame
*result
= 0 ;
29536 PyObject
*swig_obj
[1] ;
29538 if (!args
) SWIG_fail
;
29539 swig_obj
[0] = args
;
29540 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29541 if (!SWIG_IsOK(res1
)) {
29542 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29544 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29546 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29547 result
= (wxFrame
*)(arg1
)->GetFrame();
29548 wxPyEndAllowThreads(__tstate
);
29549 if (PyErr_Occurred()) SWIG_fail
;
29552 resultobj
= wxPyMake_wxObject(result
, 0);
29560 SWIGINTERN PyObject
*_wrap_PrintPreview_GetCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29561 PyObject
*resultobj
= 0;
29562 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29563 wxPreviewCanvas
*result
= 0 ;
29566 PyObject
*swig_obj
[1] ;
29568 if (!args
) SWIG_fail
;
29569 swig_obj
[0] = args
;
29570 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29571 if (!SWIG_IsOK(res1
)) {
29572 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetCanvas" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29574 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29576 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29577 result
= (wxPreviewCanvas
*)(arg1
)->GetCanvas();
29578 wxPyEndAllowThreads(__tstate
);
29579 if (PyErr_Occurred()) SWIG_fail
;
29581 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29588 SWIGINTERN PyObject
*_wrap_PrintPreview_PaintPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29589 PyObject
*resultobj
= 0;
29590 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29591 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29600 PyObject
* obj0
= 0 ;
29601 PyObject
* obj1
= 0 ;
29602 PyObject
* obj2
= 0 ;
29603 char * kwnames
[] = {
29604 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29607 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_PaintPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29608 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29609 if (!SWIG_IsOK(res1
)) {
29610 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_PaintPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29612 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29613 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29614 if (!SWIG_IsOK(res2
)) {
29615 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_PaintPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29617 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29618 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29619 if (!SWIG_IsOK(res3
)) {
29620 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29623 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_PaintPage" "', expected argument " "3"" of type '" "wxDC &""'");
29625 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29627 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29628 result
= (bool)(arg1
)->PaintPage(arg2
,*arg3
);
29629 wxPyEndAllowThreads(__tstate
);
29630 if (PyErr_Occurred()) SWIG_fail
;
29633 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29641 SWIGINTERN PyObject
*_wrap_PrintPreview_DrawBlankPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29642 PyObject
*resultobj
= 0;
29643 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29644 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29653 PyObject
* obj0
= 0 ;
29654 PyObject
* obj1
= 0 ;
29655 PyObject
* obj2
= 0 ;
29656 char * kwnames
[] = {
29657 (char *) "self",(char *) "canvas",(char *) "dc", NULL
29660 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PrintPreview_DrawBlankPage",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
29661 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29662 if (!SWIG_IsOK(res1
)) {
29663 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29665 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29666 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29667 if (!SWIG_IsOK(res2
)) {
29668 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29670 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29671 res3
= SWIG_ConvertPtr(obj2
, &argp3
, SWIGTYPE_p_wxDC
, 0 );
29672 if (!SWIG_IsOK(res3
)) {
29673 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29676 SWIG_exception_fail(SWIG_ValueError
, "invalid null reference " "in method '" "PrintPreview_DrawBlankPage" "', expected argument " "3"" of type '" "wxDC &""'");
29678 arg3
= reinterpret_cast< wxDC
* >(argp3
);
29680 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29681 result
= (bool)(arg1
)->DrawBlankPage(arg2
,*arg3
);
29682 wxPyEndAllowThreads(__tstate
);
29683 if (PyErr_Occurred()) SWIG_fail
;
29686 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29694 SWIGINTERN PyObject
*_wrap_PrintPreview_RenderPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29695 PyObject
*resultobj
= 0;
29696 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29703 PyObject
* obj0
= 0 ;
29704 PyObject
* obj1
= 0 ;
29705 char * kwnames
[] = {
29706 (char *) "self",(char *) "pageNum", NULL
29709 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_RenderPage",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29710 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29711 if (!SWIG_IsOK(res1
)) {
29712 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_RenderPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29714 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29715 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29716 if (!SWIG_IsOK(ecode2
)) {
29717 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_RenderPage" "', expected argument " "2"" of type '" "int""'");
29719 arg2
= static_cast< int >(val2
);
29721 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29722 result
= (bool)(arg1
)->RenderPage(arg2
);
29723 wxPyEndAllowThreads(__tstate
);
29724 if (PyErr_Occurred()) SWIG_fail
;
29727 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29735 SWIGINTERN PyObject
*_wrap_PrintPreview_AdjustScrollbars(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29736 PyObject
*resultobj
= 0;
29737 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29738 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
29743 PyObject
* obj0
= 0 ;
29744 PyObject
* obj1
= 0 ;
29745 char * kwnames
[] = {
29746 (char *) "self",(char *) "canvas", NULL
29749 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_AdjustScrollbars",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29750 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29751 if (!SWIG_IsOK(res1
)) {
29752 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29754 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29755 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
29756 if (!SWIG_IsOK(res2
)) {
29757 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PrintPreview_AdjustScrollbars" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
29759 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
29761 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29762 (arg1
)->AdjustScrollbars(arg2
);
29763 wxPyEndAllowThreads(__tstate
);
29764 if (PyErr_Occurred()) SWIG_fail
;
29766 resultobj
= SWIG_Py_Void();
29773 SWIGINTERN PyObject
*_wrap_PrintPreview_GetPrintDialogData(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29774 PyObject
*resultobj
= 0;
29775 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29776 wxPrintDialogData
*result
= 0 ;
29779 PyObject
*swig_obj
[1] ;
29781 if (!args
) SWIG_fail
;
29782 swig_obj
[0] = args
;
29783 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29784 if (!SWIG_IsOK(res1
)) {
29785 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetPrintDialogData" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29787 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29789 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29791 wxPrintDialogData
&_result_ref
= (arg1
)->GetPrintDialogData();
29792 result
= (wxPrintDialogData
*) &_result_ref
;
29794 wxPyEndAllowThreads(__tstate
);
29795 if (PyErr_Occurred()) SWIG_fail
;
29797 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
29804 SWIGINTERN PyObject
*_wrap_PrintPreview_SetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29805 PyObject
*resultobj
= 0;
29806 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29812 PyObject
* obj0
= 0 ;
29813 PyObject
* obj1
= 0 ;
29814 char * kwnames
[] = {
29815 (char *) "self",(char *) "percent", NULL
29818 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetZoom",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29819 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29820 if (!SWIG_IsOK(res1
)) {
29821 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29823 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29824 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
29825 if (!SWIG_IsOK(ecode2
)) {
29826 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetZoom" "', expected argument " "2"" of type '" "int""'");
29828 arg2
= static_cast< int >(val2
);
29830 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29831 (arg1
)->SetZoom(arg2
);
29832 wxPyEndAllowThreads(__tstate
);
29833 if (PyErr_Occurred()) SWIG_fail
;
29835 resultobj
= SWIG_Py_Void();
29842 SWIGINTERN PyObject
*_wrap_PrintPreview_GetZoom(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29843 PyObject
*resultobj
= 0;
29844 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29848 PyObject
*swig_obj
[1] ;
29850 if (!args
) SWIG_fail
;
29851 swig_obj
[0] = args
;
29852 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29853 if (!SWIG_IsOK(res1
)) {
29854 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetZoom" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29856 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29858 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29859 result
= (int)(arg1
)->GetZoom();
29860 wxPyEndAllowThreads(__tstate
);
29861 if (PyErr_Occurred()) SWIG_fail
;
29863 resultobj
= SWIG_From_int(static_cast< int >(result
));
29870 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMaxPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29871 PyObject
*resultobj
= 0;
29872 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29876 PyObject
*swig_obj
[1] ;
29878 if (!args
) SWIG_fail
;
29879 swig_obj
[0] = args
;
29880 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29881 if (!SWIG_IsOK(res1
)) {
29882 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMaxPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29884 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29886 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29887 result
= (int)(arg1
)->GetMaxPage();
29888 wxPyEndAllowThreads(__tstate
);
29889 if (PyErr_Occurred()) SWIG_fail
;
29891 resultobj
= SWIG_From_int(static_cast< int >(result
));
29898 SWIGINTERN PyObject
*_wrap_PrintPreview_GetMinPage(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29899 PyObject
*resultobj
= 0;
29900 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29904 PyObject
*swig_obj
[1] ;
29906 if (!args
) SWIG_fail
;
29907 swig_obj
[0] = args
;
29908 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29909 if (!SWIG_IsOK(res1
)) {
29910 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_GetMinPage" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29912 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29914 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29915 result
= (int)(arg1
)->GetMinPage();
29916 wxPyEndAllowThreads(__tstate
);
29917 if (PyErr_Occurred()) SWIG_fail
;
29919 resultobj
= SWIG_From_int(static_cast< int >(result
));
29926 SWIGINTERN PyObject
*_wrap_PrintPreview_Ok(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
29927 PyObject
*resultobj
= 0;
29928 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29932 PyObject
*swig_obj
[1] ;
29934 if (!args
) SWIG_fail
;
29935 swig_obj
[0] = args
;
29936 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29937 if (!SWIG_IsOK(res1
)) {
29938 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Ok" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29940 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29942 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29943 result
= (bool)(arg1
)->Ok();
29944 wxPyEndAllowThreads(__tstate
);
29945 if (PyErr_Occurred()) SWIG_fail
;
29948 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
29956 SWIGINTERN PyObject
*_wrap_PrintPreview_SetOk(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29957 PyObject
*resultobj
= 0;
29958 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
29964 PyObject
* obj0
= 0 ;
29965 PyObject
* obj1
= 0 ;
29966 char * kwnames
[] = {
29967 (char *) "self",(char *) "ok", NULL
29970 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_SetOk",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
29971 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
29972 if (!SWIG_IsOK(res1
)) {
29973 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_SetOk" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
29975 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
29976 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
29977 if (!SWIG_IsOK(ecode2
)) {
29978 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_SetOk" "', expected argument " "2"" of type '" "bool""'");
29980 arg2
= static_cast< bool >(val2
);
29982 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
29983 (arg1
)->SetOk(arg2
);
29984 wxPyEndAllowThreads(__tstate
);
29985 if (PyErr_Occurred()) SWIG_fail
;
29987 resultobj
= SWIG_Py_Void();
29994 SWIGINTERN PyObject
*_wrap_PrintPreview_Print(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
29995 PyObject
*resultobj
= 0;
29996 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30003 PyObject
* obj0
= 0 ;
30004 PyObject
* obj1
= 0 ;
30005 char * kwnames
[] = {
30006 (char *) "self",(char *) "interactive", NULL
30009 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PrintPreview_Print",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30010 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30011 if (!SWIG_IsOK(res1
)) {
30012 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_Print" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30014 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30015 ecode2
= SWIG_AsVal_bool(obj1
, &val2
);
30016 if (!SWIG_IsOK(ecode2
)) {
30017 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PrintPreview_Print" "', expected argument " "2"" of type '" "bool""'");
30019 arg2
= static_cast< bool >(val2
);
30021 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30022 result
= (bool)(arg1
)->Print(arg2
);
30023 wxPyEndAllowThreads(__tstate
);
30024 if (PyErr_Occurred()) SWIG_fail
;
30027 resultobj
= result
? Py_True
: Py_False
; Py_INCREF(resultobj
);
30035 SWIGINTERN PyObject
*_wrap_PrintPreview_DetermineScaling(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30036 PyObject
*resultobj
= 0;
30037 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30040 PyObject
*swig_obj
[1] ;
30042 if (!args
) SWIG_fail
;
30043 swig_obj
[0] = args
;
30044 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30045 if (!SWIG_IsOK(res1
)) {
30046 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PrintPreview_DetermineScaling" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30048 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30050 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30051 (arg1
)->DetermineScaling();
30052 wxPyEndAllowThreads(__tstate
);
30053 if (PyErr_Occurred()) SWIG_fail
;
30055 resultobj
= SWIG_Py_Void();
30062 SWIGINTERN PyObject
*PrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30064 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30065 SWIG_TypeNewClientData(SWIGTYPE_p_wxPrintPreview
, SWIG_NewClientData(obj
));
30066 return SWIG_Py_Void();
30069 SWIGINTERN PyObject
*PrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30070 return SWIG_Python_InitShadowInstance(args
);
30073 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_0(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30074 PyObject
*resultobj
= 0;
30075 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30076 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30077 wxPrintDialogData
*arg3
= (wxPrintDialogData
*) NULL
;
30078 wxPyPrintPreview
*result
= 0 ;
30084 if ((nobjs
< 2) || (nobjs
> 3)) SWIG_fail
;
30085 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30086 if (!SWIG_IsOK(res1
)) {
30087 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30089 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30090 if (!SWIG_IsOK(res2
)) {
30091 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30094 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintDialogData
, 0 | 0 );
30095 if (!SWIG_IsOK(res3
)) {
30096 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintDialogData *""'");
30098 arg3
= reinterpret_cast< wxPrintDialogData
* >(argp3
);
30101 if (!wxPyCheckForApp()) SWIG_fail
;
30102 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30103 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30104 wxPyEndAllowThreads(__tstate
);
30105 if (PyErr_Occurred()) SWIG_fail
;
30107 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30114 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview__SWIG_1(PyObject
*SWIGUNUSEDPARM(self
), int nobjs
, PyObject
**swig_obj
) {
30115 PyObject
*resultobj
= 0;
30116 wxPyPrintout
*arg1
= (wxPyPrintout
*) 0 ;
30117 wxPyPrintout
*arg2
= (wxPyPrintout
*) 0 ;
30118 wxPrintData
*arg3
= (wxPrintData
*) 0 ;
30119 wxPyPrintPreview
*result
= 0 ;
30125 if ((nobjs
< 3) || (nobjs
> 3)) SWIG_fail
;
30126 res1
= SWIG_ConvertPtr(swig_obj
[0], SWIG_as_voidptrptr(&arg1
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30127 if (!SWIG_IsOK(res1
)) {
30128 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPrintPreview" "', expected argument " "1"" of type '" "wxPyPrintout *""'");
30130 res2
= SWIG_ConvertPtr(swig_obj
[1], SWIG_as_voidptrptr(&arg2
), SWIGTYPE_p_wxPyPrintout
, SWIG_POINTER_DISOWN
| 0 );
30131 if (!SWIG_IsOK(res2
)) {
30132 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPrintPreview" "', expected argument " "2"" of type '" "wxPyPrintout *""'");
30134 res3
= SWIG_ConvertPtr(swig_obj
[2], &argp3
,SWIGTYPE_p_wxPrintData
, 0 | 0 );
30135 if (!SWIG_IsOK(res3
)) {
30136 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPrintPreview" "', expected argument " "3"" of type '" "wxPrintData *""'");
30138 arg3
= reinterpret_cast< wxPrintData
* >(argp3
);
30140 if (!wxPyCheckForApp()) SWIG_fail
;
30141 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30142 result
= (wxPyPrintPreview
*)new wxPyPrintPreview(arg1
,arg2
,arg3
);
30143 wxPyEndAllowThreads(__tstate
);
30144 if (PyErr_Occurred()) SWIG_fail
;
30146 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPrintPreview
, SWIG_POINTER_NEW
| 0 );
30153 SWIGINTERN PyObject
*_wrap_new_PyPrintPreview(PyObject
*self
, PyObject
*args
) {
30157 if (!(argc
= SWIG_Python_UnpackTuple(args
,"new_PyPrintPreview",0,3,argv
))) SWIG_fail
;
30159 if ((argc
>= 2) && (argc
<= 3)) {
30164 int res
= SWIG_ConvertPtr(argv
[2], &vptr
, SWIGTYPE_p_wxPrintDialogData
, 0);
30165 _v
= SWIG_CheckState(res
);
30167 if (!_v
) goto check_1
;
30169 return _wrap_new_PyPrintPreview__SWIG_0(self
, argc
, argv
);
30174 return _wrap_new_PyPrintPreview__SWIG_1(self
, argc
, argv
);
30178 SWIG_SetErrorMsg(PyExc_NotImplementedError
,"No matching function for overloaded 'new_PyPrintPreview'");
30183 SWIGINTERN PyObject
*_wrap_PyPrintPreview__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30184 PyObject
*resultobj
= 0;
30185 wxPyPrintPreview
*arg1
= (wxPyPrintPreview
*) 0 ;
30186 PyObject
*arg2
= (PyObject
*) 0 ;
30187 PyObject
*arg3
= (PyObject
*) 0 ;
30190 PyObject
* obj0
= 0 ;
30191 PyObject
* obj1
= 0 ;
30192 PyObject
* obj2
= 0 ;
30193 char * kwnames
[] = {
30194 (char *) "self",(char *) "self",(char *) "_class", NULL
30197 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPrintPreview__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30198 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPrintPreview
, 0 | 0 );
30199 if (!SWIG_IsOK(res1
)) {
30200 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPrintPreview__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPrintPreview *""'");
30202 arg1
= reinterpret_cast< wxPyPrintPreview
* >(argp1
);
30206 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30207 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30208 wxPyEndAllowThreads(__tstate
);
30209 if (PyErr_Occurred()) SWIG_fail
;
30211 resultobj
= SWIG_Py_Void();
30218 SWIGINTERN PyObject
*PyPrintPreview_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30220 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30221 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPrintPreview
, SWIG_NewClientData(obj
));
30222 return SWIG_Py_Void();
30225 SWIGINTERN PyObject
*PyPrintPreview_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30226 return SWIG_Python_InitShadowInstance(args
);
30229 SWIGINTERN PyObject
*_wrap_new_PyPreviewFrame(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30230 PyObject
*resultobj
= 0;
30231 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30232 wxFrame
*arg2
= (wxFrame
*) 0 ;
30233 wxString
*arg3
= 0 ;
30234 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30235 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30236 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30237 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30238 long arg6
= (long) wxDEFAULT_FRAME_STYLE
;
30239 wxString
const &arg7_defvalue
= wxPyFrameNameStr
;
30240 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30241 wxPyPreviewFrame
*result
= 0 ;
30246 bool temp3
= false ;
30251 bool temp7
= false ;
30252 PyObject
* obj0
= 0 ;
30253 PyObject
* obj1
= 0 ;
30254 PyObject
* obj2
= 0 ;
30255 PyObject
* obj3
= 0 ;
30256 PyObject
* obj4
= 0 ;
30257 PyObject
* obj5
= 0 ;
30258 PyObject
* obj6
= 0 ;
30259 char * kwnames
[] = {
30260 (char *) "preview",(char *) "parent",(char *) "title",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30263 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewFrame",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30264 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30265 if (!SWIG_IsOK(res1
)) {
30266 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewFrame" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30268 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30269 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxFrame
, 0 | 0 );
30270 if (!SWIG_IsOK(res2
)) {
30271 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "new_PyPreviewFrame" "', expected argument " "2"" of type '" "wxFrame *""'");
30273 arg2
= reinterpret_cast< wxFrame
* >(argp2
);
30275 arg3
= wxString_in_helper(obj2
);
30276 if (arg3
== NULL
) SWIG_fail
;
30282 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30288 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30292 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30293 if (!SWIG_IsOK(ecode6
)) {
30294 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewFrame" "', expected argument " "6"" of type '" "long""'");
30296 arg6
= static_cast< long >(val6
);
30300 arg7
= wxString_in_helper(obj6
);
30301 if (arg7
== NULL
) SWIG_fail
;
30306 if (!wxPyCheckForApp()) SWIG_fail
;
30307 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30308 result
= (wxPyPreviewFrame
*)new wxPyPreviewFrame(arg1
,arg2
,(wxString
const &)*arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30309 wxPyEndAllowThreads(__tstate
);
30310 if (PyErr_Occurred()) SWIG_fail
;
30312 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewFrame
, SWIG_POINTER_NEW
| 0 );
30335 SWIGINTERN PyObject
*_wrap_PyPreviewFrame__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30336 PyObject
*resultobj
= 0;
30337 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30338 PyObject
*arg2
= (PyObject
*) 0 ;
30339 PyObject
*arg3
= (PyObject
*) 0 ;
30342 PyObject
* obj0
= 0 ;
30343 PyObject
* obj1
= 0 ;
30344 PyObject
* obj2
= 0 ;
30345 char * kwnames
[] = {
30346 (char *) "self",(char *) "self",(char *) "_class", NULL
30349 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewFrame__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30350 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30351 if (!SWIG_IsOK(res1
)) {
30352 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30354 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30358 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30359 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30360 wxPyEndAllowThreads(__tstate
);
30361 if (PyErr_Occurred()) SWIG_fail
;
30363 resultobj
= SWIG_Py_Void();
30370 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetPreviewCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30371 PyObject
*resultobj
= 0;
30372 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30373 wxPreviewCanvas
*arg2
= (wxPreviewCanvas
*) 0 ;
30378 PyObject
* obj0
= 0 ;
30379 PyObject
* obj1
= 0 ;
30380 char * kwnames
[] = {
30381 (char *) "self",(char *) "canvas", NULL
30384 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetPreviewCanvas",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30385 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30386 if (!SWIG_IsOK(res1
)) {
30387 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30389 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30390 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewCanvas
, 0 | 0 );
30391 if (!SWIG_IsOK(res2
)) {
30392 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetPreviewCanvas" "', expected argument " "2"" of type '" "wxPreviewCanvas *""'");
30394 arg2
= reinterpret_cast< wxPreviewCanvas
* >(argp2
);
30396 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30397 (arg1
)->SetPreviewCanvas(arg2
);
30398 wxPyEndAllowThreads(__tstate
);
30399 if (PyErr_Occurred()) SWIG_fail
;
30401 resultobj
= SWIG_Py_Void();
30408 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_SetControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30409 PyObject
*resultobj
= 0;
30410 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30411 wxPreviewControlBar
*arg2
= (wxPreviewControlBar
*) 0 ;
30416 PyObject
* obj0
= 0 ;
30417 PyObject
* obj1
= 0 ;
30418 char * kwnames
[] = {
30419 (char *) "self",(char *) "bar", NULL
30422 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewFrame_SetControlBar",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30423 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30424 if (!SWIG_IsOK(res1
)) {
30425 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30427 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30428 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPreviewControlBar
, 0 | 0 );
30429 if (!SWIG_IsOK(res2
)) {
30430 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewFrame_SetControlBar" "', expected argument " "2"" of type '" "wxPreviewControlBar *""'");
30432 arg2
= reinterpret_cast< wxPreviewControlBar
* >(argp2
);
30434 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30435 (arg1
)->SetControlBar(arg2
);
30436 wxPyEndAllowThreads(__tstate
);
30437 if (PyErr_Occurred()) SWIG_fail
;
30439 resultobj
= SWIG_Py_Void();
30446 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_Initialize(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30447 PyObject
*resultobj
= 0;
30448 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30451 PyObject
*swig_obj
[1] ;
30453 if (!args
) SWIG_fail
;
30454 swig_obj
[0] = args
;
30455 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30456 if (!SWIG_IsOK(res1
)) {
30457 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_Initialize" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30459 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30461 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30462 (arg1
)->Initialize();
30463 wxPyEndAllowThreads(__tstate
);
30464 if (PyErr_Occurred()) SWIG_fail
;
30466 resultobj
= SWIG_Py_Void();
30473 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateCanvas(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30474 PyObject
*resultobj
= 0;
30475 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30478 PyObject
*swig_obj
[1] ;
30480 if (!args
) SWIG_fail
;
30481 swig_obj
[0] = args
;
30482 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30483 if (!SWIG_IsOK(res1
)) {
30484 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateCanvas" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30486 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30488 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30489 (arg1
)->CreateCanvas();
30490 wxPyEndAllowThreads(__tstate
);
30491 if (PyErr_Occurred()) SWIG_fail
;
30493 resultobj
= SWIG_Py_Void();
30500 SWIGINTERN PyObject
*_wrap_PyPreviewFrame_CreateControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30501 PyObject
*resultobj
= 0;
30502 wxPyPreviewFrame
*arg1
= (wxPyPreviewFrame
*) 0 ;
30505 PyObject
*swig_obj
[1] ;
30507 if (!args
) SWIG_fail
;
30508 swig_obj
[0] = args
;
30509 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewFrame
, 0 | 0 );
30510 if (!SWIG_IsOK(res1
)) {
30511 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewFrame_CreateControlBar" "', expected argument " "1"" of type '" "wxPyPreviewFrame *""'");
30513 arg1
= reinterpret_cast< wxPyPreviewFrame
* >(argp1
);
30515 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30516 (arg1
)->CreateControlBar();
30517 wxPyEndAllowThreads(__tstate
);
30518 if (PyErr_Occurred()) SWIG_fail
;
30520 resultobj
= SWIG_Py_Void();
30527 SWIGINTERN PyObject
*PyPreviewFrame_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30529 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30530 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewFrame
, SWIG_NewClientData(obj
));
30531 return SWIG_Py_Void();
30534 SWIGINTERN PyObject
*PyPreviewFrame_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30535 return SWIG_Python_InitShadowInstance(args
);
30538 SWIGINTERN PyObject
*_wrap_new_PyPreviewControlBar(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30539 PyObject
*resultobj
= 0;
30540 wxPrintPreview
*arg1
= (wxPrintPreview
*) 0 ;
30542 wxWindow
*arg3
= (wxWindow
*) 0 ;
30543 wxPoint
const &arg4_defvalue
= wxDefaultPosition
;
30544 wxPoint
*arg4
= (wxPoint
*) &arg4_defvalue
;
30545 wxSize
const &arg5_defvalue
= wxDefaultSize
;
30546 wxSize
*arg5
= (wxSize
*) &arg5_defvalue
;
30547 long arg6
= (long) 0 ;
30548 wxString
const &arg7_defvalue
= wxPyPanelNameStr
;
30549 wxString
*arg7
= (wxString
*) &arg7_defvalue
;
30550 wxPyPreviewControlBar
*result
= 0 ;
30561 bool temp7
= false ;
30562 PyObject
* obj0
= 0 ;
30563 PyObject
* obj1
= 0 ;
30564 PyObject
* obj2
= 0 ;
30565 PyObject
* obj3
= 0 ;
30566 PyObject
* obj4
= 0 ;
30567 PyObject
* obj5
= 0 ;
30568 PyObject
* obj6
= 0 ;
30569 char * kwnames
[] = {
30570 (char *) "preview",(char *) "buttons",(char *) "parent",(char *) "pos",(char *) "size",(char *) "style",(char *) "name", NULL
30573 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO|OOOO:new_PyPreviewControlBar",kwnames
,&obj0
,&obj1
,&obj2
,&obj3
,&obj4
,&obj5
,&obj6
)) SWIG_fail
;
30574 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30575 if (!SWIG_IsOK(res1
)) {
30576 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "new_PyPreviewControlBar" "', expected argument " "1"" of type '" "wxPrintPreview *""'");
30578 arg1
= reinterpret_cast< wxPrintPreview
* >(argp1
);
30579 ecode2
= SWIG_AsVal_long(obj1
, &val2
);
30580 if (!SWIG_IsOK(ecode2
)) {
30581 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "new_PyPreviewControlBar" "', expected argument " "2"" of type '" "long""'");
30583 arg2
= static_cast< long >(val2
);
30584 res3
= SWIG_ConvertPtr(obj2
, &argp3
,SWIGTYPE_p_wxWindow
, 0 | 0 );
30585 if (!SWIG_IsOK(res3
)) {
30586 SWIG_exception_fail(SWIG_ArgError(res3
), "in method '" "new_PyPreviewControlBar" "', expected argument " "3"" of type '" "wxWindow *""'");
30588 arg3
= reinterpret_cast< wxWindow
* >(argp3
);
30592 if ( ! wxPoint_helper(obj3
, &arg4
)) SWIG_fail
;
30598 if ( ! wxSize_helper(obj4
, &arg5
)) SWIG_fail
;
30602 ecode6
= SWIG_AsVal_long(obj5
, &val6
);
30603 if (!SWIG_IsOK(ecode6
)) {
30604 SWIG_exception_fail(SWIG_ArgError(ecode6
), "in method '" "new_PyPreviewControlBar" "', expected argument " "6"" of type '" "long""'");
30606 arg6
= static_cast< long >(val6
);
30610 arg7
= wxString_in_helper(obj6
);
30611 if (arg7
== NULL
) SWIG_fail
;
30616 if (!wxPyCheckForApp()) SWIG_fail
;
30617 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30618 result
= (wxPyPreviewControlBar
*)new wxPyPreviewControlBar(arg1
,arg2
,arg3
,(wxPoint
const &)*arg4
,(wxSize
const &)*arg5
,arg6
,(wxString
const &)*arg7
);
30619 wxPyEndAllowThreads(__tstate
);
30620 if (PyErr_Occurred()) SWIG_fail
;
30622 resultobj
= SWIG_NewPointerObj(SWIG_as_voidptr(result
), SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_POINTER_NEW
| 0 );
30637 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar__setCallbackInfo(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30638 PyObject
*resultobj
= 0;
30639 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30640 PyObject
*arg2
= (PyObject
*) 0 ;
30641 PyObject
*arg3
= (PyObject
*) 0 ;
30644 PyObject
* obj0
= 0 ;
30645 PyObject
* obj1
= 0 ;
30646 PyObject
* obj2
= 0 ;
30647 char * kwnames
[] = {
30648 (char *) "self",(char *) "self",(char *) "_class", NULL
30651 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OOO:PyPreviewControlBar__setCallbackInfo",kwnames
,&obj0
,&obj1
,&obj2
)) SWIG_fail
;
30652 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30653 if (!SWIG_IsOK(res1
)) {
30654 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar__setCallbackInfo" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30656 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30660 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30661 (arg1
)->_setCallbackInfo(arg2
,arg3
);
30662 wxPyEndAllowThreads(__tstate
);
30663 if (PyErr_Occurred()) SWIG_fail
;
30665 resultobj
= SWIG_Py_Void();
30672 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetPrintPreview(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30673 PyObject
*resultobj
= 0;
30674 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30675 wxPrintPreview
*arg2
= (wxPrintPreview
*) 0 ;
30680 PyObject
* obj0
= 0 ;
30681 PyObject
* obj1
= 0 ;
30682 char * kwnames
[] = {
30683 (char *) "self",(char *) "preview", NULL
30686 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetPrintPreview",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30687 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30688 if (!SWIG_IsOK(res1
)) {
30689 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30691 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30692 res2
= SWIG_ConvertPtr(obj1
, &argp2
,SWIGTYPE_p_wxPrintPreview
, 0 | 0 );
30693 if (!SWIG_IsOK(res2
)) {
30694 SWIG_exception_fail(SWIG_ArgError(res2
), "in method '" "PyPreviewControlBar_SetPrintPreview" "', expected argument " "2"" of type '" "wxPrintPreview *""'");
30696 arg2
= reinterpret_cast< wxPrintPreview
* >(argp2
);
30698 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30699 (arg1
)->SetPrintPreview(arg2
);
30700 wxPyEndAllowThreads(__tstate
);
30701 if (PyErr_Occurred()) SWIG_fail
;
30703 resultobj
= SWIG_Py_Void();
30710 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_CreateButtons(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30711 PyObject
*resultobj
= 0;
30712 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30715 PyObject
*swig_obj
[1] ;
30717 if (!args
) SWIG_fail
;
30718 swig_obj
[0] = args
;
30719 res1
= SWIG_ConvertPtr(swig_obj
[0], &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30720 if (!SWIG_IsOK(res1
)) {
30721 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_CreateButtons" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30723 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30725 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30726 (arg1
)->CreateButtons();
30727 wxPyEndAllowThreads(__tstate
);
30728 if (PyErr_Occurred()) SWIG_fail
;
30730 resultobj
= SWIG_Py_Void();
30737 SWIGINTERN PyObject
*_wrap_PyPreviewControlBar_SetZoomControl(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
, PyObject
*kwargs
) {
30738 PyObject
*resultobj
= 0;
30739 wxPyPreviewControlBar
*arg1
= (wxPyPreviewControlBar
*) 0 ;
30745 PyObject
* obj0
= 0 ;
30746 PyObject
* obj1
= 0 ;
30747 char * kwnames
[] = {
30748 (char *) "self",(char *) "zoom", NULL
30751 if (!PyArg_ParseTupleAndKeywords(args
,kwargs
,(char *)"OO:PyPreviewControlBar_SetZoomControl",kwnames
,&obj0
,&obj1
)) SWIG_fail
;
30752 res1
= SWIG_ConvertPtr(obj0
, &argp1
,SWIGTYPE_p_wxPyPreviewControlBar
, 0 | 0 );
30753 if (!SWIG_IsOK(res1
)) {
30754 SWIG_exception_fail(SWIG_ArgError(res1
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "1"" of type '" "wxPyPreviewControlBar *""'");
30756 arg1
= reinterpret_cast< wxPyPreviewControlBar
* >(argp1
);
30757 ecode2
= SWIG_AsVal_int(obj1
, &val2
);
30758 if (!SWIG_IsOK(ecode2
)) {
30759 SWIG_exception_fail(SWIG_ArgError(ecode2
), "in method '" "PyPreviewControlBar_SetZoomControl" "', expected argument " "2"" of type '" "int""'");
30761 arg2
= static_cast< int >(val2
);
30763 PyThreadState
* __tstate
= wxPyBeginAllowThreads();
30764 (arg1
)->SetZoomControl(arg2
);
30765 wxPyEndAllowThreads(__tstate
);
30766 if (PyErr_Occurred()) SWIG_fail
;
30768 resultobj
= SWIG_Py_Void();
30775 SWIGINTERN PyObject
*PyPreviewControlBar_swigregister(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30777 if (!SWIG_Python_UnpackTuple(args
,(char*)"swigregister", 1, 1,&obj
)) return NULL
;
30778 SWIG_TypeNewClientData(SWIGTYPE_p_wxPyPreviewControlBar
, SWIG_NewClientData(obj
));
30779 return SWIG_Py_Void();
30782 SWIGINTERN PyObject
*PyPreviewControlBar_swiginit(PyObject
*SWIGUNUSEDPARM(self
), PyObject
*args
) {
30783 return SWIG_Python_InitShadowInstance(args
);
30786 static PyMethodDef SwigMethods
[] = {
30787 { (char *)"new_Panel", (PyCFunction
) _wrap_new_Panel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30788 { (char *)"new_PrePanel", (PyCFunction
)_wrap_new_PrePanel
, METH_NOARGS
, NULL
},
30789 { (char *)"Panel_Create", (PyCFunction
) _wrap_Panel_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30790 { (char *)"Panel_SetFocusIgnoringChildren", (PyCFunction
)_wrap_Panel_SetFocusIgnoringChildren
, METH_O
, NULL
},
30791 { (char *)"Panel_GetClassDefaultAttributes", (PyCFunction
) _wrap_Panel_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30792 { (char *)"Panel_swigregister", Panel_swigregister
, METH_VARARGS
, NULL
},
30793 { (char *)"Panel_swiginit", Panel_swiginit
, METH_VARARGS
, NULL
},
30794 { (char *)"new_ScrolledWindow", (PyCFunction
) _wrap_new_ScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30795 { (char *)"new_PreScrolledWindow", (PyCFunction
)_wrap_new_PreScrolledWindow
, METH_NOARGS
, NULL
},
30796 { (char *)"ScrolledWindow_Create", (PyCFunction
) _wrap_ScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30797 { (char *)"ScrolledWindow_SetScrollbars", (PyCFunction
) _wrap_ScrolledWindow_SetScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30798 { (char *)"ScrolledWindow_Scroll", (PyCFunction
) _wrap_ScrolledWindow_Scroll
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30799 { (char *)"ScrolledWindow_GetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_GetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30800 { (char *)"ScrolledWindow_SetScrollPageSize", (PyCFunction
) _wrap_ScrolledWindow_SetScrollPageSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30801 { (char *)"ScrolledWindow_SetScrollRate", (PyCFunction
) _wrap_ScrolledWindow_SetScrollRate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30802 { (char *)"ScrolledWindow_GetScrollPixelsPerUnit", (PyCFunction
)_wrap_ScrolledWindow_GetScrollPixelsPerUnit
, METH_O
, NULL
},
30803 { (char *)"ScrolledWindow_EnableScrolling", (PyCFunction
) _wrap_ScrolledWindow_EnableScrolling
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30804 { (char *)"ScrolledWindow_GetViewStart", (PyCFunction
)_wrap_ScrolledWindow_GetViewStart
, METH_O
, NULL
},
30805 { (char *)"ScrolledWindow_SetScale", (PyCFunction
) _wrap_ScrolledWindow_SetScale
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30806 { (char *)"ScrolledWindow_GetScaleX", (PyCFunction
)_wrap_ScrolledWindow_GetScaleX
, METH_O
, NULL
},
30807 { (char *)"ScrolledWindow_GetScaleY", (PyCFunction
)_wrap_ScrolledWindow_GetScaleY
, METH_O
, NULL
},
30808 { (char *)"ScrolledWindow_CalcScrolledPosition", _wrap_ScrolledWindow_CalcScrolledPosition
, METH_VARARGS
, NULL
},
30809 { (char *)"ScrolledWindow_CalcUnscrolledPosition", _wrap_ScrolledWindow_CalcUnscrolledPosition
, METH_VARARGS
, NULL
},
30810 { (char *)"ScrolledWindow_AdjustScrollbars", (PyCFunction
)_wrap_ScrolledWindow_AdjustScrollbars
, METH_O
, NULL
},
30811 { (char *)"ScrolledWindow_CalcScrollInc", (PyCFunction
) _wrap_ScrolledWindow_CalcScrollInc
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30812 { (char *)"ScrolledWindow_SetTargetWindow", (PyCFunction
) _wrap_ScrolledWindow_SetTargetWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30813 { (char *)"ScrolledWindow_GetTargetWindow", (PyCFunction
)_wrap_ScrolledWindow_GetTargetWindow
, METH_O
, NULL
},
30814 { (char *)"ScrolledWindow_SetTargetRect", (PyCFunction
) _wrap_ScrolledWindow_SetTargetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30815 { (char *)"ScrolledWindow_GetTargetRect", (PyCFunction
)_wrap_ScrolledWindow_GetTargetRect
, METH_O
, NULL
},
30816 { (char *)"ScrolledWindow_DoPrepareDC", (PyCFunction
) _wrap_ScrolledWindow_DoPrepareDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30817 { (char *)"ScrolledWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_ScrolledWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30818 { (char *)"ScrolledWindow_swigregister", ScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
30819 { (char *)"ScrolledWindow_swiginit", ScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
30820 { (char *)"TopLevelWindow_Maximize", (PyCFunction
) _wrap_TopLevelWindow_Maximize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30821 { (char *)"TopLevelWindow_Restore", (PyCFunction
)_wrap_TopLevelWindow_Restore
, METH_O
, NULL
},
30822 { (char *)"TopLevelWindow_Iconize", (PyCFunction
) _wrap_TopLevelWindow_Iconize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30823 { (char *)"TopLevelWindow_IsMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsMaximized
, METH_O
, NULL
},
30824 { (char *)"TopLevelWindow_IsAlwaysMaximized", (PyCFunction
)_wrap_TopLevelWindow_IsAlwaysMaximized
, METH_O
, NULL
},
30825 { (char *)"TopLevelWindow_IsIconized", (PyCFunction
)_wrap_TopLevelWindow_IsIconized
, METH_O
, NULL
},
30826 { (char *)"TopLevelWindow_GetIcon", (PyCFunction
)_wrap_TopLevelWindow_GetIcon
, METH_O
, NULL
},
30827 { (char *)"TopLevelWindow_SetIcon", (PyCFunction
) _wrap_TopLevelWindow_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30828 { (char *)"TopLevelWindow_SetIcons", (PyCFunction
) _wrap_TopLevelWindow_SetIcons
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30829 { (char *)"TopLevelWindow_ShowFullScreen", (PyCFunction
) _wrap_TopLevelWindow_ShowFullScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30830 { (char *)"TopLevelWindow_IsFullScreen", (PyCFunction
)_wrap_TopLevelWindow_IsFullScreen
, METH_O
, NULL
},
30831 { (char *)"TopLevelWindow_SetTitle", (PyCFunction
) _wrap_TopLevelWindow_SetTitle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30832 { (char *)"TopLevelWindow_GetTitle", (PyCFunction
)_wrap_TopLevelWindow_GetTitle
, METH_O
, NULL
},
30833 { (char *)"TopLevelWindow_SetShape", (PyCFunction
) _wrap_TopLevelWindow_SetShape
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30834 { (char *)"TopLevelWindow_RequestUserAttention", (PyCFunction
) _wrap_TopLevelWindow_RequestUserAttention
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30835 { (char *)"TopLevelWindow_IsActive", (PyCFunction
)_wrap_TopLevelWindow_IsActive
, METH_O
, NULL
},
30836 { (char *)"TopLevelWindow_MacSetMetalAppearance", (PyCFunction
) _wrap_TopLevelWindow_MacSetMetalAppearance
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30837 { (char *)"TopLevelWindow_MacGetMetalAppearance", (PyCFunction
)_wrap_TopLevelWindow_MacGetMetalAppearance
, METH_O
, NULL
},
30838 { (char *)"TopLevelWindow_CenterOnScreen", (PyCFunction
) _wrap_TopLevelWindow_CenterOnScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30839 { (char *)"TopLevelWindow_EnableCloseButton", (PyCFunction
) _wrap_TopLevelWindow_EnableCloseButton
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30840 { (char *)"TopLevelWindow_GetDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetDefaultItem
, METH_O
, NULL
},
30841 { (char *)"TopLevelWindow_SetDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30842 { (char *)"TopLevelWindow_SetTmpDefaultItem", (PyCFunction
) _wrap_TopLevelWindow_SetTmpDefaultItem
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30843 { (char *)"TopLevelWindow_GetTmpDefaultItem", (PyCFunction
)_wrap_TopLevelWindow_GetTmpDefaultItem
, METH_O
, NULL
},
30844 { (char *)"TopLevelWindow_swigregister", TopLevelWindow_swigregister
, METH_VARARGS
, NULL
},
30845 { (char *)"new_Frame", (PyCFunction
) _wrap_new_Frame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30846 { (char *)"new_PreFrame", (PyCFunction
)_wrap_new_PreFrame
, METH_NOARGS
, NULL
},
30847 { (char *)"Frame_Create", (PyCFunction
) _wrap_Frame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30848 { (char *)"Frame_SendSizeEvent", (PyCFunction
)_wrap_Frame_SendSizeEvent
, METH_O
, NULL
},
30849 { (char *)"Frame_SetMenuBar", (PyCFunction
) _wrap_Frame_SetMenuBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30850 { (char *)"Frame_GetMenuBar", (PyCFunction
)_wrap_Frame_GetMenuBar
, METH_O
, NULL
},
30851 { (char *)"Frame_ProcessCommand", (PyCFunction
) _wrap_Frame_ProcessCommand
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30852 { (char *)"Frame_CreateStatusBar", (PyCFunction
) _wrap_Frame_CreateStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30853 { (char *)"Frame_GetStatusBar", (PyCFunction
)_wrap_Frame_GetStatusBar
, METH_O
, NULL
},
30854 { (char *)"Frame_SetStatusBar", (PyCFunction
) _wrap_Frame_SetStatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30855 { (char *)"Frame_SetStatusText", (PyCFunction
) _wrap_Frame_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30856 { (char *)"Frame_SetStatusWidths", (PyCFunction
) _wrap_Frame_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30857 { (char *)"Frame_PushStatusText", (PyCFunction
) _wrap_Frame_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30858 { (char *)"Frame_PopStatusText", (PyCFunction
) _wrap_Frame_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30859 { (char *)"Frame_SetStatusBarPane", (PyCFunction
) _wrap_Frame_SetStatusBarPane
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30860 { (char *)"Frame_GetStatusBarPane", (PyCFunction
)_wrap_Frame_GetStatusBarPane
, METH_O
, NULL
},
30861 { (char *)"Frame_CreateToolBar", (PyCFunction
) _wrap_Frame_CreateToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30862 { (char *)"Frame_GetToolBar", (PyCFunction
)_wrap_Frame_GetToolBar
, METH_O
, NULL
},
30863 { (char *)"Frame_SetToolBar", (PyCFunction
) _wrap_Frame_SetToolBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30864 { (char *)"Frame_DoGiveHelp", (PyCFunction
) _wrap_Frame_DoGiveHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30865 { (char *)"Frame_DoMenuUpdates", (PyCFunction
) _wrap_Frame_DoMenuUpdates
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30866 { (char *)"Frame_GetClassDefaultAttributes", (PyCFunction
) _wrap_Frame_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30867 { (char *)"Frame_swigregister", Frame_swigregister
, METH_VARARGS
, NULL
},
30868 { (char *)"Frame_swiginit", Frame_swiginit
, METH_VARARGS
, NULL
},
30869 { (char *)"new_Dialog", (PyCFunction
) _wrap_new_Dialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30870 { (char *)"new_PreDialog", (PyCFunction
)_wrap_new_PreDialog
, METH_NOARGS
, NULL
},
30871 { (char *)"Dialog_Create", (PyCFunction
) _wrap_Dialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30872 { (char *)"Dialog_SetReturnCode", (PyCFunction
) _wrap_Dialog_SetReturnCode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30873 { (char *)"Dialog_GetReturnCode", (PyCFunction
)_wrap_Dialog_GetReturnCode
, METH_O
, NULL
},
30874 { (char *)"Dialog_SetAffirmativeId", (PyCFunction
) _wrap_Dialog_SetAffirmativeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30875 { (char *)"Dialog_GetAffirmativeId", (PyCFunction
)_wrap_Dialog_GetAffirmativeId
, METH_O
, NULL
},
30876 { (char *)"Dialog_SetEscapeId", (PyCFunction
) _wrap_Dialog_SetEscapeId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30877 { (char *)"Dialog_GetEscapeId", (PyCFunction
)_wrap_Dialog_GetEscapeId
, METH_O
, NULL
},
30878 { (char *)"Dialog_CreateTextSizer", (PyCFunction
) _wrap_Dialog_CreateTextSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30879 { (char *)"Dialog_CreateButtonSizer", (PyCFunction
) _wrap_Dialog_CreateButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30880 { (char *)"Dialog_CreateStdDialogButtonSizer", (PyCFunction
) _wrap_Dialog_CreateStdDialogButtonSizer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30881 { (char *)"Dialog_IsModal", (PyCFunction
)_wrap_Dialog_IsModal
, METH_O
, NULL
},
30882 { (char *)"Dialog_ShowModal", (PyCFunction
)_wrap_Dialog_ShowModal
, METH_O
, NULL
},
30883 { (char *)"Dialog_EndModal", (PyCFunction
) _wrap_Dialog_EndModal
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30884 { (char *)"Dialog_GetClassDefaultAttributes", (PyCFunction
) _wrap_Dialog_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30885 { (char *)"Dialog_swigregister", Dialog_swigregister
, METH_VARARGS
, NULL
},
30886 { (char *)"Dialog_swiginit", Dialog_swiginit
, METH_VARARGS
, NULL
},
30887 { (char *)"new_MiniFrame", (PyCFunction
) _wrap_new_MiniFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30888 { (char *)"new_PreMiniFrame", (PyCFunction
)_wrap_new_PreMiniFrame
, METH_NOARGS
, NULL
},
30889 { (char *)"MiniFrame_Create", (PyCFunction
) _wrap_MiniFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30890 { (char *)"MiniFrame_swigregister", MiniFrame_swigregister
, METH_VARARGS
, NULL
},
30891 { (char *)"MiniFrame_swiginit", MiniFrame_swiginit
, METH_VARARGS
, NULL
},
30892 { (char *)"new_SplashScreenWindow", (PyCFunction
) _wrap_new_SplashScreenWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30893 { (char *)"SplashScreenWindow_SetBitmap", (PyCFunction
) _wrap_SplashScreenWindow_SetBitmap
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30894 { (char *)"SplashScreenWindow_GetBitmap", (PyCFunction
)_wrap_SplashScreenWindow_GetBitmap
, METH_O
, NULL
},
30895 { (char *)"SplashScreenWindow_swigregister", SplashScreenWindow_swigregister
, METH_VARARGS
, NULL
},
30896 { (char *)"SplashScreenWindow_swiginit", SplashScreenWindow_swiginit
, METH_VARARGS
, NULL
},
30897 { (char *)"new_SplashScreen", (PyCFunction
) _wrap_new_SplashScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30898 { (char *)"SplashScreen_GetSplashStyle", (PyCFunction
)_wrap_SplashScreen_GetSplashStyle
, METH_O
, NULL
},
30899 { (char *)"SplashScreen_GetSplashWindow", (PyCFunction
)_wrap_SplashScreen_GetSplashWindow
, METH_O
, NULL
},
30900 { (char *)"SplashScreen_GetTimeout", (PyCFunction
)_wrap_SplashScreen_GetTimeout
, METH_O
, NULL
},
30901 { (char *)"SplashScreen_swigregister", SplashScreen_swigregister
, METH_VARARGS
, NULL
},
30902 { (char *)"SplashScreen_swiginit", SplashScreen_swiginit
, METH_VARARGS
, NULL
},
30903 { (char *)"new_StatusBar", (PyCFunction
) _wrap_new_StatusBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30904 { (char *)"new_PreStatusBar", (PyCFunction
)_wrap_new_PreStatusBar
, METH_NOARGS
, NULL
},
30905 { (char *)"StatusBar_Create", (PyCFunction
) _wrap_StatusBar_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30906 { (char *)"StatusBar_SetFieldsCount", (PyCFunction
) _wrap_StatusBar_SetFieldsCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30907 { (char *)"StatusBar_GetFieldsCount", (PyCFunction
)_wrap_StatusBar_GetFieldsCount
, METH_O
, NULL
},
30908 { (char *)"StatusBar_SetStatusText", (PyCFunction
) _wrap_StatusBar_SetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30909 { (char *)"StatusBar_GetStatusText", (PyCFunction
) _wrap_StatusBar_GetStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30910 { (char *)"StatusBar_PushStatusText", (PyCFunction
) _wrap_StatusBar_PushStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30911 { (char *)"StatusBar_PopStatusText", (PyCFunction
) _wrap_StatusBar_PopStatusText
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30912 { (char *)"StatusBar_SetStatusWidths", (PyCFunction
) _wrap_StatusBar_SetStatusWidths
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30913 { (char *)"StatusBar_SetStatusStyles", (PyCFunction
) _wrap_StatusBar_SetStatusStyles
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30914 { (char *)"StatusBar_GetFieldRect", (PyCFunction
) _wrap_StatusBar_GetFieldRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30915 { (char *)"StatusBar_SetMinHeight", (PyCFunction
) _wrap_StatusBar_SetMinHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30916 { (char *)"StatusBar_GetBorderX", (PyCFunction
)_wrap_StatusBar_GetBorderX
, METH_O
, NULL
},
30917 { (char *)"StatusBar_GetBorderY", (PyCFunction
)_wrap_StatusBar_GetBorderY
, METH_O
, NULL
},
30918 { (char *)"StatusBar_GetClassDefaultAttributes", (PyCFunction
) _wrap_StatusBar_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30919 { (char *)"StatusBar_swigregister", StatusBar_swigregister
, METH_VARARGS
, NULL
},
30920 { (char *)"StatusBar_swiginit", StatusBar_swiginit
, METH_VARARGS
, NULL
},
30921 { (char *)"new_SplitterWindow", (PyCFunction
) _wrap_new_SplitterWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30922 { (char *)"new_PreSplitterWindow", (PyCFunction
)_wrap_new_PreSplitterWindow
, METH_NOARGS
, NULL
},
30923 { (char *)"SplitterWindow_Create", (PyCFunction
) _wrap_SplitterWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30924 { (char *)"SplitterWindow_GetWindow1", (PyCFunction
)_wrap_SplitterWindow_GetWindow1
, METH_O
, NULL
},
30925 { (char *)"SplitterWindow_GetWindow2", (PyCFunction
)_wrap_SplitterWindow_GetWindow2
, METH_O
, NULL
},
30926 { (char *)"SplitterWindow_SetSplitMode", (PyCFunction
) _wrap_SplitterWindow_SetSplitMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30927 { (char *)"SplitterWindow_GetSplitMode", (PyCFunction
)_wrap_SplitterWindow_GetSplitMode
, METH_O
, NULL
},
30928 { (char *)"SplitterWindow_Initialize", (PyCFunction
) _wrap_SplitterWindow_Initialize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30929 { (char *)"SplitterWindow_SplitVertically", (PyCFunction
) _wrap_SplitterWindow_SplitVertically
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30930 { (char *)"SplitterWindow_SplitHorizontally", (PyCFunction
) _wrap_SplitterWindow_SplitHorizontally
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30931 { (char *)"SplitterWindow_Unsplit", (PyCFunction
) _wrap_SplitterWindow_Unsplit
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30932 { (char *)"SplitterWindow_ReplaceWindow", (PyCFunction
) _wrap_SplitterWindow_ReplaceWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30933 { (char *)"SplitterWindow_UpdateSize", (PyCFunction
)_wrap_SplitterWindow_UpdateSize
, METH_O
, NULL
},
30934 { (char *)"SplitterWindow_IsSplit", (PyCFunction
)_wrap_SplitterWindow_IsSplit
, METH_O
, NULL
},
30935 { (char *)"SplitterWindow_SetSashSize", (PyCFunction
) _wrap_SplitterWindow_SetSashSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30936 { (char *)"SplitterWindow_SetBorderSize", (PyCFunction
) _wrap_SplitterWindow_SetBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30937 { (char *)"SplitterWindow_GetSashSize", (PyCFunction
)_wrap_SplitterWindow_GetSashSize
, METH_O
, NULL
},
30938 { (char *)"SplitterWindow_GetBorderSize", (PyCFunction
)_wrap_SplitterWindow_GetBorderSize
, METH_O
, NULL
},
30939 { (char *)"SplitterWindow_SetSashPosition", (PyCFunction
) _wrap_SplitterWindow_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30940 { (char *)"SplitterWindow_GetSashPosition", (PyCFunction
)_wrap_SplitterWindow_GetSashPosition
, METH_O
, NULL
},
30941 { (char *)"SplitterWindow_SetSashGravity", (PyCFunction
) _wrap_SplitterWindow_SetSashGravity
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30942 { (char *)"SplitterWindow_GetSashGravity", (PyCFunction
)_wrap_SplitterWindow_GetSashGravity
, METH_O
, NULL
},
30943 { (char *)"SplitterWindow_SetMinimumPaneSize", (PyCFunction
) _wrap_SplitterWindow_SetMinimumPaneSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30944 { (char *)"SplitterWindow_GetMinimumPaneSize", (PyCFunction
)_wrap_SplitterWindow_GetMinimumPaneSize
, METH_O
, NULL
},
30945 { (char *)"SplitterWindow_SashHitTest", (PyCFunction
) _wrap_SplitterWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30946 { (char *)"SplitterWindow_SizeWindows", (PyCFunction
)_wrap_SplitterWindow_SizeWindows
, METH_O
, NULL
},
30947 { (char *)"SplitterWindow_SetNeedUpdating", (PyCFunction
) _wrap_SplitterWindow_SetNeedUpdating
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30948 { (char *)"SplitterWindow_GetNeedUpdating", (PyCFunction
)_wrap_SplitterWindow_GetNeedUpdating
, METH_O
, NULL
},
30949 { (char *)"SplitterWindow_GetClassDefaultAttributes", (PyCFunction
) _wrap_SplitterWindow_GetClassDefaultAttributes
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30950 { (char *)"SplitterWindow_swigregister", SplitterWindow_swigregister
, METH_VARARGS
, NULL
},
30951 { (char *)"SplitterWindow_swiginit", SplitterWindow_swiginit
, METH_VARARGS
, NULL
},
30952 { (char *)"new_SplitterEvent", (PyCFunction
) _wrap_new_SplitterEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30953 { (char *)"SplitterEvent_SetSashPosition", (PyCFunction
) _wrap_SplitterEvent_SetSashPosition
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30954 { (char *)"SplitterEvent_GetSashPosition", (PyCFunction
)_wrap_SplitterEvent_GetSashPosition
, METH_O
, NULL
},
30955 { (char *)"SplitterEvent_GetWindowBeingRemoved", (PyCFunction
)_wrap_SplitterEvent_GetWindowBeingRemoved
, METH_O
, NULL
},
30956 { (char *)"SplitterEvent_GetX", (PyCFunction
)_wrap_SplitterEvent_GetX
, METH_O
, NULL
},
30957 { (char *)"SplitterEvent_GetY", (PyCFunction
)_wrap_SplitterEvent_GetY
, METH_O
, NULL
},
30958 { (char *)"SplitterEvent_swigregister", SplitterEvent_swigregister
, METH_VARARGS
, NULL
},
30959 { (char *)"SplitterEvent_swiginit", SplitterEvent_swiginit
, METH_VARARGS
, NULL
},
30960 { (char *)"new_SashWindow", (PyCFunction
) _wrap_new_SashWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30961 { (char *)"new_PreSashWindow", (PyCFunction
)_wrap_new_PreSashWindow
, METH_NOARGS
, NULL
},
30962 { (char *)"SashWindow_Create", (PyCFunction
) _wrap_SashWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30963 { (char *)"SashWindow_SetSashVisible", (PyCFunction
) _wrap_SashWindow_SetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30964 { (char *)"SashWindow_GetSashVisible", (PyCFunction
) _wrap_SashWindow_GetSashVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30965 { (char *)"SashWindow_SetSashBorder", (PyCFunction
) _wrap_SashWindow_SetSashBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30966 { (char *)"SashWindow_HasBorder", (PyCFunction
) _wrap_SashWindow_HasBorder
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30967 { (char *)"SashWindow_GetEdgeMargin", (PyCFunction
) _wrap_SashWindow_GetEdgeMargin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30968 { (char *)"SashWindow_SetDefaultBorderSize", (PyCFunction
) _wrap_SashWindow_SetDefaultBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30969 { (char *)"SashWindow_GetDefaultBorderSize", (PyCFunction
)_wrap_SashWindow_GetDefaultBorderSize
, METH_O
, NULL
},
30970 { (char *)"SashWindow_SetExtraBorderSize", (PyCFunction
) _wrap_SashWindow_SetExtraBorderSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30971 { (char *)"SashWindow_GetExtraBorderSize", (PyCFunction
)_wrap_SashWindow_GetExtraBorderSize
, METH_O
, NULL
},
30972 { (char *)"SashWindow_SetMinimumSizeX", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30973 { (char *)"SashWindow_SetMinimumSizeY", (PyCFunction
) _wrap_SashWindow_SetMinimumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30974 { (char *)"SashWindow_GetMinimumSizeX", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeX
, METH_O
, NULL
},
30975 { (char *)"SashWindow_GetMinimumSizeY", (PyCFunction
)_wrap_SashWindow_GetMinimumSizeY
, METH_O
, NULL
},
30976 { (char *)"SashWindow_SetMaximumSizeX", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeX
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30977 { (char *)"SashWindow_SetMaximumSizeY", (PyCFunction
) _wrap_SashWindow_SetMaximumSizeY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30978 { (char *)"SashWindow_GetMaximumSizeX", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeX
, METH_O
, NULL
},
30979 { (char *)"SashWindow_GetMaximumSizeY", (PyCFunction
)_wrap_SashWindow_GetMaximumSizeY
, METH_O
, NULL
},
30980 { (char *)"SashWindow_SashHitTest", (PyCFunction
) _wrap_SashWindow_SashHitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30981 { (char *)"SashWindow_SizeWindows", (PyCFunction
)_wrap_SashWindow_SizeWindows
, METH_O
, NULL
},
30982 { (char *)"SashWindow_swigregister", SashWindow_swigregister
, METH_VARARGS
, NULL
},
30983 { (char *)"SashWindow_swiginit", SashWindow_swiginit
, METH_VARARGS
, NULL
},
30984 { (char *)"new_SashEvent", (PyCFunction
) _wrap_new_SashEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30985 { (char *)"SashEvent_SetEdge", (PyCFunction
) _wrap_SashEvent_SetEdge
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30986 { (char *)"SashEvent_GetEdge", (PyCFunction
)_wrap_SashEvent_GetEdge
, METH_O
, NULL
},
30987 { (char *)"SashEvent_SetDragRect", (PyCFunction
) _wrap_SashEvent_SetDragRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30988 { (char *)"SashEvent_GetDragRect", (PyCFunction
)_wrap_SashEvent_GetDragRect
, METH_O
, NULL
},
30989 { (char *)"SashEvent_SetDragStatus", (PyCFunction
) _wrap_SashEvent_SetDragStatus
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30990 { (char *)"SashEvent_GetDragStatus", (PyCFunction
)_wrap_SashEvent_GetDragStatus
, METH_O
, NULL
},
30991 { (char *)"SashEvent_swigregister", SashEvent_swigregister
, METH_VARARGS
, NULL
},
30992 { (char *)"SashEvent_swiginit", SashEvent_swiginit
, METH_VARARGS
, NULL
},
30993 { (char *)"new_QueryLayoutInfoEvent", (PyCFunction
) _wrap_new_QueryLayoutInfoEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30994 { (char *)"QueryLayoutInfoEvent_SetRequestedLength", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetRequestedLength
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30995 { (char *)"QueryLayoutInfoEvent_GetRequestedLength", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetRequestedLength
, METH_O
, NULL
},
30996 { (char *)"QueryLayoutInfoEvent_SetFlags", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30997 { (char *)"QueryLayoutInfoEvent_GetFlags", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetFlags
, METH_O
, NULL
},
30998 { (char *)"QueryLayoutInfoEvent_SetSize", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
30999 { (char *)"QueryLayoutInfoEvent_GetSize", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetSize
, METH_O
, NULL
},
31000 { (char *)"QueryLayoutInfoEvent_SetOrientation", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31001 { (char *)"QueryLayoutInfoEvent_GetOrientation", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetOrientation
, METH_O
, NULL
},
31002 { (char *)"QueryLayoutInfoEvent_SetAlignment", (PyCFunction
) _wrap_QueryLayoutInfoEvent_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31003 { (char *)"QueryLayoutInfoEvent_GetAlignment", (PyCFunction
)_wrap_QueryLayoutInfoEvent_GetAlignment
, METH_O
, NULL
},
31004 { (char *)"QueryLayoutInfoEvent_swigregister", QueryLayoutInfoEvent_swigregister
, METH_VARARGS
, NULL
},
31005 { (char *)"QueryLayoutInfoEvent_swiginit", QueryLayoutInfoEvent_swiginit
, METH_VARARGS
, NULL
},
31006 { (char *)"new_CalculateLayoutEvent", (PyCFunction
) _wrap_new_CalculateLayoutEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31007 { (char *)"CalculateLayoutEvent_SetFlags", (PyCFunction
) _wrap_CalculateLayoutEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31008 { (char *)"CalculateLayoutEvent_GetFlags", (PyCFunction
)_wrap_CalculateLayoutEvent_GetFlags
, METH_O
, NULL
},
31009 { (char *)"CalculateLayoutEvent_SetRect", (PyCFunction
) _wrap_CalculateLayoutEvent_SetRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31010 { (char *)"CalculateLayoutEvent_GetRect", (PyCFunction
)_wrap_CalculateLayoutEvent_GetRect
, METH_O
, NULL
},
31011 { (char *)"CalculateLayoutEvent_swigregister", CalculateLayoutEvent_swigregister
, METH_VARARGS
, NULL
},
31012 { (char *)"CalculateLayoutEvent_swiginit", CalculateLayoutEvent_swiginit
, METH_VARARGS
, NULL
},
31013 { (char *)"new_SashLayoutWindow", (PyCFunction
) _wrap_new_SashLayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31014 { (char *)"new_PreSashLayoutWindow", (PyCFunction
)_wrap_new_PreSashLayoutWindow
, METH_NOARGS
, NULL
},
31015 { (char *)"SashLayoutWindow_Create", (PyCFunction
) _wrap_SashLayoutWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31016 { (char *)"SashLayoutWindow_GetAlignment", (PyCFunction
)_wrap_SashLayoutWindow_GetAlignment
, METH_O
, NULL
},
31017 { (char *)"SashLayoutWindow_GetOrientation", (PyCFunction
)_wrap_SashLayoutWindow_GetOrientation
, METH_O
, NULL
},
31018 { (char *)"SashLayoutWindow_SetAlignment", (PyCFunction
) _wrap_SashLayoutWindow_SetAlignment
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31019 { (char *)"SashLayoutWindow_SetDefaultSize", (PyCFunction
) _wrap_SashLayoutWindow_SetDefaultSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31020 { (char *)"SashLayoutWindow_SetOrientation", (PyCFunction
) _wrap_SashLayoutWindow_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31021 { (char *)"SashLayoutWindow_swigregister", SashLayoutWindow_swigregister
, METH_VARARGS
, NULL
},
31022 { (char *)"SashLayoutWindow_swiginit", SashLayoutWindow_swiginit
, METH_VARARGS
, NULL
},
31023 { (char *)"new_LayoutAlgorithm", (PyCFunction
)_wrap_new_LayoutAlgorithm
, METH_NOARGS
, NULL
},
31024 { (char *)"delete_LayoutAlgorithm", (PyCFunction
)_wrap_delete_LayoutAlgorithm
, METH_O
, NULL
},
31025 { (char *)"LayoutAlgorithm_LayoutMDIFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutMDIFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31026 { (char *)"LayoutAlgorithm_LayoutFrame", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31027 { (char *)"LayoutAlgorithm_LayoutWindow", (PyCFunction
) _wrap_LayoutAlgorithm_LayoutWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31028 { (char *)"LayoutAlgorithm_swigregister", LayoutAlgorithm_swigregister
, METH_VARARGS
, NULL
},
31029 { (char *)"LayoutAlgorithm_swiginit", LayoutAlgorithm_swiginit
, METH_VARARGS
, NULL
},
31030 { (char *)"new_PopupWindow", (PyCFunction
) _wrap_new_PopupWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31031 { (char *)"new_PrePopupWindow", (PyCFunction
)_wrap_new_PrePopupWindow
, METH_NOARGS
, NULL
},
31032 { (char *)"PopupWindow_swigregister", PopupWindow_swigregister
, METH_VARARGS
, NULL
},
31033 { (char *)"PopupWindow_swiginit", PopupWindow_swiginit
, METH_VARARGS
, NULL
},
31034 { (char *)"new_PopupTransientWindow", (PyCFunction
) _wrap_new_PopupTransientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31035 { (char *)"new_PrePopupTransientWindow", (PyCFunction
)_wrap_new_PrePopupTransientWindow
, METH_NOARGS
, NULL
},
31036 { (char *)"PopupTransientWindow_swigregister", PopupTransientWindow_swigregister
, METH_VARARGS
, NULL
},
31037 { (char *)"PopupTransientWindow_swiginit", PopupTransientWindow_swiginit
, METH_VARARGS
, NULL
},
31038 { (char *)"new_TipWindow", (PyCFunction
) _wrap_new_TipWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31039 { (char *)"TipWindow_SetBoundingRect", (PyCFunction
) _wrap_TipWindow_SetBoundingRect
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31040 { (char *)"TipWindow_Close", (PyCFunction
)_wrap_TipWindow_Close
, METH_O
, NULL
},
31041 { (char *)"TipWindow_swigregister", TipWindow_swigregister
, METH_VARARGS
, NULL
},
31042 { (char *)"TipWindow_swiginit", TipWindow_swiginit
, METH_VARARGS
, NULL
},
31043 { (char *)"new_VScrolledWindow", (PyCFunction
) _wrap_new_VScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31044 { (char *)"new_PreVScrolledWindow", (PyCFunction
)_wrap_new_PreVScrolledWindow
, METH_NOARGS
, NULL
},
31045 { (char *)"VScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_VScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31046 { (char *)"VScrolledWindow_Create", (PyCFunction
) _wrap_VScrolledWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31047 { (char *)"VScrolledWindow_SetLineCount", (PyCFunction
) _wrap_VScrolledWindow_SetLineCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31048 { (char *)"VScrolledWindow_ScrollToLine", (PyCFunction
) _wrap_VScrolledWindow_ScrollToLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31049 { (char *)"VScrolledWindow_RefreshLine", (PyCFunction
) _wrap_VScrolledWindow_RefreshLine
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31050 { (char *)"VScrolledWindow_RefreshLines", (PyCFunction
) _wrap_VScrolledWindow_RefreshLines
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31051 { (char *)"VScrolledWindow_HitTestXY", (PyCFunction
) _wrap_VScrolledWindow_HitTestXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31052 { (char *)"VScrolledWindow_HitTest", (PyCFunction
) _wrap_VScrolledWindow_HitTest
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31053 { (char *)"VScrolledWindow_RefreshAll", (PyCFunction
)_wrap_VScrolledWindow_RefreshAll
, METH_O
, NULL
},
31054 { (char *)"VScrolledWindow_GetLineCount", (PyCFunction
)_wrap_VScrolledWindow_GetLineCount
, METH_O
, NULL
},
31055 { (char *)"VScrolledWindow_GetVisibleBegin", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleBegin
, METH_O
, NULL
},
31056 { (char *)"VScrolledWindow_GetVisibleEnd", (PyCFunction
)_wrap_VScrolledWindow_GetVisibleEnd
, METH_O
, NULL
},
31057 { (char *)"VScrolledWindow_IsVisible", (PyCFunction
) _wrap_VScrolledWindow_IsVisible
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31058 { (char *)"VScrolledWindow_GetFirstVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetFirstVisibleLine
, METH_O
, NULL
},
31059 { (char *)"VScrolledWindow_GetLastVisibleLine", (PyCFunction
)_wrap_VScrolledWindow_GetLastVisibleLine
, METH_O
, NULL
},
31060 { (char *)"VScrolledWindow_FindFirstFromBottom", (PyCFunction
) _wrap_VScrolledWindow_FindFirstFromBottom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31061 { (char *)"VScrolledWindow_GetLinesHeight", (PyCFunction
) _wrap_VScrolledWindow_GetLinesHeight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31062 { (char *)"VScrolledWindow_swigregister", VScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31063 { (char *)"VScrolledWindow_swiginit", VScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31064 { (char *)"new_VListBox", (PyCFunction
) _wrap_new_VListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31065 { (char *)"new_PreVListBox", (PyCFunction
)_wrap_new_PreVListBox
, METH_NOARGS
, NULL
},
31066 { (char *)"VListBox__setCallbackInfo", (PyCFunction
) _wrap_VListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31067 { (char *)"VListBox_Create", (PyCFunction
) _wrap_VListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31068 { (char *)"VListBox_GetItemCount", (PyCFunction
)_wrap_VListBox_GetItemCount
, METH_O
, NULL
},
31069 { (char *)"VListBox_HasMultipleSelection", (PyCFunction
)_wrap_VListBox_HasMultipleSelection
, METH_O
, NULL
},
31070 { (char *)"VListBox_GetSelection", (PyCFunction
)_wrap_VListBox_GetSelection
, METH_O
, NULL
},
31071 { (char *)"VListBox_IsCurrent", (PyCFunction
) _wrap_VListBox_IsCurrent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31072 { (char *)"VListBox_IsSelected", (PyCFunction
) _wrap_VListBox_IsSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31073 { (char *)"VListBox_GetSelectedCount", (PyCFunction
)_wrap_VListBox_GetSelectedCount
, METH_O
, NULL
},
31074 { (char *)"VListBox_GetFirstSelected", (PyCFunction
)_wrap_VListBox_GetFirstSelected
, METH_O
, NULL
},
31075 { (char *)"VListBox_GetNextSelected", (PyCFunction
) _wrap_VListBox_GetNextSelected
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31076 { (char *)"VListBox_GetMargins", (PyCFunction
)_wrap_VListBox_GetMargins
, METH_O
, NULL
},
31077 { (char *)"VListBox_GetSelectionBackground", (PyCFunction
)_wrap_VListBox_GetSelectionBackground
, METH_O
, NULL
},
31078 { (char *)"VListBox_SetItemCount", (PyCFunction
) _wrap_VListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31079 { (char *)"VListBox_Clear", (PyCFunction
)_wrap_VListBox_Clear
, METH_O
, NULL
},
31080 { (char *)"VListBox_SetSelection", (PyCFunction
) _wrap_VListBox_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31081 { (char *)"VListBox_Select", (PyCFunction
) _wrap_VListBox_Select
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31082 { (char *)"VListBox_SelectRange", (PyCFunction
) _wrap_VListBox_SelectRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31083 { (char *)"VListBox_Toggle", (PyCFunction
) _wrap_VListBox_Toggle
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31084 { (char *)"VListBox_SelectAll", (PyCFunction
)_wrap_VListBox_SelectAll
, METH_O
, NULL
},
31085 { (char *)"VListBox_DeselectAll", (PyCFunction
)_wrap_VListBox_DeselectAll
, METH_O
, NULL
},
31086 { (char *)"VListBox_SetMargins", (PyCFunction
) _wrap_VListBox_SetMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31087 { (char *)"VListBox_SetMarginsXY", (PyCFunction
) _wrap_VListBox_SetMarginsXY
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31088 { (char *)"VListBox_SetSelectionBackground", (PyCFunction
) _wrap_VListBox_SetSelectionBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31089 { (char *)"VListBox_OnDrawSeparator", (PyCFunction
) _wrap_VListBox_OnDrawSeparator
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31090 { (char *)"VListBox_OnDrawBackground", (PyCFunction
) _wrap_VListBox_OnDrawBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31091 { (char *)"VListBox_swigregister", VListBox_swigregister
, METH_VARARGS
, NULL
},
31092 { (char *)"VListBox_swiginit", VListBox_swiginit
, METH_VARARGS
, NULL
},
31093 { (char *)"new_HtmlListBox", (PyCFunction
) _wrap_new_HtmlListBox
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31094 { (char *)"new_PreHtmlListBox", (PyCFunction
)_wrap_new_PreHtmlListBox
, METH_NOARGS
, NULL
},
31095 { (char *)"HtmlListBox__setCallbackInfo", (PyCFunction
) _wrap_HtmlListBox__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31096 { (char *)"HtmlListBox_Create", (PyCFunction
) _wrap_HtmlListBox_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31097 { (char *)"HtmlListBox_SetItemCount", (PyCFunction
) _wrap_HtmlListBox_SetItemCount
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31098 { (char *)"HtmlListBox_GetFileSystem", (PyCFunction
)_wrap_HtmlListBox_GetFileSystem
, METH_O
, NULL
},
31099 { (char *)"HtmlListBox_OnLinkClicked", (PyCFunction
) _wrap_HtmlListBox_OnLinkClicked
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31100 { (char *)"HtmlListBox_swigregister", HtmlListBox_swigregister
, METH_VARARGS
, NULL
},
31101 { (char *)"HtmlListBox_swiginit", HtmlListBox_swiginit
, METH_VARARGS
, NULL
},
31102 { (char *)"new_TaskBarIcon", (PyCFunction
)_wrap_new_TaskBarIcon
, METH_NOARGS
, NULL
},
31103 { (char *)"delete_TaskBarIcon", (PyCFunction
)_wrap_delete_TaskBarIcon
, METH_O
, NULL
},
31104 { (char *)"TaskBarIcon__setCallbackInfo", (PyCFunction
) _wrap_TaskBarIcon__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31105 { (char *)"TaskBarIcon_Destroy", (PyCFunction
)_wrap_TaskBarIcon_Destroy
, METH_O
, NULL
},
31106 { (char *)"TaskBarIcon_IsOk", (PyCFunction
)_wrap_TaskBarIcon_IsOk
, METH_O
, NULL
},
31107 { (char *)"TaskBarIcon_IsIconInstalled", (PyCFunction
)_wrap_TaskBarIcon_IsIconInstalled
, METH_O
, NULL
},
31108 { (char *)"TaskBarIcon_SetIcon", (PyCFunction
) _wrap_TaskBarIcon_SetIcon
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31109 { (char *)"TaskBarIcon_RemoveIcon", (PyCFunction
)_wrap_TaskBarIcon_RemoveIcon
, METH_O
, NULL
},
31110 { (char *)"TaskBarIcon_PopupMenu", (PyCFunction
) _wrap_TaskBarIcon_PopupMenu
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31111 { (char *)"TaskBarIcon_swigregister", TaskBarIcon_swigregister
, METH_VARARGS
, NULL
},
31112 { (char *)"TaskBarIcon_swiginit", TaskBarIcon_swiginit
, METH_VARARGS
, NULL
},
31113 { (char *)"new_TaskBarIconEvent", (PyCFunction
) _wrap_new_TaskBarIconEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31114 { (char *)"TaskBarIconEvent_swigregister", TaskBarIconEvent_swigregister
, METH_VARARGS
, NULL
},
31115 { (char *)"TaskBarIconEvent_swiginit", TaskBarIconEvent_swiginit
, METH_VARARGS
, NULL
},
31116 { (char *)"new_ColourData", (PyCFunction
)_wrap_new_ColourData
, METH_NOARGS
, NULL
},
31117 { (char *)"delete_ColourData", (PyCFunction
)_wrap_delete_ColourData
, METH_O
, NULL
},
31118 { (char *)"ColourData_GetChooseFull", (PyCFunction
)_wrap_ColourData_GetChooseFull
, METH_O
, NULL
},
31119 { (char *)"ColourData_GetColour", (PyCFunction
)_wrap_ColourData_GetColour
, METH_O
, NULL
},
31120 { (char *)"ColourData_GetCustomColour", (PyCFunction
) _wrap_ColourData_GetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31121 { (char *)"ColourData_SetChooseFull", (PyCFunction
) _wrap_ColourData_SetChooseFull
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31122 { (char *)"ColourData_SetColour", (PyCFunction
) _wrap_ColourData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31123 { (char *)"ColourData_SetCustomColour", (PyCFunction
) _wrap_ColourData_SetCustomColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31124 { (char *)"ColourData_swigregister", ColourData_swigregister
, METH_VARARGS
, NULL
},
31125 { (char *)"ColourData_swiginit", ColourData_swiginit
, METH_VARARGS
, NULL
},
31126 { (char *)"new_ColourDialog", (PyCFunction
) _wrap_new_ColourDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31127 { (char *)"ColourDialog_GetColourData", (PyCFunction
)_wrap_ColourDialog_GetColourData
, METH_O
, NULL
},
31128 { (char *)"ColourDialog_swigregister", ColourDialog_swigregister
, METH_VARARGS
, NULL
},
31129 { (char *)"ColourDialog_swiginit", ColourDialog_swiginit
, METH_VARARGS
, NULL
},
31130 { (char *)"GetColourFromUser", (PyCFunction
) _wrap_GetColourFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31131 { (char *)"new_DirDialog", (PyCFunction
) _wrap_new_DirDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31132 { (char *)"DirDialog_GetPath", (PyCFunction
)_wrap_DirDialog_GetPath
, METH_O
, NULL
},
31133 { (char *)"DirDialog_GetMessage", (PyCFunction
)_wrap_DirDialog_GetMessage
, METH_O
, NULL
},
31134 { (char *)"DirDialog_SetMessage", (PyCFunction
) _wrap_DirDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31135 { (char *)"DirDialog_SetPath", (PyCFunction
) _wrap_DirDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31136 { (char *)"DirDialog_swigregister", DirDialog_swigregister
, METH_VARARGS
, NULL
},
31137 { (char *)"DirDialog_swiginit", DirDialog_swiginit
, METH_VARARGS
, NULL
},
31138 { (char *)"new_FileDialog", (PyCFunction
) _wrap_new_FileDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31139 { (char *)"FileDialog_SetMessage", (PyCFunction
) _wrap_FileDialog_SetMessage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31140 { (char *)"FileDialog_SetPath", (PyCFunction
) _wrap_FileDialog_SetPath
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31141 { (char *)"FileDialog_SetDirectory", (PyCFunction
) _wrap_FileDialog_SetDirectory
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31142 { (char *)"FileDialog_SetFilename", (PyCFunction
) _wrap_FileDialog_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31143 { (char *)"FileDialog_SetWildcard", (PyCFunction
) _wrap_FileDialog_SetWildcard
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31144 { (char *)"FileDialog_SetFilterIndex", (PyCFunction
) _wrap_FileDialog_SetFilterIndex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31145 { (char *)"FileDialog_GetMessage", (PyCFunction
)_wrap_FileDialog_GetMessage
, METH_O
, NULL
},
31146 { (char *)"FileDialog_GetPath", (PyCFunction
)_wrap_FileDialog_GetPath
, METH_O
, NULL
},
31147 { (char *)"FileDialog_GetDirectory", (PyCFunction
)_wrap_FileDialog_GetDirectory
, METH_O
, NULL
},
31148 { (char *)"FileDialog_GetFilename", (PyCFunction
)_wrap_FileDialog_GetFilename
, METH_O
, NULL
},
31149 { (char *)"FileDialog_GetWildcard", (PyCFunction
)_wrap_FileDialog_GetWildcard
, METH_O
, NULL
},
31150 { (char *)"FileDialog_GetFilterIndex", (PyCFunction
)_wrap_FileDialog_GetFilterIndex
, METH_O
, NULL
},
31151 { (char *)"FileDialog_GetFilenames", (PyCFunction
)_wrap_FileDialog_GetFilenames
, METH_O
, NULL
},
31152 { (char *)"FileDialog_GetPaths", (PyCFunction
)_wrap_FileDialog_GetPaths
, METH_O
, NULL
},
31153 { (char *)"FileDialog_swigregister", FileDialog_swigregister
, METH_VARARGS
, NULL
},
31154 { (char *)"FileDialog_swiginit", FileDialog_swiginit
, METH_VARARGS
, NULL
},
31155 { (char *)"new_MultiChoiceDialog", (PyCFunction
) _wrap_new_MultiChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31156 { (char *)"MultiChoiceDialog_SetSelections", (PyCFunction
) _wrap_MultiChoiceDialog_SetSelections
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31157 { (char *)"MultiChoiceDialog_GetSelections", (PyCFunction
)_wrap_MultiChoiceDialog_GetSelections
, METH_O
, NULL
},
31158 { (char *)"MultiChoiceDialog_swigregister", MultiChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31159 { (char *)"MultiChoiceDialog_swiginit", MultiChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31160 { (char *)"new_SingleChoiceDialog", (PyCFunction
) _wrap_new_SingleChoiceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31161 { (char *)"SingleChoiceDialog_GetSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetSelection
, METH_O
, NULL
},
31162 { (char *)"SingleChoiceDialog_GetStringSelection", (PyCFunction
)_wrap_SingleChoiceDialog_GetStringSelection
, METH_O
, NULL
},
31163 { (char *)"SingleChoiceDialog_SetSelection", (PyCFunction
) _wrap_SingleChoiceDialog_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31164 { (char *)"SingleChoiceDialog_swigregister", SingleChoiceDialog_swigregister
, METH_VARARGS
, NULL
},
31165 { (char *)"SingleChoiceDialog_swiginit", SingleChoiceDialog_swiginit
, METH_VARARGS
, NULL
},
31166 { (char *)"new_TextEntryDialog", (PyCFunction
) _wrap_new_TextEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31167 { (char *)"TextEntryDialog_GetValue", (PyCFunction
)_wrap_TextEntryDialog_GetValue
, METH_O
, NULL
},
31168 { (char *)"TextEntryDialog_SetValue", (PyCFunction
) _wrap_TextEntryDialog_SetValue
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31169 { (char *)"TextEntryDialog_swigregister", TextEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31170 { (char *)"TextEntryDialog_swiginit", TextEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31171 { (char *)"new_PasswordEntryDialog", (PyCFunction
) _wrap_new_PasswordEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31172 { (char *)"PasswordEntryDialog_swigregister", PasswordEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31173 { (char *)"PasswordEntryDialog_swiginit", PasswordEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31174 { (char *)"new_NumberEntryDialog", (PyCFunction
) _wrap_new_NumberEntryDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31175 { (char *)"NumberEntryDialog_GetValue", (PyCFunction
)_wrap_NumberEntryDialog_GetValue
, METH_O
, NULL
},
31176 { (char *)"NumberEntryDialog_swigregister", NumberEntryDialog_swigregister
, METH_VARARGS
, NULL
},
31177 { (char *)"NumberEntryDialog_swiginit", NumberEntryDialog_swiginit
, METH_VARARGS
, NULL
},
31178 { (char *)"new_FontData", (PyCFunction
)_wrap_new_FontData
, METH_NOARGS
, NULL
},
31179 { (char *)"delete_FontData", (PyCFunction
)_wrap_delete_FontData
, METH_O
, NULL
},
31180 { (char *)"FontData_EnableEffects", (PyCFunction
) _wrap_FontData_EnableEffects
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31181 { (char *)"FontData_GetAllowSymbols", (PyCFunction
)_wrap_FontData_GetAllowSymbols
, METH_O
, NULL
},
31182 { (char *)"FontData_GetColour", (PyCFunction
)_wrap_FontData_GetColour
, METH_O
, NULL
},
31183 { (char *)"FontData_GetChosenFont", (PyCFunction
)_wrap_FontData_GetChosenFont
, METH_O
, NULL
},
31184 { (char *)"FontData_GetEnableEffects", (PyCFunction
)_wrap_FontData_GetEnableEffects
, METH_O
, NULL
},
31185 { (char *)"FontData_GetInitialFont", (PyCFunction
)_wrap_FontData_GetInitialFont
, METH_O
, NULL
},
31186 { (char *)"FontData_GetShowHelp", (PyCFunction
)_wrap_FontData_GetShowHelp
, METH_O
, NULL
},
31187 { (char *)"FontData_SetAllowSymbols", (PyCFunction
) _wrap_FontData_SetAllowSymbols
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31188 { (char *)"FontData_SetChosenFont", (PyCFunction
) _wrap_FontData_SetChosenFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31189 { (char *)"FontData_SetColour", (PyCFunction
) _wrap_FontData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31190 { (char *)"FontData_SetInitialFont", (PyCFunction
) _wrap_FontData_SetInitialFont
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31191 { (char *)"FontData_SetRange", (PyCFunction
) _wrap_FontData_SetRange
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31192 { (char *)"FontData_SetShowHelp", (PyCFunction
) _wrap_FontData_SetShowHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31193 { (char *)"FontData_swigregister", FontData_swigregister
, METH_VARARGS
, NULL
},
31194 { (char *)"FontData_swiginit", FontData_swiginit
, METH_VARARGS
, NULL
},
31195 { (char *)"new_FontDialog", (PyCFunction
) _wrap_new_FontDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31196 { (char *)"FontDialog_GetFontData", (PyCFunction
)_wrap_FontDialog_GetFontData
, METH_O
, NULL
},
31197 { (char *)"FontDialog_swigregister", FontDialog_swigregister
, METH_VARARGS
, NULL
},
31198 { (char *)"FontDialog_swiginit", FontDialog_swiginit
, METH_VARARGS
, NULL
},
31199 { (char *)"GetFontFromUser", (PyCFunction
) _wrap_GetFontFromUser
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31200 { (char *)"new_MessageDialog", (PyCFunction
) _wrap_new_MessageDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31201 { (char *)"MessageDialog_swigregister", MessageDialog_swigregister
, METH_VARARGS
, NULL
},
31202 { (char *)"MessageDialog_swiginit", MessageDialog_swiginit
, METH_VARARGS
, NULL
},
31203 { (char *)"new_ProgressDialog", (PyCFunction
) _wrap_new_ProgressDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31204 { (char *)"ProgressDialog_Update", (PyCFunction
) _wrap_ProgressDialog_Update
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31205 { (char *)"ProgressDialog_UpdatePulse", (PyCFunction
) _wrap_ProgressDialog_UpdatePulse
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31206 { (char *)"ProgressDialog_Resume", (PyCFunction
)_wrap_ProgressDialog_Resume
, METH_O
, NULL
},
31207 { (char *)"ProgressDialog_swigregister", ProgressDialog_swigregister
, METH_VARARGS
, NULL
},
31208 { (char *)"ProgressDialog_swiginit", ProgressDialog_swiginit
, METH_VARARGS
, NULL
},
31209 { (char *)"new_FindDialogEvent", (PyCFunction
) _wrap_new_FindDialogEvent
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31210 { (char *)"FindDialogEvent_GetFlags", (PyCFunction
)_wrap_FindDialogEvent_GetFlags
, METH_O
, NULL
},
31211 { (char *)"FindDialogEvent_GetFindString", (PyCFunction
)_wrap_FindDialogEvent_GetFindString
, METH_O
, NULL
},
31212 { (char *)"FindDialogEvent_GetReplaceString", (PyCFunction
)_wrap_FindDialogEvent_GetReplaceString
, METH_O
, NULL
},
31213 { (char *)"FindDialogEvent_GetDialog", (PyCFunction
)_wrap_FindDialogEvent_GetDialog
, METH_O
, NULL
},
31214 { (char *)"FindDialogEvent_SetFlags", (PyCFunction
) _wrap_FindDialogEvent_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31215 { (char *)"FindDialogEvent_SetFindString", (PyCFunction
) _wrap_FindDialogEvent_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31216 { (char *)"FindDialogEvent_SetReplaceString", (PyCFunction
) _wrap_FindDialogEvent_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31217 { (char *)"FindDialogEvent_swigregister", FindDialogEvent_swigregister
, METH_VARARGS
, NULL
},
31218 { (char *)"FindDialogEvent_swiginit", FindDialogEvent_swiginit
, METH_VARARGS
, NULL
},
31219 { (char *)"new_FindReplaceData", (PyCFunction
) _wrap_new_FindReplaceData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31220 { (char *)"delete_FindReplaceData", (PyCFunction
)_wrap_delete_FindReplaceData
, METH_O
, NULL
},
31221 { (char *)"FindReplaceData_GetFindString", (PyCFunction
)_wrap_FindReplaceData_GetFindString
, METH_O
, NULL
},
31222 { (char *)"FindReplaceData_GetReplaceString", (PyCFunction
)_wrap_FindReplaceData_GetReplaceString
, METH_O
, NULL
},
31223 { (char *)"FindReplaceData_GetFlags", (PyCFunction
)_wrap_FindReplaceData_GetFlags
, METH_O
, NULL
},
31224 { (char *)"FindReplaceData_SetFlags", (PyCFunction
) _wrap_FindReplaceData_SetFlags
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31225 { (char *)"FindReplaceData_SetFindString", (PyCFunction
) _wrap_FindReplaceData_SetFindString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31226 { (char *)"FindReplaceData_SetReplaceString", (PyCFunction
) _wrap_FindReplaceData_SetReplaceString
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31227 { (char *)"FindReplaceData_swigregister", FindReplaceData_swigregister
, METH_VARARGS
, NULL
},
31228 { (char *)"FindReplaceData_swiginit", FindReplaceData_swiginit
, METH_VARARGS
, NULL
},
31229 { (char *)"new_FindReplaceDialog", (PyCFunction
) _wrap_new_FindReplaceDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31230 { (char *)"new_PreFindReplaceDialog", (PyCFunction
)_wrap_new_PreFindReplaceDialog
, METH_NOARGS
, NULL
},
31231 { (char *)"FindReplaceDialog_Create", (PyCFunction
) _wrap_FindReplaceDialog_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31232 { (char *)"FindReplaceDialog_GetData", (PyCFunction
)_wrap_FindReplaceDialog_GetData
, METH_O
, NULL
},
31233 { (char *)"FindReplaceDialog_SetData", (PyCFunction
) _wrap_FindReplaceDialog_SetData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31234 { (char *)"FindReplaceDialog_swigregister", FindReplaceDialog_swigregister
, METH_VARARGS
, NULL
},
31235 { (char *)"FindReplaceDialog_swiginit", FindReplaceDialog_swiginit
, METH_VARARGS
, NULL
},
31236 { (char *)"new_MDIParentFrame", (PyCFunction
) _wrap_new_MDIParentFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31237 { (char *)"new_PreMDIParentFrame", (PyCFunction
)_wrap_new_PreMDIParentFrame
, METH_NOARGS
, NULL
},
31238 { (char *)"MDIParentFrame_Create", (PyCFunction
) _wrap_MDIParentFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31239 { (char *)"MDIParentFrame_ActivateNext", (PyCFunction
)_wrap_MDIParentFrame_ActivateNext
, METH_O
, NULL
},
31240 { (char *)"MDIParentFrame_ActivatePrevious", (PyCFunction
)_wrap_MDIParentFrame_ActivatePrevious
, METH_O
, NULL
},
31241 { (char *)"MDIParentFrame_ArrangeIcons", (PyCFunction
)_wrap_MDIParentFrame_ArrangeIcons
, METH_O
, NULL
},
31242 { (char *)"MDIParentFrame_Cascade", (PyCFunction
)_wrap_MDIParentFrame_Cascade
, METH_O
, NULL
},
31243 { (char *)"MDIParentFrame_GetActiveChild", (PyCFunction
)_wrap_MDIParentFrame_GetActiveChild
, METH_O
, NULL
},
31244 { (char *)"MDIParentFrame_GetClientWindow", (PyCFunction
)_wrap_MDIParentFrame_GetClientWindow
, METH_O
, NULL
},
31245 { (char *)"MDIParentFrame_Tile", (PyCFunction
) _wrap_MDIParentFrame_Tile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31246 { (char *)"MDIParentFrame_swigregister", MDIParentFrame_swigregister
, METH_VARARGS
, NULL
},
31247 { (char *)"MDIParentFrame_swiginit", MDIParentFrame_swiginit
, METH_VARARGS
, NULL
},
31248 { (char *)"new_MDIChildFrame", (PyCFunction
) _wrap_new_MDIChildFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31249 { (char *)"new_PreMDIChildFrame", (PyCFunction
)_wrap_new_PreMDIChildFrame
, METH_NOARGS
, NULL
},
31250 { (char *)"MDIChildFrame_Create", (PyCFunction
) _wrap_MDIChildFrame_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31251 { (char *)"MDIChildFrame_Activate", (PyCFunction
)_wrap_MDIChildFrame_Activate
, METH_O
, NULL
},
31252 { (char *)"MDIChildFrame_swigregister", MDIChildFrame_swigregister
, METH_VARARGS
, NULL
},
31253 { (char *)"MDIChildFrame_swiginit", MDIChildFrame_swiginit
, METH_VARARGS
, NULL
},
31254 { (char *)"new_MDIClientWindow", (PyCFunction
) _wrap_new_MDIClientWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31255 { (char *)"new_PreMDIClientWindow", (PyCFunction
)_wrap_new_PreMDIClientWindow
, METH_NOARGS
, NULL
},
31256 { (char *)"MDIClientWindow_Create", (PyCFunction
) _wrap_MDIClientWindow_Create
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31257 { (char *)"MDIClientWindow_swigregister", MDIClientWindow_swigregister
, METH_VARARGS
, NULL
},
31258 { (char *)"MDIClientWindow_swiginit", MDIClientWindow_swiginit
, METH_VARARGS
, NULL
},
31259 { (char *)"new_PyWindow", (PyCFunction
) _wrap_new_PyWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31260 { (char *)"new_PrePyWindow", (PyCFunction
)_wrap_new_PrePyWindow
, METH_NOARGS
, NULL
},
31261 { (char *)"PyWindow__setCallbackInfo", (PyCFunction
) _wrap_PyWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31262 { (char *)"PyWindow_SetBestSize", (PyCFunction
) _wrap_PyWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31263 { (char *)"PyWindow_DoEraseBackground", (PyCFunction
) _wrap_PyWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31264 { (char *)"PyWindow_DoMoveWindow", (PyCFunction
) _wrap_PyWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31265 { (char *)"PyWindow_DoSetSize", (PyCFunction
) _wrap_PyWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31266 { (char *)"PyWindow_DoSetClientSize", (PyCFunction
) _wrap_PyWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31267 { (char *)"PyWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31268 { (char *)"PyWindow_DoGetSize", (PyCFunction
)_wrap_PyWindow_DoGetSize
, METH_O
, NULL
},
31269 { (char *)"PyWindow_DoGetClientSize", (PyCFunction
)_wrap_PyWindow_DoGetClientSize
, METH_O
, NULL
},
31270 { (char *)"PyWindow_DoGetPosition", (PyCFunction
)_wrap_PyWindow_DoGetPosition
, METH_O
, NULL
},
31271 { (char *)"PyWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyWindow_DoGetVirtualSize
, METH_O
, NULL
},
31272 { (char *)"PyWindow_DoGetBestSize", (PyCFunction
)_wrap_PyWindow_DoGetBestSize
, METH_O
, NULL
},
31273 { (char *)"PyWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyWindow_GetDefaultAttributes
, METH_O
, NULL
},
31274 { (char *)"PyWindow_OnInternalIdle", (PyCFunction
)_wrap_PyWindow_OnInternalIdle
, METH_O
, NULL
},
31275 { (char *)"PyWindow_swigregister", PyWindow_swigregister
, METH_VARARGS
, NULL
},
31276 { (char *)"PyWindow_swiginit", PyWindow_swiginit
, METH_VARARGS
, NULL
},
31277 { (char *)"new_PyPanel", (PyCFunction
) _wrap_new_PyPanel
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31278 { (char *)"new_PrePyPanel", (PyCFunction
)_wrap_new_PrePyPanel
, METH_NOARGS
, NULL
},
31279 { (char *)"PyPanel__setCallbackInfo", (PyCFunction
) _wrap_PyPanel__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31280 { (char *)"PyPanel_SetBestSize", (PyCFunction
) _wrap_PyPanel_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31281 { (char *)"PyPanel_DoEraseBackground", (PyCFunction
) _wrap_PyPanel_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31282 { (char *)"PyPanel_DoMoveWindow", (PyCFunction
) _wrap_PyPanel_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31283 { (char *)"PyPanel_DoSetSize", (PyCFunction
) _wrap_PyPanel_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31284 { (char *)"PyPanel_DoSetClientSize", (PyCFunction
) _wrap_PyPanel_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31285 { (char *)"PyPanel_DoSetVirtualSize", (PyCFunction
) _wrap_PyPanel_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31286 { (char *)"PyPanel_DoGetSize", (PyCFunction
)_wrap_PyPanel_DoGetSize
, METH_O
, NULL
},
31287 { (char *)"PyPanel_DoGetClientSize", (PyCFunction
)_wrap_PyPanel_DoGetClientSize
, METH_O
, NULL
},
31288 { (char *)"PyPanel_DoGetPosition", (PyCFunction
)_wrap_PyPanel_DoGetPosition
, METH_O
, NULL
},
31289 { (char *)"PyPanel_DoGetVirtualSize", (PyCFunction
)_wrap_PyPanel_DoGetVirtualSize
, METH_O
, NULL
},
31290 { (char *)"PyPanel_DoGetBestSize", (PyCFunction
)_wrap_PyPanel_DoGetBestSize
, METH_O
, NULL
},
31291 { (char *)"PyPanel_GetDefaultAttributes", (PyCFunction
)_wrap_PyPanel_GetDefaultAttributes
, METH_O
, NULL
},
31292 { (char *)"PyPanel_OnInternalIdle", (PyCFunction
)_wrap_PyPanel_OnInternalIdle
, METH_O
, NULL
},
31293 { (char *)"PyPanel_swigregister", PyPanel_swigregister
, METH_VARARGS
, NULL
},
31294 { (char *)"PyPanel_swiginit", PyPanel_swiginit
, METH_VARARGS
, NULL
},
31295 { (char *)"new_PyScrolledWindow", (PyCFunction
) _wrap_new_PyScrolledWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31296 { (char *)"new_PrePyScrolledWindow", (PyCFunction
)_wrap_new_PrePyScrolledWindow
, METH_NOARGS
, NULL
},
31297 { (char *)"PyScrolledWindow__setCallbackInfo", (PyCFunction
) _wrap_PyScrolledWindow__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31298 { (char *)"PyScrolledWindow_SetBestSize", (PyCFunction
) _wrap_PyScrolledWindow_SetBestSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31299 { (char *)"PyScrolledWindow_DoEraseBackground", (PyCFunction
) _wrap_PyScrolledWindow_DoEraseBackground
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31300 { (char *)"PyScrolledWindow_DoMoveWindow", (PyCFunction
) _wrap_PyScrolledWindow_DoMoveWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31301 { (char *)"PyScrolledWindow_DoSetSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31302 { (char *)"PyScrolledWindow_DoSetClientSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetClientSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31303 { (char *)"PyScrolledWindow_DoSetVirtualSize", (PyCFunction
) _wrap_PyScrolledWindow_DoSetVirtualSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31304 { (char *)"PyScrolledWindow_DoGetSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetSize
, METH_O
, NULL
},
31305 { (char *)"PyScrolledWindow_DoGetClientSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetClientSize
, METH_O
, NULL
},
31306 { (char *)"PyScrolledWindow_DoGetPosition", (PyCFunction
)_wrap_PyScrolledWindow_DoGetPosition
, METH_O
, NULL
},
31307 { (char *)"PyScrolledWindow_DoGetVirtualSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetVirtualSize
, METH_O
, NULL
},
31308 { (char *)"PyScrolledWindow_DoGetBestSize", (PyCFunction
)_wrap_PyScrolledWindow_DoGetBestSize
, METH_O
, NULL
},
31309 { (char *)"PyScrolledWindow_GetDefaultAttributes", (PyCFunction
)_wrap_PyScrolledWindow_GetDefaultAttributes
, METH_O
, NULL
},
31310 { (char *)"PyScrolledWindow_OnInternalIdle", (PyCFunction
)_wrap_PyScrolledWindow_OnInternalIdle
, METH_O
, NULL
},
31311 { (char *)"PyScrolledWindow_swigregister", PyScrolledWindow_swigregister
, METH_VARARGS
, NULL
},
31312 { (char *)"PyScrolledWindow_swiginit", PyScrolledWindow_swiginit
, METH_VARARGS
, NULL
},
31313 { (char *)"new_PrintData", _wrap_new_PrintData
, METH_VARARGS
, NULL
},
31314 { (char *)"delete_PrintData", (PyCFunction
)_wrap_delete_PrintData
, METH_O
, NULL
},
31315 { (char *)"PrintData_GetNoCopies", (PyCFunction
)_wrap_PrintData_GetNoCopies
, METH_O
, NULL
},
31316 { (char *)"PrintData_GetCollate", (PyCFunction
)_wrap_PrintData_GetCollate
, METH_O
, NULL
},
31317 { (char *)"PrintData_GetOrientation", (PyCFunction
)_wrap_PrintData_GetOrientation
, METH_O
, NULL
},
31318 { (char *)"PrintData_Ok", (PyCFunction
)_wrap_PrintData_Ok
, METH_O
, NULL
},
31319 { (char *)"PrintData_GetPrinterName", (PyCFunction
)_wrap_PrintData_GetPrinterName
, METH_O
, NULL
},
31320 { (char *)"PrintData_GetColour", (PyCFunction
)_wrap_PrintData_GetColour
, METH_O
, NULL
},
31321 { (char *)"PrintData_GetDuplex", (PyCFunction
)_wrap_PrintData_GetDuplex
, METH_O
, NULL
},
31322 { (char *)"PrintData_GetPaperId", (PyCFunction
)_wrap_PrintData_GetPaperId
, METH_O
, NULL
},
31323 { (char *)"PrintData_GetPaperSize", (PyCFunction
)_wrap_PrintData_GetPaperSize
, METH_O
, NULL
},
31324 { (char *)"PrintData_GetQuality", (PyCFunction
)_wrap_PrintData_GetQuality
, METH_O
, NULL
},
31325 { (char *)"PrintData_GetBin", (PyCFunction
)_wrap_PrintData_GetBin
, METH_O
, NULL
},
31326 { (char *)"PrintData_GetPrintMode", (PyCFunction
)_wrap_PrintData_GetPrintMode
, METH_O
, NULL
},
31327 { (char *)"PrintData_SetNoCopies", (PyCFunction
) _wrap_PrintData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31328 { (char *)"PrintData_SetCollate", (PyCFunction
) _wrap_PrintData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31329 { (char *)"PrintData_SetOrientation", (PyCFunction
) _wrap_PrintData_SetOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31330 { (char *)"PrintData_SetPrinterName", (PyCFunction
) _wrap_PrintData_SetPrinterName
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31331 { (char *)"PrintData_SetColour", (PyCFunction
) _wrap_PrintData_SetColour
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31332 { (char *)"PrintData_SetDuplex", (PyCFunction
) _wrap_PrintData_SetDuplex
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31333 { (char *)"PrintData_SetPaperId", (PyCFunction
) _wrap_PrintData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31334 { (char *)"PrintData_SetPaperSize", (PyCFunction
) _wrap_PrintData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31335 { (char *)"PrintData_SetQuality", (PyCFunction
) _wrap_PrintData_SetQuality
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31336 { (char *)"PrintData_SetBin", (PyCFunction
) _wrap_PrintData_SetBin
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31337 { (char *)"PrintData_SetPrintMode", (PyCFunction
) _wrap_PrintData_SetPrintMode
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31338 { (char *)"PrintData_GetFilename", (PyCFunction
)_wrap_PrintData_GetFilename
, METH_O
, NULL
},
31339 { (char *)"PrintData_SetFilename", (PyCFunction
) _wrap_PrintData_SetFilename
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31340 { (char *)"PrintData_GetPrivData", (PyCFunction
)_wrap_PrintData_GetPrivData
, METH_O
, NULL
},
31341 { (char *)"PrintData_SetPrivData", (PyCFunction
) _wrap_PrintData_SetPrivData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31342 { (char *)"PrintData_swigregister", PrintData_swigregister
, METH_VARARGS
, NULL
},
31343 { (char *)"PrintData_swiginit", PrintData_swiginit
, METH_VARARGS
, NULL
},
31344 { (char *)"new_PageSetupDialogData", _wrap_new_PageSetupDialogData
, METH_VARARGS
, NULL
},
31345 { (char *)"delete_PageSetupDialogData", (PyCFunction
)_wrap_delete_PageSetupDialogData
, METH_O
, NULL
},
31346 { (char *)"PageSetupDialogData_EnableHelp", (PyCFunction
) _wrap_PageSetupDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31347 { (char *)"PageSetupDialogData_EnableMargins", (PyCFunction
) _wrap_PageSetupDialogData_EnableMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31348 { (char *)"PageSetupDialogData_EnableOrientation", (PyCFunction
) _wrap_PageSetupDialogData_EnableOrientation
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31349 { (char *)"PageSetupDialogData_EnablePaper", (PyCFunction
) _wrap_PageSetupDialogData_EnablePaper
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31350 { (char *)"PageSetupDialogData_EnablePrinter", (PyCFunction
) _wrap_PageSetupDialogData_EnablePrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31351 { (char *)"PageSetupDialogData_GetDefaultMinMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultMinMargins
, METH_O
, NULL
},
31352 { (char *)"PageSetupDialogData_GetEnableMargins", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableMargins
, METH_O
, NULL
},
31353 { (char *)"PageSetupDialogData_GetEnableOrientation", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableOrientation
, METH_O
, NULL
},
31354 { (char *)"PageSetupDialogData_GetEnablePaper", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePaper
, METH_O
, NULL
},
31355 { (char *)"PageSetupDialogData_GetEnablePrinter", (PyCFunction
)_wrap_PageSetupDialogData_GetEnablePrinter
, METH_O
, NULL
},
31356 { (char *)"PageSetupDialogData_GetEnableHelp", (PyCFunction
)_wrap_PageSetupDialogData_GetEnableHelp
, METH_O
, NULL
},
31357 { (char *)"PageSetupDialogData_GetDefaultInfo", (PyCFunction
)_wrap_PageSetupDialogData_GetDefaultInfo
, METH_O
, NULL
},
31358 { (char *)"PageSetupDialogData_GetMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginTopLeft
, METH_O
, NULL
},
31359 { (char *)"PageSetupDialogData_GetMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMarginBottomRight
, METH_O
, NULL
},
31360 { (char *)"PageSetupDialogData_GetMinMarginTopLeft", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginTopLeft
, METH_O
, NULL
},
31361 { (char *)"PageSetupDialogData_GetMinMarginBottomRight", (PyCFunction
)_wrap_PageSetupDialogData_GetMinMarginBottomRight
, METH_O
, NULL
},
31362 { (char *)"PageSetupDialogData_GetPaperId", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperId
, METH_O
, NULL
},
31363 { (char *)"PageSetupDialogData_GetPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_GetPaperSize
, METH_O
, NULL
},
31364 { (char *)"PageSetupDialogData_GetPrintData", (PyCFunction
)_wrap_PageSetupDialogData_GetPrintData
, METH_O
, NULL
},
31365 { (char *)"PageSetupDialogData_Ok", (PyCFunction
)_wrap_PageSetupDialogData_Ok
, METH_O
, NULL
},
31366 { (char *)"PageSetupDialogData_SetDefaultInfo", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31367 { (char *)"PageSetupDialogData_SetDefaultMinMargins", (PyCFunction
) _wrap_PageSetupDialogData_SetDefaultMinMargins
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31368 { (char *)"PageSetupDialogData_SetMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31369 { (char *)"PageSetupDialogData_SetMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31370 { (char *)"PageSetupDialogData_SetMinMarginTopLeft", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginTopLeft
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31371 { (char *)"PageSetupDialogData_SetMinMarginBottomRight", (PyCFunction
) _wrap_PageSetupDialogData_SetMinMarginBottomRight
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31372 { (char *)"PageSetupDialogData_SetPaperId", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperId
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31373 { (char *)"PageSetupDialogData_SetPaperSize", (PyCFunction
) _wrap_PageSetupDialogData_SetPaperSize
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31374 { (char *)"PageSetupDialogData_SetPrintData", (PyCFunction
) _wrap_PageSetupDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31375 { (char *)"PageSetupDialogData_CalculateIdFromPaperSize", (PyCFunction
)_wrap_PageSetupDialogData_CalculateIdFromPaperSize
, METH_O
, NULL
},
31376 { (char *)"PageSetupDialogData_CalculatePaperSizeFromId", (PyCFunction
)_wrap_PageSetupDialogData_CalculatePaperSizeFromId
, METH_O
, NULL
},
31377 { (char *)"PageSetupDialogData_swigregister", PageSetupDialogData_swigregister
, METH_VARARGS
, NULL
},
31378 { (char *)"PageSetupDialogData_swiginit", PageSetupDialogData_swiginit
, METH_VARARGS
, NULL
},
31379 { (char *)"new_PageSetupDialog", (PyCFunction
) _wrap_new_PageSetupDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31380 { (char *)"delete_PageSetupDialog", (PyCFunction
)_wrap_delete_PageSetupDialog
, METH_O
, NULL
},
31381 { (char *)"PageSetupDialog_GetPageSetupData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupData
, METH_O
, NULL
},
31382 { (char *)"PageSetupDialog_GetPageSetupDialogData", (PyCFunction
)_wrap_PageSetupDialog_GetPageSetupDialogData
, METH_O
, NULL
},
31383 { (char *)"PageSetupDialog_ShowModal", (PyCFunction
)_wrap_PageSetupDialog_ShowModal
, METH_O
, NULL
},
31384 { (char *)"PageSetupDialog_swigregister", PageSetupDialog_swigregister
, METH_VARARGS
, NULL
},
31385 { (char *)"PageSetupDialog_swiginit", PageSetupDialog_swiginit
, METH_VARARGS
, NULL
},
31386 { (char *)"new_PrintDialogData", _wrap_new_PrintDialogData
, METH_VARARGS
, NULL
},
31387 { (char *)"delete_PrintDialogData", (PyCFunction
)_wrap_delete_PrintDialogData
, METH_O
, NULL
},
31388 { (char *)"PrintDialogData_GetFromPage", (PyCFunction
)_wrap_PrintDialogData_GetFromPage
, METH_O
, NULL
},
31389 { (char *)"PrintDialogData_GetToPage", (PyCFunction
)_wrap_PrintDialogData_GetToPage
, METH_O
, NULL
},
31390 { (char *)"PrintDialogData_GetMinPage", (PyCFunction
)_wrap_PrintDialogData_GetMinPage
, METH_O
, NULL
},
31391 { (char *)"PrintDialogData_GetMaxPage", (PyCFunction
)_wrap_PrintDialogData_GetMaxPage
, METH_O
, NULL
},
31392 { (char *)"PrintDialogData_GetNoCopies", (PyCFunction
)_wrap_PrintDialogData_GetNoCopies
, METH_O
, NULL
},
31393 { (char *)"PrintDialogData_GetAllPages", (PyCFunction
)_wrap_PrintDialogData_GetAllPages
, METH_O
, NULL
},
31394 { (char *)"PrintDialogData_GetSelection", (PyCFunction
)_wrap_PrintDialogData_GetSelection
, METH_O
, NULL
},
31395 { (char *)"PrintDialogData_GetCollate", (PyCFunction
)_wrap_PrintDialogData_GetCollate
, METH_O
, NULL
},
31396 { (char *)"PrintDialogData_GetPrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetPrintToFile
, METH_O
, NULL
},
31397 { (char *)"PrintDialogData_SetFromPage", (PyCFunction
) _wrap_PrintDialogData_SetFromPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31398 { (char *)"PrintDialogData_SetToPage", (PyCFunction
) _wrap_PrintDialogData_SetToPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31399 { (char *)"PrintDialogData_SetMinPage", (PyCFunction
) _wrap_PrintDialogData_SetMinPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31400 { (char *)"PrintDialogData_SetMaxPage", (PyCFunction
) _wrap_PrintDialogData_SetMaxPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31401 { (char *)"PrintDialogData_SetNoCopies", (PyCFunction
) _wrap_PrintDialogData_SetNoCopies
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31402 { (char *)"PrintDialogData_SetAllPages", (PyCFunction
) _wrap_PrintDialogData_SetAllPages
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31403 { (char *)"PrintDialogData_SetSelection", (PyCFunction
) _wrap_PrintDialogData_SetSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31404 { (char *)"PrintDialogData_SetCollate", (PyCFunction
) _wrap_PrintDialogData_SetCollate
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31405 { (char *)"PrintDialogData_SetPrintToFile", (PyCFunction
) _wrap_PrintDialogData_SetPrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31406 { (char *)"PrintDialogData_EnablePrintToFile", (PyCFunction
) _wrap_PrintDialogData_EnablePrintToFile
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31407 { (char *)"PrintDialogData_EnableSelection", (PyCFunction
) _wrap_PrintDialogData_EnableSelection
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31408 { (char *)"PrintDialogData_EnablePageNumbers", (PyCFunction
) _wrap_PrintDialogData_EnablePageNumbers
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31409 { (char *)"PrintDialogData_EnableHelp", (PyCFunction
) _wrap_PrintDialogData_EnableHelp
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31410 { (char *)"PrintDialogData_GetEnablePrintToFile", (PyCFunction
)_wrap_PrintDialogData_GetEnablePrintToFile
, METH_O
, NULL
},
31411 { (char *)"PrintDialogData_GetEnableSelection", (PyCFunction
)_wrap_PrintDialogData_GetEnableSelection
, METH_O
, NULL
},
31412 { (char *)"PrintDialogData_GetEnablePageNumbers", (PyCFunction
)_wrap_PrintDialogData_GetEnablePageNumbers
, METH_O
, NULL
},
31413 { (char *)"PrintDialogData_GetEnableHelp", (PyCFunction
)_wrap_PrintDialogData_GetEnableHelp
, METH_O
, NULL
},
31414 { (char *)"PrintDialogData_Ok", (PyCFunction
)_wrap_PrintDialogData_Ok
, METH_O
, NULL
},
31415 { (char *)"PrintDialogData_GetPrintData", (PyCFunction
)_wrap_PrintDialogData_GetPrintData
, METH_O
, NULL
},
31416 { (char *)"PrintDialogData_SetPrintData", (PyCFunction
) _wrap_PrintDialogData_SetPrintData
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31417 { (char *)"PrintDialogData_swigregister", PrintDialogData_swigregister
, METH_VARARGS
, NULL
},
31418 { (char *)"PrintDialogData_swiginit", PrintDialogData_swiginit
, METH_VARARGS
, NULL
},
31419 { (char *)"new_PrintDialog", (PyCFunction
) _wrap_new_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31420 { (char *)"delete_PrintDialog", (PyCFunction
)_wrap_delete_PrintDialog
, METH_O
, NULL
},
31421 { (char *)"PrintDialog_ShowModal", (PyCFunction
)_wrap_PrintDialog_ShowModal
, METH_O
, NULL
},
31422 { (char *)"PrintDialog_GetPrintDialogData", (PyCFunction
)_wrap_PrintDialog_GetPrintDialogData
, METH_O
, NULL
},
31423 { (char *)"PrintDialog_GetPrintData", (PyCFunction
)_wrap_PrintDialog_GetPrintData
, METH_O
, NULL
},
31424 { (char *)"PrintDialog_GetPrintDC", (PyCFunction
)_wrap_PrintDialog_GetPrintDC
, METH_O
, NULL
},
31425 { (char *)"PrintDialog_swigregister", PrintDialog_swigregister
, METH_VARARGS
, NULL
},
31426 { (char *)"PrintDialog_swiginit", PrintDialog_swiginit
, METH_VARARGS
, NULL
},
31427 { (char *)"new_Printer", (PyCFunction
) _wrap_new_Printer
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31428 { (char *)"delete_Printer", (PyCFunction
)_wrap_delete_Printer
, METH_O
, NULL
},
31429 { (char *)"Printer_CreateAbortWindow", (PyCFunction
) _wrap_Printer_CreateAbortWindow
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31430 { (char *)"Printer_ReportError", (PyCFunction
) _wrap_Printer_ReportError
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31431 { (char *)"Printer_Setup", (PyCFunction
) _wrap_Printer_Setup
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31432 { (char *)"Printer_Print", (PyCFunction
) _wrap_Printer_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31433 { (char *)"Printer_PrintDialog", (PyCFunction
) _wrap_Printer_PrintDialog
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31434 { (char *)"Printer_GetPrintDialogData", (PyCFunction
)_wrap_Printer_GetPrintDialogData
, METH_O
, NULL
},
31435 { (char *)"Printer_GetAbort", (PyCFunction
)_wrap_Printer_GetAbort
, METH_O
, NULL
},
31436 { (char *)"Printer_GetLastError", (PyCFunction
)_wrap_Printer_GetLastError
, METH_NOARGS
, NULL
},
31437 { (char *)"Printer_swigregister", Printer_swigregister
, METH_VARARGS
, NULL
},
31438 { (char *)"Printer_swiginit", Printer_swiginit
, METH_VARARGS
, NULL
},
31439 { (char *)"new_Printout", (PyCFunction
) _wrap_new_Printout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31440 { (char *)"delete_Printout", (PyCFunction
)_wrap_delete_Printout
, METH_O
, NULL
},
31441 { (char *)"Printout__setCallbackInfo", (PyCFunction
) _wrap_Printout__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31442 { (char *)"Printout_GetTitle", (PyCFunction
)_wrap_Printout_GetTitle
, METH_O
, NULL
},
31443 { (char *)"Printout_GetDC", (PyCFunction
)_wrap_Printout_GetDC
, METH_O
, NULL
},
31444 { (char *)"Printout_SetDC", (PyCFunction
) _wrap_Printout_SetDC
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31445 { (char *)"Printout_SetPageSizePixels", (PyCFunction
) _wrap_Printout_SetPageSizePixels
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31446 { (char *)"Printout_GetPageSizePixels", (PyCFunction
)_wrap_Printout_GetPageSizePixels
, METH_O
, NULL
},
31447 { (char *)"Printout_SetPageSizeMM", (PyCFunction
) _wrap_Printout_SetPageSizeMM
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31448 { (char *)"Printout_GetPageSizeMM", (PyCFunction
)_wrap_Printout_GetPageSizeMM
, METH_O
, NULL
},
31449 { (char *)"Printout_SetPPIScreen", (PyCFunction
) _wrap_Printout_SetPPIScreen
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31450 { (char *)"Printout_GetPPIScreen", (PyCFunction
)_wrap_Printout_GetPPIScreen
, METH_O
, NULL
},
31451 { (char *)"Printout_SetPPIPrinter", (PyCFunction
) _wrap_Printout_SetPPIPrinter
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31452 { (char *)"Printout_GetPPIPrinter", (PyCFunction
)_wrap_Printout_GetPPIPrinter
, METH_O
, NULL
},
31453 { (char *)"Printout_IsPreview", (PyCFunction
)_wrap_Printout_IsPreview
, METH_O
, NULL
},
31454 { (char *)"Printout_SetIsPreview", (PyCFunction
) _wrap_Printout_SetIsPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31455 { (char *)"Printout_OnBeginDocument", (PyCFunction
) _wrap_Printout_OnBeginDocument
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31456 { (char *)"Printout_OnEndDocument", (PyCFunction
)_wrap_Printout_OnEndDocument
, METH_O
, NULL
},
31457 { (char *)"Printout_OnBeginPrinting", (PyCFunction
)_wrap_Printout_OnBeginPrinting
, METH_O
, NULL
},
31458 { (char *)"Printout_OnEndPrinting", (PyCFunction
)_wrap_Printout_OnEndPrinting
, METH_O
, NULL
},
31459 { (char *)"Printout_OnPreparePrinting", (PyCFunction
)_wrap_Printout_OnPreparePrinting
, METH_O
, NULL
},
31460 { (char *)"Printout_HasPage", (PyCFunction
) _wrap_Printout_HasPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31461 { (char *)"Printout_GetPageInfo", (PyCFunction
)_wrap_Printout_GetPageInfo
, METH_O
, NULL
},
31462 { (char *)"Printout_swigregister", Printout_swigregister
, METH_VARARGS
, NULL
},
31463 { (char *)"Printout_swiginit", Printout_swiginit
, METH_VARARGS
, NULL
},
31464 { (char *)"new_PreviewCanvas", (PyCFunction
) _wrap_new_PreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31465 { (char *)"PreviewCanvas_swigregister", PreviewCanvas_swigregister
, METH_VARARGS
, NULL
},
31466 { (char *)"PreviewCanvas_swiginit", PreviewCanvas_swiginit
, METH_VARARGS
, NULL
},
31467 { (char *)"new_PreviewFrame", (PyCFunction
) _wrap_new_PreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31468 { (char *)"PreviewFrame_Initialize", (PyCFunction
)_wrap_PreviewFrame_Initialize
, METH_O
, NULL
},
31469 { (char *)"PreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PreviewFrame_CreateControlBar
, METH_O
, NULL
},
31470 { (char *)"PreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PreviewFrame_CreateCanvas
, METH_O
, NULL
},
31471 { (char *)"PreviewFrame_GetControlBar", (PyCFunction
)_wrap_PreviewFrame_GetControlBar
, METH_O
, NULL
},
31472 { (char *)"PreviewFrame_swigregister", PreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31473 { (char *)"PreviewFrame_swiginit", PreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31474 { (char *)"new_PreviewControlBar", (PyCFunction
) _wrap_new_PreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31475 { (char *)"PreviewControlBar_GetZoomControl", (PyCFunction
)_wrap_PreviewControlBar_GetZoomControl
, METH_O
, NULL
},
31476 { (char *)"PreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31477 { (char *)"PreviewControlBar_GetPrintPreview", (PyCFunction
)_wrap_PreviewControlBar_GetPrintPreview
, METH_O
, NULL
},
31478 { (char *)"PreviewControlBar_OnNext", (PyCFunction
)_wrap_PreviewControlBar_OnNext
, METH_O
, NULL
},
31479 { (char *)"PreviewControlBar_OnPrevious", (PyCFunction
)_wrap_PreviewControlBar_OnPrevious
, METH_O
, NULL
},
31480 { (char *)"PreviewControlBar_OnFirst", (PyCFunction
)_wrap_PreviewControlBar_OnFirst
, METH_O
, NULL
},
31481 { (char *)"PreviewControlBar_OnLast", (PyCFunction
)_wrap_PreviewControlBar_OnLast
, METH_O
, NULL
},
31482 { (char *)"PreviewControlBar_OnGoto", (PyCFunction
)_wrap_PreviewControlBar_OnGoto
, METH_O
, NULL
},
31483 { (char *)"PreviewControlBar_swigregister", PreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31484 { (char *)"PreviewControlBar_swiginit", PreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31485 { (char *)"new_PrintPreview", _wrap_new_PrintPreview
, METH_VARARGS
, NULL
},
31486 { (char *)"delete_PrintPreview", (PyCFunction
)_wrap_delete_PrintPreview
, METH_O
, NULL
},
31487 { (char *)"PrintPreview_SetCurrentPage", (PyCFunction
) _wrap_PrintPreview_SetCurrentPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31488 { (char *)"PrintPreview_GetCurrentPage", (PyCFunction
)_wrap_PrintPreview_GetCurrentPage
, METH_O
, NULL
},
31489 { (char *)"PrintPreview_SetPrintout", (PyCFunction
) _wrap_PrintPreview_SetPrintout
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31490 { (char *)"PrintPreview_GetPrintout", (PyCFunction
)_wrap_PrintPreview_GetPrintout
, METH_O
, NULL
},
31491 { (char *)"PrintPreview_GetPrintoutForPrinting", (PyCFunction
)_wrap_PrintPreview_GetPrintoutForPrinting
, METH_O
, NULL
},
31492 { (char *)"PrintPreview_SetFrame", (PyCFunction
) _wrap_PrintPreview_SetFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31493 { (char *)"PrintPreview_SetCanvas", (PyCFunction
) _wrap_PrintPreview_SetCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31494 { (char *)"PrintPreview_GetFrame", (PyCFunction
)_wrap_PrintPreview_GetFrame
, METH_O
, NULL
},
31495 { (char *)"PrintPreview_GetCanvas", (PyCFunction
)_wrap_PrintPreview_GetCanvas
, METH_O
, NULL
},
31496 { (char *)"PrintPreview_PaintPage", (PyCFunction
) _wrap_PrintPreview_PaintPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31497 { (char *)"PrintPreview_DrawBlankPage", (PyCFunction
) _wrap_PrintPreview_DrawBlankPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31498 { (char *)"PrintPreview_RenderPage", (PyCFunction
) _wrap_PrintPreview_RenderPage
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31499 { (char *)"PrintPreview_AdjustScrollbars", (PyCFunction
) _wrap_PrintPreview_AdjustScrollbars
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31500 { (char *)"PrintPreview_GetPrintDialogData", (PyCFunction
)_wrap_PrintPreview_GetPrintDialogData
, METH_O
, NULL
},
31501 { (char *)"PrintPreview_SetZoom", (PyCFunction
) _wrap_PrintPreview_SetZoom
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31502 { (char *)"PrintPreview_GetZoom", (PyCFunction
)_wrap_PrintPreview_GetZoom
, METH_O
, NULL
},
31503 { (char *)"PrintPreview_GetMaxPage", (PyCFunction
)_wrap_PrintPreview_GetMaxPage
, METH_O
, NULL
},
31504 { (char *)"PrintPreview_GetMinPage", (PyCFunction
)_wrap_PrintPreview_GetMinPage
, METH_O
, NULL
},
31505 { (char *)"PrintPreview_Ok", (PyCFunction
)_wrap_PrintPreview_Ok
, METH_O
, NULL
},
31506 { (char *)"PrintPreview_SetOk", (PyCFunction
) _wrap_PrintPreview_SetOk
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31507 { (char *)"PrintPreview_Print", (PyCFunction
) _wrap_PrintPreview_Print
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31508 { (char *)"PrintPreview_DetermineScaling", (PyCFunction
)_wrap_PrintPreview_DetermineScaling
, METH_O
, NULL
},
31509 { (char *)"PrintPreview_swigregister", PrintPreview_swigregister
, METH_VARARGS
, NULL
},
31510 { (char *)"PrintPreview_swiginit", PrintPreview_swiginit
, METH_VARARGS
, NULL
},
31511 { (char *)"new_PyPrintPreview", _wrap_new_PyPrintPreview
, METH_VARARGS
, NULL
},
31512 { (char *)"PyPrintPreview__setCallbackInfo", (PyCFunction
) _wrap_PyPrintPreview__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31513 { (char *)"PyPrintPreview_swigregister", PyPrintPreview_swigregister
, METH_VARARGS
, NULL
},
31514 { (char *)"PyPrintPreview_swiginit", PyPrintPreview_swiginit
, METH_VARARGS
, NULL
},
31515 { (char *)"new_PyPreviewFrame", (PyCFunction
) _wrap_new_PyPreviewFrame
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31516 { (char *)"PyPreviewFrame__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewFrame__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31517 { (char *)"PyPreviewFrame_SetPreviewCanvas", (PyCFunction
) _wrap_PyPreviewFrame_SetPreviewCanvas
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31518 { (char *)"PyPreviewFrame_SetControlBar", (PyCFunction
) _wrap_PyPreviewFrame_SetControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31519 { (char *)"PyPreviewFrame_Initialize", (PyCFunction
)_wrap_PyPreviewFrame_Initialize
, METH_O
, NULL
},
31520 { (char *)"PyPreviewFrame_CreateCanvas", (PyCFunction
)_wrap_PyPreviewFrame_CreateCanvas
, METH_O
, NULL
},
31521 { (char *)"PyPreviewFrame_CreateControlBar", (PyCFunction
)_wrap_PyPreviewFrame_CreateControlBar
, METH_O
, NULL
},
31522 { (char *)"PyPreviewFrame_swigregister", PyPreviewFrame_swigregister
, METH_VARARGS
, NULL
},
31523 { (char *)"PyPreviewFrame_swiginit", PyPreviewFrame_swiginit
, METH_VARARGS
, NULL
},
31524 { (char *)"new_PyPreviewControlBar", (PyCFunction
) _wrap_new_PyPreviewControlBar
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31525 { (char *)"PyPreviewControlBar__setCallbackInfo", (PyCFunction
) _wrap_PyPreviewControlBar__setCallbackInfo
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31526 { (char *)"PyPreviewControlBar_SetPrintPreview", (PyCFunction
) _wrap_PyPreviewControlBar_SetPrintPreview
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31527 { (char *)"PyPreviewControlBar_CreateButtons", (PyCFunction
)_wrap_PyPreviewControlBar_CreateButtons
, METH_O
, NULL
},
31528 { (char *)"PyPreviewControlBar_SetZoomControl", (PyCFunction
) _wrap_PyPreviewControlBar_SetZoomControl
, METH_VARARGS
| METH_KEYWORDS
, NULL
},
31529 { (char *)"PyPreviewControlBar_swigregister", PyPreviewControlBar_swigregister
, METH_VARARGS
, NULL
},
31530 { (char *)"PyPreviewControlBar_swiginit", PyPreviewControlBar_swiginit
, METH_VARARGS
, NULL
},
31531 { NULL
, NULL
, 0, NULL
}
31535 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (BEGIN) -------- */
31537 static void *_p_wxPyPreviewFrameTo_p_wxPreviewFrame(void *x
) {
31538 return (void *)((wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31540 static void *_p_wxContextMenuEventTo_p_wxEvent(void *x
) {
31541 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
31543 static void *_p_wxMenuEventTo_p_wxEvent(void *x
) {
31544 return (void *)((wxEvent
*) ((wxMenuEvent
*) x
));
31546 static void *_p_wxCloseEventTo_p_wxEvent(void *x
) {
31547 return (void *)((wxEvent
*) ((wxCloseEvent
*) x
));
31549 static void *_p_wxMouseEventTo_p_wxEvent(void *x
) {
31550 return (void *)((wxEvent
*) ((wxMouseEvent
*) x
));
31552 static void *_p_wxEraseEventTo_p_wxEvent(void *x
) {
31553 return (void *)((wxEvent
*) ((wxEraseEvent
*) x
));
31555 static void *_p_wxSetCursorEventTo_p_wxEvent(void *x
) {
31556 return (void *)((wxEvent
*) ((wxSetCursorEvent
*) x
));
31558 static void *_p_wxSplitterEventTo_p_wxEvent(void *x
) {
31559 return (void *)((wxEvent
*) (wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31561 static void *_p_wxInitDialogEventTo_p_wxEvent(void *x
) {
31562 return (void *)((wxEvent
*) ((wxInitDialogEvent
*) x
));
31564 static void *_p_wxScrollEventTo_p_wxEvent(void *x
) {
31565 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxScrollEvent
*) x
));
31567 static void *_p_wxFindDialogEventTo_p_wxEvent(void *x
) {
31568 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31570 static void *_p_wxNotifyEventTo_p_wxEvent(void *x
) {
31571 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31573 static void *_p_wxMouseCaptureLostEventTo_p_wxEvent(void *x
) {
31574 return (void *)((wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
31576 static void *_p_wxPyEventTo_p_wxEvent(void *x
) {
31577 return (void *)((wxEvent
*) ((wxPyEvent
*) x
));
31579 static void *_p_wxCalculateLayoutEventTo_p_wxEvent(void *x
) {
31580 return (void *)((wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
31582 static void *_p_wxIdleEventTo_p_wxEvent(void *x
) {
31583 return (void *)((wxEvent
*) ((wxIdleEvent
*) x
));
31585 static void *_p_wxWindowCreateEventTo_p_wxEvent(void *x
) {
31586 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
31588 static void *_p_wxQueryNewPaletteEventTo_p_wxEvent(void *x
) {
31589 return (void *)((wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
31591 static void *_p_wxMaximizeEventTo_p_wxEvent(void *x
) {
31592 return (void *)((wxEvent
*) ((wxMaximizeEvent
*) x
));
31594 static void *_p_wxIconizeEventTo_p_wxEvent(void *x
) {
31595 return (void *)((wxEvent
*) ((wxIconizeEvent
*) x
));
31597 static void *_p_wxActivateEventTo_p_wxEvent(void *x
) {
31598 return (void *)((wxEvent
*) ((wxActivateEvent
*) x
));
31600 static void *_p_wxSizeEventTo_p_wxEvent(void *x
) {
31601 return (void *)((wxEvent
*) ((wxSizeEvent
*) x
));
31603 static void *_p_wxMoveEventTo_p_wxEvent(void *x
) {
31604 return (void *)((wxEvent
*) ((wxMoveEvent
*) x
));
31606 static void *_p_wxDateEventTo_p_wxEvent(void *x
) {
31607 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxDateEvent
*) x
));
31609 static void *_p_wxPaintEventTo_p_wxEvent(void *x
) {
31610 return (void *)((wxEvent
*) ((wxPaintEvent
*) x
));
31612 static void *_p_wxNcPaintEventTo_p_wxEvent(void *x
) {
31613 return (void *)((wxEvent
*) ((wxNcPaintEvent
*) x
));
31615 static void *_p_wxClipboardTextEventTo_p_wxEvent(void *x
) {
31616 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31618 static void *_p_wxUpdateUIEventTo_p_wxEvent(void *x
) {
31619 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31621 static void *_p_wxPaletteChangedEventTo_p_wxEvent(void *x
) {
31622 return (void *)((wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31624 static void *_p_wxDisplayChangedEventTo_p_wxEvent(void *x
) {
31625 return (void *)((wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31627 static void *_p_wxMouseCaptureChangedEventTo_p_wxEvent(void *x
) {
31628 return (void *)((wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31630 static void *_p_wxSysColourChangedEventTo_p_wxEvent(void *x
) {
31631 return (void *)((wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31633 static void *_p_wxDropFilesEventTo_p_wxEvent(void *x
) {
31634 return (void *)((wxEvent
*) ((wxDropFilesEvent
*) x
));
31636 static void *_p_wxFocusEventTo_p_wxEvent(void *x
) {
31637 return (void *)((wxEvent
*) ((wxFocusEvent
*) x
));
31639 static void *_p_wxChildFocusEventTo_p_wxEvent(void *x
) {
31640 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
31642 static void *_p_wxSashEventTo_p_wxEvent(void *x
) {
31643 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxSashEvent
*) x
));
31645 static void *_p_wxQueryLayoutInfoEventTo_p_wxEvent(void *x
) {
31646 return (void *)((wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31648 static void *_p_wxShowEventTo_p_wxEvent(void *x
) {
31649 return (void *)((wxEvent
*) ((wxShowEvent
*) x
));
31651 static void *_p_wxCommandEventTo_p_wxEvent(void *x
) {
31652 return (void *)((wxEvent
*) ((wxCommandEvent
*) x
));
31654 static void *_p_wxPyCommandEventTo_p_wxEvent(void *x
) {
31655 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
31657 static void *_p_wxWindowDestroyEventTo_p_wxEvent(void *x
) {
31658 return (void *)((wxEvent
*) (wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
31660 static void *_p_wxNavigationKeyEventTo_p_wxEvent(void *x
) {
31661 return (void *)((wxEvent
*) ((wxNavigationKeyEvent
*) x
));
31663 static void *_p_wxKeyEventTo_p_wxEvent(void *x
) {
31664 return (void *)((wxEvent
*) ((wxKeyEvent
*) x
));
31666 static void *_p_wxScrollWinEventTo_p_wxEvent(void *x
) {
31667 return (void *)((wxEvent
*) ((wxScrollWinEvent
*) x
));
31669 static void *_p_wxTaskBarIconEventTo_p_wxEvent(void *x
) {
31670 return (void *)((wxEvent
*) ((wxTaskBarIconEvent
*) x
));
31672 static void *_p_wxSplitterEventTo_p_wxNotifyEvent(void *x
) {
31673 return (void *)((wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31675 static void *_p_wxPasswordEntryDialogTo_p_wxTextEntryDialog(void *x
) {
31676 return (void *)((wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31678 static void *_p_wxSplashScreenTo_p_wxEvtHandler(void *x
) {
31679 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31681 static void *_p_wxMiniFrameTo_p_wxEvtHandler(void *x
) {
31682 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
31684 static void *_p_wxPyPanelTo_p_wxEvtHandler(void *x
) {
31685 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31687 static void *_p_wxMenuBarTo_p_wxEvtHandler(void *x
) {
31688 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMenuBar
*) x
));
31690 static void *_p_wxValidatorTo_p_wxEvtHandler(void *x
) {
31691 return (void *)((wxEvtHandler
*) ((wxValidator
*) x
));
31693 static void *_p_wxPyValidatorTo_p_wxEvtHandler(void *x
) {
31694 return (void *)((wxEvtHandler
*) (wxValidator
*) ((wxPyValidator
*) x
));
31696 static void *_p_wxMenuTo_p_wxEvtHandler(void *x
) {
31697 return (void *)((wxEvtHandler
*) ((wxMenu
*) x
));
31699 static void *_p_wxPasswordEntryDialogTo_p_wxEvtHandler(void *x
) {
31700 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31702 static void *_p_wxTextEntryDialogTo_p_wxEvtHandler(void *x
) {
31703 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31705 static void *_p_wxSingleChoiceDialogTo_p_wxEvtHandler(void *x
) {
31706 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31708 static void *_p_wxMultiChoiceDialogTo_p_wxEvtHandler(void *x
) {
31709 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31711 static void *_p_wxFileDialogTo_p_wxEvtHandler(void *x
) {
31712 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31714 static void *_p_wxNumberEntryDialogTo_p_wxEvtHandler(void *x
) {
31715 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
31717 static void *_p_wxMessageDialogTo_p_wxEvtHandler(void *x
) {
31718 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
31720 static void *_p_wxProgressDialogTo_p_wxEvtHandler(void *x
) {
31721 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
31723 static void *_p_wxFindReplaceDialogTo_p_wxEvtHandler(void *x
) {
31724 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
31726 static void *_p_wxPanelTo_p_wxEvtHandler(void *x
) {
31727 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPanel
*) x
));
31729 static void *_p_wxStatusBarTo_p_wxEvtHandler(void *x
) {
31730 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxStatusBar
*) x
));
31732 static void *_p_wxPyVScrolledWindowTo_p_wxEvtHandler(void *x
) {
31733 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
31735 static void *_p_wxTipWindowTo_p_wxEvtHandler(void *x
) {
31736 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
31738 static void *_p_wxPyPopupTransientWindowTo_p_wxEvtHandler(void *x
) {
31739 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
31741 static void *_p_wxPopupWindowTo_p_wxEvtHandler(void *x
) {
31742 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPopupWindow
*) x
));
31744 static void *_p_wxSashLayoutWindowTo_p_wxEvtHandler(void *x
) {
31745 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
31747 static void *_p_wxSashWindowTo_p_wxEvtHandler(void *x
) {
31748 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSashWindow
*) x
));
31750 static void *_p_wxSplitterWindowTo_p_wxEvtHandler(void *x
) {
31751 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplitterWindow
*) x
));
31753 static void *_p_wxSplashScreenWindowTo_p_wxEvtHandler(void *x
) {
31754 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxSplashScreenWindow
*) x
));
31756 static void *_p_wxWindowTo_p_wxEvtHandler(void *x
) {
31757 return (void *)((wxEvtHandler
*) ((wxWindow
*) x
));
31759 static void *_p_wxScrolledWindowTo_p_wxEvtHandler(void *x
) {
31760 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
31762 static void *_p_wxTopLevelWindowTo_p_wxEvtHandler(void *x
) {
31763 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxTopLevelWindow
*) x
));
31765 static void *_p_wxMDIClientWindowTo_p_wxEvtHandler(void *x
) {
31766 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxMDIClientWindow
*) x
));
31768 static void *_p_wxPyScrolledWindowTo_p_wxEvtHandler(void *x
) {
31769 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
31771 static void *_p_wxControlTo_p_wxEvtHandler(void *x
) {
31772 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxControl
*) x
));
31774 static void *_p_wxPreviewFrameTo_p_wxEvtHandler(void *x
) {
31775 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31777 static void *_p_wxPyPreviewFrameTo_p_wxEvtHandler(void *x
) {
31778 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31780 static void *_p_wxMDIChildFrameTo_p_wxEvtHandler(void *x
) {
31781 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31783 static void *_p_wxPyAppTo_p_wxEvtHandler(void *x
) {
31784 return (void *)((wxEvtHandler
*) ((wxPyApp
*) x
));
31786 static void *_p_wxControlWithItemsTo_p_wxEvtHandler(void *x
) {
31787 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
31789 static void *_p_wxPyWindowTo_p_wxEvtHandler(void *x
) {
31790 return (void *)((wxEvtHandler
*) (wxWindow
*) ((wxPyWindow
*) x
));
31792 static void *_p_wxPreviewCanvasTo_p_wxEvtHandler(void *x
) {
31793 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31795 static void *_p_wxPyHtmlListBoxTo_p_wxEvtHandler(void *x
) {
31796 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31798 static void *_p_wxPyVListBoxTo_p_wxEvtHandler(void *x
) {
31799 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
31801 static void *_p_wxPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31802 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
31804 static void *_p_wxPyPreviewControlBarTo_p_wxEvtHandler(void *x
) {
31805 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
31807 static void *_p_wxPyTaskBarIconTo_p_wxEvtHandler(void *x
) {
31808 return (void *)((wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31810 static void *_p_wxFrameTo_p_wxEvtHandler(void *x
) {
31811 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
31813 static void *_p_wxDirDialogTo_p_wxEvtHandler(void *x
) {
31814 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
31816 static void *_p_wxColourDialogTo_p_wxEvtHandler(void *x
) {
31817 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
31819 static void *_p_wxDialogTo_p_wxEvtHandler(void *x
) {
31820 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
31822 static void *_p_wxFontDialogTo_p_wxEvtHandler(void *x
) {
31823 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
31825 static void *_p_wxMDIParentFrameTo_p_wxEvtHandler(void *x
) {
31826 return (void *)((wxEvtHandler
*) (wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
31828 static void *_p_wxPyHtmlListBoxTo_p_wxPyVListBox(void *x
) {
31829 return (void *)((wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
31831 static void *_p_wxMDIChildFrameTo_p_wxFrame(void *x
) {
31832 return (void *)((wxFrame
*) ((wxMDIChildFrame
*) x
));
31834 static void *_p_wxProgressDialogTo_p_wxFrame(void *x
) {
31835 return (void *)((wxFrame
*) ((wxProgressDialog
*) x
));
31837 static void *_p_wxTipWindowTo_p_wxFrame(void *x
) {
31838 return (void *)((wxFrame
*) ((wxTipWindow
*) x
));
31840 static void *_p_wxPreviewFrameTo_p_wxFrame(void *x
) {
31841 return (void *)((wxFrame
*) ((wxPreviewFrame
*) x
));
31843 static void *_p_wxPyPreviewFrameTo_p_wxFrame(void *x
) {
31844 return (void *)((wxFrame
*) (wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31846 static void *_p_wxMiniFrameTo_p_wxFrame(void *x
) {
31847 return (void *)((wxFrame
*) ((wxMiniFrame
*) x
));
31849 static void *_p_wxSplashScreenTo_p_wxFrame(void *x
) {
31850 return (void *)((wxFrame
*) ((wxSplashScreen
*) x
));
31852 static void *_p_wxMDIParentFrameTo_p_wxFrame(void *x
) {
31853 return (void *)((wxFrame
*) ((wxMDIParentFrame
*) x
));
31855 static void *_p_wxLayoutConstraintsTo_p_wxObject(void *x
) {
31856 return (void *)((wxObject
*) ((wxLayoutConstraints
*) x
));
31858 static void *_p_wxQueryLayoutInfoEventTo_p_wxObject(void *x
) {
31859 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryLayoutInfoEvent
*) x
));
31861 static void *_p_wxPreviewFrameTo_p_wxObject(void *x
) {
31862 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
31864 static void *_p_wxPyPreviewFrameTo_p_wxObject(void *x
) {
31865 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
31867 static void *_p_wxSizerItemTo_p_wxObject(void *x
) {
31868 return (void *)((wxObject
*) ((wxSizerItem
*) x
));
31870 static void *_p_wxGBSizerItemTo_p_wxObject(void *x
) {
31871 return (void *)((wxObject
*) (wxSizerItem
*) ((wxGBSizerItem
*) x
));
31873 static void *_p_wxScrollEventTo_p_wxObject(void *x
) {
31874 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxScrollEvent
*) x
));
31876 static void *_p_wxIndividualLayoutConstraintTo_p_wxObject(void *x
) {
31877 return (void *)((wxObject
*) ((wxIndividualLayoutConstraint
*) x
));
31879 static void *_p_wxStaticBoxSizerTo_p_wxObject(void *x
) {
31880 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStaticBoxSizer
*) x
));
31882 static void *_p_wxBoxSizerTo_p_wxObject(void *x
) {
31883 return (void *)((wxObject
*) (wxSizer
*) ((wxBoxSizer
*) x
));
31885 static void *_p_wxSizerTo_p_wxObject(void *x
) {
31886 return (void *)((wxObject
*) ((wxSizer
*) x
));
31888 static void *_p_wxGridBagSizerTo_p_wxObject(void *x
) {
31889 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*)(wxFlexGridSizer
*) ((wxGridBagSizer
*) x
));
31891 static void *_p_wxUpdateUIEventTo_p_wxObject(void *x
) {
31892 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
31894 static void *_p_wxPyPanelTo_p_wxObject(void *x
) {
31895 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyPanel
*) x
));
31897 static void *_p_wxEventTo_p_wxObject(void *x
) {
31898 return (void *)((wxObject
*) ((wxEvent
*) x
));
31900 static void *_p_wxFontDataTo_p_wxObject(void *x
) {
31901 return (void *)((wxObject
*) ((wxFontData
*) x
));
31903 static void *_p_wxPrintDataTo_p_wxObject(void *x
) {
31904 return (void *)((wxObject
*) ((wxPrintData
*) x
));
31906 static void *_p_wxFlexGridSizerTo_p_wxObject(void *x
) {
31907 return (void *)((wxObject
*) (wxSizer
*)(wxGridSizer
*) ((wxFlexGridSizer
*) x
));
31909 static void *_p_wxGridSizerTo_p_wxObject(void *x
) {
31910 return (void *)((wxObject
*) (wxSizer
*) ((wxGridSizer
*) x
));
31912 static void *_p_wxInitDialogEventTo_p_wxObject(void *x
) {
31913 return (void *)((wxObject
*) (wxEvent
*) ((wxInitDialogEvent
*) x
));
31915 static void *_p_wxLayoutAlgorithmTo_p_wxObject(void *x
) {
31916 return (void *)((wxObject
*) ((wxLayoutAlgorithm
*) x
));
31918 static void *_p_wxPyTaskBarIconTo_p_wxObject(void *x
) {
31919 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyTaskBarIcon
*) x
));
31921 static void *_p_wxFindDialogEventTo_p_wxObject(void *x
) {
31922 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
31924 static void *_p_wxClipboardTextEventTo_p_wxObject(void *x
) {
31925 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
31927 static void *_p_wxPaintEventTo_p_wxObject(void *x
) {
31928 return (void *)((wxObject
*) (wxEvent
*) ((wxPaintEvent
*) x
));
31930 static void *_p_wxNcPaintEventTo_p_wxObject(void *x
) {
31931 return (void *)((wxObject
*) (wxEvent
*) ((wxNcPaintEvent
*) x
));
31933 static void *_p_wxPaletteChangedEventTo_p_wxObject(void *x
) {
31934 return (void *)((wxObject
*) (wxEvent
*) ((wxPaletteChangedEvent
*) x
));
31936 static void *_p_wxDisplayChangedEventTo_p_wxObject(void *x
) {
31937 return (void *)((wxObject
*) (wxEvent
*) ((wxDisplayChangedEvent
*) x
));
31939 static void *_p_wxMouseCaptureChangedEventTo_p_wxObject(void *x
) {
31940 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureChangedEvent
*) x
));
31942 static void *_p_wxSysColourChangedEventTo_p_wxObject(void *x
) {
31943 return (void *)((wxObject
*) (wxEvent
*) ((wxSysColourChangedEvent
*) x
));
31945 static void *_p_wxPreviewCanvasTo_p_wxObject(void *x
) {
31946 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
31948 static void *_p_wxControlTo_p_wxObject(void *x
) {
31949 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxControl
*) x
));
31951 static void *_p_wxSetCursorEventTo_p_wxObject(void *x
) {
31952 return (void *)((wxObject
*) (wxEvent
*) ((wxSetCursorEvent
*) x
));
31954 static void *_p_wxSplitterEventTo_p_wxObject(void *x
) {
31955 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*)(wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
31957 static void *_p_wxFSFileTo_p_wxObject(void *x
) {
31958 return (void *)((wxObject
*) ((wxFSFile
*) x
));
31960 static void *_p_wxFindReplaceDataTo_p_wxObject(void *x
) {
31961 return (void *)((wxObject
*) ((wxFindReplaceData
*) x
));
31963 static void *_p_wxPySizerTo_p_wxObject(void *x
) {
31964 return (void *)((wxObject
*) (wxSizer
*) ((wxPySizer
*) x
));
31966 static void *_p_wxMDIChildFrameTo_p_wxObject(void *x
) {
31967 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
31969 static void *_p_wxColourDataTo_p_wxObject(void *x
) {
31970 return (void *)((wxObject
*) ((wxColourData
*) x
));
31972 static void *_p_wxPyEventTo_p_wxObject(void *x
) {
31973 return (void *)((wxObject
*) (wxEvent
*) ((wxPyEvent
*) x
));
31975 static void *_p_wxNotifyEventTo_p_wxObject(void *x
) {
31976 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxNotifyEvent
*) x
));
31978 static void *_p_wxPyWindowTo_p_wxObject(void *x
) {
31979 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPyWindow
*) x
));
31981 static void *_p_wxSplashScreenTo_p_wxObject(void *x
) {
31982 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
31984 static void *_p_wxFileDialogTo_p_wxObject(void *x
) {
31985 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
31987 static void *_p_wxMultiChoiceDialogTo_p_wxObject(void *x
) {
31988 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
31990 static void *_p_wxSingleChoiceDialogTo_p_wxObject(void *x
) {
31991 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
31993 static void *_p_wxTextEntryDialogTo_p_wxObject(void *x
) {
31994 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
31996 static void *_p_wxPasswordEntryDialogTo_p_wxObject(void *x
) {
31997 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
31999 static void *_p_wxNumberEntryDialogTo_p_wxObject(void *x
) {
32000 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32002 static void *_p_wxMessageDialogTo_p_wxObject(void *x
) {
32003 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32005 static void *_p_wxProgressDialogTo_p_wxObject(void *x
) {
32006 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32008 static void *_p_wxFindReplaceDialogTo_p_wxObject(void *x
) {
32009 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32011 static void *_p_wxShowEventTo_p_wxObject(void *x
) {
32012 return (void *)((wxObject
*) (wxEvent
*) ((wxShowEvent
*) x
));
32014 static void *_p_wxPrinterTo_p_wxObject(void *x
) {
32015 return (void *)((wxObject
*) ((wxPrinter
*) x
));
32017 static void *_p_wxMenuItemTo_p_wxObject(void *x
) {
32018 return (void *)((wxObject
*) ((wxMenuItem
*) x
));
32020 static void *_p_wxDateEventTo_p_wxObject(void *x
) {
32021 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxDateEvent
*) x
));
32023 static void *_p_wxIdleEventTo_p_wxObject(void *x
) {
32024 return (void *)((wxObject
*) (wxEvent
*) ((wxIdleEvent
*) x
));
32026 static void *_p_wxWindowCreateEventTo_p_wxObject(void *x
) {
32027 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32029 static void *_p_wxQueryNewPaletteEventTo_p_wxObject(void *x
) {
32030 return (void *)((wxObject
*) (wxEvent
*) ((wxQueryNewPaletteEvent
*) x
));
32032 static void *_p_wxMaximizeEventTo_p_wxObject(void *x
) {
32033 return (void *)((wxObject
*) (wxEvent
*) ((wxMaximizeEvent
*) x
));
32035 static void *_p_wxIconizeEventTo_p_wxObject(void *x
) {
32036 return (void *)((wxObject
*) (wxEvent
*) ((wxIconizeEvent
*) x
));
32038 static void *_p_wxSizeEventTo_p_wxObject(void *x
) {
32039 return (void *)((wxObject
*) (wxEvent
*) ((wxSizeEvent
*) x
));
32041 static void *_p_wxMoveEventTo_p_wxObject(void *x
) {
32042 return (void *)((wxObject
*) (wxEvent
*) ((wxMoveEvent
*) x
));
32044 static void *_p_wxActivateEventTo_p_wxObject(void *x
) {
32045 return (void *)((wxObject
*) (wxEvent
*) ((wxActivateEvent
*) x
));
32047 static void *_p_wxPNMHandlerTo_p_wxObject(void *x
) {
32048 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNMHandler
*) x
));
32050 static void *_p_wxJPEGHandlerTo_p_wxObject(void *x
) {
32051 return (void *)((wxObject
*) (wxImageHandler
*) ((wxJPEGHandler
*) x
));
32053 static void *_p_wxPCXHandlerTo_p_wxObject(void *x
) {
32054 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPCXHandler
*) x
));
32056 static void *_p_wxGIFHandlerTo_p_wxObject(void *x
) {
32057 return (void *)((wxObject
*) (wxImageHandler
*) ((wxGIFHandler
*) x
));
32059 static void *_p_wxPNGHandlerTo_p_wxObject(void *x
) {
32060 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPNGHandler
*) x
));
32062 static void *_p_wxANIHandlerTo_p_wxObject(void *x
) {
32063 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*)(wxCURHandler
*) ((wxANIHandler
*) x
));
32065 static void *_p_wxCURHandlerTo_p_wxObject(void *x
) {
32066 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*)(wxICOHandler
*) ((wxCURHandler
*) x
));
32068 static void *_p_wxICOHandlerTo_p_wxObject(void *x
) {
32069 return (void *)((wxObject
*) (wxImageHandler
*)(wxBMPHandler
*) ((wxICOHandler
*) x
));
32071 static void *_p_wxBMPHandlerTo_p_wxObject(void *x
) {
32072 return (void *)((wxObject
*) (wxImageHandler
*) ((wxBMPHandler
*) x
));
32074 static void *_p_wxPyImageHandlerTo_p_wxObject(void *x
) {
32075 return (void *)((wxObject
*) (wxImageHandler
*) ((wxPyImageHandler
*) x
));
32077 static void *_p_wxImageHandlerTo_p_wxObject(void *x
) {
32078 return (void *)((wxObject
*) ((wxImageHandler
*) x
));
32080 static void *_p_wxXPMHandlerTo_p_wxObject(void *x
) {
32081 return (void *)((wxObject
*) (wxImageHandler
*) ((wxXPMHandler
*) x
));
32083 static void *_p_wxTIFFHandlerTo_p_wxObject(void *x
) {
32084 return (void *)((wxObject
*) (wxImageHandler
*) ((wxTIFFHandler
*) x
));
32086 static void *_p_wxEvtHandlerTo_p_wxObject(void *x
) {
32087 return (void *)((wxObject
*) ((wxEvtHandler
*) x
));
32089 static void *_p_wxMouseCaptureLostEventTo_p_wxObject(void *x
) {
32090 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseCaptureLostEvent
*) x
));
32092 static void *_p_wxCalculateLayoutEventTo_p_wxObject(void *x
) {
32093 return (void *)((wxObject
*) (wxEvent
*) ((wxCalculateLayoutEvent
*) x
));
32095 static void *_p_wxPyVListBoxTo_p_wxObject(void *x
) {
32096 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32098 static void *_p_wxPyHtmlListBoxTo_p_wxObject(void *x
) {
32099 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32101 static void *_p_wxStdDialogButtonSizerTo_p_wxObject(void *x
) {
32102 return (void *)((wxObject
*) (wxSizer
*)(wxBoxSizer
*) ((wxStdDialogButtonSizer
*) x
));
32104 static void *_p_wxAcceleratorTableTo_p_wxObject(void *x
) {
32105 return (void *)((wxObject
*) ((wxAcceleratorTable
*) x
));
32107 static void *_p_wxMiniFrameTo_p_wxObject(void *x
) {
32108 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32110 static void *_p_wxImageTo_p_wxObject(void *x
) {
32111 return (void *)((wxObject
*) ((wxImage
*) x
));
32113 static void *_p_wxFrameTo_p_wxObject(void *x
) {
32114 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxFrame
*) x
));
32116 static void *_p_wxPyPrintoutTo_p_wxObject(void *x
) {
32117 return (void *)((wxObject
*) ((wxPyPrintout
*) x
));
32119 static void *_p_wxScrollWinEventTo_p_wxObject(void *x
) {
32120 return (void *)((wxObject
*) (wxEvent
*) ((wxScrollWinEvent
*) x
));
32122 static void *_p_wxTaskBarIconEventTo_p_wxObject(void *x
) {
32123 return (void *)((wxObject
*) (wxEvent
*) ((wxTaskBarIconEvent
*) x
));
32125 static void *_p_wxStatusBarTo_p_wxObject(void *x
) {
32126 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxStatusBar
*) x
));
32128 static void *_p_wxMDIParentFrameTo_p_wxObject(void *x
) {
32129 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32131 static void *_p_wxWindowDestroyEventTo_p_wxObject(void *x
) {
32132 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32134 static void *_p_wxNavigationKeyEventTo_p_wxObject(void *x
) {
32135 return (void *)((wxObject
*) (wxEvent
*) ((wxNavigationKeyEvent
*) x
));
32137 static void *_p_wxKeyEventTo_p_wxObject(void *x
) {
32138 return (void *)((wxObject
*) (wxEvent
*) ((wxKeyEvent
*) x
));
32140 static void *_p_wxWindowTo_p_wxObject(void *x
) {
32141 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxWindow
*) x
));
32143 static void *_p_wxMenuTo_p_wxObject(void *x
) {
32144 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxMenu
*) x
));
32146 static void *_p_wxMenuBarTo_p_wxObject(void *x
) {
32147 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMenuBar
*) x
));
32149 static void *_p_wxScrolledWindowTo_p_wxObject(void *x
) {
32150 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxScrolledWindow
*) x
));
32152 static void *_p_wxTopLevelWindowTo_p_wxObject(void *x
) {
32153 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxTopLevelWindow
*) x
));
32155 static void *_p_wxSplashScreenWindowTo_p_wxObject(void *x
) {
32156 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplashScreenWindow
*) x
));
32158 static void *_p_wxSplitterWindowTo_p_wxObject(void *x
) {
32159 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSplitterWindow
*) x
));
32161 static void *_p_wxSashWindowTo_p_wxObject(void *x
) {
32162 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxSashWindow
*) x
));
32164 static void *_p_wxSashLayoutWindowTo_p_wxObject(void *x
) {
32165 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32167 static void *_p_wxPopupWindowTo_p_wxObject(void *x
) {
32168 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPopupWindow
*) x
));
32170 static void *_p_wxPyPopupTransientWindowTo_p_wxObject(void *x
) {
32171 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32173 static void *_p_wxTipWindowTo_p_wxObject(void *x
) {
32174 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32176 static void *_p_wxPyVScrolledWindowTo_p_wxObject(void *x
) {
32177 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32179 static void *_p_wxMDIClientWindowTo_p_wxObject(void *x
) {
32180 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxMDIClientWindow
*) x
));
32182 static void *_p_wxPyScrolledWindowTo_p_wxObject(void *x
) {
32183 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32185 static void *_p_wxSashEventTo_p_wxObject(void *x
) {
32186 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxSashEvent
*) x
));
32188 static void *_p_wxPrintPreviewTo_p_wxObject(void *x
) {
32189 return (void *)((wxObject
*) ((wxPrintPreview
*) x
));
32191 static void *_p_wxPyPrintPreviewTo_p_wxObject(void *x
) {
32192 return (void *)((wxObject
*) (wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32194 static void *_p_wxPanelTo_p_wxObject(void *x
) {
32195 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*) ((wxPanel
*) x
));
32197 static void *_p_wxDialogTo_p_wxObject(void *x
) {
32198 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*) ((wxDialog
*) x
));
32200 static void *_p_wxColourDialogTo_p_wxObject(void *x
) {
32201 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32203 static void *_p_wxDirDialogTo_p_wxObject(void *x
) {
32204 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32206 static void *_p_wxFontDialogTo_p_wxObject(void *x
) {
32207 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32209 static void *_p_wxPageSetupDialogTo_p_wxObject(void *x
) {
32210 return (void *)((wxObject
*) ((wxPageSetupDialog
*) x
));
32212 static void *_p_wxPrintDialogTo_p_wxObject(void *x
) {
32213 return (void *)((wxObject
*) ((wxPrintDialog
*) x
));
32215 static void *_p_wxFileSystemTo_p_wxObject(void *x
) {
32216 return (void *)((wxObject
*) ((wxFileSystem
*) x
));
32218 static void *_p_wxContextMenuEventTo_p_wxObject(void *x
) {
32219 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32221 static void *_p_wxMenuEventTo_p_wxObject(void *x
) {
32222 return (void *)((wxObject
*) (wxEvent
*) ((wxMenuEvent
*) x
));
32224 static void *_p_wxPyAppTo_p_wxObject(void *x
) {
32225 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxPyApp
*) x
));
32227 static void *_p_wxCloseEventTo_p_wxObject(void *x
) {
32228 return (void *)((wxObject
*) (wxEvent
*) ((wxCloseEvent
*) x
));
32230 static void *_p_wxMouseEventTo_p_wxObject(void *x
) {
32231 return (void *)((wxObject
*) (wxEvent
*) ((wxMouseEvent
*) x
));
32233 static void *_p_wxEraseEventTo_p_wxObject(void *x
) {
32234 return (void *)((wxObject
*) (wxEvent
*) ((wxEraseEvent
*) x
));
32236 static void *_p_wxPyCommandEventTo_p_wxObject(void *x
) {
32237 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32239 static void *_p_wxCommandEventTo_p_wxObject(void *x
) {
32240 return (void *)((wxObject
*) (wxEvent
*) ((wxCommandEvent
*) x
));
32242 static void *_p_wxPreviewControlBarTo_p_wxObject(void *x
) {
32243 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*) ((wxPreviewControlBar
*) x
));
32245 static void *_p_wxPyPreviewControlBarTo_p_wxObject(void *x
) {
32246 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32248 static void *_p_wxDropFilesEventTo_p_wxObject(void *x
) {
32249 return (void *)((wxObject
*) (wxEvent
*) ((wxDropFilesEvent
*) x
));
32251 static void *_p_wxFocusEventTo_p_wxObject(void *x
) {
32252 return (void *)((wxObject
*) (wxEvent
*) ((wxFocusEvent
*) x
));
32254 static void *_p_wxChildFocusEventTo_p_wxObject(void *x
) {
32255 return (void *)((wxObject
*) (wxEvent
*)(wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32257 static void *_p_wxControlWithItemsTo_p_wxObject(void *x
) {
32258 return (void *)((wxObject
*) (wxEvtHandler
*)(wxWindow
*)(wxControl
*) ((wxControlWithItems
*) x
));
32260 static void *_p_wxPageSetupDialogDataTo_p_wxObject(void *x
) {
32261 return (void *)((wxObject
*) ((wxPageSetupDialogData
*) x
));
32263 static void *_p_wxPrintDialogDataTo_p_wxObject(void *x
) {
32264 return (void *)((wxObject
*) ((wxPrintDialogData
*) x
));
32266 static void *_p_wxPyValidatorTo_p_wxObject(void *x
) {
32267 return (void *)((wxObject
*) (wxEvtHandler
*)(wxValidator
*) ((wxPyValidator
*) x
));
32269 static void *_p_wxValidatorTo_p_wxObject(void *x
) {
32270 return (void *)((wxObject
*) (wxEvtHandler
*) ((wxValidator
*) x
));
32272 static void *_p_wxPyVListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32273 return (void *)((wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32275 static void *_p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow(void *x
) {
32276 return (void *)((wxPyVScrolledWindow
*) (wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32278 static void *_p_wxPyPopupTransientWindowTo_p_wxPopupWindow(void *x
) {
32279 return (void *)((wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32281 static void *_p_wxSashLayoutWindowTo_p_wxSashWindow(void *x
) {
32282 return (void *)((wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32284 static void *_p_wxFrameTo_p_wxTopLevelWindow(void *x
) {
32285 return (void *)((wxTopLevelWindow
*) ((wxFrame
*) x
));
32287 static void *_p_wxMiniFrameTo_p_wxTopLevelWindow(void *x
) {
32288 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMiniFrame
*) x
));
32290 static void *_p_wxFontDialogTo_p_wxTopLevelWindow(void *x
) {
32291 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFontDialog
*) x
));
32293 static void *_p_wxDirDialogTo_p_wxTopLevelWindow(void *x
) {
32294 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxDirDialog
*) x
));
32296 static void *_p_wxColourDialogTo_p_wxTopLevelWindow(void *x
) {
32297 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxColourDialog
*) x
));
32299 static void *_p_wxDialogTo_p_wxTopLevelWindow(void *x
) {
32300 return (void *)((wxTopLevelWindow
*) ((wxDialog
*) x
));
32302 static void *_p_wxSplashScreenTo_p_wxTopLevelWindow(void *x
) {
32303 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxSplashScreen
*) x
));
32305 static void *_p_wxTipWindowTo_p_wxTopLevelWindow(void *x
) {
32306 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxTipWindow
*) x
));
32308 static void *_p_wxMDIParentFrameTo_p_wxTopLevelWindow(void *x
) {
32309 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIParentFrame
*) x
));
32311 static void *_p_wxMDIChildFrameTo_p_wxTopLevelWindow(void *x
) {
32312 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxMDIChildFrame
*) x
));
32314 static void *_p_wxNumberEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32315 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxNumberEntryDialog
*) x
));
32317 static void *_p_wxPasswordEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32318 return (void *)((wxTopLevelWindow
*) (wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32320 static void *_p_wxTextEntryDialogTo_p_wxTopLevelWindow(void *x
) {
32321 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxTextEntryDialog
*) x
));
32323 static void *_p_wxSingleChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32324 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32326 static void *_p_wxMultiChoiceDialogTo_p_wxTopLevelWindow(void *x
) {
32327 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32329 static void *_p_wxFileDialogTo_p_wxTopLevelWindow(void *x
) {
32330 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFileDialog
*) x
));
32332 static void *_p_wxMessageDialogTo_p_wxTopLevelWindow(void *x
) {
32333 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxMessageDialog
*) x
));
32335 static void *_p_wxProgressDialogTo_p_wxTopLevelWindow(void *x
) {
32336 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxProgressDialog
*) x
));
32338 static void *_p_wxFindReplaceDialogTo_p_wxTopLevelWindow(void *x
) {
32339 return (void *)((wxTopLevelWindow
*) (wxDialog
*) ((wxFindReplaceDialog
*) x
));
32341 static void *_p_wxPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32342 return (void *)((wxTopLevelWindow
*) (wxFrame
*) ((wxPreviewFrame
*) x
));
32344 static void *_p_wxPyPreviewFrameTo_p_wxTopLevelWindow(void *x
) {
32345 return (void *)((wxTopLevelWindow
*) (wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32347 static void *_p_wxSplashScreenTo_p_wxWindow(void *x
) {
32348 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxSplashScreen
*) x
));
32350 static void *_p_wxMiniFrameTo_p_wxWindow(void *x
) {
32351 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMiniFrame
*) x
));
32353 static void *_p_wxPyPanelTo_p_wxWindow(void *x
) {
32354 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyPanel
*) x
));
32356 static void *_p_wxMenuBarTo_p_wxWindow(void *x
) {
32357 return (void *)((wxWindow
*) ((wxMenuBar
*) x
));
32359 static void *_p_wxFindReplaceDialogTo_p_wxWindow(void *x
) {
32360 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFindReplaceDialog
*) x
));
32362 static void *_p_wxProgressDialogTo_p_wxWindow(void *x
) {
32363 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxProgressDialog
*) x
));
32365 static void *_p_wxMessageDialogTo_p_wxWindow(void *x
) {
32366 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMessageDialog
*) x
));
32368 static void *_p_wxNumberEntryDialogTo_p_wxWindow(void *x
) {
32369 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxNumberEntryDialog
*) x
));
32371 static void *_p_wxPasswordEntryDialogTo_p_wxWindow(void *x
) {
32372 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*)(wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32374 static void *_p_wxTextEntryDialogTo_p_wxWindow(void *x
) {
32375 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxTextEntryDialog
*) x
));
32377 static void *_p_wxSingleChoiceDialogTo_p_wxWindow(void *x
) {
32378 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32380 static void *_p_wxMultiChoiceDialogTo_p_wxWindow(void *x
) {
32381 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32383 static void *_p_wxFileDialogTo_p_wxWindow(void *x
) {
32384 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFileDialog
*) x
));
32386 static void *_p_wxPanelTo_p_wxWindow(void *x
) {
32387 return (void *)((wxWindow
*) ((wxPanel
*) x
));
32389 static void *_p_wxStatusBarTo_p_wxWindow(void *x
) {
32390 return (void *)((wxWindow
*) ((wxStatusBar
*) x
));
32392 static void *_p_wxPyVScrolledWindowTo_p_wxWindow(void *x
) {
32393 return (void *)((wxWindow
*) (wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32395 static void *_p_wxTipWindowTo_p_wxWindow(void *x
) {
32396 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxTipWindow
*) x
));
32398 static void *_p_wxPyPopupTransientWindowTo_p_wxWindow(void *x
) {
32399 return (void *)((wxWindow
*) (wxPopupWindow
*) ((wxPyPopupTransientWindow
*) x
));
32401 static void *_p_wxPopupWindowTo_p_wxWindow(void *x
) {
32402 return (void *)((wxWindow
*) ((wxPopupWindow
*) x
));
32404 static void *_p_wxSashLayoutWindowTo_p_wxWindow(void *x
) {
32405 return (void *)((wxWindow
*) (wxSashWindow
*) ((wxSashLayoutWindow
*) x
));
32407 static void *_p_wxScrolledWindowTo_p_wxWindow(void *x
) {
32408 return (void *)((wxWindow
*) (wxPanel
*) ((wxScrolledWindow
*) x
));
32410 static void *_p_wxTopLevelWindowTo_p_wxWindow(void *x
) {
32411 return (void *)((wxWindow
*) ((wxTopLevelWindow
*) x
));
32413 static void *_p_wxSplashScreenWindowTo_p_wxWindow(void *x
) {
32414 return (void *)((wxWindow
*) ((wxSplashScreenWindow
*) x
));
32416 static void *_p_wxSplitterWindowTo_p_wxWindow(void *x
) {
32417 return (void *)((wxWindow
*) ((wxSplitterWindow
*) x
));
32419 static void *_p_wxSashWindowTo_p_wxWindow(void *x
) {
32420 return (void *)((wxWindow
*) ((wxSashWindow
*) x
));
32422 static void *_p_wxMDIClientWindowTo_p_wxWindow(void *x
) {
32423 return (void *)((wxWindow
*) ((wxMDIClientWindow
*) x
));
32425 static void *_p_wxPyScrolledWindowTo_p_wxWindow(void *x
) {
32426 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32428 static void *_p_wxControlTo_p_wxWindow(void *x
) {
32429 return (void *)((wxWindow
*) ((wxControl
*) x
));
32431 static void *_p_wxPreviewFrameTo_p_wxWindow(void *x
) {
32432 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxPreviewFrame
*) x
));
32434 static void *_p_wxPyPreviewFrameTo_p_wxWindow(void *x
) {
32435 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*)(wxPreviewFrame
*) ((wxPyPreviewFrame
*) x
));
32437 static void *_p_wxMDIChildFrameTo_p_wxWindow(void *x
) {
32438 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIChildFrame
*) x
));
32440 static void *_p_wxControlWithItemsTo_p_wxWindow(void *x
) {
32441 return (void *)((wxWindow
*) (wxControl
*) ((wxControlWithItems
*) x
));
32443 static void *_p_wxPyWindowTo_p_wxWindow(void *x
) {
32444 return (void *)((wxWindow
*) ((wxPyWindow
*) x
));
32446 static void *_p_wxPreviewCanvasTo_p_wxWindow(void *x
) {
32447 return (void *)((wxWindow
*) (wxPanel
*)(wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32449 static void *_p_wxPyHtmlListBoxTo_p_wxWindow(void *x
) {
32450 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32452 static void *_p_wxPyVListBoxTo_p_wxWindow(void *x
) {
32453 return (void *)((wxWindow
*) (wxPanel
*)(wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32455 static void *_p_wxPreviewControlBarTo_p_wxWindow(void *x
) {
32456 return (void *)((wxWindow
*) (wxPanel
*) ((wxPreviewControlBar
*) x
));
32458 static void *_p_wxPyPreviewControlBarTo_p_wxWindow(void *x
) {
32459 return (void *)((wxWindow
*) (wxPanel
*)(wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32461 static void *_p_wxFrameTo_p_wxWindow(void *x
) {
32462 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxFrame
*) x
));
32464 static void *_p_wxFontDialogTo_p_wxWindow(void *x
) {
32465 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxFontDialog
*) x
));
32467 static void *_p_wxDirDialogTo_p_wxWindow(void *x
) {
32468 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxDirDialog
*) x
));
32470 static void *_p_wxColourDialogTo_p_wxWindow(void *x
) {
32471 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxDialog
*) ((wxColourDialog
*) x
));
32473 static void *_p_wxDialogTo_p_wxWindow(void *x
) {
32474 return (void *)((wxWindow
*) (wxTopLevelWindow
*) ((wxDialog
*) x
));
32476 static void *_p_wxMDIParentFrameTo_p_wxWindow(void *x
) {
32477 return (void *)((wxWindow
*) (wxTopLevelWindow
*)(wxFrame
*) ((wxMDIParentFrame
*) x
));
32479 static void *_p_wxPyScrolledWindowTo_p_wxScrolledWindow(void *x
) {
32480 return (void *)((wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32482 static void *_p_wxPreviewCanvasTo_p_wxScrolledWindow(void *x
) {
32483 return (void *)((wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32485 static void *_p_wxPyPrintPreviewTo_p_wxPrintPreview(void *x
) {
32486 return (void *)((wxPrintPreview
*) ((wxPyPrintPreview
*) x
));
32488 static void *_p_wxColourDialogTo_p_wxDialog(void *x
) {
32489 return (void *)((wxDialog
*) ((wxColourDialog
*) x
));
32491 static void *_p_wxDirDialogTo_p_wxDialog(void *x
) {
32492 return (void *)((wxDialog
*) ((wxDirDialog
*) x
));
32494 static void *_p_wxFontDialogTo_p_wxDialog(void *x
) {
32495 return (void *)((wxDialog
*) ((wxFontDialog
*) x
));
32497 static void *_p_wxFileDialogTo_p_wxDialog(void *x
) {
32498 return (void *)((wxDialog
*) ((wxFileDialog
*) x
));
32500 static void *_p_wxMultiChoiceDialogTo_p_wxDialog(void *x
) {
32501 return (void *)((wxDialog
*) ((wxMultiChoiceDialog
*) x
));
32503 static void *_p_wxSingleChoiceDialogTo_p_wxDialog(void *x
) {
32504 return (void *)((wxDialog
*) ((wxSingleChoiceDialog
*) x
));
32506 static void *_p_wxTextEntryDialogTo_p_wxDialog(void *x
) {
32507 return (void *)((wxDialog
*) ((wxTextEntryDialog
*) x
));
32509 static void *_p_wxPasswordEntryDialogTo_p_wxDialog(void *x
) {
32510 return (void *)((wxDialog
*) (wxTextEntryDialog
*) ((wxPasswordEntryDialog
*) x
));
32512 static void *_p_wxNumberEntryDialogTo_p_wxDialog(void *x
) {
32513 return (void *)((wxDialog
*) ((wxNumberEntryDialog
*) x
));
32515 static void *_p_wxMessageDialogTo_p_wxDialog(void *x
) {
32516 return (void *)((wxDialog
*) ((wxMessageDialog
*) x
));
32518 static void *_p_wxFindReplaceDialogTo_p_wxDialog(void *x
) {
32519 return (void *)((wxDialog
*) ((wxFindReplaceDialog
*) x
));
32521 static void *_p_wxScrolledWindowTo_p_wxPanel(void *x
) {
32522 return (void *)((wxPanel
*) ((wxScrolledWindow
*) x
));
32524 static void *_p_wxPyVScrolledWindowTo_p_wxPanel(void *x
) {
32525 return (void *)((wxPanel
*) ((wxPyVScrolledWindow
*) x
));
32527 static void *_p_wxPyScrolledWindowTo_p_wxPanel(void *x
) {
32528 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPyScrolledWindow
*) x
));
32530 static void *_p_wxPyVListBoxTo_p_wxPanel(void *x
) {
32531 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*) ((wxPyVListBox
*) x
));
32533 static void *_p_wxPyHtmlListBoxTo_p_wxPanel(void *x
) {
32534 return (void *)((wxPanel
*) (wxPyVScrolledWindow
*)(wxPyVListBox
*) ((wxPyHtmlListBox
*) x
));
32536 static void *_p_wxPyPanelTo_p_wxPanel(void *x
) {
32537 return (void *)((wxPanel
*) ((wxPyPanel
*) x
));
32539 static void *_p_wxPreviewCanvasTo_p_wxPanel(void *x
) {
32540 return (void *)((wxPanel
*) (wxScrolledWindow
*) ((wxPreviewCanvas
*) x
));
32542 static void *_p_wxPreviewControlBarTo_p_wxPanel(void *x
) {
32543 return (void *)((wxPanel
*) ((wxPreviewControlBar
*) x
));
32545 static void *_p_wxPyPreviewControlBarTo_p_wxPanel(void *x
) {
32546 return (void *)((wxPanel
*) (wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32548 static void *_p_wxChildFocusEventTo_p_wxCommandEvent(void *x
) {
32549 return (void *)((wxCommandEvent
*) ((wxChildFocusEvent
*) x
));
32551 static void *_p_wxScrollEventTo_p_wxCommandEvent(void *x
) {
32552 return (void *)((wxCommandEvent
*) ((wxScrollEvent
*) x
));
32554 static void *_p_wxWindowCreateEventTo_p_wxCommandEvent(void *x
) {
32555 return (void *)((wxCommandEvent
*) ((wxWindowCreateEvent
*) x
));
32557 static void *_p_wxDateEventTo_p_wxCommandEvent(void *x
) {
32558 return (void *)((wxCommandEvent
*) ((wxDateEvent
*) x
));
32560 static void *_p_wxUpdateUIEventTo_p_wxCommandEvent(void *x
) {
32561 return (void *)((wxCommandEvent
*) ((wxUpdateUIEvent
*) x
));
32563 static void *_p_wxClipboardTextEventTo_p_wxCommandEvent(void *x
) {
32564 return (void *)((wxCommandEvent
*) ((wxClipboardTextEvent
*) x
));
32566 static void *_p_wxFindDialogEventTo_p_wxCommandEvent(void *x
) {
32567 return (void *)((wxCommandEvent
*) ((wxFindDialogEvent
*) x
));
32569 static void *_p_wxWindowDestroyEventTo_p_wxCommandEvent(void *x
) {
32570 return (void *)((wxCommandEvent
*) ((wxWindowDestroyEvent
*) x
));
32572 static void *_p_wxContextMenuEventTo_p_wxCommandEvent(void *x
) {
32573 return (void *)((wxCommandEvent
*) ((wxContextMenuEvent
*) x
));
32575 static void *_p_wxSplitterEventTo_p_wxCommandEvent(void *x
) {
32576 return (void *)((wxCommandEvent
*) (wxNotifyEvent
*) ((wxSplitterEvent
*) x
));
32578 static void *_p_wxNotifyEventTo_p_wxCommandEvent(void *x
) {
32579 return (void *)((wxCommandEvent
*) ((wxNotifyEvent
*) x
));
32581 static void *_p_wxPyCommandEventTo_p_wxCommandEvent(void *x
) {
32582 return (void *)((wxCommandEvent
*) ((wxPyCommandEvent
*) x
));
32584 static void *_p_wxSashEventTo_p_wxCommandEvent(void *x
) {
32585 return (void *)((wxCommandEvent
*) ((wxSashEvent
*) x
));
32587 static void *_p_wxPyPreviewControlBarTo_p_wxPreviewControlBar(void *x
) {
32588 return (void *)((wxPreviewControlBar
*) ((wxPyPreviewControlBar
*) x
));
32590 static swig_type_info _swigt__p_bool
= {"_p_bool", "bool *", 0, 0, (void*)0, 0};
32591 static swig_type_info _swigt__p_char
= {"_p_char", "char *", 0, 0, (void*)0, 0};
32592 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};
32593 static swig_type_info _swigt__p_int
= {"_p_int", "int *", 0, 0, (void*)0, 0};
32594 static swig_type_info _swigt__p_unsigned_char
= {"_p_unsigned_char", "unsigned char *|byte *", 0, 0, (void*)0, 0};
32595 static swig_type_info _swigt__p_unsigned_int
= {"_p_unsigned_int", "unsigned int *|time_t *", 0, 0, (void*)0, 0};
32596 static swig_type_info _swigt__p_unsigned_long
= {"_p_unsigned_long", "unsigned long *|wxUIntPtr *", 0, 0, (void*)0, 0};
32597 static swig_type_info _swigt__p_wxArrayInt
= {"_p_wxArrayInt", "wxArrayInt *", 0, 0, (void*)0, 0};
32598 static swig_type_info _swigt__p_wxBitmap
= {"_p_wxBitmap", "wxBitmap *", 0, 0, (void*)0, 0};
32599 static swig_type_info _swigt__p_wxCalculateLayoutEvent
= {"_p_wxCalculateLayoutEvent", "wxCalculateLayoutEvent *", 0, 0, (void*)0, 0};
32600 static swig_type_info _swigt__p_wxColour
= {"_p_wxColour", "wxColour *", 0, 0, (void*)0, 0};
32601 static swig_type_info _swigt__p_wxColourData
= {"_p_wxColourData", "wxColourData *", 0, 0, (void*)0, 0};
32602 static swig_type_info _swigt__p_wxColourDialog
= {"_p_wxColourDialog", "wxColourDialog *", 0, 0, (void*)0, 0};
32603 static swig_type_info _swigt__p_wxCommandEvent
= {"_p_wxCommandEvent", "wxCommandEvent *", 0, 0, (void*)0, 0};
32604 static swig_type_info _swigt__p_wxWindowDestroyEvent
= {"_p_wxWindowDestroyEvent", 0, 0, 0, 0, 0};
32605 static swig_type_info _swigt__p_wxClipboardTextEvent
= {"_p_wxClipboardTextEvent", 0, 0, 0, 0, 0};
32606 static swig_type_info _swigt__p_wxScrollEvent
= {"_p_wxScrollEvent", 0, 0, 0, 0, 0};
32607 static swig_type_info _swigt__p_wxPyCommandEvent
= {"_p_wxPyCommandEvent", 0, 0, 0, 0, 0};
32608 static swig_type_info _swigt__p_wxContextMenuEvent
= {"_p_wxContextMenuEvent", 0, 0, 0, 0, 0};
32609 static swig_type_info _swigt__p_wxChildFocusEvent
= {"_p_wxChildFocusEvent", 0, 0, 0, 0, 0};
32610 static swig_type_info _swigt__p_wxWindowCreateEvent
= {"_p_wxWindowCreateEvent", 0, 0, 0, 0, 0};
32611 static swig_type_info _swigt__p_wxDateEvent
= {"_p_wxDateEvent", 0, 0, 0, 0, 0};
32612 static swig_type_info _swigt__p_wxUpdateUIEvent
= {"_p_wxUpdateUIEvent", 0, 0, 0, 0, 0};
32613 static swig_type_info _swigt__p_wxDC
= {"_p_wxDC", "wxDC *", 0, 0, (void*)0, 0};
32614 static swig_type_info _swigt__p_wxDialog
= {"_p_wxDialog", "wxDialog *", 0, 0, (void*)0, 0};
32615 static swig_type_info _swigt__p_wxDirDialog
= {"_p_wxDirDialog", "wxDirDialog *", 0, 0, (void*)0, 0};
32616 static swig_type_info _swigt__p_wxDuplexMode
= {"_p_wxDuplexMode", "enum wxDuplexMode *|wxDuplexMode *", 0, 0, (void*)0, 0};
32617 static swig_type_info _swigt__p_wxEvent
= {"_p_wxEvent", "wxEvent *", 0, 0, (void*)0, 0};
32618 static swig_type_info _swigt__p_wxMenuEvent
= {"_p_wxMenuEvent", 0, 0, 0, 0, 0};
32619 static swig_type_info _swigt__p_wxCloseEvent
= {"_p_wxCloseEvent", 0, 0, 0, 0, 0};
32620 static swig_type_info _swigt__p_wxMouseEvent
= {"_p_wxMouseEvent", 0, 0, 0, 0, 0};
32621 static swig_type_info _swigt__p_wxEraseEvent
= {"_p_wxEraseEvent", 0, 0, 0, 0, 0};
32622 static swig_type_info _swigt__p_wxSetCursorEvent
= {"_p_wxSetCursorEvent", 0, 0, 0, 0, 0};
32623 static swig_type_info _swigt__p_wxInitDialogEvent
= {"_p_wxInitDialogEvent", 0, 0, 0, 0, 0};
32624 static swig_type_info _swigt__p_wxPyEvent
= {"_p_wxPyEvent", 0, 0, 0, 0, 0};
32625 static swig_type_info _swigt__p_wxMouseCaptureLostEvent
= {"_p_wxMouseCaptureLostEvent", 0, 0, 0, 0, 0};
32626 static swig_type_info _swigt__p_wxIdleEvent
= {"_p_wxIdleEvent", 0, 0, 0, 0, 0};
32627 static swig_type_info _swigt__p_wxQueryNewPaletteEvent
= {"_p_wxQueryNewPaletteEvent", 0, 0, 0, 0, 0};
32628 static swig_type_info _swigt__p_wxMaximizeEvent
= {"_p_wxMaximizeEvent", 0, 0, 0, 0, 0};
32629 static swig_type_info _swigt__p_wxIconizeEvent
= {"_p_wxIconizeEvent", 0, 0, 0, 0, 0};
32630 static swig_type_info _swigt__p_wxActivateEvent
= {"_p_wxActivateEvent", 0, 0, 0, 0, 0};
32631 static swig_type_info _swigt__p_wxSizeEvent
= {"_p_wxSizeEvent", 0, 0, 0, 0, 0};
32632 static swig_type_info _swigt__p_wxMoveEvent
= {"_p_wxMoveEvent", 0, 0, 0, 0, 0};
32633 static swig_type_info _swigt__p_wxPaintEvent
= {"_p_wxPaintEvent", 0, 0, 0, 0, 0};
32634 static swig_type_info _swigt__p_wxNcPaintEvent
= {"_p_wxNcPaintEvent", 0, 0, 0, 0, 0};
32635 static swig_type_info _swigt__p_wxPaletteChangedEvent
= {"_p_wxPaletteChangedEvent", 0, 0, 0, 0, 0};
32636 static swig_type_info _swigt__p_wxDisplayChangedEvent
= {"_p_wxDisplayChangedEvent", 0, 0, 0, 0, 0};
32637 static swig_type_info _swigt__p_wxMouseCaptureChangedEvent
= {"_p_wxMouseCaptureChangedEvent", 0, 0, 0, 0, 0};
32638 static swig_type_info _swigt__p_wxSysColourChangedEvent
= {"_p_wxSysColourChangedEvent", 0, 0, 0, 0, 0};
32639 static swig_type_info _swigt__p_wxDropFilesEvent
= {"_p_wxDropFilesEvent", 0, 0, 0, 0, 0};
32640 static swig_type_info _swigt__p_wxFocusEvent
= {"_p_wxFocusEvent", 0, 0, 0, 0, 0};
32641 static swig_type_info _swigt__p_wxShowEvent
= {"_p_wxShowEvent", 0, 0, 0, 0, 0};
32642 static swig_type_info _swigt__p_wxNavigationKeyEvent
= {"_p_wxNavigationKeyEvent", 0, 0, 0, 0, 0};
32643 static swig_type_info _swigt__p_wxKeyEvent
= {"_p_wxKeyEvent", 0, 0, 0, 0, 0};
32644 static swig_type_info _swigt__p_wxEvtHandler
= {"_p_wxEvtHandler", "wxEvtHandler *", 0, 0, (void*)0, 0};
32645 static swig_type_info _swigt__p_wxValidator
= {"_p_wxValidator", 0, 0, 0, 0, 0};
32646 static swig_type_info _swigt__p_wxPyValidator
= {"_p_wxPyValidator", 0, 0, 0, 0, 0};
32647 static swig_type_info _swigt__p_wxControl
= {"_p_wxControl", 0, 0, 0, 0, 0};
32648 static swig_type_info _swigt__p_wxPyApp
= {"_p_wxPyApp", 0, 0, 0, 0, 0};
32649 static swig_type_info _swigt__p_wxControlWithItems
= {"_p_wxControlWithItems", 0, 0, 0, 0, 0};
32650 static swig_type_info _swigt__p_wxFileDialog
= {"_p_wxFileDialog", "wxFileDialog *", 0, 0, (void*)0, 0};
32651 static swig_type_info _swigt__p_wxFileSystem
= {"_p_wxFileSystem", "wxFileSystem *", 0, 0, (void*)0, 0};
32652 static swig_type_info _swigt__p_wxFindDialogEvent
= {"_p_wxFindDialogEvent", "wxFindDialogEvent *", 0, 0, (void*)0, 0};
32653 static swig_type_info _swigt__p_wxFindReplaceData
= {"_p_wxFindReplaceData", "wxFindReplaceData *", 0, 0, (void*)0, 0};
32654 static swig_type_info _swigt__p_wxFindReplaceDialog
= {"_p_wxFindReplaceDialog", "wxFindReplaceDialog *", 0, 0, (void*)0, 0};
32655 static swig_type_info _swigt__p_wxFont
= {"_p_wxFont", "wxFont *", 0, 0, (void*)0, 0};
32656 static swig_type_info _swigt__p_wxFontData
= {"_p_wxFontData", "wxFontData *", 0, 0, (void*)0, 0};
32657 static swig_type_info _swigt__p_wxFontDialog
= {"_p_wxFontDialog", "wxFontDialog *", 0, 0, (void*)0, 0};
32658 static swig_type_info _swigt__p_wxFrame
= {"_p_wxFrame", "wxFrame *", 0, 0, (void*)0, 0};
32659 static swig_type_info _swigt__p_wxHtmlLinkInfo
= {"_p_wxHtmlLinkInfo", "wxHtmlLinkInfo *", 0, 0, (void*)0, 0};
32660 static swig_type_info _swigt__p_wxIcon
= {"_p_wxIcon", "wxIcon *", 0, 0, (void*)0, 0};
32661 static swig_type_info _swigt__p_wxIconBundle
= {"_p_wxIconBundle", "wxIconBundle *", 0, 0, (void*)0, 0};
32662 static swig_type_info _swigt__p_wxLayoutAlgorithm
= {"_p_wxLayoutAlgorithm", "wxLayoutAlgorithm *", 0, 0, (void*)0, 0};
32663 static swig_type_info _swigt__p_wxMDIChildFrame
= {"_p_wxMDIChildFrame", "wxMDIChildFrame *", 0, 0, (void*)0, 0};
32664 static swig_type_info _swigt__p_wxMDIClientWindow
= {"_p_wxMDIClientWindow", "wxMDIClientWindow *", 0, 0, (void*)0, 0};
32665 static swig_type_info _swigt__p_wxMDIParentFrame
= {"_p_wxMDIParentFrame", "wxMDIParentFrame *", 0, 0, (void*)0, 0};
32666 static swig_type_info _swigt__p_wxMenu
= {"_p_wxMenu", "wxMenu *", 0, 0, (void*)0, 0};
32667 static swig_type_info _swigt__p_wxMenuBar
= {"_p_wxMenuBar", "wxMenuBar *", 0, 0, (void*)0, 0};
32668 static swig_type_info _swigt__p_wxMessageDialog
= {"_p_wxMessageDialog", "wxMessageDialog *", 0, 0, (void*)0, 0};
32669 static swig_type_info _swigt__p_wxMiniFrame
= {"_p_wxMiniFrame", "wxMiniFrame *", 0, 0, (void*)0, 0};
32670 static swig_type_info _swigt__p_wxMultiChoiceDialog
= {"_p_wxMultiChoiceDialog", "wxMultiChoiceDialog *", 0, 0, (void*)0, 0};
32671 static swig_type_info _swigt__p_wxNotifyEvent
= {"_p_wxNotifyEvent", "wxNotifyEvent *", 0, 0, (void*)0, 0};
32672 static swig_type_info _swigt__p_wxNumberEntryDialog
= {"_p_wxNumberEntryDialog", "wxNumberEntryDialog *", 0, 0, (void*)0, 0};
32673 static swig_type_info _swigt__p_wxObject
= {"_p_wxObject", "wxObject *", 0, 0, (void*)0, 0};
32674 static swig_type_info _swigt__p_wxLayoutConstraints
= {"_p_wxLayoutConstraints", 0, 0, 0, 0, 0};
32675 static swig_type_info _swigt__p_wxSizerItem
= {"_p_wxSizerItem", 0, 0, 0, 0, 0};
32676 static swig_type_info _swigt__p_wxGBSizerItem
= {"_p_wxGBSizerItem", 0, 0, 0, 0, 0};
32677 static swig_type_info _swigt__p_wxIndividualLayoutConstraint
= {"_p_wxIndividualLayoutConstraint", 0, 0, 0, 0, 0};
32678 static swig_type_info _swigt__p_wxStaticBoxSizer
= {"_p_wxStaticBoxSizer", 0, 0, 0, 0, 0};
32679 static swig_type_info _swigt__p_wxBoxSizer
= {"_p_wxBoxSizer", 0, 0, 0, 0, 0};
32680 static swig_type_info _swigt__p_wxSizer
= {"_p_wxSizer", 0, 0, 0, 0, 0};
32681 static swig_type_info _swigt__p_wxGridBagSizer
= {"_p_wxGridBagSizer", 0, 0, 0, 0, 0};
32682 static swig_type_info _swigt__p_wxGridSizer
= {"_p_wxGridSizer", 0, 0, 0, 0, 0};
32683 static swig_type_info _swigt__p_wxFlexGridSizer
= {"_p_wxFlexGridSizer", 0, 0, 0, 0, 0};
32684 static swig_type_info _swigt__p_wxFSFile
= {"_p_wxFSFile", 0, 0, 0, 0, 0};
32685 static swig_type_info _swigt__p_wxPySizer
= {"_p_wxPySizer", 0, 0, 0, 0, 0};
32686 static swig_type_info _swigt__p_wxMenuItem
= {"_p_wxMenuItem", 0, 0, 0, 0, 0};
32687 static swig_type_info _swigt__p_wxBMPHandler
= {"_p_wxBMPHandler", 0, 0, 0, 0, 0};
32688 static swig_type_info _swigt__p_wxICOHandler
= {"_p_wxICOHandler", 0, 0, 0, 0, 0};
32689 static swig_type_info _swigt__p_wxCURHandler
= {"_p_wxCURHandler", 0, 0, 0, 0, 0};
32690 static swig_type_info _swigt__p_wxANIHandler
= {"_p_wxANIHandler", 0, 0, 0, 0, 0};
32691 static swig_type_info _swigt__p_wxPNGHandler
= {"_p_wxPNGHandler", 0, 0, 0, 0, 0};
32692 static swig_type_info _swigt__p_wxGIFHandler
= {"_p_wxGIFHandler", 0, 0, 0, 0, 0};
32693 static swig_type_info _swigt__p_wxPCXHandler
= {"_p_wxPCXHandler", 0, 0, 0, 0, 0};
32694 static swig_type_info _swigt__p_wxJPEGHandler
= {"_p_wxJPEGHandler", 0, 0, 0, 0, 0};
32695 static swig_type_info _swigt__p_wxPNMHandler
= {"_p_wxPNMHandler", 0, 0, 0, 0, 0};
32696 static swig_type_info _swigt__p_wxPyImageHandler
= {"_p_wxPyImageHandler", 0, 0, 0, 0, 0};
32697 static swig_type_info _swigt__p_wxImageHandler
= {"_p_wxImageHandler", 0, 0, 0, 0, 0};
32698 static swig_type_info _swigt__p_wxXPMHandler
= {"_p_wxXPMHandler", 0, 0, 0, 0, 0};
32699 static swig_type_info _swigt__p_wxTIFFHandler
= {"_p_wxTIFFHandler", 0, 0, 0, 0, 0};
32700 static swig_type_info _swigt__p_wxAcceleratorTable
= {"_p_wxAcceleratorTable", 0, 0, 0, 0, 0};
32701 static swig_type_info _swigt__p_wxImage
= {"_p_wxImage", 0, 0, 0, 0, 0};
32702 static swig_type_info _swigt__p_wxPageSetupDialog
= {"_p_wxPageSetupDialog", "wxPageSetupDialog *", 0, 0, (void*)0, 0};
32703 static swig_type_info _swigt__p_wxPageSetupDialogData
= {"_p_wxPageSetupDialogData", "wxPageSetupDialogData *", 0, 0, (void*)0, 0};
32704 static swig_type_info _swigt__p_wxPanel
= {"_p_wxPanel", "wxPanel *", 0, 0, (void*)0, 0};
32705 static swig_type_info _swigt__p_wxPaperSize
= {"_p_wxPaperSize", "enum wxPaperSize *|wxPaperSize *", 0, 0, (void*)0, 0};
32706 static swig_type_info _swigt__p_wxPasswordEntryDialog
= {"_p_wxPasswordEntryDialog", "wxPasswordEntryDialog *", 0, 0, (void*)0, 0};
32707 static swig_type_info _swigt__p_wxPoint
= {"_p_wxPoint", "wxPoint *", 0, 0, (void*)0, 0};
32708 static swig_type_info _swigt__p_wxPopupWindow
= {"_p_wxPopupWindow", "wxPopupWindow *", 0, 0, (void*)0, 0};
32709 static swig_type_info _swigt__p_wxPreviewCanvas
= {"_p_wxPreviewCanvas", "wxPreviewCanvas *", 0, 0, (void*)0, 0};
32710 static swig_type_info _swigt__p_wxPreviewControlBar
= {"_p_wxPreviewControlBar", "wxPreviewControlBar *", 0, 0, (void*)0, 0};
32711 static swig_type_info _swigt__p_wxPreviewFrame
= {"_p_wxPreviewFrame", "wxPreviewFrame *", 0, 0, (void*)0, 0};
32712 static swig_type_info _swigt__p_wxPrintData
= {"_p_wxPrintData", "wxPrintData *", 0, 0, (void*)0, 0};
32713 static swig_type_info _swigt__p_wxPrintDialog
= {"_p_wxPrintDialog", "wxPrintDialog *", 0, 0, (void*)0, 0};
32714 static swig_type_info _swigt__p_wxPrintDialogData
= {"_p_wxPrintDialogData", "wxPrintDialogData *", 0, 0, (void*)0, 0};
32715 static swig_type_info _swigt__p_wxPrintPreview
= {"_p_wxPrintPreview", "wxPrintPreview *", 0, 0, (void*)0, 0};
32716 static swig_type_info _swigt__p_wxPrinter
= {"_p_wxPrinter", "wxPrinter *", 0, 0, (void*)0, 0};
32717 static swig_type_info _swigt__p_wxProgressDialog
= {"_p_wxProgressDialog", "wxProgressDialog *", 0, 0, (void*)0, 0};
32718 static swig_type_info _swigt__p_wxPyHtmlListBox
= {"_p_wxPyHtmlListBox", "wxPyHtmlListBox *", 0, 0, (void*)0, 0};
32719 static swig_type_info _swigt__p_wxPyPanel
= {"_p_wxPyPanel", "wxPyPanel *", 0, 0, (void*)0, 0};
32720 static swig_type_info _swigt__p_wxPyPopupTransientWindow
= {"_p_wxPyPopupTransientWindow", "wxPyPopupTransientWindow *", 0, 0, (void*)0, 0};
32721 static swig_type_info _swigt__p_wxPyPreviewControlBar
= {"_p_wxPyPreviewControlBar", "wxPyPreviewControlBar *", 0, 0, (void*)0, 0};
32722 static swig_type_info _swigt__p_wxPyPreviewFrame
= {"_p_wxPyPreviewFrame", "wxPyPreviewFrame *", 0, 0, (void*)0, 0};
32723 static swig_type_info _swigt__p_wxPyPrintPreview
= {"_p_wxPyPrintPreview", "wxPyPrintPreview *", 0, 0, (void*)0, 0};
32724 static swig_type_info _swigt__p_wxPyPrintout
= {"_p_wxPyPrintout", "wxPyPrintout *", 0, 0, (void*)0, 0};
32725 static swig_type_info _swigt__p_wxPyScrolledWindow
= {"_p_wxPyScrolledWindow", "wxPyScrolledWindow *", 0, 0, (void*)0, 0};
32726 static swig_type_info _swigt__p_wxPyTaskBarIcon
= {"_p_wxPyTaskBarIcon", "wxPyTaskBarIcon *", 0, 0, (void*)0, 0};
32727 static swig_type_info _swigt__p_wxPyVListBox
= {"_p_wxPyVListBox", "wxPyVListBox *", 0, 0, (void*)0, 0};
32728 static swig_type_info _swigt__p_wxPyVScrolledWindow
= {"_p_wxPyVScrolledWindow", "wxPyVScrolledWindow *", 0, 0, (void*)0, 0};
32729 static swig_type_info _swigt__p_wxPyWindow
= {"_p_wxPyWindow", "wxPyWindow *", 0, 0, (void*)0, 0};
32730 static swig_type_info _swigt__p_wxQueryLayoutInfoEvent
= {"_p_wxQueryLayoutInfoEvent", "wxQueryLayoutInfoEvent *", 0, 0, (void*)0, 0};
32731 static swig_type_info _swigt__p_wxRect
= {"_p_wxRect", "wxRect *", 0, 0, (void*)0, 0};
32732 static swig_type_info _swigt__p_wxRegion
= {"_p_wxRegion", "wxRegion *", 0, 0, (void*)0, 0};
32733 static swig_type_info _swigt__p_wxSashEvent
= {"_p_wxSashEvent", "wxSashEvent *", 0, 0, (void*)0, 0};
32734 static swig_type_info _swigt__p_wxSashLayoutWindow
= {"_p_wxSashLayoutWindow", "wxSashLayoutWindow *", 0, 0, (void*)0, 0};
32735 static swig_type_info _swigt__p_wxSashWindow
= {"_p_wxSashWindow", "wxSashWindow *", 0, 0, (void*)0, 0};
32736 static swig_type_info _swigt__p_wxScrollWinEvent
= {"_p_wxScrollWinEvent", "wxScrollWinEvent *", 0, 0, (void*)0, 0};
32737 static swig_type_info _swigt__p_wxScrolledWindow
= {"_p_wxScrolledWindow", "wxScrolledWindow *", 0, 0, (void*)0, 0};
32738 static swig_type_info _swigt__p_wxSingleChoiceDialog
= {"_p_wxSingleChoiceDialog", "wxSingleChoiceDialog *", 0, 0, (void*)0, 0};
32739 static swig_type_info _swigt__p_wxSize
= {"_p_wxSize", "wxSize *", 0, 0, (void*)0, 0};
32740 static swig_type_info _swigt__p_wxSplashScreen
= {"_p_wxSplashScreen", "wxSplashScreen *", 0, 0, (void*)0, 0};
32741 static swig_type_info _swigt__p_wxSplashScreenWindow
= {"_p_wxSplashScreenWindow", "wxSplashScreenWindow *", 0, 0, (void*)0, 0};
32742 static swig_type_info _swigt__p_wxSplitterEvent
= {"_p_wxSplitterEvent", "wxSplitterEvent *", 0, 0, (void*)0, 0};
32743 static swig_type_info _swigt__p_wxSplitterWindow
= {"_p_wxSplitterWindow", "wxSplitterWindow *", 0, 0, (void*)0, 0};
32744 static swig_type_info _swigt__p_wxStatusBar
= {"_p_wxStatusBar", "wxStatusBar *", 0, 0, (void*)0, 0};
32745 static swig_type_info _swigt__p_wxStdDialogButtonSizer
= {"_p_wxStdDialogButtonSizer", "wxStdDialogButtonSizer *", 0, 0, (void*)0, 0};
32746 static swig_type_info _swigt__p_wxString
= {"_p_wxString", "wxString *", 0, 0, (void*)0, 0};
32747 static swig_type_info _swigt__p_wxTaskBarIcon
= {"_p_wxTaskBarIcon", "wxTaskBarIcon *", 0, 0, (void*)0, 0};
32748 static swig_type_info _swigt__p_wxTaskBarIconEvent
= {"_p_wxTaskBarIconEvent", "wxTaskBarIconEvent *", 0, 0, (void*)0, 0};
32749 static swig_type_info _swigt__p_wxTextEntryDialog
= {"_p_wxTextEntryDialog", "wxTextEntryDialog *", 0, 0, (void*)0, 0};
32750 static swig_type_info _swigt__p_wxTipWindow
= {"_p_wxTipWindow", "wxTipWindow *", 0, 0, (void*)0, 0};
32751 static swig_type_info _swigt__p_wxToolBar
= {"_p_wxToolBar", "wxToolBar *", 0, 0, (void*)0, 0};
32752 static swig_type_info _swigt__p_wxTopLevelWindow
= {"_p_wxTopLevelWindow", "wxTopLevelWindow *", 0, 0, (void*)0, 0};
32753 static swig_type_info _swigt__p_wxVisualAttributes
= {"_p_wxVisualAttributes", "wxVisualAttributes *", 0, 0, (void*)0, 0};
32754 static swig_type_info _swigt__p_wxWindow
= {"_p_wxWindow", "wxWindow *", 0, 0, (void*)0, 0};
32756 static swig_type_info
*swig_type_initial
[] = {
32759 &_swigt__p_form_ops_t
,
32761 &_swigt__p_unsigned_char
,
32762 &_swigt__p_unsigned_int
,
32763 &_swigt__p_unsigned_long
,
32764 &_swigt__p_wxANIHandler
,
32765 &_swigt__p_wxAcceleratorTable
,
32766 &_swigt__p_wxActivateEvent
,
32767 &_swigt__p_wxArrayInt
,
32768 &_swigt__p_wxBMPHandler
,
32769 &_swigt__p_wxBitmap
,
32770 &_swigt__p_wxBoxSizer
,
32771 &_swigt__p_wxCURHandler
,
32772 &_swigt__p_wxCalculateLayoutEvent
,
32773 &_swigt__p_wxChildFocusEvent
,
32774 &_swigt__p_wxClipboardTextEvent
,
32775 &_swigt__p_wxCloseEvent
,
32776 &_swigt__p_wxColour
,
32777 &_swigt__p_wxColourData
,
32778 &_swigt__p_wxColourDialog
,
32779 &_swigt__p_wxCommandEvent
,
32780 &_swigt__p_wxContextMenuEvent
,
32781 &_swigt__p_wxControl
,
32782 &_swigt__p_wxControlWithItems
,
32784 &_swigt__p_wxDateEvent
,
32785 &_swigt__p_wxDialog
,
32786 &_swigt__p_wxDirDialog
,
32787 &_swigt__p_wxDisplayChangedEvent
,
32788 &_swigt__p_wxDropFilesEvent
,
32789 &_swigt__p_wxDuplexMode
,
32790 &_swigt__p_wxEraseEvent
,
32791 &_swigt__p_wxEvent
,
32792 &_swigt__p_wxEvtHandler
,
32793 &_swigt__p_wxFSFile
,
32794 &_swigt__p_wxFileDialog
,
32795 &_swigt__p_wxFileSystem
,
32796 &_swigt__p_wxFindDialogEvent
,
32797 &_swigt__p_wxFindReplaceData
,
32798 &_swigt__p_wxFindReplaceDialog
,
32799 &_swigt__p_wxFlexGridSizer
,
32800 &_swigt__p_wxFocusEvent
,
32802 &_swigt__p_wxFontData
,
32803 &_swigt__p_wxFontDialog
,
32804 &_swigt__p_wxFrame
,
32805 &_swigt__p_wxGBSizerItem
,
32806 &_swigt__p_wxGIFHandler
,
32807 &_swigt__p_wxGridBagSizer
,
32808 &_swigt__p_wxGridSizer
,
32809 &_swigt__p_wxHtmlLinkInfo
,
32810 &_swigt__p_wxICOHandler
,
32812 &_swigt__p_wxIconBundle
,
32813 &_swigt__p_wxIconizeEvent
,
32814 &_swigt__p_wxIdleEvent
,
32815 &_swigt__p_wxImage
,
32816 &_swigt__p_wxImageHandler
,
32817 &_swigt__p_wxIndividualLayoutConstraint
,
32818 &_swigt__p_wxInitDialogEvent
,
32819 &_swigt__p_wxJPEGHandler
,
32820 &_swigt__p_wxKeyEvent
,
32821 &_swigt__p_wxLayoutAlgorithm
,
32822 &_swigt__p_wxLayoutConstraints
,
32823 &_swigt__p_wxMDIChildFrame
,
32824 &_swigt__p_wxMDIClientWindow
,
32825 &_swigt__p_wxMDIParentFrame
,
32826 &_swigt__p_wxMaximizeEvent
,
32828 &_swigt__p_wxMenuBar
,
32829 &_swigt__p_wxMenuEvent
,
32830 &_swigt__p_wxMenuItem
,
32831 &_swigt__p_wxMessageDialog
,
32832 &_swigt__p_wxMiniFrame
,
32833 &_swigt__p_wxMouseCaptureChangedEvent
,
32834 &_swigt__p_wxMouseCaptureLostEvent
,
32835 &_swigt__p_wxMouseEvent
,
32836 &_swigt__p_wxMoveEvent
,
32837 &_swigt__p_wxMultiChoiceDialog
,
32838 &_swigt__p_wxNavigationKeyEvent
,
32839 &_swigt__p_wxNcPaintEvent
,
32840 &_swigt__p_wxNotifyEvent
,
32841 &_swigt__p_wxNumberEntryDialog
,
32842 &_swigt__p_wxObject
,
32843 &_swigt__p_wxPCXHandler
,
32844 &_swigt__p_wxPNGHandler
,
32845 &_swigt__p_wxPNMHandler
,
32846 &_swigt__p_wxPageSetupDialog
,
32847 &_swigt__p_wxPageSetupDialogData
,
32848 &_swigt__p_wxPaintEvent
,
32849 &_swigt__p_wxPaletteChangedEvent
,
32850 &_swigt__p_wxPanel
,
32851 &_swigt__p_wxPaperSize
,
32852 &_swigt__p_wxPasswordEntryDialog
,
32853 &_swigt__p_wxPoint
,
32854 &_swigt__p_wxPopupWindow
,
32855 &_swigt__p_wxPreviewCanvas
,
32856 &_swigt__p_wxPreviewControlBar
,
32857 &_swigt__p_wxPreviewFrame
,
32858 &_swigt__p_wxPrintData
,
32859 &_swigt__p_wxPrintDialog
,
32860 &_swigt__p_wxPrintDialogData
,
32861 &_swigt__p_wxPrintPreview
,
32862 &_swigt__p_wxPrinter
,
32863 &_swigt__p_wxProgressDialog
,
32864 &_swigt__p_wxPyApp
,
32865 &_swigt__p_wxPyCommandEvent
,
32866 &_swigt__p_wxPyEvent
,
32867 &_swigt__p_wxPyHtmlListBox
,
32868 &_swigt__p_wxPyImageHandler
,
32869 &_swigt__p_wxPyPanel
,
32870 &_swigt__p_wxPyPopupTransientWindow
,
32871 &_swigt__p_wxPyPreviewControlBar
,
32872 &_swigt__p_wxPyPreviewFrame
,
32873 &_swigt__p_wxPyPrintPreview
,
32874 &_swigt__p_wxPyPrintout
,
32875 &_swigt__p_wxPyScrolledWindow
,
32876 &_swigt__p_wxPySizer
,
32877 &_swigt__p_wxPyTaskBarIcon
,
32878 &_swigt__p_wxPyVListBox
,
32879 &_swigt__p_wxPyVScrolledWindow
,
32880 &_swigt__p_wxPyValidator
,
32881 &_swigt__p_wxPyWindow
,
32882 &_swigt__p_wxQueryLayoutInfoEvent
,
32883 &_swigt__p_wxQueryNewPaletteEvent
,
32885 &_swigt__p_wxRegion
,
32886 &_swigt__p_wxSashEvent
,
32887 &_swigt__p_wxSashLayoutWindow
,
32888 &_swigt__p_wxSashWindow
,
32889 &_swigt__p_wxScrollEvent
,
32890 &_swigt__p_wxScrollWinEvent
,
32891 &_swigt__p_wxScrolledWindow
,
32892 &_swigt__p_wxSetCursorEvent
,
32893 &_swigt__p_wxShowEvent
,
32894 &_swigt__p_wxSingleChoiceDialog
,
32896 &_swigt__p_wxSizeEvent
,
32897 &_swigt__p_wxSizer
,
32898 &_swigt__p_wxSizerItem
,
32899 &_swigt__p_wxSplashScreen
,
32900 &_swigt__p_wxSplashScreenWindow
,
32901 &_swigt__p_wxSplitterEvent
,
32902 &_swigt__p_wxSplitterWindow
,
32903 &_swigt__p_wxStaticBoxSizer
,
32904 &_swigt__p_wxStatusBar
,
32905 &_swigt__p_wxStdDialogButtonSizer
,
32906 &_swigt__p_wxString
,
32907 &_swigt__p_wxSysColourChangedEvent
,
32908 &_swigt__p_wxTIFFHandler
,
32909 &_swigt__p_wxTaskBarIcon
,
32910 &_swigt__p_wxTaskBarIconEvent
,
32911 &_swigt__p_wxTextEntryDialog
,
32912 &_swigt__p_wxTipWindow
,
32913 &_swigt__p_wxToolBar
,
32914 &_swigt__p_wxTopLevelWindow
,
32915 &_swigt__p_wxUpdateUIEvent
,
32916 &_swigt__p_wxValidator
,
32917 &_swigt__p_wxVisualAttributes
,
32918 &_swigt__p_wxWindow
,
32919 &_swigt__p_wxWindowCreateEvent
,
32920 &_swigt__p_wxWindowDestroyEvent
,
32921 &_swigt__p_wxXPMHandler
,
32924 static swig_cast_info _swigc__p_bool
[] = { {&_swigt__p_bool
, 0, 0, 0},{0, 0, 0, 0}};
32925 static swig_cast_info _swigc__p_char
[] = { {&_swigt__p_char
, 0, 0, 0},{0, 0, 0, 0}};
32926 static swig_cast_info _swigc__p_form_ops_t
[] = { {&_swigt__p_form_ops_t
, 0, 0, 0},{0, 0, 0, 0}};
32927 static swig_cast_info _swigc__p_int
[] = { {&_swigt__p_int
, 0, 0, 0},{0, 0, 0, 0}};
32928 static swig_cast_info _swigc__p_unsigned_char
[] = { {&_swigt__p_unsigned_char
, 0, 0, 0},{0, 0, 0, 0}};
32929 static swig_cast_info _swigc__p_unsigned_int
[] = { {&_swigt__p_unsigned_int
, 0, 0, 0},{0, 0, 0, 0}};
32930 static swig_cast_info _swigc__p_unsigned_long
[] = { {&_swigt__p_unsigned_long
, 0, 0, 0},{0, 0, 0, 0}};
32931 static swig_cast_info _swigc__p_wxArrayInt
[] = { {&_swigt__p_wxArrayInt
, 0, 0, 0},{0, 0, 0, 0}};
32932 static swig_cast_info _swigc__p_wxBitmap
[] = { {&_swigt__p_wxBitmap
, 0, 0, 0},{0, 0, 0, 0}};
32933 static swig_cast_info _swigc__p_wxCalculateLayoutEvent
[] = { {&_swigt__p_wxCalculateLayoutEvent
, 0, 0, 0},{0, 0, 0, 0}};
32934 static swig_cast_info _swigc__p_wxColour
[] = { {&_swigt__p_wxColour
, 0, 0, 0},{0, 0, 0, 0}};
32935 static swig_cast_info _swigc__p_wxColourData
[] = { {&_swigt__p_wxColourData
, 0, 0, 0},{0, 0, 0, 0}};
32936 static swig_cast_info _swigc__p_wxColourDialog
[] = { {&_swigt__p_wxColourDialog
, 0, 0, 0},{0, 0, 0, 0}};
32937 static swig_cast_info _swigc__p_wxWindowDestroyEvent
[] = {{&_swigt__p_wxWindowDestroyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32938 static swig_cast_info _swigc__p_wxClipboardTextEvent
[] = {{&_swigt__p_wxClipboardTextEvent
, 0, 0, 0},{0, 0, 0, 0}};
32939 static swig_cast_info _swigc__p_wxScrollEvent
[] = {{&_swigt__p_wxScrollEvent
, 0, 0, 0},{0, 0, 0, 0}};
32940 static swig_cast_info _swigc__p_wxPyCommandEvent
[] = {{&_swigt__p_wxPyCommandEvent
, 0, 0, 0},{0, 0, 0, 0}};
32941 static swig_cast_info _swigc__p_wxContextMenuEvent
[] = {{&_swigt__p_wxContextMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32942 static swig_cast_info _swigc__p_wxChildFocusEvent
[] = {{&_swigt__p_wxChildFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32943 static swig_cast_info _swigc__p_wxWindowCreateEvent
[] = {{&_swigt__p_wxWindowCreateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32944 static swig_cast_info _swigc__p_wxDateEvent
[] = {{&_swigt__p_wxDateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32945 static swig_cast_info _swigc__p_wxUpdateUIEvent
[] = {{&_swigt__p_wxUpdateUIEvent
, 0, 0, 0},{0, 0, 0, 0}};
32946 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}};
32947 static swig_cast_info _swigc__p_wxDC
[] = { {&_swigt__p_wxDC
, 0, 0, 0},{0, 0, 0, 0}};
32948 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}};
32949 static swig_cast_info _swigc__p_wxDirDialog
[] = { {&_swigt__p_wxDirDialog
, 0, 0, 0},{0, 0, 0, 0}};
32950 static swig_cast_info _swigc__p_wxDuplexMode
[] = { {&_swigt__p_wxDuplexMode
, 0, 0, 0},{0, 0, 0, 0}};
32951 static swig_cast_info _swigc__p_wxMenuEvent
[] = {{&_swigt__p_wxMenuEvent
, 0, 0, 0},{0, 0, 0, 0}};
32952 static swig_cast_info _swigc__p_wxCloseEvent
[] = {{&_swigt__p_wxCloseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32953 static swig_cast_info _swigc__p_wxMouseEvent
[] = {{&_swigt__p_wxMouseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32954 static swig_cast_info _swigc__p_wxEraseEvent
[] = {{&_swigt__p_wxEraseEvent
, 0, 0, 0},{0, 0, 0, 0}};
32955 static swig_cast_info _swigc__p_wxSetCursorEvent
[] = {{&_swigt__p_wxSetCursorEvent
, 0, 0, 0},{0, 0, 0, 0}};
32956 static swig_cast_info _swigc__p_wxInitDialogEvent
[] = {{&_swigt__p_wxInitDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32957 static swig_cast_info _swigc__p_wxPyEvent
[] = {{&_swigt__p_wxPyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32958 static swig_cast_info _swigc__p_wxMouseCaptureLostEvent
[] = {{&_swigt__p_wxMouseCaptureLostEvent
, 0, 0, 0},{0, 0, 0, 0}};
32959 static swig_cast_info _swigc__p_wxIdleEvent
[] = {{&_swigt__p_wxIdleEvent
, 0, 0, 0},{0, 0, 0, 0}};
32960 static swig_cast_info _swigc__p_wxQueryNewPaletteEvent
[] = {{&_swigt__p_wxQueryNewPaletteEvent
, 0, 0, 0},{0, 0, 0, 0}};
32961 static swig_cast_info _swigc__p_wxMaximizeEvent
[] = {{&_swigt__p_wxMaximizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32962 static swig_cast_info _swigc__p_wxIconizeEvent
[] = {{&_swigt__p_wxIconizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32963 static swig_cast_info _swigc__p_wxActivateEvent
[] = {{&_swigt__p_wxActivateEvent
, 0, 0, 0},{0, 0, 0, 0}};
32964 static swig_cast_info _swigc__p_wxSizeEvent
[] = {{&_swigt__p_wxSizeEvent
, 0, 0, 0},{0, 0, 0, 0}};
32965 static swig_cast_info _swigc__p_wxMoveEvent
[] = {{&_swigt__p_wxMoveEvent
, 0, 0, 0},{0, 0, 0, 0}};
32966 static swig_cast_info _swigc__p_wxPaintEvent
[] = {{&_swigt__p_wxPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32967 static swig_cast_info _swigc__p_wxNcPaintEvent
[] = {{&_swigt__p_wxNcPaintEvent
, 0, 0, 0},{0, 0, 0, 0}};
32968 static swig_cast_info _swigc__p_wxPaletteChangedEvent
[] = {{&_swigt__p_wxPaletteChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32969 static swig_cast_info _swigc__p_wxDisplayChangedEvent
[] = {{&_swigt__p_wxDisplayChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32970 static swig_cast_info _swigc__p_wxMouseCaptureChangedEvent
[] = {{&_swigt__p_wxMouseCaptureChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32971 static swig_cast_info _swigc__p_wxSysColourChangedEvent
[] = {{&_swigt__p_wxSysColourChangedEvent
, 0, 0, 0},{0, 0, 0, 0}};
32972 static swig_cast_info _swigc__p_wxDropFilesEvent
[] = {{&_swigt__p_wxDropFilesEvent
, 0, 0, 0},{0, 0, 0, 0}};
32973 static swig_cast_info _swigc__p_wxFocusEvent
[] = {{&_swigt__p_wxFocusEvent
, 0, 0, 0},{0, 0, 0, 0}};
32974 static swig_cast_info _swigc__p_wxShowEvent
[] = {{&_swigt__p_wxShowEvent
, 0, 0, 0},{0, 0, 0, 0}};
32975 static swig_cast_info _swigc__p_wxNavigationKeyEvent
[] = {{&_swigt__p_wxNavigationKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32976 static swig_cast_info _swigc__p_wxKeyEvent
[] = {{&_swigt__p_wxKeyEvent
, 0, 0, 0},{0, 0, 0, 0}};
32977 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}};
32978 static swig_cast_info _swigc__p_wxValidator
[] = {{&_swigt__p_wxValidator
, 0, 0, 0},{0, 0, 0, 0}};
32979 static swig_cast_info _swigc__p_wxPyValidator
[] = {{&_swigt__p_wxPyValidator
, 0, 0, 0},{0, 0, 0, 0}};
32980 static swig_cast_info _swigc__p_wxControl
[] = {{&_swigt__p_wxControl
, 0, 0, 0},{0, 0, 0, 0}};
32981 static swig_cast_info _swigc__p_wxPyApp
[] = {{&_swigt__p_wxPyApp
, 0, 0, 0},{0, 0, 0, 0}};
32982 static swig_cast_info _swigc__p_wxControlWithItems
[] = {{&_swigt__p_wxControlWithItems
, 0, 0, 0},{0, 0, 0, 0}};
32983 static swig_cast_info _swigc__p_wxEvtHandler
[] = { {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxValidator
, _p_wxValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyValidator
, _p_wxPyValidatorTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxControlWithItems
, _p_wxControlWithItemsTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxEvtHandler
, 0, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxEvtHandler
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxEvtHandler
, 0, 0},{0, 0, 0, 0}};
32984 static swig_cast_info _swigc__p_wxFileDialog
[] = { {&_swigt__p_wxFileDialog
, 0, 0, 0},{0, 0, 0, 0}};
32985 static swig_cast_info _swigc__p_wxFileSystem
[] = { {&_swigt__p_wxFileSystem
, 0, 0, 0},{0, 0, 0, 0}};
32986 static swig_cast_info _swigc__p_wxFindDialogEvent
[] = { {&_swigt__p_wxFindDialogEvent
, 0, 0, 0},{0, 0, 0, 0}};
32987 static swig_cast_info _swigc__p_wxFindReplaceData
[] = { {&_swigt__p_wxFindReplaceData
, 0, 0, 0},{0, 0, 0, 0}};
32988 static swig_cast_info _swigc__p_wxFindReplaceDialog
[] = { {&_swigt__p_wxFindReplaceDialog
, 0, 0, 0},{0, 0, 0, 0}};
32989 static swig_cast_info _swigc__p_wxFont
[] = { {&_swigt__p_wxFont
, 0, 0, 0},{0, 0, 0, 0}};
32990 static swig_cast_info _swigc__p_wxFontData
[] = { {&_swigt__p_wxFontData
, 0, 0, 0},{0, 0, 0, 0}};
32991 static swig_cast_info _swigc__p_wxFontDialog
[] = { {&_swigt__p_wxFontDialog
, 0, 0, 0},{0, 0, 0, 0}};
32992 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}};
32993 static swig_cast_info _swigc__p_wxHtmlLinkInfo
[] = { {&_swigt__p_wxHtmlLinkInfo
, 0, 0, 0},{0, 0, 0, 0}};
32994 static swig_cast_info _swigc__p_wxIcon
[] = { {&_swigt__p_wxIcon
, 0, 0, 0},{0, 0, 0, 0}};
32995 static swig_cast_info _swigc__p_wxIconBundle
[] = { {&_swigt__p_wxIconBundle
, 0, 0, 0},{0, 0, 0, 0}};
32996 static swig_cast_info _swigc__p_wxLayoutAlgorithm
[] = { {&_swigt__p_wxLayoutAlgorithm
, 0, 0, 0},{0, 0, 0, 0}};
32997 static swig_cast_info _swigc__p_wxMDIChildFrame
[] = { {&_swigt__p_wxMDIChildFrame
, 0, 0, 0},{0, 0, 0, 0}};
32998 static swig_cast_info _swigc__p_wxMDIClientWindow
[] = { {&_swigt__p_wxMDIClientWindow
, 0, 0, 0},{0, 0, 0, 0}};
32999 static swig_cast_info _swigc__p_wxMDIParentFrame
[] = { {&_swigt__p_wxMDIParentFrame
, 0, 0, 0},{0, 0, 0, 0}};
33000 static swig_cast_info _swigc__p_wxMenu
[] = { {&_swigt__p_wxMenu
, 0, 0, 0},{0, 0, 0, 0}};
33001 static swig_cast_info _swigc__p_wxMenuBar
[] = { {&_swigt__p_wxMenuBar
, 0, 0, 0},{0, 0, 0, 0}};
33002 static swig_cast_info _swigc__p_wxMessageDialog
[] = { {&_swigt__p_wxMessageDialog
, 0, 0, 0},{0, 0, 0, 0}};
33003 static swig_cast_info _swigc__p_wxMiniFrame
[] = { {&_swigt__p_wxMiniFrame
, 0, 0, 0},{0, 0, 0, 0}};
33004 static swig_cast_info _swigc__p_wxMultiChoiceDialog
[] = { {&_swigt__p_wxMultiChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33005 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}};
33006 static swig_cast_info _swigc__p_wxNumberEntryDialog
[] = { {&_swigt__p_wxNumberEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33007 static swig_cast_info _swigc__p_wxLayoutConstraints
[] = {{&_swigt__p_wxLayoutConstraints
, 0, 0, 0},{0, 0, 0, 0}};
33008 static swig_cast_info _swigc__p_wxSizerItem
[] = {{&_swigt__p_wxSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33009 static swig_cast_info _swigc__p_wxGBSizerItem
[] = {{&_swigt__p_wxGBSizerItem
, 0, 0, 0},{0, 0, 0, 0}};
33010 static swig_cast_info _swigc__p_wxIndividualLayoutConstraint
[] = {{&_swigt__p_wxIndividualLayoutConstraint
, 0, 0, 0},{0, 0, 0, 0}};
33011 static swig_cast_info _swigc__p_wxStaticBoxSizer
[] = {{&_swigt__p_wxStaticBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33012 static swig_cast_info _swigc__p_wxBoxSizer
[] = {{&_swigt__p_wxBoxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33013 static swig_cast_info _swigc__p_wxSizer
[] = {{&_swigt__p_wxSizer
, 0, 0, 0},{0, 0, 0, 0}};
33014 static swig_cast_info _swigc__p_wxGridBagSizer
[] = {{&_swigt__p_wxGridBagSizer
, 0, 0, 0},{0, 0, 0, 0}};
33015 static swig_cast_info _swigc__p_wxGridSizer
[] = {{&_swigt__p_wxGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33016 static swig_cast_info _swigc__p_wxFlexGridSizer
[] = {{&_swigt__p_wxFlexGridSizer
, 0, 0, 0},{0, 0, 0, 0}};
33017 static swig_cast_info _swigc__p_wxFSFile
[] = {{&_swigt__p_wxFSFile
, 0, 0, 0},{0, 0, 0, 0}};
33018 static swig_cast_info _swigc__p_wxPySizer
[] = {{&_swigt__p_wxPySizer
, 0, 0, 0},{0, 0, 0, 0}};
33019 static swig_cast_info _swigc__p_wxMenuItem
[] = {{&_swigt__p_wxMenuItem
, 0, 0, 0},{0, 0, 0, 0}};
33020 static swig_cast_info _swigc__p_wxBMPHandler
[] = {{&_swigt__p_wxBMPHandler
, 0, 0, 0},{0, 0, 0, 0}};
33021 static swig_cast_info _swigc__p_wxICOHandler
[] = {{&_swigt__p_wxICOHandler
, 0, 0, 0},{0, 0, 0, 0}};
33022 static swig_cast_info _swigc__p_wxCURHandler
[] = {{&_swigt__p_wxCURHandler
, 0, 0, 0},{0, 0, 0, 0}};
33023 static swig_cast_info _swigc__p_wxANIHandler
[] = {{&_swigt__p_wxANIHandler
, 0, 0, 0},{0, 0, 0, 0}};
33024 static swig_cast_info _swigc__p_wxPNGHandler
[] = {{&_swigt__p_wxPNGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33025 static swig_cast_info _swigc__p_wxGIFHandler
[] = {{&_swigt__p_wxGIFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33026 static swig_cast_info _swigc__p_wxPCXHandler
[] = {{&_swigt__p_wxPCXHandler
, 0, 0, 0},{0, 0, 0, 0}};
33027 static swig_cast_info _swigc__p_wxJPEGHandler
[] = {{&_swigt__p_wxJPEGHandler
, 0, 0, 0},{0, 0, 0, 0}};
33028 static swig_cast_info _swigc__p_wxPNMHandler
[] = {{&_swigt__p_wxPNMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33029 static swig_cast_info _swigc__p_wxPyImageHandler
[] = {{&_swigt__p_wxPyImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33030 static swig_cast_info _swigc__p_wxImageHandler
[] = {{&_swigt__p_wxImageHandler
, 0, 0, 0},{0, 0, 0, 0}};
33031 static swig_cast_info _swigc__p_wxXPMHandler
[] = {{&_swigt__p_wxXPMHandler
, 0, 0, 0},{0, 0, 0, 0}};
33032 static swig_cast_info _swigc__p_wxTIFFHandler
[] = {{&_swigt__p_wxTIFFHandler
, 0, 0, 0},{0, 0, 0, 0}};
33033 static swig_cast_info _swigc__p_wxAcceleratorTable
[] = {{&_swigt__p_wxAcceleratorTable
, 0, 0, 0},{0, 0, 0, 0}};
33034 static swig_cast_info _swigc__p_wxImage
[] = {{&_swigt__p_wxImage
, 0, 0, 0},{0, 0, 0, 0}};
33035 static swig_cast_info _swigc__p_wxObject
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, _p_wxQueryLayoutInfoEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutConstraints
, _p_wxLayoutConstraintsTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewFrame
, _p_wxPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewFrame
, _p_wxPyPreviewFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizerItem
, _p_wxSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGBSizerItem
, _p_wxGBSizerItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollEvent
, _p_wxScrollEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIndividualLayoutConstraint
, _p_wxIndividualLayoutConstraintTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStaticBoxSizer
, _p_wxStaticBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBoxSizer
, _p_wxBoxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizer
, _p_wxSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridBagSizer
, _p_wxGridBagSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxUpdateUIEvent
, _p_wxUpdateUIEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenu
, _p_wxMenuTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontData
, _p_wxFontDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintData
, _p_wxPrintDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvent
, _p_wxEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGridSizer
, _p_wxGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFlexGridSizer
, _p_wxFlexGridSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyTaskBarIcon
, _p_wxPyTaskBarIconTo_p_wxObject
, 0, 0}, {&_swigt__p_wxLayoutAlgorithm
, _p_wxLayoutAlgorithmTo_p_wxObject
, 0, 0}, {&_swigt__p_wxInitDialogEvent
, _p_wxInitDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindDialogEvent
, _p_wxFindDialogEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaintEvent
, _p_wxPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNcPaintEvent
, _p_wxNcPaintEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxClipboardTextEvent
, _p_wxClipboardTextEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPaletteChangedEvent
, _p_wxPaletteChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDisplayChangedEvent
, _p_wxDisplayChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureChangedEvent
, _p_wxMouseCaptureChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSysColourChangedEvent
, _p_wxSysColourChangedEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxObject
, 0, 0}, {&_swigt__p_wxControl
, _p_wxControlTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSetCursorEvent
, _p_wxSetCursorEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterEvent
, _p_wxSplitterEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFSFile
, _p_wxFSFileTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceData
, _p_wxFindReplaceDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPySizer
, _p_wxPySizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIChildFrame
, _p_wxMDIChildFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourData
, _p_wxColourDataTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNotifyEvent
, _p_wxNotifyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyEvent
, _p_wxPyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyWindow
, _p_wxPyWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreen
, _p_wxSplashScreenTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFindReplaceDialog
, _p_wxFindReplaceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxProgressDialog
, _p_wxProgressDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMessageDialog
, _p_wxMessageDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNumberEntryDialog
, _p_wxNumberEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPasswordEntryDialog
, _p_wxPasswordEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTextEntryDialog
, _p_wxTextEntryDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSingleChoiceDialog
, _p_wxSingleChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMultiChoiceDialog
, _p_wxMultiChoiceDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileDialog
, _p_wxFileDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxShowEvent
, _p_wxShowEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrinter
, _p_wxPrinterTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIdleEvent
, _p_wxIdleEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowCreateEvent
, _p_wxWindowCreateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxQueryNewPaletteEvent
, _p_wxQueryNewPaletteEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMaximizeEvent
, _p_wxMaximizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxIconizeEvent
, _p_wxIconizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxActivateEvent
, _p_wxActivateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDateEvent
, _p_wxDateEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMoveEvent
, _p_wxMoveEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSizeEvent
, _p_wxSizeEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuItem
, _p_wxMenuItemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCalculateLayoutEvent
, _p_wxCalculateLayoutEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseCaptureLostEvent
, _p_wxMouseCaptureLostEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxBMPHandler
, _p_wxBMPHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxICOHandler
, _p_wxICOHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCURHandler
, _p_wxCURHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxANIHandler
, _p_wxANIHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNGHandler
, _p_wxPNGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxGIFHandler
, _p_wxGIFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPCXHandler
, _p_wxPCXHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxJPEGHandler
, _p_wxJPEGHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPNMHandler
, _p_wxPNMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyImageHandler
, _p_wxPyImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImageHandler
, _p_wxImageHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxXPMHandler
, _p_wxXPMHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTIFFHandler
, _p_wxTIFFHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEvtHandler
, _p_wxEvtHandlerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStdDialogButtonSizer
, _p_wxStdDialogButtonSizerTo_p_wxObject
, 0, 0}, {&_swigt__p_wxAcceleratorTable
, _p_wxAcceleratorTableTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMiniFrame
, _p_wxMiniFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxImage
, _p_wxImageTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFrame
, _p_wxFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintout
, _p_wxPyPrintoutTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTaskBarIconEvent
, _p_wxTaskBarIconEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrollWinEvent
, _p_wxScrollWinEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxStatusBar
, _p_wxStatusBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIParentFrame
, _p_wxMDIParentFrameTo_p_wxObject
, 0, 0}, {&_swigt__p_wxObject
, 0, 0, 0}, {&_swigt__p_wxKeyEvent
, _p_wxKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxNavigationKeyEvent
, _p_wxNavigationKeyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindowDestroyEvent
, _p_wxWindowDestroyEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuBar
, _p_wxMenuBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMDIClientWindow
, _p_wxMDIClientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTopLevelWindow
, _p_wxTopLevelWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxTipWindow
, _p_wxTipWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxWindow
, _p_wxWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashWindow
, _p_wxSashWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashLayoutWindow
, _p_wxSashLayoutWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplitterWindow
, _p_wxSplitterWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSplashScreenWindow
, _p_wxSplashScreenWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPopupWindow
, _p_wxPopupWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPopupTransientWindow
, _p_wxPyPopupTransientWindowTo_p_wxObject
, 0, 0}, {&_swigt__p_wxSashEvent
, _p_wxSashEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintPreview
, _p_wxPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPrintPreview
, _p_wxPyPrintPreviewTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPanel
, _p_wxPanelTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDialog
, _p_wxDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxColourDialog
, _p_wxColourDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxDirDialog
, _p_wxDirDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFontDialog
, _p_wxFontDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPageSetupDialog
, _p_wxPageSetupDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPrintDialog
, _p_wxPrintDialogTo_p_wxObject
, 0, 0}, {&_swigt__p_wxFileSystem
, _p_wxFileSystemTo_p_wxObject
, 0, 0}, {&_swigt__p_wxContextMenuEvent
, _p_wxContextMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMenuEvent
, _p_wxMenuEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCloseEvent
, _p_wxCloseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxMouseEvent
, _p_wxMouseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxEraseEvent
, _p_wxEraseEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyApp
, _p_wxPyAppTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyCommandEvent
, _p_wxPyCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxCommandEvent
, _p_wxCommandEventTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxObject
, 0, 0}, {&_swigt__p_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}};
33036 static swig_cast_info _swigc__p_wxPageSetupDialog
[] = { {&_swigt__p_wxPageSetupDialog
, 0, 0, 0},{0, 0, 0, 0}};
33037 static swig_cast_info _swigc__p_wxPageSetupDialogData
[] = { {&_swigt__p_wxPageSetupDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33038 static swig_cast_info _swigc__p_wxPanel
[] = { {&_swigt__p_wxPanel
, 0, 0, 0}, {&_swigt__p_wxScrolledWindow
, _p_wxScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyScrolledWindow
, _p_wxPyScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVScrolledWindow
, _p_wxPyVScrolledWindowTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPanel
, _p_wxPyPanelTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewCanvas
, _p_wxPreviewCanvasTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPreviewControlBar
, _p_wxPreviewControlBarTo_p_wxPanel
, 0, 0}, {&_swigt__p_wxPyPreviewControlBar
, _p_wxPyPreviewControlBarTo_p_wxPanel
, 0, 0},{0, 0, 0, 0}};
33039 static swig_cast_info _swigc__p_wxPaperSize
[] = { {&_swigt__p_wxPaperSize
, 0, 0, 0},{0, 0, 0, 0}};
33040 static swig_cast_info _swigc__p_wxPasswordEntryDialog
[] = { {&_swigt__p_wxPasswordEntryDialog
, 0, 0, 0},{0, 0, 0, 0}};
33041 static swig_cast_info _swigc__p_wxPoint
[] = { {&_swigt__p_wxPoint
, 0, 0, 0},{0, 0, 0, 0}};
33042 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}};
33043 static swig_cast_info _swigc__p_wxPreviewCanvas
[] = { {&_swigt__p_wxPreviewCanvas
, 0, 0, 0},{0, 0, 0, 0}};
33044 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}};
33045 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}};
33046 static swig_cast_info _swigc__p_wxPrintData
[] = { {&_swigt__p_wxPrintData
, 0, 0, 0},{0, 0, 0, 0}};
33047 static swig_cast_info _swigc__p_wxPrintDialog
[] = { {&_swigt__p_wxPrintDialog
, 0, 0, 0},{0, 0, 0, 0}};
33048 static swig_cast_info _swigc__p_wxPrintDialogData
[] = { {&_swigt__p_wxPrintDialogData
, 0, 0, 0},{0, 0, 0, 0}};
33049 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}};
33050 static swig_cast_info _swigc__p_wxPrinter
[] = { {&_swigt__p_wxPrinter
, 0, 0, 0},{0, 0, 0, 0}};
33051 static swig_cast_info _swigc__p_wxProgressDialog
[] = { {&_swigt__p_wxProgressDialog
, 0, 0, 0},{0, 0, 0, 0}};
33052 static swig_cast_info _swigc__p_wxPyHtmlListBox
[] = { {&_swigt__p_wxPyHtmlListBox
, 0, 0, 0},{0, 0, 0, 0}};
33053 static swig_cast_info _swigc__p_wxPyPanel
[] = { {&_swigt__p_wxPyPanel
, 0, 0, 0},{0, 0, 0, 0}};
33054 static swig_cast_info _swigc__p_wxPyPopupTransientWindow
[] = { {&_swigt__p_wxPyPopupTransientWindow
, 0, 0, 0},{0, 0, 0, 0}};
33055 static swig_cast_info _swigc__p_wxPyPreviewControlBar
[] = { {&_swigt__p_wxPyPreviewControlBar
, 0, 0, 0},{0, 0, 0, 0}};
33056 static swig_cast_info _swigc__p_wxPyPreviewFrame
[] = { {&_swigt__p_wxPyPreviewFrame
, 0, 0, 0},{0, 0, 0, 0}};
33057 static swig_cast_info _swigc__p_wxPyPrintPreview
[] = { {&_swigt__p_wxPyPrintPreview
, 0, 0, 0},{0, 0, 0, 0}};
33058 static swig_cast_info _swigc__p_wxPyPrintout
[] = { {&_swigt__p_wxPyPrintout
, 0, 0, 0},{0, 0, 0, 0}};
33059 static swig_cast_info _swigc__p_wxPyScrolledWindow
[] = { {&_swigt__p_wxPyScrolledWindow
, 0, 0, 0},{0, 0, 0, 0}};
33060 static swig_cast_info _swigc__p_wxPyTaskBarIcon
[] = { {&_swigt__p_wxPyTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33061 static swig_cast_info _swigc__p_wxPyVListBox
[] = { {&_swigt__p_wxPyVListBox
, 0, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVListBox
, 0, 0},{0, 0, 0, 0}};
33062 static swig_cast_info _swigc__p_wxPyVScrolledWindow
[] = { {&_swigt__p_wxPyVScrolledWindow
, 0, 0, 0}, {&_swigt__p_wxPyVListBox
, _p_wxPyVListBoxTo_p_wxPyVScrolledWindow
, 0, 0}, {&_swigt__p_wxPyHtmlListBox
, _p_wxPyHtmlListBoxTo_p_wxPyVScrolledWindow
, 0, 0},{0, 0, 0, 0}};
33063 static swig_cast_info _swigc__p_wxPyWindow
[] = { {&_swigt__p_wxPyWindow
, 0, 0, 0},{0, 0, 0, 0}};
33064 static swig_cast_info _swigc__p_wxQueryLayoutInfoEvent
[] = { {&_swigt__p_wxQueryLayoutInfoEvent
, 0, 0, 0},{0, 0, 0, 0}};
33065 static swig_cast_info _swigc__p_wxRect
[] = { {&_swigt__p_wxRect
, 0, 0, 0},{0, 0, 0, 0}};
33066 static swig_cast_info _swigc__p_wxRegion
[] = { {&_swigt__p_wxRegion
, 0, 0, 0},{0, 0, 0, 0}};
33067 static swig_cast_info _swigc__p_wxSashEvent
[] = { {&_swigt__p_wxSashEvent
, 0, 0, 0},{0, 0, 0, 0}};
33068 static swig_cast_info _swigc__p_wxSashLayoutWindow
[] = { {&_swigt__p_wxSashLayoutWindow
, 0, 0, 0},{0, 0, 0, 0}};
33069 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}};
33070 static swig_cast_info _swigc__p_wxScrollWinEvent
[] = { {&_swigt__p_wxScrollWinEvent
, 0, 0, 0},{0, 0, 0, 0}};
33071 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}};
33072 static swig_cast_info _swigc__p_wxSingleChoiceDialog
[] = { {&_swigt__p_wxSingleChoiceDialog
, 0, 0, 0},{0, 0, 0, 0}};
33073 static swig_cast_info _swigc__p_wxSize
[] = { {&_swigt__p_wxSize
, 0, 0, 0},{0, 0, 0, 0}};
33074 static swig_cast_info _swigc__p_wxSplashScreen
[] = { {&_swigt__p_wxSplashScreen
, 0, 0, 0},{0, 0, 0, 0}};
33075 static swig_cast_info _swigc__p_wxSplashScreenWindow
[] = { {&_swigt__p_wxSplashScreenWindow
, 0, 0, 0},{0, 0, 0, 0}};
33076 static swig_cast_info _swigc__p_wxSplitterEvent
[] = { {&_swigt__p_wxSplitterEvent
, 0, 0, 0},{0, 0, 0, 0}};
33077 static swig_cast_info _swigc__p_wxSplitterWindow
[] = { {&_swigt__p_wxSplitterWindow
, 0, 0, 0},{0, 0, 0, 0}};
33078 static swig_cast_info _swigc__p_wxStatusBar
[] = { {&_swigt__p_wxStatusBar
, 0, 0, 0},{0, 0, 0, 0}};
33079 static swig_cast_info _swigc__p_wxStdDialogButtonSizer
[] = { {&_swigt__p_wxStdDialogButtonSizer
, 0, 0, 0},{0, 0, 0, 0}};
33080 static swig_cast_info _swigc__p_wxString
[] = { {&_swigt__p_wxString
, 0, 0, 0},{0, 0, 0, 0}};
33081 static swig_cast_info _swigc__p_wxTaskBarIcon
[] = { {&_swigt__p_wxTaskBarIcon
, 0, 0, 0},{0, 0, 0, 0}};
33082 static swig_cast_info _swigc__p_wxTaskBarIconEvent
[] = { {&_swigt__p_wxTaskBarIconEvent
, 0, 0, 0},{0, 0, 0, 0}};
33083 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}};
33084 static swig_cast_info _swigc__p_wxTipWindow
[] = { {&_swigt__p_wxTipWindow
, 0, 0, 0},{0, 0, 0, 0}};
33085 static swig_cast_info _swigc__p_wxToolBar
[] = { {&_swigt__p_wxToolBar
, 0, 0, 0},{0, 0, 0, 0}};
33086 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}};
33087 static swig_cast_info _swigc__p_wxVisualAttributes
[] = { {&_swigt__p_wxVisualAttributes
, 0, 0, 0},{0, 0, 0, 0}};
33088 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_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}};
33090 static swig_cast_info
*swig_cast_initial
[] = {
33093 _swigc__p_form_ops_t
,
33095 _swigc__p_unsigned_char
,
33096 _swigc__p_unsigned_int
,
33097 _swigc__p_unsigned_long
,
33098 _swigc__p_wxANIHandler
,
33099 _swigc__p_wxAcceleratorTable
,
33100 _swigc__p_wxActivateEvent
,
33101 _swigc__p_wxArrayInt
,
33102 _swigc__p_wxBMPHandler
,
33103 _swigc__p_wxBitmap
,
33104 _swigc__p_wxBoxSizer
,
33105 _swigc__p_wxCURHandler
,
33106 _swigc__p_wxCalculateLayoutEvent
,
33107 _swigc__p_wxChildFocusEvent
,
33108 _swigc__p_wxClipboardTextEvent
,
33109 _swigc__p_wxCloseEvent
,
33110 _swigc__p_wxColour
,
33111 _swigc__p_wxColourData
,
33112 _swigc__p_wxColourDialog
,
33113 _swigc__p_wxCommandEvent
,
33114 _swigc__p_wxContextMenuEvent
,
33115 _swigc__p_wxControl
,
33116 _swigc__p_wxControlWithItems
,
33118 _swigc__p_wxDateEvent
,
33119 _swigc__p_wxDialog
,
33120 _swigc__p_wxDirDialog
,
33121 _swigc__p_wxDisplayChangedEvent
,
33122 _swigc__p_wxDropFilesEvent
,
33123 _swigc__p_wxDuplexMode
,
33124 _swigc__p_wxEraseEvent
,
33126 _swigc__p_wxEvtHandler
,
33127 _swigc__p_wxFSFile
,
33128 _swigc__p_wxFileDialog
,
33129 _swigc__p_wxFileSystem
,
33130 _swigc__p_wxFindDialogEvent
,
33131 _swigc__p_wxFindReplaceData
,
33132 _swigc__p_wxFindReplaceDialog
,
33133 _swigc__p_wxFlexGridSizer
,
33134 _swigc__p_wxFocusEvent
,
33136 _swigc__p_wxFontData
,
33137 _swigc__p_wxFontDialog
,
33139 _swigc__p_wxGBSizerItem
,
33140 _swigc__p_wxGIFHandler
,
33141 _swigc__p_wxGridBagSizer
,
33142 _swigc__p_wxGridSizer
,
33143 _swigc__p_wxHtmlLinkInfo
,
33144 _swigc__p_wxICOHandler
,
33146 _swigc__p_wxIconBundle
,
33147 _swigc__p_wxIconizeEvent
,
33148 _swigc__p_wxIdleEvent
,
33150 _swigc__p_wxImageHandler
,
33151 _swigc__p_wxIndividualLayoutConstraint
,
33152 _swigc__p_wxInitDialogEvent
,
33153 _swigc__p_wxJPEGHandler
,
33154 _swigc__p_wxKeyEvent
,
33155 _swigc__p_wxLayoutAlgorithm
,
33156 _swigc__p_wxLayoutConstraints
,
33157 _swigc__p_wxMDIChildFrame
,
33158 _swigc__p_wxMDIClientWindow
,
33159 _swigc__p_wxMDIParentFrame
,
33160 _swigc__p_wxMaximizeEvent
,
33162 _swigc__p_wxMenuBar
,
33163 _swigc__p_wxMenuEvent
,
33164 _swigc__p_wxMenuItem
,
33165 _swigc__p_wxMessageDialog
,
33166 _swigc__p_wxMiniFrame
,
33167 _swigc__p_wxMouseCaptureChangedEvent
,
33168 _swigc__p_wxMouseCaptureLostEvent
,
33169 _swigc__p_wxMouseEvent
,
33170 _swigc__p_wxMoveEvent
,
33171 _swigc__p_wxMultiChoiceDialog
,
33172 _swigc__p_wxNavigationKeyEvent
,
33173 _swigc__p_wxNcPaintEvent
,
33174 _swigc__p_wxNotifyEvent
,
33175 _swigc__p_wxNumberEntryDialog
,
33176 _swigc__p_wxObject
,
33177 _swigc__p_wxPCXHandler
,
33178 _swigc__p_wxPNGHandler
,
33179 _swigc__p_wxPNMHandler
,
33180 _swigc__p_wxPageSetupDialog
,
33181 _swigc__p_wxPageSetupDialogData
,
33182 _swigc__p_wxPaintEvent
,
33183 _swigc__p_wxPaletteChangedEvent
,
33185 _swigc__p_wxPaperSize
,
33186 _swigc__p_wxPasswordEntryDialog
,
33188 _swigc__p_wxPopupWindow
,
33189 _swigc__p_wxPreviewCanvas
,
33190 _swigc__p_wxPreviewControlBar
,
33191 _swigc__p_wxPreviewFrame
,
33192 _swigc__p_wxPrintData
,
33193 _swigc__p_wxPrintDialog
,
33194 _swigc__p_wxPrintDialogData
,
33195 _swigc__p_wxPrintPreview
,
33196 _swigc__p_wxPrinter
,
33197 _swigc__p_wxProgressDialog
,
33199 _swigc__p_wxPyCommandEvent
,
33200 _swigc__p_wxPyEvent
,
33201 _swigc__p_wxPyHtmlListBox
,
33202 _swigc__p_wxPyImageHandler
,
33203 _swigc__p_wxPyPanel
,
33204 _swigc__p_wxPyPopupTransientWindow
,
33205 _swigc__p_wxPyPreviewControlBar
,
33206 _swigc__p_wxPyPreviewFrame
,
33207 _swigc__p_wxPyPrintPreview
,
33208 _swigc__p_wxPyPrintout
,
33209 _swigc__p_wxPyScrolledWindow
,
33210 _swigc__p_wxPySizer
,
33211 _swigc__p_wxPyTaskBarIcon
,
33212 _swigc__p_wxPyVListBox
,
33213 _swigc__p_wxPyVScrolledWindow
,
33214 _swigc__p_wxPyValidator
,
33215 _swigc__p_wxPyWindow
,
33216 _swigc__p_wxQueryLayoutInfoEvent
,
33217 _swigc__p_wxQueryNewPaletteEvent
,
33219 _swigc__p_wxRegion
,
33220 _swigc__p_wxSashEvent
,
33221 _swigc__p_wxSashLayoutWindow
,
33222 _swigc__p_wxSashWindow
,
33223 _swigc__p_wxScrollEvent
,
33224 _swigc__p_wxScrollWinEvent
,
33225 _swigc__p_wxScrolledWindow
,
33226 _swigc__p_wxSetCursorEvent
,
33227 _swigc__p_wxShowEvent
,
33228 _swigc__p_wxSingleChoiceDialog
,
33230 _swigc__p_wxSizeEvent
,
33232 _swigc__p_wxSizerItem
,
33233 _swigc__p_wxSplashScreen
,
33234 _swigc__p_wxSplashScreenWindow
,
33235 _swigc__p_wxSplitterEvent
,
33236 _swigc__p_wxSplitterWindow
,
33237 _swigc__p_wxStaticBoxSizer
,
33238 _swigc__p_wxStatusBar
,
33239 _swigc__p_wxStdDialogButtonSizer
,
33240 _swigc__p_wxString
,
33241 _swigc__p_wxSysColourChangedEvent
,
33242 _swigc__p_wxTIFFHandler
,
33243 _swigc__p_wxTaskBarIcon
,
33244 _swigc__p_wxTaskBarIconEvent
,
33245 _swigc__p_wxTextEntryDialog
,
33246 _swigc__p_wxTipWindow
,
33247 _swigc__p_wxToolBar
,
33248 _swigc__p_wxTopLevelWindow
,
33249 _swigc__p_wxUpdateUIEvent
,
33250 _swigc__p_wxValidator
,
33251 _swigc__p_wxVisualAttributes
,
33252 _swigc__p_wxWindow
,
33253 _swigc__p_wxWindowCreateEvent
,
33254 _swigc__p_wxWindowDestroyEvent
,
33255 _swigc__p_wxXPMHandler
,
33259 /* -------- TYPE CONVERSION AND EQUIVALENCE RULES (END) -------- */
33261 static swig_const_info swig_const_table
[] = {
33262 {0, 0, 0, 0.0, 0, 0}};
33267 /* -----------------------------------------------------------------------------
33268 * Type initialization:
33269 * This problem is tough by the requirement that no dynamic
33270 * memory is used. Also, since swig_type_info structures store pointers to
33271 * swig_cast_info structures and swig_cast_info structures store pointers back
33272 * to swig_type_info structures, we need some lookup code at initialization.
33273 * The idea is that swig generates all the structures that are needed.
33274 * The runtime then collects these partially filled structures.
33275 * The SWIG_InitializeModule function takes these initial arrays out of
33276 * swig_module, and does all the lookup, filling in the swig_module.types
33277 * array with the correct data and linking the correct swig_cast_info
33278 * structures together.
33280 * The generated swig_type_info structures are assigned staticly to an initial
33281 * array. We just loop though that array, and handle each type individually.
33282 * First we lookup if this type has been already loaded, and if so, use the
33283 * loaded structure instead of the generated one. Then we have to fill in the
33284 * cast linked list. The cast data is initially stored in something like a
33285 * two-dimensional array. Each row corresponds to a type (there are the same
33286 * number of rows as there are in the swig_type_initial array). Each entry in
33287 * a column is one of the swig_cast_info structures for that type.
33288 * The cast_initial array is actually an array of arrays, because each row has
33289 * a variable number of columns. So to actually build the cast linked list,
33290 * we find the array of casts associated with the type, and loop through it
33291 * adding the casts to the list. The one last trick we need to do is making
33292 * sure the type pointer in the swig_cast_info struct is correct.
33294 * First off, we lookup the cast->type name to see if it is already loaded.
33295 * There are three cases to handle:
33296 * 1) If the cast->type has already been loaded AND the type we are adding
33297 * casting info to has not been loaded (it is in this module), THEN we
33298 * replace the cast->type pointer with the type pointer that has already
33300 * 2) If BOTH types (the one we are adding casting info to, and the
33301 * cast->type) are loaded, THEN the cast info has already been loaded by
33302 * the previous module so we just ignore it.
33303 * 3) Finally, if cast->type has not already been loaded, then we add that
33304 * swig_cast_info to the linked list (because the cast->type) pointer will
33306 * ----------------------------------------------------------------------------- */
33316 #define SWIGRUNTIME_DEBUG
33320 SWIG_InitializeModule(void *clientdata
) {
33322 swig_module_info
*module_head
;
33323 static int init_run
= 0;
33325 clientdata
= clientdata
;
33327 if (init_run
) return;
33330 /* Initialize the swig_module */
33331 swig_module
.type_initial
= swig_type_initial
;
33332 swig_module
.cast_initial
= swig_cast_initial
;
33334 /* Try and load any already created modules */
33335 module_head
= SWIG_GetModule(clientdata
);
33337 swig_module
.next
= module_head
->next
;
33338 module_head
->next
= &swig_module
;
33340 /* This is the first module loaded */
33341 swig_module
.next
= &swig_module
;
33342 SWIG_SetModule(clientdata
, &swig_module
);
33345 /* Now work on filling in swig_module.types */
33346 #ifdef SWIGRUNTIME_DEBUG
33347 printf("SWIG_InitializeModule: size %d\n", swig_module
.size
);
33349 for (i
= 0; i
< swig_module
.size
; ++i
) {
33350 swig_type_info
*type
= 0;
33351 swig_type_info
*ret
;
33352 swig_cast_info
*cast
;
33354 #ifdef SWIGRUNTIME_DEBUG
33355 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33358 /* if there is another module already loaded */
33359 if (swig_module
.next
!= &swig_module
) {
33360 type
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, swig_module
.type_initial
[i
]->name
);
33363 /* Overwrite clientdata field */
33364 #ifdef SWIGRUNTIME_DEBUG
33365 printf("SWIG_InitializeModule: found type %s\n", type
->name
);
33367 if (swig_module
.type_initial
[i
]->clientdata
) {
33368 type
->clientdata
= swig_module
.type_initial
[i
]->clientdata
;
33369 #ifdef SWIGRUNTIME_DEBUG
33370 printf("SWIG_InitializeModule: found and overwrite type %s \n", type
->name
);
33374 type
= swig_module
.type_initial
[i
];
33377 /* Insert casting types */
33378 cast
= swig_module
.cast_initial
[i
];
33379 while (cast
->type
) {
33380 /* Don't need to add information already in the list */
33382 #ifdef SWIGRUNTIME_DEBUG
33383 printf("SWIG_InitializeModule: look cast %s\n", cast
->type
->name
);
33385 if (swig_module
.next
!= &swig_module
) {
33386 ret
= SWIG_MangledTypeQueryModule(swig_module
.next
, &swig_module
, cast
->type
->name
);
33387 #ifdef SWIGRUNTIME_DEBUG
33388 if (ret
) printf("SWIG_InitializeModule: found cast %s\n", ret
->name
);
33392 if (type
== swig_module
.type_initial
[i
]) {
33393 #ifdef SWIGRUNTIME_DEBUG
33394 printf("SWIG_InitializeModule: skip old type %s\n", ret
->name
);
33399 /* Check for casting already in the list */
33400 swig_cast_info
*ocast
= SWIG_TypeCheck(ret
->name
, type
);
33401 #ifdef SWIGRUNTIME_DEBUG
33402 if (ocast
) printf("SWIG_InitializeModule: skip old cast %s\n", ret
->name
);
33404 if (!ocast
) ret
= 0;
33409 #ifdef SWIGRUNTIME_DEBUG
33410 printf("SWIG_InitializeModule: adding cast %s\n", cast
->type
->name
);
33413 type
->cast
->prev
= cast
;
33414 cast
->next
= type
->cast
;
33420 /* Set entry in modules->types array equal to the type */
33421 swig_module
.types
[i
] = type
;
33423 swig_module
.types
[i
] = 0;
33425 #ifdef SWIGRUNTIME_DEBUG
33426 printf("**** SWIG_InitializeModule: Cast List ******\n");
33427 for (i
= 0; i
< swig_module
.size
; ++i
) {
33429 swig_cast_info
*cast
= swig_module
.cast_initial
[i
];
33430 printf("SWIG_InitializeModule: type %d %s\n", i
, swig_module
.type_initial
[i
]->name
);
33431 while (cast
->type
) {
33432 printf("SWIG_InitializeModule: cast type %s\n", cast
->type
->name
);
33436 printf("---- Total casts: %d\n",j
);
33438 printf("**** SWIG_InitializeModule: Cast List ******\n");
33442 /* This function will propagate the clientdata field of type to
33443 * any new swig_type_info structures that have been added into the list
33444 * of equivalent types. It is like calling
33445 * SWIG_TypeClientData(type, clientdata) a second time.
33448 SWIG_PropagateClientData(void) {
33450 swig_cast_info
*equiv
;
33451 static int init_run
= 0;
33453 if (init_run
) return;
33456 for (i
= 0; i
< swig_module
.size
; i
++) {
33457 if (swig_module
.types
[i
]->clientdata
) {
33458 equiv
= swig_module
.types
[i
]->cast
;
33460 if (!equiv
->converter
) {
33461 if (equiv
->type
&& !equiv
->type
->clientdata
)
33462 SWIG_TypeClientData(equiv
->type
, swig_module
.types
[i
]->clientdata
);
33464 equiv
= equiv
->next
;
33484 /* Python-specific SWIG API */
33485 #define SWIG_newvarlink() SWIG_Python_newvarlink()
33486 #define SWIG_addvarlink(p, name, get_attr, set_attr) SWIG_Python_addvarlink(p, name, get_attr, set_attr)
33487 #define SWIG_InstallConstants(d, constants) SWIG_Python_InstallConstants(d, constants)
33489 /* -----------------------------------------------------------------------------
33490 * global variable support code.
33491 * ----------------------------------------------------------------------------- */
33493 typedef struct swig_globalvar
{
33494 char *name
; /* Name of global variable */
33495 PyObject
*(*get_attr
)(void); /* Return the current value */
33496 int (*set_attr
)(PyObject
*); /* Set the value */
33497 struct swig_globalvar
*next
;
33500 typedef struct swig_varlinkobject
{
33502 swig_globalvar
*vars
;
33503 } swig_varlinkobject
;
33505 SWIGINTERN PyObject
*
33506 swig_varlink_repr(swig_varlinkobject
*SWIGUNUSEDPARM(v
)) {
33507 return PyString_FromString("<Swig global variables>");
33510 SWIGINTERN PyObject
*
33511 swig_varlink_str(swig_varlinkobject
*v
) {
33512 PyObject
*str
= PyString_FromString("(");
33513 swig_globalvar
*var
;
33514 for (var
= v
->vars
; var
; var
=var
->next
) {
33515 PyString_ConcatAndDel(&str
,PyString_FromString(var
->name
));
33516 if (var
->next
) PyString_ConcatAndDel(&str
,PyString_FromString(", "));
33518 PyString_ConcatAndDel(&str
,PyString_FromString(")"));
33523 swig_varlink_print(swig_varlinkobject
*v
, FILE *fp
, int SWIGUNUSEDPARM(flags
)) {
33524 PyObject
*str
= swig_varlink_str(v
);
33525 fprintf(fp
,"Swig global variables ");
33526 fprintf(fp
,"%s\n", PyString_AsString(str
));
33532 swig_varlink_dealloc(swig_varlinkobject
*v
) {
33533 swig_globalvar
*var
= v
->vars
;
33535 swig_globalvar
*n
= var
->next
;
33542 SWIGINTERN PyObject
*
33543 swig_varlink_getattr(swig_varlinkobject
*v
, char *n
) {
33544 PyObject
*res
= NULL
;
33545 swig_globalvar
*var
= v
->vars
;
33547 if (strcmp(var
->name
,n
) == 0) {
33548 res
= (*var
->get_attr
)();
33553 if (res
== NULL
&& !PyErr_Occurred()) {
33554 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33560 swig_varlink_setattr(swig_varlinkobject
*v
, char *n
, PyObject
*p
) {
33562 swig_globalvar
*var
= v
->vars
;
33564 if (strcmp(var
->name
,n
) == 0) {
33565 res
= (*var
->set_attr
)(p
);
33570 if (res
== 1 && !PyErr_Occurred()) {
33571 PyErr_SetString(PyExc_NameError
,"Unknown C global variable");
33576 SWIGINTERN PyTypeObject
*
33577 swig_varlink_type(void) {
33578 static char varlink__doc__
[] = "Swig var link object";
33579 static PyTypeObject varlink_type
;
33580 static int type_init
= 0;
33582 const PyTypeObject tmp
33584 PyObject_HEAD_INIT(NULL
)
33585 0, /* Number of items in variable part (ob_size) */
33586 (char *)"swigvarlink", /* Type name (tp_name) */
33587 sizeof(swig_varlinkobject
), /* Basic size (tp_basicsize) */
33588 0, /* Itemsize (tp_itemsize) */
33589 (destructor
) swig_varlink_dealloc
, /* Deallocator (tp_dealloc) */
33590 (printfunc
) swig_varlink_print
, /* Print (tp_print) */
33591 (getattrfunc
) swig_varlink_getattr
, /* get attr (tp_getattr) */
33592 (setattrfunc
) swig_varlink_setattr
, /* Set attr (tp_setattr) */
33593 0, /* tp_compare */
33594 (reprfunc
) swig_varlink_repr
, /* tp_repr */
33595 0, /* tp_as_number */
33596 0, /* tp_as_sequence */
33597 0, /* tp_as_mapping */
33600 (reprfunc
)swig_varlink_str
, /* tp_str */
33601 0, /* tp_getattro */
33602 0, /* tp_setattro */
33603 0, /* tp_as_buffer */
33605 varlink__doc__
, /* tp_doc */
33606 0, /* tp_traverse */
33608 0, /* tp_richcompare */
33609 0, /* tp_weaklistoffset */
33610 #if PY_VERSION_HEX >= 0x02020000
33611 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0, /* tp_iter -> tp_weaklist */
33613 #if PY_VERSION_HEX >= 0x02030000
33616 #ifdef COUNT_ALLOCS
33617 0,0,0,0 /* tp_alloc -> tp_next */
33620 varlink_type
= tmp
;
33621 varlink_type
.ob_type
= &PyType_Type
;
33624 return &varlink_type
;
33627 /* Create a variable linking object for use later */
33628 SWIGINTERN PyObject
*
33629 SWIG_Python_newvarlink(void) {
33630 swig_varlinkobject
*result
= PyObject_NEW(swig_varlinkobject
, swig_varlink_type());
33634 return ((PyObject
*) result
);
33638 SWIG_Python_addvarlink(PyObject
*p
, char *name
, PyObject
*(*get_attr
)(void), int (*set_attr
)(PyObject
*p
)) {
33639 swig_varlinkobject
*v
= (swig_varlinkobject
*) p
;
33640 swig_globalvar
*gv
= (swig_globalvar
*) malloc(sizeof(swig_globalvar
));
33642 size_t size
= strlen(name
)+1;
33643 gv
->name
= (char *)malloc(size
);
33645 strncpy(gv
->name
,name
,size
);
33646 gv
->get_attr
= get_attr
;
33647 gv
->set_attr
= set_attr
;
33648 gv
->next
= v
->vars
;
33654 SWIGINTERN PyObject
*
33656 static PyObject
*_SWIG_globals
= 0;
33657 if (!_SWIG_globals
) _SWIG_globals
= SWIG_newvarlink();
33658 return _SWIG_globals
;
33661 /* -----------------------------------------------------------------------------
33662 * constants/methods manipulation
33663 * ----------------------------------------------------------------------------- */
33665 /* Install Constants */
33667 SWIG_Python_InstallConstants(PyObject
*d
, swig_const_info constants
[]) {
33670 for (i
= 0; constants
[i
].type
; ++i
) {
33671 switch(constants
[i
].type
) {
33672 case SWIG_PY_POINTER
:
33673 obj
= SWIG_NewPointerObj(constants
[i
].pvalue
, *(constants
[i
]).ptype
,0);
33675 case SWIG_PY_BINARY
:
33676 obj
= SWIG_NewPackedObj(constants
[i
].pvalue
, constants
[i
].lvalue
, *(constants
[i
].ptype
));
33683 PyDict_SetItemString(d
, constants
[i
].name
, obj
);
33689 /* -----------------------------------------------------------------------------*/
33690 /* Fix SwigMethods to carry the callback ptrs when needed */
33691 /* -----------------------------------------------------------------------------*/
33694 SWIG_Python_FixMethods(PyMethodDef
*methods
,
33695 swig_const_info
*const_table
,
33696 swig_type_info
**types
,
33697 swig_type_info
**types_initial
) {
33699 for (i
= 0; methods
[i
].ml_name
; ++i
) {
33700 const char *c
= methods
[i
].ml_doc
;
33701 if (c
&& (c
= strstr(c
, "swig_ptr: "))) {
33703 swig_const_info
*ci
= 0;
33704 const char *name
= c
+ 10;
33705 for (j
= 0; const_table
[j
].type
; ++j
) {
33706 if (strncmp(const_table
[j
].name
, name
,
33707 strlen(const_table
[j
].name
)) == 0) {
33708 ci
= &(const_table
[j
]);
33713 size_t shift
= (ci
->ptype
) - types
;
33714 swig_type_info
*ty
= types_initial
[shift
];
33715 size_t ldoc
= (c
- methods
[i
].ml_doc
);
33716 size_t lptr
= strlen(ty
->name
)+2*sizeof(void*)+2;
33717 char *ndoc
= (char*)malloc(ldoc
+ lptr
+ 10);
33720 void *ptr
= (ci
->type
== SWIG_PY_POINTER
) ? ci
->pvalue
: 0;
33722 strncpy(buff
, methods
[i
].ml_doc
, ldoc
);
33724 strncpy(buff
, "swig_ptr: ", 10);
33726 SWIG_PackVoidPtr(buff
, ptr
, ty
->name
, lptr
);
33727 methods
[i
].ml_doc
= ndoc
;
33739 /* -----------------------------------------------------------------------------*
33740 * Partial Init method
33741 * -----------------------------------------------------------------------------*/
33746 SWIGEXPORT
void SWIG_init(void) {
33749 /* Fix SwigMethods to carry the callback ptrs when needed */
33750 SWIG_Python_FixMethods(SwigMethods
, swig_const_table
, swig_types
, swig_type_initial
);
33752 m
= Py_InitModule((char *) SWIG_name
, SwigMethods
);
33753 d
= PyModule_GetDict(m
);
33755 SWIG_InitializeModule(0);
33756 SWIG_InstallConstants(d
,swig_const_table
);
33759 PyDict_SetItemString(d
,(char*)"cvar", SWIG_globals());
33760 SWIG_addvarlink(SWIG_globals(),(char*)"FrameNameStr",FrameNameStr_get
, FrameNameStr_set
);
33761 SWIG_addvarlink(SWIG_globals(),(char*)"DialogNameStr",DialogNameStr_get
, DialogNameStr_set
);
33762 SWIG_addvarlink(SWIG_globals(),(char*)"StatusLineNameStr",StatusLineNameStr_get
, StatusLineNameStr_set
);
33763 SWIG_addvarlink(SWIG_globals(),(char*)"ToolBarNameStr",ToolBarNameStr_get
, ToolBarNameStr_set
);
33764 SWIG_Python_SetConstant(d
, "STAY_ON_TOP",SWIG_From_int(static_cast< int >(wxSTAY_ON_TOP
)));
33765 SWIG_Python_SetConstant(d
, "ICONIZE",SWIG_From_int(static_cast< int >(wxICONIZE
)));
33766 SWIG_Python_SetConstant(d
, "MINIMIZE",SWIG_From_int(static_cast< int >(wxMINIMIZE
)));
33767 SWIG_Python_SetConstant(d
, "MAXIMIZE",SWIG_From_int(static_cast< int >(wxMAXIMIZE
)));
33768 SWIG_Python_SetConstant(d
, "CLOSE_BOX",SWIG_From_int(static_cast< int >(wxCLOSE_BOX
)));
33769 SWIG_Python_SetConstant(d
, "THICK_FRAME",SWIG_From_int(static_cast< int >(wxTHICK_FRAME
)));
33770 SWIG_Python_SetConstant(d
, "SYSTEM_MENU",SWIG_From_int(static_cast< int >(wxSYSTEM_MENU
)));
33771 SWIG_Python_SetConstant(d
, "MINIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMINIMIZE_BOX
)));
33772 SWIG_Python_SetConstant(d
, "MAXIMIZE_BOX",SWIG_From_int(static_cast< int >(wxMAXIMIZE_BOX
)));
33773 SWIG_Python_SetConstant(d
, "TINY_CAPTION_HORIZ",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_HORIZ
)));
33774 SWIG_Python_SetConstant(d
, "TINY_CAPTION_VERT",SWIG_From_int(static_cast< int >(wxTINY_CAPTION_VERT
)));
33775 SWIG_Python_SetConstant(d
, "RESIZE_BOX",SWIG_From_int(static_cast< int >(wxRESIZE_BOX
)));
33776 SWIG_Python_SetConstant(d
, "RESIZE_BORDER",SWIG_From_int(static_cast< int >(wxRESIZE_BORDER
)));
33777 SWIG_Python_SetConstant(d
, "DIALOG_NO_PARENT",SWIG_From_int(static_cast< int >(wxDIALOG_NO_PARENT
)));
33778 SWIG_Python_SetConstant(d
, "DEFAULT_FRAME_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_FRAME_STYLE
)));
33779 SWIG_Python_SetConstant(d
, "DEFAULT_DIALOG_STYLE",SWIG_From_int(static_cast< int >(wxDEFAULT_DIALOG_STYLE
)));
33780 SWIG_Python_SetConstant(d
, "FRAME_TOOL_WINDOW",SWIG_From_int(static_cast< int >(wxFRAME_TOOL_WINDOW
)));
33781 SWIG_Python_SetConstant(d
, "FRAME_FLOAT_ON_PARENT",SWIG_From_int(static_cast< int >(wxFRAME_FLOAT_ON_PARENT
)));
33782 SWIG_Python_SetConstant(d
, "FRAME_NO_WINDOW_MENU",SWIG_From_int(static_cast< int >(wxFRAME_NO_WINDOW_MENU
)));
33783 SWIG_Python_SetConstant(d
, "FRAME_NO_TASKBAR",SWIG_From_int(static_cast< int >(wxFRAME_NO_TASKBAR
)));
33784 SWIG_Python_SetConstant(d
, "FRAME_SHAPED",SWIG_From_int(static_cast< int >(wxFRAME_SHAPED
)));
33785 SWIG_Python_SetConstant(d
, "FRAME_DRAWER",SWIG_From_int(static_cast< int >(wxFRAME_DRAWER
)));
33786 SWIG_Python_SetConstant(d
, "FRAME_EX_METAL",SWIG_From_int(static_cast< int >(wxFRAME_EX_METAL
)));
33787 SWIG_Python_SetConstant(d
, "DIALOG_EX_METAL",SWIG_From_int(static_cast< int >(wxDIALOG_EX_METAL
)));
33788 SWIG_Python_SetConstant(d
, "WS_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxWS_EX_CONTEXTHELP
)));
33789 SWIG_Python_SetConstant(d
, "DIALOG_MODAL",SWIG_From_int(static_cast< int >(wxDIALOG_MODAL
)));
33790 SWIG_Python_SetConstant(d
, "DIALOG_MODELESS",SWIG_From_int(static_cast< int >(wxDIALOG_MODELESS
)));
33791 SWIG_Python_SetConstant(d
, "USER_COLOURS",SWIG_From_int(static_cast< int >(wxUSER_COLOURS
)));
33792 SWIG_Python_SetConstant(d
, "NO_3D",SWIG_From_int(static_cast< int >(wxNO_3D
)));
33793 SWIG_Python_SetConstant(d
, "FRAME_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxFRAME_EX_CONTEXTHELP
)));
33794 SWIG_Python_SetConstant(d
, "DIALOG_EX_CONTEXTHELP",SWIG_From_int(static_cast< int >(wxDIALOG_EX_CONTEXTHELP
)));
33795 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOMENUBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOMENUBAR
)));
33796 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOTOOLBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOTOOLBAR
)));
33797 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOSTATUSBAR",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOSTATUSBAR
)));
33798 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOBORDER",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOBORDER
)));
33799 SWIG_Python_SetConstant(d
, "FULLSCREEN_NOCAPTION",SWIG_From_int(static_cast< int >(wxFULLSCREEN_NOCAPTION
)));
33800 SWIG_Python_SetConstant(d
, "FULLSCREEN_ALL",SWIG_From_int(static_cast< int >(wxFULLSCREEN_ALL
)));
33801 SWIG_Python_SetConstant(d
, "TOPLEVEL_EX_DIALOG",SWIG_From_int(static_cast< int >(wxTOPLEVEL_EX_DIALOG
)));
33802 SWIG_Python_SetConstant(d
, "USER_ATTENTION_INFO",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_INFO
)));
33803 SWIG_Python_SetConstant(d
, "USER_ATTENTION_ERROR",SWIG_From_int(static_cast< int >(wxUSER_ATTENTION_ERROR
)));
33804 SWIG_Python_SetConstant(d
, "Dialog_ButtonSizerFlags",SWIG_From_int(static_cast< int >(wxDialog::ButtonSizerFlags
)));
33805 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_PARENT",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_PARENT
)));
33806 SWIG_Python_SetConstant(d
, "SPLASH_CENTRE_ON_SCREEN",SWIG_From_int(static_cast< int >(wxSPLASH_CENTRE_ON_SCREEN
)));
33807 SWIG_Python_SetConstant(d
, "SPLASH_NO_CENTRE",SWIG_From_int(static_cast< int >(wxSPLASH_NO_CENTRE
)));
33808 SWIG_Python_SetConstant(d
, "SPLASH_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_TIMEOUT
)));
33809 SWIG_Python_SetConstant(d
, "SPLASH_NO_TIMEOUT",SWIG_From_int(static_cast< int >(wxSPLASH_NO_TIMEOUT
)));
33810 SWIG_Python_SetConstant(d
, "SB_NORMAL",SWIG_From_int(static_cast< int >(wxSB_NORMAL
)));
33811 SWIG_Python_SetConstant(d
, "SB_FLAT",SWIG_From_int(static_cast< int >(wxSB_FLAT
)));
33812 SWIG_Python_SetConstant(d
, "SB_RAISED",SWIG_From_int(static_cast< int >(wxSB_RAISED
)));
33813 SWIG_addvarlink(SWIG_globals(),(char*)"SplitterNameStr",SplitterNameStr_get
, SplitterNameStr_set
);
33814 SWIG_Python_SetConstant(d
, "SP_NOBORDER",SWIG_From_int(static_cast< int >(wxSP_NOBORDER
)));
33815 SWIG_Python_SetConstant(d
, "SP_NOSASH",SWIG_From_int(static_cast< int >(wxSP_NOSASH
)));
33816 SWIG_Python_SetConstant(d
, "SP_PERMIT_UNSPLIT",SWIG_From_int(static_cast< int >(wxSP_PERMIT_UNSPLIT
)));
33817 SWIG_Python_SetConstant(d
, "SP_LIVE_UPDATE",SWIG_From_int(static_cast< int >(wxSP_LIVE_UPDATE
)));
33818 SWIG_Python_SetConstant(d
, "SP_3DSASH",SWIG_From_int(static_cast< int >(wxSP_3DSASH
)));
33819 SWIG_Python_SetConstant(d
, "SP_3DBORDER",SWIG_From_int(static_cast< int >(wxSP_3DBORDER
)));
33820 SWIG_Python_SetConstant(d
, "SP_NO_XP_THEME",SWIG_From_int(static_cast< int >(wxSP_NO_XP_THEME
)));
33821 SWIG_Python_SetConstant(d
, "SP_BORDER",SWIG_From_int(static_cast< int >(wxSP_BORDER
)));
33822 SWIG_Python_SetConstant(d
, "SP_3D",SWIG_From_int(static_cast< int >(wxSP_3D
)));
33823 SWIG_Python_SetConstant(d
, "SPLIT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxSPLIT_HORIZONTAL
)));
33824 SWIG_Python_SetConstant(d
, "SPLIT_VERTICAL",SWIG_From_int(static_cast< int >(wxSPLIT_VERTICAL
)));
33825 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_NONE
)));
33826 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_DRAGGING
)));
33827 SWIG_Python_SetConstant(d
, "SPLIT_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSPLIT_DRAG_LEFT_DOWN
)));
33828 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGED
));
33829 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_SASH_POS_CHANGING
));
33830 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_DOUBLECLICKED", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_DOUBLECLICKED
));
33831 PyDict_SetItemString(d
, "wxEVT_COMMAND_SPLITTER_UNSPLIT", PyInt_FromLong(wxEVT_COMMAND_SPLITTER_UNSPLIT
));
33832 SWIG_addvarlink(SWIG_globals(),(char*)"SashNameStr",SashNameStr_get
, SashNameStr_set
);
33833 SWIG_addvarlink(SWIG_globals(),(char*)"SashLayoutNameStr",SashLayoutNameStr_get
, SashLayoutNameStr_set
);
33834 SWIG_Python_SetConstant(d
, "SASH_DRAG_NONE",SWIG_From_int(static_cast< int >(wxSASH_DRAG_NONE
)));
33835 SWIG_Python_SetConstant(d
, "SASH_DRAG_DRAGGING",SWIG_From_int(static_cast< int >(wxSASH_DRAG_DRAGGING
)));
33836 SWIG_Python_SetConstant(d
, "SASH_DRAG_LEFT_DOWN",SWIG_From_int(static_cast< int >(wxSASH_DRAG_LEFT_DOWN
)));
33837 SWIG_Python_SetConstant(d
, "SW_NOBORDER",SWIG_From_int(static_cast< int >(wxSW_NOBORDER
)));
33838 SWIG_Python_SetConstant(d
, "SW_BORDER",SWIG_From_int(static_cast< int >(wxSW_BORDER
)));
33839 SWIG_Python_SetConstant(d
, "SW_3DSASH",SWIG_From_int(static_cast< int >(wxSW_3DSASH
)));
33840 SWIG_Python_SetConstant(d
, "SW_3DBORDER",SWIG_From_int(static_cast< int >(wxSW_3DBORDER
)));
33841 SWIG_Python_SetConstant(d
, "SW_3D",SWIG_From_int(static_cast< int >(wxSW_3D
)));
33842 SWIG_Python_SetConstant(d
, "SASH_TOP",SWIG_From_int(static_cast< int >(wxSASH_TOP
)));
33843 SWIG_Python_SetConstant(d
, "SASH_RIGHT",SWIG_From_int(static_cast< int >(wxSASH_RIGHT
)));
33844 SWIG_Python_SetConstant(d
, "SASH_BOTTOM",SWIG_From_int(static_cast< int >(wxSASH_BOTTOM
)));
33845 SWIG_Python_SetConstant(d
, "SASH_LEFT",SWIG_From_int(static_cast< int >(wxSASH_LEFT
)));
33846 SWIG_Python_SetConstant(d
, "SASH_NONE",SWIG_From_int(static_cast< int >(wxSASH_NONE
)));
33847 SWIG_Python_SetConstant(d
, "SASH_STATUS_OK",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OK
)));
33848 SWIG_Python_SetConstant(d
, "SASH_STATUS_OUT_OF_RANGE",SWIG_From_int(static_cast< int >(wxSASH_STATUS_OUT_OF_RANGE
)));
33849 PyDict_SetItemString(d
, "wxEVT_SASH_DRAGGED", PyInt_FromLong(wxEVT_SASH_DRAGGED
));
33850 SWIG_Python_SetConstant(d
, "LAYOUT_HORIZONTAL",SWIG_From_int(static_cast< int >(wxLAYOUT_HORIZONTAL
)));
33851 SWIG_Python_SetConstant(d
, "LAYOUT_VERTICAL",SWIG_From_int(static_cast< int >(wxLAYOUT_VERTICAL
)));
33852 SWIG_Python_SetConstant(d
, "LAYOUT_NONE",SWIG_From_int(static_cast< int >(wxLAYOUT_NONE
)));
33853 SWIG_Python_SetConstant(d
, "LAYOUT_TOP",SWIG_From_int(static_cast< int >(wxLAYOUT_TOP
)));
33854 SWIG_Python_SetConstant(d
, "LAYOUT_LEFT",SWIG_From_int(static_cast< int >(wxLAYOUT_LEFT
)));
33855 SWIG_Python_SetConstant(d
, "LAYOUT_RIGHT",SWIG_From_int(static_cast< int >(wxLAYOUT_RIGHT
)));
33856 SWIG_Python_SetConstant(d
, "LAYOUT_BOTTOM",SWIG_From_int(static_cast< int >(wxLAYOUT_BOTTOM
)));
33857 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_Y",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_Y
)));
33858 SWIG_Python_SetConstant(d
, "LAYOUT_LENGTH_X",SWIG_From_int(static_cast< int >(wxLAYOUT_LENGTH_X
)));
33859 SWIG_Python_SetConstant(d
, "LAYOUT_MRU_LENGTH",SWIG_From_int(static_cast< int >(wxLAYOUT_MRU_LENGTH
)));
33860 SWIG_Python_SetConstant(d
, "LAYOUT_QUERY",SWIG_From_int(static_cast< int >(wxLAYOUT_QUERY
)));
33861 PyDict_SetItemString(d
, "wxEVT_QUERY_LAYOUT_INFO", PyInt_FromLong(wxEVT_QUERY_LAYOUT_INFO
));
33862 PyDict_SetItemString(d
, "wxEVT_CALCULATE_LAYOUT", PyInt_FromLong(wxEVT_CALCULATE_LAYOUT
));
33863 SWIG_addvarlink(SWIG_globals(),(char*)"VListBoxNameStr",VListBoxNameStr_get
, VListBoxNameStr_set
);
33865 // Map renamed classes back to their common name for OOR
33866 wxPyPtrTypeMap_Add("wxHtmlListBox", "wxPyHtmlListBox");
33867 wxPyPtrTypeMap_Add("wxVListBox", "wxPyVListBox");
33868 wxPyPtrTypeMap_Add("wxVScrolledWindow", "wxPyVScrolledWindow");
33870 PyDict_SetItemString(d
, "wxEVT_TASKBAR_MOVE", PyInt_FromLong(wxEVT_TASKBAR_MOVE
));
33871 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DOWN
));
33872 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_UP", PyInt_FromLong(wxEVT_TASKBAR_LEFT_UP
));
33873 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DOWN", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DOWN
));
33874 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_UP", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_UP
));
33875 PyDict_SetItemString(d
, "wxEVT_TASKBAR_LEFT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_LEFT_DCLICK
));
33876 PyDict_SetItemString(d
, "wxEVT_TASKBAR_RIGHT_DCLICK", PyInt_FromLong(wxEVT_TASKBAR_RIGHT_DCLICK
));
33877 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorPromptStr",FileSelectorPromptStr_get
, FileSelectorPromptStr_set
);
33878 SWIG_addvarlink(SWIG_globals(),(char*)"DirSelectorPromptStr",DirSelectorPromptStr_get
, DirSelectorPromptStr_set
);
33879 SWIG_addvarlink(SWIG_globals(),(char*)"DirDialogNameStr",DirDialogNameStr_get
, DirDialogNameStr_set
);
33880 SWIG_addvarlink(SWIG_globals(),(char*)"FileSelectorDefaultWildcardStr",FileSelectorDefaultWildcardStr_get
, FileSelectorDefaultWildcardStr_set
);
33881 SWIG_addvarlink(SWIG_globals(),(char*)"GetTextFromUserPromptStr",GetTextFromUserPromptStr_get
, GetTextFromUserPromptStr_set
);
33882 SWIG_addvarlink(SWIG_globals(),(char*)"MessageBoxCaptionStr",MessageBoxCaptionStr_get
, MessageBoxCaptionStr_set
);
33883 SWIG_Python_SetConstant(d
, "DD_NEW_DIR_BUTTON",SWIG_From_int(static_cast< int >(wxDD_NEW_DIR_BUTTON
)));
33884 SWIG_Python_SetConstant(d
, "DD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxDD_DEFAULT_STYLE
)));
33885 SWIG_Python_SetConstant(d
, "DD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxDD_CHANGE_DIR
)));
33886 SWIG_Python_SetConstant(d
, "OPEN",SWIG_From_int(static_cast< int >(wxOPEN
)));
33887 SWIG_Python_SetConstant(d
, "SAVE",SWIG_From_int(static_cast< int >(wxSAVE
)));
33888 SWIG_Python_SetConstant(d
, "OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxOVERWRITE_PROMPT
)));
33889 SWIG_Python_SetConstant(d
, "FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFILE_MUST_EXIST
)));
33890 SWIG_Python_SetConstant(d
, "MULTIPLE",SWIG_From_int(static_cast< int >(wxMULTIPLE
)));
33891 SWIG_Python_SetConstant(d
, "CHANGE_DIR",SWIG_From_int(static_cast< int >(wxCHANGE_DIR
)));
33892 SWIG_Python_SetConstant(d
, "HIDE_READONLY",SWIG_From_int(static_cast< int >(wxHIDE_READONLY
)));
33893 SWIG_Python_SetConstant(d
, "FD_OPEN",SWIG_From_int(static_cast< int >(wxFD_OPEN
)));
33894 SWIG_Python_SetConstant(d
, "FD_SAVE",SWIG_From_int(static_cast< int >(wxFD_SAVE
)));
33895 SWIG_Python_SetConstant(d
, "FD_OVERWRITE_PROMPT",SWIG_From_int(static_cast< int >(wxFD_OVERWRITE_PROMPT
)));
33896 SWIG_Python_SetConstant(d
, "FD_FILE_MUST_EXIST",SWIG_From_int(static_cast< int >(wxFD_FILE_MUST_EXIST
)));
33897 SWIG_Python_SetConstant(d
, "FD_MULTIPLE",SWIG_From_int(static_cast< int >(wxFD_MULTIPLE
)));
33898 SWIG_Python_SetConstant(d
, "FD_CHANGE_DIR",SWIG_From_int(static_cast< int >(wxFD_CHANGE_DIR
)));
33899 SWIG_Python_SetConstant(d
, "FD_PREVIEW",SWIG_From_int(static_cast< int >(wxFD_PREVIEW
)));
33900 SWIG_Python_SetConstant(d
, "FD_DEFAULT_STYLE",SWIG_From_int(static_cast< int >(wxFD_DEFAULT_STYLE
)));
33901 SWIG_Python_SetConstant(d
, "CHOICEDLG_STYLE",SWIG_From_int(static_cast< int >(wxCHOICEDLG_STYLE
)));
33902 SWIG_Python_SetConstant(d
, "TextEntryDialogStyle",SWIG_From_int(static_cast< int >(wxTextEntryDialogStyle
)));
33903 SWIG_addvarlink(SWIG_globals(),(char*)"GetPasswordFromUserPromptStr",GetPasswordFromUserPromptStr_get
, GetPasswordFromUserPromptStr_set
);
33904 SWIG_Python_SetConstant(d
, "PD_AUTO_HIDE",SWIG_From_int(static_cast< int >(wxPD_AUTO_HIDE
)));
33905 SWIG_Python_SetConstant(d
, "PD_APP_MODAL",SWIG_From_int(static_cast< int >(wxPD_APP_MODAL
)));
33906 SWIG_Python_SetConstant(d
, "PD_CAN_ABORT",SWIG_From_int(static_cast< int >(wxPD_CAN_ABORT
)));
33907 SWIG_Python_SetConstant(d
, "PD_ELAPSED_TIME",SWIG_From_int(static_cast< int >(wxPD_ELAPSED_TIME
)));
33908 SWIG_Python_SetConstant(d
, "PD_ESTIMATED_TIME",SWIG_From_int(static_cast< int >(wxPD_ESTIMATED_TIME
)));
33909 SWIG_Python_SetConstant(d
, "PD_REMAINING_TIME",SWIG_From_int(static_cast< int >(wxPD_REMAINING_TIME
)));
33910 SWIG_Python_SetConstant(d
, "PD_SMOOTH",SWIG_From_int(static_cast< int >(wxPD_SMOOTH
)));
33911 SWIG_Python_SetConstant(d
, "PD_CAN_SKIP",SWIG_From_int(static_cast< int >(wxPD_CAN_SKIP
)));
33912 SWIG_Python_SetConstant(d
, "FR_DOWN",SWIG_From_int(static_cast< int >(wxFR_DOWN
)));
33913 SWIG_Python_SetConstant(d
, "FR_WHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_WHOLEWORD
)));
33914 SWIG_Python_SetConstant(d
, "FR_MATCHCASE",SWIG_From_int(static_cast< int >(wxFR_MATCHCASE
)));
33915 SWIG_Python_SetConstant(d
, "FR_REPLACEDIALOG",SWIG_From_int(static_cast< int >(wxFR_REPLACEDIALOG
)));
33916 SWIG_Python_SetConstant(d
, "FR_NOUPDOWN",SWIG_From_int(static_cast< int >(wxFR_NOUPDOWN
)));
33917 SWIG_Python_SetConstant(d
, "FR_NOMATCHCASE",SWIG_From_int(static_cast< int >(wxFR_NOMATCHCASE
)));
33918 SWIG_Python_SetConstant(d
, "FR_NOWHOLEWORD",SWIG_From_int(static_cast< int >(wxFR_NOWHOLEWORD
)));
33919 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND", PyInt_FromLong(wxEVT_COMMAND_FIND
));
33920 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_NEXT", PyInt_FromLong(wxEVT_COMMAND_FIND_NEXT
));
33921 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE
));
33922 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_REPLACE_ALL", PyInt_FromLong(wxEVT_COMMAND_FIND_REPLACE_ALL
));
33923 PyDict_SetItemString(d
, "wxEVT_COMMAND_FIND_CLOSE", PyInt_FromLong(wxEVT_COMMAND_FIND_CLOSE
));
33924 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILE",SWIG_From_int(static_cast< int >(4001)));
33925 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEHOR",SWIG_From_int(static_cast< int >(4001)));
33926 SWIG_Python_SetConstant(d
, "IDM_WINDOWCASCADE",SWIG_From_int(static_cast< int >(4002)));
33927 SWIG_Python_SetConstant(d
, "IDM_WINDOWICONS",SWIG_From_int(static_cast< int >(4003)));
33928 SWIG_Python_SetConstant(d
, "IDM_WINDOWNEXT",SWIG_From_int(static_cast< int >(4004)));
33929 SWIG_Python_SetConstant(d
, "IDM_WINDOWTILEVERT",SWIG_From_int(static_cast< int >(4005)));
33930 SWIG_Python_SetConstant(d
, "IDM_WINDOWPREV",SWIG_From_int(static_cast< int >(4006)));
33931 SWIG_Python_SetConstant(d
, "FIRST_MDI_CHILD",SWIG_From_int(static_cast< int >(4100)));
33932 SWIG_Python_SetConstant(d
, "LAST_MDI_CHILD",SWIG_From_int(static_cast< int >(4600)));
33933 SWIG_addvarlink(SWIG_globals(),(char*)"PrintoutTitleStr",PrintoutTitleStr_get
, PrintoutTitleStr_set
);
33934 SWIG_addvarlink(SWIG_globals(),(char*)"PreviewCanvasNameStr",PreviewCanvasNameStr_get
, PreviewCanvasNameStr_set
);
33935 SWIG_Python_SetConstant(d
, "PRINT_MODE_NONE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_NONE
)));
33936 SWIG_Python_SetConstant(d
, "PRINT_MODE_PREVIEW",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PREVIEW
)));
33937 SWIG_Python_SetConstant(d
, "PRINT_MODE_FILE",SWIG_From_int(static_cast< int >(wxPRINT_MODE_FILE
)));
33938 SWIG_Python_SetConstant(d
, "PRINT_MODE_PRINTER",SWIG_From_int(static_cast< int >(wxPRINT_MODE_PRINTER
)));
33939 SWIG_Python_SetConstant(d
, "PRINT_MODE_STREAM",SWIG_From_int(static_cast< int >(wxPRINT_MODE_STREAM
)));
33940 SWIG_Python_SetConstant(d
, "PRINTBIN_DEFAULT",SWIG_From_int(static_cast< int >(wxPRINTBIN_DEFAULT
)));
33941 SWIG_Python_SetConstant(d
, "PRINTBIN_ONLYONE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ONLYONE
)));
33942 SWIG_Python_SetConstant(d
, "PRINTBIN_LOWER",SWIG_From_int(static_cast< int >(wxPRINTBIN_LOWER
)));
33943 SWIG_Python_SetConstant(d
, "PRINTBIN_MIDDLE",SWIG_From_int(static_cast< int >(wxPRINTBIN_MIDDLE
)));
33944 SWIG_Python_SetConstant(d
, "PRINTBIN_MANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_MANUAL
)));
33945 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVELOPE",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVELOPE
)));
33946 SWIG_Python_SetConstant(d
, "PRINTBIN_ENVMANUAL",SWIG_From_int(static_cast< int >(wxPRINTBIN_ENVMANUAL
)));
33947 SWIG_Python_SetConstant(d
, "PRINTBIN_AUTO",SWIG_From_int(static_cast< int >(wxPRINTBIN_AUTO
)));
33948 SWIG_Python_SetConstant(d
, "PRINTBIN_TRACTOR",SWIG_From_int(static_cast< int >(wxPRINTBIN_TRACTOR
)));
33949 SWIG_Python_SetConstant(d
, "PRINTBIN_SMALLFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_SMALLFMT
)));
33950 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGEFMT",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGEFMT
)));
33951 SWIG_Python_SetConstant(d
, "PRINTBIN_LARGECAPACITY",SWIG_From_int(static_cast< int >(wxPRINTBIN_LARGECAPACITY
)));
33952 SWIG_Python_SetConstant(d
, "PRINTBIN_CASSETTE",SWIG_From_int(static_cast< int >(wxPRINTBIN_CASSETTE
)));
33953 SWIG_Python_SetConstant(d
, "PRINTBIN_FORMSOURCE",SWIG_From_int(static_cast< int >(wxPRINTBIN_FORMSOURCE
)));
33954 SWIG_Python_SetConstant(d
, "PRINTBIN_USER",SWIG_From_int(static_cast< int >(wxPRINTBIN_USER
)));
33955 SWIG_Python_SetConstant(d
, "PRINTER_NO_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_NO_ERROR
)));
33956 SWIG_Python_SetConstant(d
, "PRINTER_CANCELLED",SWIG_From_int(static_cast< int >(wxPRINTER_CANCELLED
)));
33957 SWIG_Python_SetConstant(d
, "PRINTER_ERROR",SWIG_From_int(static_cast< int >(wxPRINTER_ERROR
)));
33958 SWIG_Python_SetConstant(d
, "PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxPREVIEW_PRINT
)));
33959 SWIG_Python_SetConstant(d
, "PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxPREVIEW_PREVIOUS
)));
33960 SWIG_Python_SetConstant(d
, "PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxPREVIEW_NEXT
)));
33961 SWIG_Python_SetConstant(d
, "PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxPREVIEW_ZOOM
)));
33962 SWIG_Python_SetConstant(d
, "PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxPREVIEW_FIRST
)));
33963 SWIG_Python_SetConstant(d
, "PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxPREVIEW_LAST
)));
33964 SWIG_Python_SetConstant(d
, "PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxPREVIEW_GOTO
)));
33965 SWIG_Python_SetConstant(d
, "PREVIEW_DEFAULT",SWIG_From_int(static_cast< int >(wxPREVIEW_DEFAULT
)));
33966 SWIG_Python_SetConstant(d
, "ID_PREVIEW_CLOSE",SWIG_From_int(static_cast< int >(wxID_PREVIEW_CLOSE
)));
33967 SWIG_Python_SetConstant(d
, "ID_PREVIEW_NEXT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_NEXT
)));
33968 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PREVIOUS",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PREVIOUS
)));
33969 SWIG_Python_SetConstant(d
, "ID_PREVIEW_PRINT",SWIG_From_int(static_cast< int >(wxID_PREVIEW_PRINT
)));
33970 SWIG_Python_SetConstant(d
, "ID_PREVIEW_ZOOM",SWIG_From_int(static_cast< int >(wxID_PREVIEW_ZOOM
)));
33971 SWIG_Python_SetConstant(d
, "ID_PREVIEW_FIRST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_FIRST
)));
33972 SWIG_Python_SetConstant(d
, "ID_PREVIEW_LAST",SWIG_From_int(static_cast< int >(wxID_PREVIEW_LAST
)));
33973 SWIG_Python_SetConstant(d
, "ID_PREVIEW_GOTO",SWIG_From_int(static_cast< int >(wxID_PREVIEW_GOTO
)));
33975 wxPyPtrTypeMap_Add("wxPrintout", "wxPyPrintout");